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 : 3747005 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2593439'] with mtr_portfolio_ids : ['20609753'] and first list_photo_ids : [] new path : /proc/3747005/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.4794330596923828 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon Feb 17 14:42:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-17 14:42:31.030527: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-17 14:42:31.055129: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-17 14:42:31.056936: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8b50000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-17 14:42:31.056988: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-17 14:42:31.059605: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-17 14:42:31.350658: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2e435ae0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-17 14:42:31.350718: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-17 14:42:31.352047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 14:42:31.352489: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 14:42:31.355124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 14:42:31.357643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 14:42:31.357987: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 14:42:31.360264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 14:42:31.361303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 14:42:31.365886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 14:42:31.367576: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 14:42:31.367666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 14:42:31.368463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 14:42:31.368479: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 14:42:31.368488: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 14:42:31.369784: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-17 14:42:31.634262: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 14:42:31.634359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 14:42:31.634402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 14:42:31.634428: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 14:42:31.634453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 14:42:31.634477: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 14:42:31.634500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 14:42:31.634524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 14:42:31.636523: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 14:42:31.637653: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 14:42:31.637691: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 14:42:31.637706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 14:42:31.637721: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 14:42:31.637734: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 14:42:31.637748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 14:42:31.637761: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 14:42:31.637775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 14:42:31.639081: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 14:42:31.639109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 14:42:31.639118: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 14:42:31.639125: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 14:42:31.640455: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-17 14:42:41.793359: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 14:42:41.961021: 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 : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 Detection mask done ! Trying to reset tf kernel 3747515 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.002402782440185547 nb_pixel_total : 132510 time to create 1 rle with old method : 0.14500689506530762 length of segment : 400 time for calcul the mask position with numpy : 0.0041408538818359375 nb_pixel_total : 255279 time to create 1 rle with new method : 0.011293411254882812 length of segment : 677 time for calcul the mask position with numpy : 0.00039076805114746094 nb_pixel_total : 26235 time to create 1 rle with old method : 0.027978181838989258 length of segment : 232 time for calcul the mask position with numpy : 0.0022597312927246094 nb_pixel_total : 187437 time to create 1 rle with new method : 0.005753993988037109 length of segment : 694 time for calcul the mask position with numpy : 7.200241088867188e-05 nb_pixel_total : 2287 time to create 1 rle with old method : 0.0025207996368408203 length of segment : 55 time for calcul the mask position with numpy : 0.0023424625396728516 nb_pixel_total : 51020 time to create 1 rle with old method : 0.053971052169799805 length of segment : 695 time for calcul the mask position with numpy : 0.0012772083282470703 nb_pixel_total : 65901 time to create 1 rle with old method : 0.07307648658752441 length of segment : 330 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 5830 time to create 1 rle with old method : 0.006655454635620117 length of segment : 107 time for calcul the mask position with numpy : 0.0005638599395751953 nb_pixel_total : 34970 time to create 1 rle with old method : 0.03859424591064453 length of segment : 357 time for calcul the mask position with numpy : 0.004779338836669922 nb_pixel_total : 285108 time to create 1 rle with new method : 0.015599727630615234 length of segment : 930 time for calcul the mask position with numpy : 0.0024116039276123047 nb_pixel_total : 177619 time to create 1 rle with new method : 0.006125211715698242 length of segment : 443 time for calcul the mask position with numpy : 0.005218505859375 nb_pixel_total : 250157 time to create 1 rle with new method : 0.012339115142822266 length of segment : 536 time for calcul the mask position with numpy : 0.0039806365966796875 nb_pixel_total : 264989 time to create 1 rle with new method : 0.015323162078857422 length of segment : 505 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 5388 time to create 1 rle with old method : 0.006169795989990234 length of segment : 115 time for calcul the mask position with numpy : 0.0012462139129638672 nb_pixel_total : 67555 time to create 1 rle with old method : 0.0709071159362793 length of segment : 542 time for calcul the mask position with numpy : 0.0005674362182617188 nb_pixel_total : 20447 time to create 1 rle with old method : 0.022333621978759766 length of segment : 191 time for calcul the mask position with numpy : 0.0004525184631347656 nb_pixel_total : 21344 time to create 1 rle with old method : 0.022696733474731445 length of segment : 215 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 3780 time to create 1 rle with old method : 0.004404544830322266 length of segment : 125 time for calcul the mask position with numpy : 0.004630565643310547 nb_pixel_total : 333082 time to create 1 rle with new method : 0.012620687484741211 length of segment : 549 time for calcul the mask position with numpy : 0.0021932125091552734 nb_pixel_total : 126941 time to create 1 rle with old method : 0.13434553146362305 length of segment : 479 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 2599 time to create 1 rle with old method : 0.003152608871459961 length of segment : 47 time for calcul the mask position with numpy : 0.0003039836883544922 nb_pixel_total : 16138 time to create 1 rle with old method : 0.017118215560913086 length of segment : 134 time for calcul the mask position with numpy : 0.0031893253326416016 nb_pixel_total : 224548 time to create 1 rle with new method : 0.00950765609741211 length of segment : 703 time for calcul the mask position with numpy : 0.002635955810546875 nb_pixel_total : 139738 time to create 1 rle with old method : 0.1479966640472412 length of segment : 699 time for calcul the mask position with numpy : 0.0010526180267333984 nb_pixel_total : 51973 time to create 1 rle with old method : 0.05621933937072754 length of segment : 405 time for calcul the mask position with numpy : 0.0010733604431152344 nb_pixel_total : 61369 time to create 1 rle with old method : 0.06368851661682129 length of segment : 541 time for calcul the mask position with numpy : 0.0065691471099853516 nb_pixel_total : 391797 time to create 1 rle with new method : 0.023073673248291016 length of segment : 1060 time for calcul the mask position with numpy : 0.0003826618194580078 nb_pixel_total : 8360 time to create 1 rle with old method : 0.009733438491821289 length of segment : 179 time for calcul the mask position with numpy : 0.011049985885620117 nb_pixel_total : 382894 time to create 1 rle with new method : 0.019866466522216797 length of segment : 965 time for calcul the mask position with numpy : 0.0018317699432373047 nb_pixel_total : 65443 time to create 1 rle with old method : 0.06892275810241699 length of segment : 294 time for calcul the mask position with numpy : 0.0001347064971923828 nb_pixel_total : 1914 time to create 1 rle with old method : 0.002199888229370117 length of segment : 56 time for calcul the mask position with numpy : 0.7499539852142334 nb_pixel_total : 3618550 time to create 1 rle with new method : 0.5333406925201416 length of segment : 3206 time for calcul the mask position with numpy : 0.006286144256591797 nb_pixel_total : 392481 time to create 1 rle with new method : 0.014091253280639648 length of segment : 1116 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 1951 time to create 1 rle with old method : 0.0024917125701904297 length of segment : 74 time for calcul the mask position with numpy : 0.0007336139678955078 nb_pixel_total : 23465 time to create 1 rle with old method : 0.026584386825561523 length of segment : 496 time for calcul the mask position with numpy : 0.002101898193359375 nb_pixel_total : 82649 time to create 1 rle with old method : 0.09292888641357422 length of segment : 362 time for calcul the mask position with numpy : 0.001432180404663086 nb_pixel_total : 45513 time to create 1 rle with old method : 0.04835200309753418 length of segment : 293 time for calcul the mask position with numpy : 0.000133514404296875 nb_pixel_total : 6213 time to create 1 rle with old method : 0.007378816604614258 length of segment : 85 time for calcul the mask position with numpy : 0.0010447502136230469 nb_pixel_total : 25909 time to create 1 rle with old method : 0.02919316291809082 length of segment : 275 time for calcul the mask position with numpy : 0.0006914138793945312 nb_pixel_total : 21586 time to create 1 rle with old method : 0.023945093154907227 length of segment : 227 time for calcul the mask position with numpy : 0.002328634262084961 nb_pixel_total : 111536 time to create 1 rle with old method : 0.11550092697143555 length of segment : 433 time for calcul the mask position with numpy : 0.0005979537963867188 nb_pixel_total : 20413 time to create 1 rle with old method : 0.022424936294555664 length of segment : 148 time for calcul the mask position with numpy : 0.00022602081298828125 nb_pixel_total : 6577 time to create 1 rle with old method : 0.007866859436035156 length of segment : 72 time for calcul the mask position with numpy : 0.0010156631469726562 nb_pixel_total : 26871 time to create 1 rle with old method : 0.029901742935180664 length of segment : 539 time for calcul the mask position with numpy : 0.00018358230590820312 nb_pixel_total : 1993 time to create 1 rle with old method : 0.002466917037963867 length of segment : 72 time for calcul the mask position with numpy : 0.00027060508728027344 nb_pixel_total : 9062 time to create 1 rle with old method : 0.010272502899169922 length of segment : 141 time for calcul the mask position with numpy : 0.0008418560028076172 nb_pixel_total : 23821 time to create 1 rle with old method : 0.030692100524902344 length of segment : 230 time for calcul the mask position with numpy : 0.0006604194641113281 nb_pixel_total : 27726 time to create 1 rle with old method : 0.03246426582336426 length of segment : 277 time for calcul the mask position with numpy : 0.0007872581481933594 nb_pixel_total : 26992 time to create 1 rle with old method : 0.029961585998535156 length of segment : 294 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 13996 time to create 1 rle with old method : 0.016371488571166992 length of segment : 141 time for calcul the mask position with numpy : 0.0009415149688720703 nb_pixel_total : 47650 time to create 1 rle with old method : 0.05274701118469238 length of segment : 231 time for calcul the mask position with numpy : 0.003938436508178711 nb_pixel_total : 169600 time to create 1 rle with new method : 0.0054171085357666016 length of segment : 1018 time for calcul the mask position with numpy : 0.0021736621856689453 nb_pixel_total : 111035 time to create 1 rle with old method : 0.1180870532989502 length of segment : 477 time for calcul the mask position with numpy : 0.00023245811462402344 nb_pixel_total : 4240 time to create 1 rle with old method : 0.005171298980712891 length of segment : 71 time for calcul the mask position with numpy : 0.0008633136749267578 nb_pixel_total : 28070 time to create 1 rle with old method : 0.03083324432373047 length of segment : 256 time for calcul the mask position with numpy : 0.00036835670471191406 nb_pixel_total : 8568 time to create 1 rle with old method : 0.009818553924560547 length of segment : 140 time for calcul the mask position with numpy : 0.0007071495056152344 nb_pixel_total : 46604 time to create 1 rle with old method : 0.05185580253601074 length of segment : 254 time for calcul the mask position with numpy : 0.0010824203491210938 nb_pixel_total : 44386 time to create 1 rle with old method : 0.04976224899291992 length of segment : 363 time for calcul the mask position with numpy : 0.0032994747161865234 nb_pixel_total : 217834 time to create 1 rle with new method : 0.0056362152099609375 length of segment : 482 time for calcul the mask position with numpy : 0.0008776187896728516 nb_pixel_total : 30992 time to create 1 rle with old method : 0.0356898307800293 length of segment : 185 time for calcul the mask position with numpy : 0.0005476474761962891 nb_pixel_total : 26590 time to create 1 rle with old method : 0.030016422271728516 length of segment : 290 time for calcul the mask position with numpy : 0.0002574920654296875 nb_pixel_total : 12351 time to create 1 rle with old method : 0.014600038528442383 length of segment : 155 time for calcul the mask position with numpy : 0.017360448837280273 nb_pixel_total : 809480 time to create 1 rle with new method : 0.02642226219177246 length of segment : 967 time for calcul the mask position with numpy : 0.0019443035125732422 nb_pixel_total : 64233 time to create 1 rle with old method : 0.0703573226928711 length of segment : 281 time for calcul the mask position with numpy : 0.0004730224609375 nb_pixel_total : 12695 time to create 1 rle with old method : 0.014624595642089844 length of segment : 136 time for calcul the mask position with numpy : 0.001165628433227539 nb_pixel_total : 58271 time to create 1 rle with old method : 0.0643460750579834 length of segment : 283 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 2069 time to create 1 rle with old method : 0.0025234222412109375 length of segment : 57 time for calcul the mask position with numpy : 0.011366844177246094 nb_pixel_total : 476502 time to create 1 rle with new method : 0.018541336059570312 length of segment : 996 time for calcul the mask position with numpy : 0.0033347606658935547 nb_pixel_total : 224321 time to create 1 rle with new method : 0.00690150260925293 length of segment : 413 time for calcul the mask position with numpy : 0.0004343986511230469 nb_pixel_total : 20376 time to create 1 rle with old method : 0.02308368682861328 length of segment : 168 time for calcul the mask position with numpy : 0.008230209350585938 nb_pixel_total : 327500 time to create 1 rle with new method : 0.013667821884155273 length of segment : 626 time for calcul the mask position with numpy : 0.0017023086547851562 nb_pixel_total : 75168 time to create 1 rle with old method : 0.08106517791748047 length of segment : 488 time for calcul the mask position with numpy : 0.0003104209899902344 nb_pixel_total : 15095 time to create 1 rle with old method : 0.018680572509765625 length of segment : 142 time for calcul the mask position with numpy : 0.0034189224243164062 nb_pixel_total : 100501 time to create 1 rle with old method : 0.13460350036621094 length of segment : 1032 time for calcul the mask position with numpy : 0.0004374980926513672 nb_pixel_total : 3139 time to create 1 rle with old method : 0.0038995742797851562 length of segment : 120 time for calcul the mask position with numpy : 0.005608320236206055 nb_pixel_total : 206055 time to create 1 rle with new method : 0.008308172225952148 length of segment : 539 time for calcul the mask position with numpy : 0.0021784305572509766 nb_pixel_total : 96955 time to create 1 rle with old method : 0.10553431510925293 length of segment : 242 time for calcul the mask position with numpy : 0.005865335464477539 nb_pixel_total : 173223 time to create 1 rle with new method : 0.008925676345825195 length of segment : 651 time for calcul the mask position with numpy : 0.0003304481506347656 nb_pixel_total : 7218 time to create 1 rle with old method : 0.00821065902709961 length of segment : 178 time for calcul the mask position with numpy : 0.006835460662841797 nb_pixel_total : 358514 time to create 1 rle with new method : 0.01355123519897461 length of segment : 718 time for calcul the mask position with numpy : 0.003559112548828125 nb_pixel_total : 108988 time to create 1 rle with old method : 0.1231536865234375 length of segment : 417 time for calcul the mask position with numpy : 0.00058746337890625 nb_pixel_total : 13201 time to create 1 rle with old method : 0.020411014556884766 length of segment : 197 time for calcul the mask position with numpy : 0.0004019737243652344 nb_pixel_total : 6782 time to create 1 rle with old method : 0.008686304092407227 length of segment : 164 time for calcul the mask position with numpy : 0.0031669139862060547 nb_pixel_total : 115427 time to create 1 rle with old method : 0.130202054977417 length of segment : 523 time for calcul the mask position with numpy : 0.008258581161499023 nb_pixel_total : 366416 time to create 1 rle with new method : 0.013233423233032227 length of segment : 718 time for calcul the mask position with numpy : 0.0018496513366699219 nb_pixel_total : 71298 time to create 1 rle with old method : 0.07707047462463379 length of segment : 503 time for calcul the mask position with numpy : 0.0005755424499511719 nb_pixel_total : 15546 time to create 1 rle with old method : 0.017661094665527344 length of segment : 204 time for calcul the mask position with numpy : 0.004378080368041992 nb_pixel_total : 251200 time to create 1 rle with new method : 0.006771564483642578 length of segment : 578 time for calcul the mask position with numpy : 0.0006875991821289062 nb_pixel_total : 29278 time to create 1 rle with old method : 0.03295254707336426 length of segment : 189 time for calcul the mask position with numpy : 0.004387855529785156 nb_pixel_total : 275923 time to create 1 rle with new method : 0.010899066925048828 length of segment : 777 time for calcul the mask position with numpy : 0.0004184246063232422 nb_pixel_total : 10117 time to create 1 rle with old method : 0.011438369750976562 length of segment : 93 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 6225 time to create 1 rle with old method : 0.007086038589477539 length of segment : 133 time for calcul the mask position with numpy : 0.0010182857513427734 nb_pixel_total : 51395 time to create 1 rle with old method : 0.0543513298034668 length of segment : 347 time for calcul the mask position with numpy : 0.00023818016052246094 nb_pixel_total : 5226 time to create 1 rle with old method : 0.0060329437255859375 length of segment : 75 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 3253 time to create 1 rle with old method : 0.003780841827392578 length of segment : 87 time for calcul the mask position with numpy : 0.0038237571716308594 nb_pixel_total : 181401 time to create 1 rle with new method : 0.006348133087158203 length of segment : 504 time for calcul the mask position with numpy : 0.0025942325592041016 nb_pixel_total : 188482 time to create 1 rle with new method : 0.006392002105712891 length of segment : 450 time for calcul the mask position with numpy : 0.002071857452392578 nb_pixel_total : 23436 time to create 1 rle with old method : 0.02680826187133789 length of segment : 537 time for calcul the mask position with numpy : 0.006320953369140625 nb_pixel_total : 229848 time to create 1 rle with new method : 0.008587121963500977 length of segment : 684 time for calcul the mask position with numpy : 0.0006110668182373047 nb_pixel_total : 10124 time to create 1 rle with old method : 0.013235092163085938 length of segment : 172 time for calcul the mask position with numpy : 0.004421710968017578 nb_pixel_total : 165364 time to create 1 rle with new method : 0.007712364196777344 length of segment : 624 time for calcul the mask position with numpy : 0.0009541511535644531 nb_pixel_total : 28944 time to create 1 rle with old method : 0.032456159591674805 length of segment : 317 time for calcul the mask position with numpy : 0.001631021499633789 nb_pixel_total : 38772 time to create 1 rle with old method : 0.04372096061706543 length of segment : 370 time for calcul the mask position with numpy : 0.008625507354736328 nb_pixel_total : 298450 time to create 1 rle with new method : 0.017378568649291992 length of segment : 853 time for calcul the mask position with numpy : 0.00024890899658203125 nb_pixel_total : 4929 time to create 1 rle with old method : 0.005980968475341797 length of segment : 115 time for calcul the mask position with numpy : 0.005499601364135742 nb_pixel_total : 276668 time to create 1 rle with new method : 0.008643627166748047 length of segment : 730 time for calcul the mask position with numpy : 0.005548238754272461 nb_pixel_total : 252648 time to create 1 rle with new method : 0.008257389068603516 length of segment : 543 time for calcul the mask position with numpy : 0.004097700119018555 nb_pixel_total : 234910 time to create 1 rle with new method : 0.009579181671142578 length of segment : 616 time for calcul the mask position with numpy : 0.0023345947265625 nb_pixel_total : 75294 time to create 1 rle with old method : 0.0864412784576416 length of segment : 445 time for calcul the mask position with numpy : 0.001863718032836914 nb_pixel_total : 100741 time to create 1 rle with old method : 0.11579298973083496 length of segment : 436 time for calcul the mask position with numpy : 0.0023827552795410156 nb_pixel_total : 96540 time to create 1 rle with old method : 0.11420774459838867 length of segment : 928 time for calcul the mask position with numpy : 0.0065386295318603516 nb_pixel_total : 256779 time to create 1 rle with new method : 0.009923696517944336 length of segment : 732 time spent for convertir_results : 12.542752981185913 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 112 chid ids of type : 3663 Number RLEs to save : 47761 save missing photos in datou_result : time spend for datou_step_exec : 52.57872438430786 time spend to save output : 3.9753031730651855 total time spend for step 1 : 56.55402755737305 step2:crop_condition Mon Feb 17 14:43:24 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 : 8 ! batch 1 Loaded 112 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 24 About to insert : list_path_to_insert length 24 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 37 About to insert : list_path_to_insert length 37 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 [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 92 /-3678045630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045672Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045659Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045666Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045663Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045673Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045664Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045660Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045671Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045662Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678045723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 284 time used for this insertion : 0.033211469650268555 save_final save missing photos in datou_result : time spend for datou_step_exec : 53.63485622406006 time spend to save output : 0.03576540946960449 total time spend for step 2 : 53.67062163352966 step3:thcl Mon Feb 17 14:44:18 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.00553131103515625 time to convert the images to numpy array : 0.14281678199768066 time to import caffe and check if the image exist : 0.012618780136108398 time to convert the images to numpy array : 0.23714733123779297 time to import caffe and check if the image exist : 0.017406225204467773 time to convert the images to numpy array : 0.3792109489440918 time to import caffe and check if the image exist : 0.01518869400024414 time to convert the images to numpy array : 0.419553279876709 time to import caffe and check if the image exist : 0.009949445724487305 time to convert the images to numpy array : 0.42847537994384766 time to import caffe and check if the image exist : 0.012752532958984375 time to convert the images to numpy array : 0.44733548164367676 time to import caffe and check if the image exist : 0.015828371047973633 time to convert the images to numpy array : 0.5355072021484375 time to import caffe and check if the image exist : 0.017518043518066406 time to convert the images to numpy array : 0.5383825302124023 time to import caffe and check if the image exist : 0.0169680118560791 time to convert the images to numpy array : 0.5462541580200195 time to import caffe and check if the image exist : 0.011970281600952148 time to convert the images to numpy array : 0.5982620716094971 total time to convert the images to numpy array : 0.867344856262207 list photo_ids error: [] list photo_ids correct : [-3678045731, -3678045723, -3678045652, -3678045659, -3678045668, -3678045666, -3678045663, -3678045673, -3678045675, -3678045701, -3678045700, -3678045690, -3678045689, -3678045699, -3678045697, -3678045702, -3678045722, -3678045720, -3678045727, -3678045736, -3678045726, -3678045638, -3678045635, -3678045664, -3678045674, -3678045724, -3678045729, -3678045625, -3678045628, -3678045636, -3678045626, -3678045649, -3678045734, -3678045735, -3678045637, -3678045672, -3678045732, -3678045640, -3678045641, -3678045639, -3678045644, -3678045648, -3678045630, -3678045631, -3678045647, -3678045645, -3678045678, -3678045695, -3678045696, -3678045694, -3678045711, -3678045634, -3678045653, -3678045654, -3678045643, -3678045657, -3678045665, -3678045660, -3678045671, -3678045662, -3678045661, -3678045685, -3678045682, -3678045677, -3678045679, -3678045683, -3678045686, -3678045681, -3678045676, -3678045698, -3678045693, -3678045692, -3678045646, -3678045650, -3678045651, -3678045670, -3678045684, -3678045704, -3678045710, -3678045714, -3678045708, -3678045730, -3678045688, -3678045687, -3678045705, -3678045713, -3678045721, -3678045709, -3678045712, -3678045728, -3678045725, -3678045733] number of photos to traite : 92 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.5264625549316406 time used to do the prediction : 0.2048501968383789 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.5610792636871338 time used to do the prediction : 0.16970229148864746 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.1219253540039062e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.115299701690674 time spend to save output : 0.0007390975952148438 total time spend for step 3 : 11.116038799285889 step4:merge_mask_thcl_custom Mon Feb 17 14:44:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 112 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 [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 8 /1338153524Didn't retrieve data .Didn't retrieve data . /1338153523Didn't retrieve data .Didn't retrieve data . /1338153521Didn't retrieve data .Didn't retrieve data . /1338153497Didn't retrieve data .Didn't retrieve data . /1338153494Didn't retrieve data .Didn't retrieve data . /1338153491Didn't retrieve data .Didn't retrieve data . /1338153487Didn't retrieve data .Didn't retrieve data . /1338153483Didn't retrieve data .Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.034317731857299805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10032534599304199 time spend to save output : 0.034970998764038086 total time spend for step 4 : 0.13529634475708008 step5:rle_unique_nms_with_priority Mon Feb 17 14:44:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 18 nb_hashtags : 7 time to prepare the origin masks : 14.902889251708984 time for calcul the mask position with numpy : 0.5447061061859131 nb_pixel_total : 5239644 time to create 1 rle with new method : 1.3614435195922852 time for calcul the mask position with numpy : 0.022266626358032227 nb_pixel_total : 21236 time to create 1 rle with old method : 0.028792619705200195 time for calcul the mask position with numpy : 0.022470474243164062 nb_pixel_total : 3769 time to create 1 rle with old method : 0.004312992095947266 time for calcul the mask position with numpy : 0.025615215301513672 nb_pixel_total : 273819 time to create 1 rle with new method : 0.6926453113555908 time for calcul the mask position with numpy : 0.02688741683959961 nb_pixel_total : 18511 time to create 1 rle with old method : 0.026442766189575195 time for calcul the mask position with numpy : 0.04074835777282715 nb_pixel_total : 249627 time to create 1 rle with new method : 0.673936128616333 time for calcul the mask position with numpy : 0.03635239601135254 nb_pixel_total : 65699 time to create 1 rle with old method : 0.0767674446105957 time for calcul the mask position with numpy : 0.03461432456970215 nb_pixel_total : 5371 time to create 1 rle with old method : 0.006045103073120117 time for calcul the mask position with numpy : 0.037763357162475586 nb_pixel_total : 177100 time to create 1 rle with new method : 0.7876718044281006 time for calcul the mask position with numpy : 0.03746914863586426 nb_pixel_total : 34884 time to create 1 rle with old method : 0.041570186614990234 time for calcul the mask position with numpy : 0.03604722023010254 nb_pixel_total : 5760 time to create 1 rle with old method : 0.006475687026977539 time for calcul the mask position with numpy : 0.03891491889953613 nb_pixel_total : 255100 time to create 1 rle with new method : 0.4074978828430176 time for calcul the mask position with numpy : 0.0238039493560791 nb_pixel_total : 266252 time to create 1 rle with new method : 0.5828044414520264 time for calcul the mask position with numpy : 0.025841951370239258 nb_pixel_total : 2281 time to create 1 rle with old method : 0.002851247787475586 time for calcul the mask position with numpy : 0.025560617446899414 nb_pixel_total : 97187 time to create 1 rle with old method : 0.10891008377075195 time for calcul the mask position with numpy : 0.02302384376525879 nb_pixel_total : 67504 time to create 1 rle with old method : 0.07503795623779297 time for calcul the mask position with numpy : 0.022942066192626953 nb_pixel_total : 189361 time to create 1 rle with new method : 1.4792602062225342 time for calcul the mask position with numpy : 0.021484851837158203 nb_pixel_total : 26221 time to create 1 rle with old method : 0.02875995635986328 time for calcul the mask position with numpy : 0.02313995361328125 nb_pixel_total : 50914 time to create 1 rle with old method : 0.0642697811126709 create new chi : 7.706318140029907 time to delete rle : 0.016469955444335938 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 15568 TO DO : save crop sub photo not yet done ! save time : 0.8699324131011963 nb_obj : 12 nb_hashtags : 7 time to prepare the origin masks : 7.006976842880249 time for calcul the mask position with numpy : 0.4965636730194092 nb_pixel_total : 5702582 time to create 1 rle with new method : 0.7618942260742188 time for calcul the mask position with numpy : 0.021497488021850586 nb_pixel_total : 10176 time to create 1 rle with old method : 0.011344432830810547 time for calcul the mask position with numpy : 0.02263784408569336 nb_pixel_total : 52028 time to create 1 rle with old method : 0.062394142150878906 time for calcul the mask position with numpy : 0.025229215621948242 nb_pixel_total : 224165 time to create 1 rle with new method : 0.5773730278015137 time for calcul the mask position with numpy : 0.023089885711669922 nb_pixel_total : 16055 time to create 1 rle with old method : 0.018478870391845703 time for calcul the mask position with numpy : 0.022539377212524414 nb_pixel_total : 21563 time to create 1 rle with old method : 0.025763988494873047 time for calcul the mask position with numpy : 0.027945518493652344 nb_pixel_total : 391224 time to create 1 rle with new method : 0.4804208278656006 time for calcul the mask position with numpy : 0.022333145141601562 nb_pixel_total : 139439 time to create 1 rle with old method : 0.15229439735412598 time for calcul the mask position with numpy : 0.022018909454345703 nb_pixel_total : 2580 time to create 1 rle with old method : 0.002827167510986328 time for calcul the mask position with numpy : 0.02318120002746582 nb_pixel_total : 8269 time to create 1 rle with old method : 0.009206771850585938 time for calcul the mask position with numpy : 0.023427724838256836 nb_pixel_total : 290233 time to create 1 rle with new method : 0.43398618698120117 time for calcul the mask position with numpy : 0.02142953872680664 nb_pixel_total : 126655 time to create 1 rle with old method : 0.1432180404663086 time for calcul the mask position with numpy : 0.021654844284057617 nb_pixel_total : 65271 time to create 1 rle with old method : 0.07199954986572266 create new chi : 3.6347877979278564 time to delete rle : 0.0011110305786132812 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 12061 TO DO : save crop sub photo not yet done ! save time : 0.6825706958770752 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 3.1384780406951904 time for calcul the mask position with numpy : 0.040961503982543945 nb_pixel_total : 2741137 time to create 1 rle with new method : 0.6672000885009766 time for calcul the mask position with numpy : 0.020316123962402344 nb_pixel_total : 1944 time to create 1 rle with old method : 0.0022687911987304688 time for calcul the mask position with numpy : 0.30570030212402344 nb_pixel_total : 4305254 time to create 1 rle with new method : 0.5339136123657227 time for calcul the mask position with numpy : 0.02083301544189453 nb_pixel_total : 1905 time to create 1 rle with old method : 0.002078533172607422 create new chi : 1.6490468978881836 time to delete rle : 0.0005433559417724609 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 6498 TO DO : save crop sub photo not yet done ! save time : 0.8021957874298096 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 9.644397020339966 time for calcul the mask position with numpy : 0.3253762722015381 nb_pixel_total : 6619944 time to create 1 rle with new method : 0.8568127155303955 time for calcul the mask position with numpy : 0.03554582595825195 nb_pixel_total : 45334 time to create 1 rle with old method : 0.051523447036743164 time for calcul the mask position with numpy : 0.035042524337768555 nb_pixel_total : 33552 time to create 1 rle with old method : 0.03652691841125488 time for calcul the mask position with numpy : 0.035160064697265625 nb_pixel_total : 494 time to create 1 rle with old method : 0.0006229877471923828 time for calcul the mask position with numpy : 0.03412151336669922 nb_pixel_total : 23795 time to create 1 rle with old method : 0.02634263038635254 time for calcul the mask position with numpy : 0.030686378479003906 nb_pixel_total : 23484 time to create 1 rle with old method : 0.026214599609375 time for calcul the mask position with numpy : 0.022812604904174805 nb_pixel_total : 20355 time to create 1 rle with old method : 0.022661685943603516 time for calcul the mask position with numpy : 0.024534940719604492 nb_pixel_total : 8965 time to create 1 rle with old method : 0.010226726531982422 time for calcul the mask position with numpy : 0.022008419036865234 nb_pixel_total : 1983 time to create 1 rle with old method : 0.00232696533203125 time for calcul the mask position with numpy : 0.02438187599182129 nb_pixel_total : 82588 time to create 1 rle with old method : 0.09160637855529785 time for calcul the mask position with numpy : 0.024071216583251953 nb_pixel_total : 1963 time to create 1 rle with old method : 0.0028791427612304688 time for calcul the mask position with numpy : 0.025606393814086914 nb_pixel_total : 6545 time to create 1 rle with old method : 0.008130788803100586 time for calcul the mask position with numpy : 0.02390122413635254 nb_pixel_total : 23840 time to create 1 rle with old method : 0.028705120086669922 time for calcul the mask position with numpy : 0.029704570770263672 nb_pixel_total : 20115 time to create 1 rle with old method : 0.022990942001342773 time for calcul the mask position with numpy : 0.023186683654785156 nb_pixel_total : 25807 time to create 1 rle with old method : 0.029984712600708008 time for calcul the mask position with numpy : 0.023142576217651367 nb_pixel_total : 111476 time to create 1 rle with old method : 0.12475013732910156 create new chi : 2.127107620239258 time to delete rle : 0.001294851303100586 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 9295 TO DO : save crop sub photo not yet done ! save time : 0.554163932800293 nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 7.589380741119385 time for calcul the mask position with numpy : 0.8585290908813477 nb_pixel_total : 6341677 time to create 1 rle with new method : 0.6291005611419678 time for calcul the mask position with numpy : 0.039537668228149414 nb_pixel_total : 30878 time to create 1 rle with old method : 0.032701730728149414 time for calcul the mask position with numpy : 0.041896820068359375 nb_pixel_total : 217501 time to create 1 rle with new method : 0.4796774387359619 time for calcul the mask position with numpy : 0.03857421875 nb_pixel_total : 47466 time to create 1 rle with old method : 0.047965049743652344 time for calcul the mask position with numpy : 0.03680920600891113 nb_pixel_total : 26557 time to create 1 rle with old method : 0.02738213539123535 time for calcul the mask position with numpy : 0.03954005241394043 nb_pixel_total : 44353 time to create 1 rle with old method : 0.04875588417053223 time for calcul the mask position with numpy : 0.03890681266784668 nb_pixel_total : 12353 time to create 1 rle with old method : 0.01291036605834961 time for calcul the mask position with numpy : 0.03666496276855469 nb_pixel_total : 110958 time to create 1 rle with old method : 0.11367511749267578 time for calcul the mask position with numpy : 0.02315545082092285 nb_pixel_total : 14014 time to create 1 rle with old method : 0.014507055282592773 time for calcul the mask position with numpy : 0.023670434951782227 nb_pixel_total : 28030 time to create 1 rle with old method : 0.028416872024536133 time for calcul the mask position with numpy : 0.024954795837402344 nb_pixel_total : 125692 time to create 1 rle with old method : 0.1291637420654297 time for calcul the mask position with numpy : 0.023606061935424805 nb_pixel_total : 4195 time to create 1 rle with old method : 0.0045893192291259766 time for calcul the mask position with numpy : 0.0244295597076416 nb_pixel_total : 46566 time to create 1 rle with old method : 0.04773354530334473 create new chi : 2.9486942291259766 time to delete rle : 0.0010287761688232422 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 9927 TO DO : save crop sub photo not yet done ! save time : 0.5643119812011719 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 12.843312501907349 time for calcul the mask position with numpy : 0.713672399520874 nb_pixel_total : 4445060 time to create 1 rle with new method : 0.8298814296722412 time for calcul the mask position with numpy : 0.04026603698730469 nb_pixel_total : 172844 time to create 1 rle with new method : 0.6748740673065186 time for calcul the mask position with numpy : 0.03966021537780762 nb_pixel_total : 61165 time to create 1 rle with old method : 0.07286572456359863 time for calcul the mask position with numpy : 0.03486800193786621 nb_pixel_total : 15017 time to create 1 rle with old method : 0.023438215255737305 time for calcul the mask position with numpy : 0.043599605560302734 nb_pixel_total : 339329 time to create 1 rle with new method : 0.5832958221435547 time for calcul the mask position with numpy : 0.03181886672973633 nb_pixel_total : 19812 time to create 1 rle with old method : 0.022424697875976562 time for calcul the mask position with numpy : 0.031054258346557617 nb_pixel_total : 4288 time to create 1 rle with old method : 0.005545139312744141 time for calcul the mask position with numpy : 0.023962974548339844 nb_pixel_total : 7185 time to create 1 rle with old method : 0.00826716423034668 time for calcul the mask position with numpy : 0.024036169052124023 nb_pixel_total : 74874 time to create 1 rle with old method : 0.08945035934448242 time for calcul the mask position with numpy : 0.03505420684814453 nb_pixel_total : 358176 time to create 1 rle with new method : 0.6023120880126953 time for calcul the mask position with numpy : 0.024708271026611328 nb_pixel_total : 96555 time to create 1 rle with old method : 0.11484694480895996 time for calcul the mask position with numpy : 0.025444507598876953 nb_pixel_total : 192054 time to create 1 rle with new method : 0.7686154842376709 time for calcul the mask position with numpy : 0.03518795967102051 nb_pixel_total : 12615 time to create 1 rle with old method : 0.014009952545166016 time for calcul the mask position with numpy : 0.044622182846069336 nb_pixel_total : 809194 time to create 1 rle with new method : 0.48607468605041504 time for calcul the mask position with numpy : 0.03499150276184082 nb_pixel_total : 2066 time to create 1 rle with old method : 0.002440214157104492 time for calcul the mask position with numpy : 0.03591156005859375 nb_pixel_total : 58275 time to create 1 rle with old method : 0.0643165111541748 time for calcul the mask position with numpy : 0.03444314002990723 nb_pixel_total : 64065 time to create 1 rle with old method : 0.07350707054138184 time for calcul the mask position with numpy : 0.03604531288146973 nb_pixel_total : 108824 time to create 1 rle with old method : 0.12059164047241211 time for calcul the mask position with numpy : 0.03775477409362793 nb_pixel_total : 205756 time to create 1 rle with new method : 0.5205421447753906 time for calcul the mask position with numpy : 0.034752845764160156 nb_pixel_total : 3086 time to create 1 rle with old method : 0.0035216808319091797 create new chi : 6.6411519050598145 time to delete rle : 0.0014345645904541016 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 15789 TO DO : save crop sub photo not yet done ! save time : 0.9449286460876465 nb_obj : 16 nb_hashtags : 5 time to prepare the origin masks : 12.43187427520752 time for calcul the mask position with numpy : 0.3464336395263672 nb_pixel_total : 5912445 time to create 1 rle with new method : 0.7374441623687744 time for calcul the mask position with numpy : 0.0412750244140625 nb_pixel_total : 29212 time to create 1 rle with old method : 0.03215909004211426 time for calcul the mask position with numpy : 0.042801618576049805 nb_pixel_total : 7926 time to create 1 rle with old method : 0.00916290283203125 time for calcul the mask position with numpy : 0.04694533348083496 nb_pixel_total : 365757 time to create 1 rle with new method : 0.6165904998779297 time for calcul the mask position with numpy : 0.03511977195739746 nb_pixel_total : 24850 time to create 1 rle with old method : 0.029491901397705078 time for calcul the mask position with numpy : 0.03484201431274414 nb_pixel_total : 3241 time to create 1 rle with old method : 0.003919839859008789 time for calcul the mask position with numpy : 0.0344691276550293 nb_pixel_total : 5164 time to create 1 rle with old method : 0.006140708923339844 time for calcul the mask position with numpy : 0.036719322204589844 nb_pixel_total : 251078 time to create 1 rle with new method : 0.44965481758117676 time for calcul the mask position with numpy : 0.03771328926086426 nb_pixel_total : 114696 time to create 1 rle with old method : 0.1277921199798584 time for calcul the mask position with numpy : 0.03523397445678711 nb_pixel_total : 6193 time to create 1 rle with old method : 0.007459163665771484 time for calcul the mask position with numpy : 0.03646278381347656 nb_pixel_total : 182403 time to create 1 rle with new method : 0.5794410705566406 time for calcul the mask position with numpy : 0.0371859073638916 nb_pixel_total : 10042 time to create 1 rle with old method : 0.011234283447265625 time for calcul the mask position with numpy : 0.0354611873626709 nb_pixel_total : 6690 time to create 1 rle with old method : 0.008032083511352539 time for calcul the mask position with numpy : 0.032492876052856445 nb_pixel_total : 78249 time to create 1 rle with old method : 0.08878421783447266 time for calcul the mask position with numpy : 0.03374600410461426 nb_pixel_total : 13180 time to create 1 rle with old method : 0.015380144119262695 time for calcul the mask position with numpy : 0.039229393005371094 nb_pixel_total : 23695 time to create 1 rle with old method : 0.034230709075927734 time for calcul the mask position with numpy : 0.03665781021118164 nb_pixel_total : 15419 time to create 1 rle with old method : 0.0180361270904541 create new chi : 3.842519521713257 time to delete rle : 0.0011887550354003906 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 12246 TO DO : save crop sub photo not yet done ! save time : 0.9405560493469238 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 8.76314640045166 time for calcul the mask position with numpy : 0.602393627166748 nb_pixel_total : 5100513 time to create 1 rle with new method : 0.37096548080444336 time for calcul the mask position with numpy : 0.021495342254638672 nb_pixel_total : 28958 time to create 1 rle with old method : 0.032561540603637695 time for calcul the mask position with numpy : 0.020742416381835938 nb_pixel_total : 4911 time to create 1 rle with old method : 0.005566120147705078 time for calcul the mask position with numpy : 0.021181583404541016 nb_pixel_total : 10122 time to create 1 rle with old method : 0.011338949203491211 time for calcul the mask position with numpy : 0.023361682891845703 nb_pixel_total : 144562 time to create 1 rle with old method : 0.16065526008605957 time for calcul the mask position with numpy : 0.023397445678710938 nb_pixel_total : 229670 time to create 1 rle with new method : 0.4050142765045166 time for calcul the mask position with numpy : 0.022528886795043945 nb_pixel_total : 226063 time to create 1 rle with new method : 0.32401371002197266 time for calcul the mask position with numpy : 0.021807193756103516 nb_pixel_total : 38665 time to create 1 rle with old method : 0.042840003967285156 time for calcul the mask position with numpy : 0.02291250228881836 nb_pixel_total : 256303 time to create 1 rle with new method : 0.603341817855835 time for calcul the mask position with numpy : 0.022620677947998047 nb_pixel_total : 228467 time to create 1 rle with new method : 0.39391207695007324 time for calcul the mask position with numpy : 0.02306675910949707 nb_pixel_total : 233956 time to create 1 rle with new method : 0.38904309272766113 time for calcul the mask position with numpy : 0.02342391014099121 nb_pixel_total : 96336 time to create 1 rle with old method : 0.10588979721069336 time for calcul the mask position with numpy : 0.02531909942626953 nb_pixel_total : 276043 time to create 1 rle with new method : 0.6743547916412354 time for calcul the mask position with numpy : 0.027904748916625977 nb_pixel_total : 75040 time to create 1 rle with old method : 0.08620262145996094 time for calcul the mask position with numpy : 0.027767419815063477 nb_pixel_total : 100631 time to create 1 rle with old method : 0.11431217193603516 create new chi : 4.8464460372924805 time to delete rle : 0.001773834228515625 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 16466 TO DO : save crop sub photo not yet done ! save time : 1.1706264019012451 map_output_result : {1338153524: (0.0, 'Should be the crop_list due to order', 0.0), 1338153523: (0.0, 'Should be the crop_list due to order', 0.0), 1338153521: (0.0, 'Should be the crop_list due to order', 0.0), 1338153497: (0.0, 'Should be the crop_list due to order', 0.0), 1338153494: (0.0, 'Should be the crop_list due to order', 0.0), 1338153491: (0.0, 'Should be the crop_list due to order', 0.0), 1338153487: (0.0, 'Should be the crop_list due to order', 0.0), 1338153483: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 8 /1338153524.Didn't retrieve data . /1338153523.Didn't retrieve data . /1338153521.Didn't retrieve data . /1338153497.Didn't retrieve data . /1338153494.Didn't retrieve data . /1338153491.Didn't retrieve data . /1338153487.Didn't retrieve data . /1338153483.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.014080047607421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 117.29183888435364 time spend to save output : 0.014519691467285156 total time spend for step 5 : 117.30635857582092 step6:crop_condition Mon Feb 17 14:46:27 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 : 8 ! batch 1 Loaded 117 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739799989_3747005 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6347393989562988 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 4869462 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739800005_3747005 we have uploaded 13 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.791170835494995 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! 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/1739800011_3747005 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7629387378692627 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739800014_3747005 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8451855182647705 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739800021_3747005 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.054859161376953 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 4869462 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739800037_3747005 we have uploaded 21 photos in the portfolio 4869462 time of upload the photos Elapsed time : 5.629098653793335 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! 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/1739800046_3747005 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8413305282592773 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 49 /1338167603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338167889Didn'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, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 155 time used for this insertion : 0.030592679977416992 save_final save missing photos in datou_result : time spend for datou_step_exec : 61.6883430480957 time spend to save output : 0.17646050453186035 total time spend for step 6 : 61.86480355262756 step7:ventilate_hashtags_in_portfolio Mon Feb 17 14:47:28 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 : 20609753 get user id for portfolio 20609753 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`=20609753 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','cartonnette','kraft','flou','papier','Carton_brun','plastique','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20609753 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','cartonnette','kraft','flou','papier','Carton_brun','plastique','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20609753 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','cartonnette','kraft','flou','papier','Carton_brun','plastique','Teint_Dans_La_Masse','mal_croppe','environnement','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20609786,20609787,20609788,20609789,20609790,20609791,20609792,20609793,20609794,20609795,20609796,20609797?tags=autre_refus,cartonnette,kraft,flou,papier,Carton_brun,plastique,Teint_Dans_La_Masse,mal_croppe,environnement,Carton_gris,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 1 /20609753. 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, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.017201900482177734 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7507517337799072 time spend to save output : 0.01760411262512207 total time spend for step 7 : 1.7683558464050293 step8:final Mon Feb 17 14:47: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 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 : {1338153524: ('0.2150089609264623',), 1338153523: ('0.2150089609264623',), 1338153521: ('0.2150089609264623',), 1338153497: ('0.2150089609264623',), 1338153494: ('0.2150089609264623',), 1338153491: ('0.2150089609264623',), 1338153487: ('0.2150089609264623',), 1338153483: ('0.2150089609264623',)} new output for save of step final : {1338153524: ('0.2150089609264623',), 1338153523: ('0.2150089609264623',), 1338153521: ('0.2150089609264623',), 1338153497: ('0.2150089609264623',), 1338153494: ('0.2150089609264623',), 1338153491: ('0.2150089609264623',), 1338153487: ('0.2150089609264623',), 1338153483: ('0.2150089609264623',)} [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 8 /1338153524.Didn't retrieve data . /1338153523.Didn't retrieve data . /1338153521.Didn't retrieve data . /1338153497.Didn't retrieve data . /1338153494.Didn't retrieve data . /1338153491.Didn't retrieve data . /1338153487.Didn't retrieve data . /1338153483.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.012612342834472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10584545135498047 time spend to save output : 0.01306772232055664 total time spend for step 8 : 0.11891317367553711 step9:velours_tree Mon Feb 17 14:47: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 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.04067111015319824 time spend to save output : 5.245208740234375e-05 total time spend for step 9 : 0.040723562240600586 step10:send_mail_cod Mon Feb 17 14:47: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 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_P20609753_17-02-2025_14_47_30.pdf 20609786 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206097861739800050 20609787 change filename to text .change filename to text .imagette206097871739800052 20609788 change filename to text .change filename to text .change filename to text .imagette206097881739800052 20609789 imagette206097891739800052 20609792 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206097921739800052 20609794 imagette206097941739800054 20609797 imagette206097971739800054 20609791 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 .imagette206097911739800054 20609793 change filename to text .imagette206097931739800054 20609796 change filename to text .change filename to text .imagette206097961739800054 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20609753 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20609786,20609787,20609788,20609789,20609790,20609791,20609792,20609793,20609794,20609795,20609796,20609797?tags=autre_refus,cartonnette,kraft,flou,papier,Carton_brun,plastique,Teint_Dans_La_Masse,mal_croppe,environnement,Carton_gris,metal your option no_mail is active, we will not send the real mail to your client args[1338153524] : ('0.2150089609264623',) no score found for photo 1338153524 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153523] : ('0.2150089609264623',) no score found for photo 1338153523 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153521] : ('0.2150089609264623',) no score found for photo 1338153521 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153497] : ('0.2150089609264623',) no score found for photo 1338153497 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153494] : ('0.2150089609264623',) no score found for photo 1338153494 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153491] : ('0.2150089609264623',) no score found for photo 1338153491 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153487] : ('0.2150089609264623',) no score found for photo 1338153487 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com args[1338153483] : ('0.2150089609264623',) no score found for photo 1338153483 apple ('0.2150089609264623',) We are sending mail with results at report@fotonower.com refus_total : 0.2150089609264623 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=20609753 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338153483,1338153487,1338153491,1338153523,1338153524,1338153494,1338153497,1338153521) Found this number of photos: 8 begin to download photo : 1338153483 begin to download photo : 1338153491 begin to download photo : 1338153524 begin to download photo : 1338153497 download finish for photo 1338153491 begin to download photo : 1338153523 download finish for photo 1338153483 begin to download photo : 1338153487 download finish for photo 1338153497 begin to download photo : 1338153521 download finish for photo 1338153524 begin to download photo : 1338153494 download finish for photo 1338153487 download finish for photo 1338153523 download finish for photo 1338153521 download finish for photo 1338153494 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609753_17-02-2025_14_47_30.pdf results_Auto_P20609753_17-02-2025_14_47_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609753_17-02-2025_14_47_30.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','20609753','results_Auto_P20609753_17-02-2025_14_47_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609753_17-02-2025_14_47_30.pdf','pdf','','1.2','0.2150089609264623') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.014613151550292969 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.751252889633179 time spend to save output : 0.014924049377441406 total time spend for step 10 : 6.76617693901062 step11:split_time_score Mon Feb 17 14:47:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('13', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17022025 20609753 Nombre de photos uploadées : 8 / 23040 (0%) 17022025 20609753 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 17022025 20609753 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.00036525726318359375 elapsed_time : insert_dashboard_record_day_entry 0.026111841201782227 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.04358282622296515 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599894_17-02-2025_10_01_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599894 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599894 AND mptpi.`type`=4207 To do Qualite : 0.05023964307933092 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599895_17-02-2025_09_36_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599895 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599895 AND mptpi.`type`=4207 To do Qualite : 0.037520319588614646 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599896_17-02-2025_09_19_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599896 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599896 AND mptpi.`type`=4207 To do Qualite : 0.036624499990701415 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599897_17-02-2025_11_30_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599897 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599897 AND mptpi.`type`=4211 To do Qualite : 0.11310947136892767 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607927_17-02-2025_14_06_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607927 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607927 AND mptpi.`type`=3327 To do Qualite : 0.14144574575410973 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602076_17-02-2025_10_33_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602076 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20602076 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602077_17-02-2025_10_41_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602077 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602078_17-02-2025_10_52_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602078 order by id desc limit 1 Qualite : 0.046669328276683006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602079_17-02-2025_12_27_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602079 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20602079 AND mptpi.`type`=4207 To do Qualite : 0.05224601635413538 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607928_17-02-2025_14_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607928 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607928 AND mptpi.`type`=4207 To do Qualite : 0.044815716981886695 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607929_17-02-2025_13_28_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607929 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607929 AND mptpi.`type`=4207 To do Qualite : 0.011610592257638191 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607930_17-02-2025_13_49_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607930 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607930 AND mptpi.`type`=4209 To do Qualite : 0.07331807065070181 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607931_17-02-2025_13_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607931 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607931 AND mptpi.`type`=3726 To do Qualite : 0.04008308881055802 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607932_17-02-2025_13_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607932 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607932 AND mptpi.`type`=4207 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20608320_17-02-2025_14_32_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20608320 order by id desc limit 1 Qualite : 0.19484482441638354 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607934_17-02-2025_14_47_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607934 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607934 AND mptpi.`type`=3327 To do Qualite : 0.1420596218811598 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607935_17-02-2025_13_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607935 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607935 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607936_17-02-2025_14_26_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607936 order by id desc limit 1 Qualite : 0.2150089609264623 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609753_17-02-2025_14_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609753 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`=20609753 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17022025': {'nb_upload': 8, '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 [1338153524, 1338153523, 1338153521, 1338153497, 1338153494, 1338153491, 1338153487, 1338153483] Looping around the photos to save general results len do output : 1 /20609753Didn'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, '2593439') ('3459', '20609753', '1338153524', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153523', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153521', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153497', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153494', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153491', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153487', None, None, None, None, None, '2593439') ('3459', None, None, None, None, None, None, None, '2593439') ('3459', '20609753', '1338153483', None, None, None, None, None, '2593439') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.0135345458984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5738613605499268 time spend to save output : 0.013703584671020508 total time spend for step 11 : 2.5875649452209473 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 175.19user 120.69system 5:16.21elapsed 93%CPU (0avgtext+0avgdata 3965388maxresident)k 43928inputs+222200outputs (14major+11965373minor)pagefaults 0swaps