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 : 1684727 load datou : 3459 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? output optionnel thcl was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? id de la photo (peut être local ou global) was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) load thcls load THCL from format json or kwargs add thcl : 2456 in CacheModelConfig load THCL from format json or kwargs add thcl : 2868 in CacheModelConfig load THCL from format json or kwargs add thcl : 2896 in CacheModelConfig load pdts add pdt : 4999 in CacheModelConfig add pdt : 5288 in CacheModelConfig add pdt : 5309 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 we have a portfolio with more photos than limit : 18>10 please execute split_portfolio.py -i 20354367 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2567947'] with mtr_portfolio_ids : ['20354367'] and first list_photo_ids : [] new path : /proc/1684727/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! 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.6155250072479248 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 Sat Feb 8 01:44:32 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-08 01:44:35.916553: 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-08 01:44:35.951184: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-08 01:44:35.953723: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4324000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-08 01:44:35.953778: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-08 01:44:35.959465: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-08 01:44:36.280484: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x348cc2d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-08 01:44:36.280540: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-08 01:44:36.282146: 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-08 01:44:36.282980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 01:44:36.288440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 01:44:36.308261: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 01:44:36.310436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 01:44:36.344175: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 01:44:36.349402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 01:44:36.404832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 01:44:36.406700: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 01:44:36.407102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 01:44:36.408363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-08 01:44:36.408384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-08 01:44:36.408395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-08 01:44:36.410509: 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-08 01:44:36.757619: 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-08 01:44:36.757701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 01:44:36.757719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 01:44:36.757735: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 01:44:36.757749: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 01:44:36.757764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 01:44:36.757778: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 01:44:36.757792: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 01:44:36.759125: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 01:44:36.760309: 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-08 01:44:36.760338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-08 01:44:36.760353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 01:44:36.760367: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-08 01:44:36.760381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-08 01:44:36.760395: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-08 01:44:36.760409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-08 01:44:36.760422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-08 01:44:36.761753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-08 01:44:36.761787: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-08 01:44:36.761796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-08 01:44:36.761803: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-08 01:44:36.763192: 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-08 01:44:45.044766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-08 01:44:45.321310: 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 : 24 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 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 : 20 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 1685122 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.0020301342010498047 nb_pixel_total : 44805 time to create 1 rle with old method : 0.050176143646240234 length of segment : 295 time for calcul the mask position with numpy : 0.0006139278411865234 nb_pixel_total : 25687 time to create 1 rle with old method : 0.02889871597290039 length of segment : 230 time for calcul the mask position with numpy : 0.0003292560577392578 nb_pixel_total : 11796 time to create 1 rle with old method : 0.01298379898071289 length of segment : 116 time for calcul the mask position with numpy : 0.00039005279541015625 nb_pixel_total : 14951 time to create 1 rle with old method : 0.016793012619018555 length of segment : 136 time for calcul the mask position with numpy : 0.006709575653076172 nb_pixel_total : 357705 time to create 1 rle with new method : 0.018555641174316406 length of segment : 437 time for calcul the mask position with numpy : 0.0018908977508544922 nb_pixel_total : 93483 time to create 1 rle with old method : 0.09733843803405762 length of segment : 419 time for calcul the mask position with numpy : 7.891654968261719e-05 nb_pixel_total : 1069 time to create 1 rle with old method : 0.0012671947479248047 length of segment : 44 time for calcul the mask position with numpy : 0.00023055076599121094 nb_pixel_total : 7934 time to create 1 rle with old method : 0.00886392593383789 length of segment : 195 time for calcul the mask position with numpy : 0.002285003662109375 nb_pixel_total : 46080 time to create 1 rle with old method : 0.048534393310546875 length of segment : 829 time for calcul the mask position with numpy : 0.0036911964416503906 nb_pixel_total : 133951 time to create 1 rle with old method : 0.14080309867858887 length of segment : 501 time for calcul the mask position with numpy : 0.004086971282958984 nb_pixel_total : 240265 time to create 1 rle with new method : 0.014910697937011719 length of segment : 646 time for calcul the mask position with numpy : 0.00016736984252929688 nb_pixel_total : 1612 time to create 1 rle with old method : 0.0019109249114990234 length of segment : 71 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 10957 time to create 1 rle with old method : 0.01187276840209961 length of segment : 140 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 3596 time to create 1 rle with old method : 0.004003047943115234 length of segment : 68 time for calcul the mask position with numpy : 0.004271268844604492 nb_pixel_total : 229235 time to create 1 rle with new method : 0.017920494079589844 length of segment : 582 time for calcul the mask position with numpy : 0.0007407665252685547 nb_pixel_total : 22164 time to create 1 rle with old method : 0.024010181427001953 length of segment : 246 time for calcul the mask position with numpy : 0.00010848045349121094 nb_pixel_total : 3616 time to create 1 rle with old method : 0.007213592529296875 length of segment : 77 time for calcul the mask position with numpy : 0.00010371208190917969 nb_pixel_total : 2511 time to create 1 rle with old method : 0.0028591156005859375 length of segment : 58 time for calcul the mask position with numpy : 0.000148773193359375 nb_pixel_total : 4384 time to create 1 rle with old method : 0.004866600036621094 length of segment : 69 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 3316 time to create 1 rle with old method : 0.003821849822998047 length of segment : 101 time for calcul the mask position with numpy : 0.00018286705017089844 nb_pixel_total : 6045 time to create 1 rle with old method : 0.007131338119506836 length of segment : 94 time for calcul the mask position with numpy : 0.00033855438232421875 nb_pixel_total : 8822 time to create 1 rle with old method : 0.010020017623901367 length of segment : 231 time for calcul the mask position with numpy : 0.00011944770812988281 nb_pixel_total : 3265 time to create 1 rle with old method : 0.0036547183990478516 length of segment : 75 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 3067 time to create 1 rle with old method : 0.0034830570220947266 length of segment : 81 time for calcul the mask position with numpy : 0.0008497238159179688 nb_pixel_total : 39603 time to create 1 rle with old method : 0.0424656867980957 length of segment : 224 time for calcul the mask position with numpy : 0.0006394386291503906 nb_pixel_total : 41178 time to create 1 rle with old method : 0.042742013931274414 length of segment : 146 time for calcul the mask position with numpy : 0.0003840923309326172 nb_pixel_total : 15400 time to create 1 rle with old method : 0.016718626022338867 length of segment : 188 time for calcul the mask position with numpy : 0.0005803108215332031 nb_pixel_total : 19583 time to create 1 rle with old method : 0.02109217643737793 length of segment : 281 time for calcul the mask position with numpy : 0.00037980079650878906 nb_pixel_total : 12742 time to create 1 rle with old method : 0.013796091079711914 length of segment : 246 time for calcul the mask position with numpy : 0.0003180503845214844 nb_pixel_total : 10806 time to create 1 rle with old method : 0.012485742568969727 length of segment : 118 time for calcul the mask position with numpy : 0.0014202594757080078 nb_pixel_total : 53318 time to create 1 rle with old method : 0.05632519721984863 length of segment : 432 time for calcul the mask position with numpy : 0.00011968612670898438 nb_pixel_total : 1617 time to create 1 rle with old method : 0.0020678043365478516 length of segment : 79 time for calcul the mask position with numpy : 0.0001766681671142578 nb_pixel_total : 4331 time to create 1 rle with old method : 0.005007266998291016 length of segment : 118 time for calcul the mask position with numpy : 0.0022115707397460938 nb_pixel_total : 93171 time to create 1 rle with old method : 0.10532689094543457 length of segment : 419 time for calcul the mask position with numpy : 0.0003440380096435547 nb_pixel_total : 8020 time to create 1 rle with old method : 0.008790969848632812 length of segment : 200 time for calcul the mask position with numpy : 0.0006704330444335938 nb_pixel_total : 27641 time to create 1 rle with old method : 0.028516530990600586 length of segment : 330 time for calcul the mask position with numpy : 0.0037457942962646484 nb_pixel_total : 138788 time to create 1 rle with old method : 0.14963364601135254 length of segment : 689 time for calcul the mask position with numpy : 0.0007648468017578125 nb_pixel_total : 28300 time to create 1 rle with old method : 0.03772330284118652 length of segment : 626 time for calcul the mask position with numpy : 0.0006549358367919922 nb_pixel_total : 15968 time to create 1 rle with old method : 0.017516374588012695 length of segment : 277 time for calcul the mask position with numpy : 0.0017085075378417969 nb_pixel_total : 104256 time to create 1 rle with old method : 0.10669612884521484 length of segment : 459 time for calcul the mask position with numpy : 0.0012204647064208984 nb_pixel_total : 60522 time to create 1 rle with old method : 0.06157541275024414 length of segment : 371 time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 6631 time to create 1 rle with old method : 0.007140636444091797 length of segment : 133 time for calcul the mask position with numpy : 0.0010840892791748047 nb_pixel_total : 62609 time to create 1 rle with old method : 0.0675344467163086 length of segment : 494 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 2654 time to create 1 rle with old method : 0.003184795379638672 length of segment : 36 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 8602 time to create 1 rle with old method : 0.009813070297241211 length of segment : 117 time for calcul the mask position with numpy : 0.0022487640380859375 nb_pixel_total : 118657 time to create 1 rle with old method : 0.12401628494262695 length of segment : 514 time for calcul the mask position with numpy : 0.0014376640319824219 nb_pixel_total : 60051 time to create 1 rle with old method : 0.06177878379821777 length of segment : 386 time for calcul the mask position with numpy : 0.0019466876983642578 nb_pixel_total : 110044 time to create 1 rle with old method : 0.11402153968811035 length of segment : 405 time for calcul the mask position with numpy : 0.0003116130828857422 nb_pixel_total : 11873 time to create 1 rle with old method : 0.013411760330200195 length of segment : 184 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 1554 time to create 1 rle with old method : 0.0019190311431884766 length of segment : 47 time for calcul the mask position with numpy : 0.00010609626770019531 nb_pixel_total : 3293 time to create 1 rle with old method : 0.003692626953125 length of segment : 102 time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 2143 time to create 1 rle with old method : 0.0025091171264648438 length of segment : 63 time for calcul the mask position with numpy : 0.0016851425170898438 nb_pixel_total : 73308 time to create 1 rle with old method : 0.08499908447265625 length of segment : 558 time for calcul the mask position with numpy : 0.0015859603881835938 nb_pixel_total : 46864 time to create 1 rle with old method : 0.049568891525268555 length of segment : 297 time for calcul the mask position with numpy : 0.003901958465576172 nb_pixel_total : 112386 time to create 1 rle with old method : 0.11451148986816406 length of segment : 514 time for calcul the mask position with numpy : 0.0005846023559570312 nb_pixel_total : 13083 time to create 1 rle with old method : 0.015288352966308594 length of segment : 99 time for calcul the mask position with numpy : 0.0004954338073730469 nb_pixel_total : 8465 time to create 1 rle with old method : 0.009838104248046875 length of segment : 147 time for calcul the mask position with numpy : 0.0011849403381347656 nb_pixel_total : 64367 time to create 1 rle with old method : 0.06593680381774902 length of segment : 464 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 3274 time to create 1 rle with old method : 0.0038030147552490234 length of segment : 64 time for calcul the mask position with numpy : 0.0001919269561767578 nb_pixel_total : 2589 time to create 1 rle with old method : 0.0029463768005371094 length of segment : 68 time for calcul the mask position with numpy : 0.0005633831024169922 nb_pixel_total : 9839 time to create 1 rle with old method : 0.010442495346069336 length of segment : 234 time for calcul the mask position with numpy : 0.00029349327087402344 nb_pixel_total : 6119 time to create 1 rle with old method : 0.007344961166381836 length of segment : 64 time for calcul the mask position with numpy : 0.0005702972412109375 nb_pixel_total : 28443 time to create 1 rle with old method : 0.030069589614868164 length of segment : 217 time for calcul the mask position with numpy : 0.0005466938018798828 nb_pixel_total : 13822 time to create 1 rle with old method : 0.01537775993347168 length of segment : 113 time for calcul the mask position with numpy : 0.017501354217529297 nb_pixel_total : 530685 time to create 1 rle with new method : 0.030338525772094727 length of segment : 1312 time for calcul the mask position with numpy : 0.0019788742065429688 nb_pixel_total : 105827 time to create 1 rle with old method : 0.10770535469055176 length of segment : 479 time for calcul the mask position with numpy : 0.0071260929107666016 nb_pixel_total : 172058 time to create 1 rle with new method : 0.015950441360473633 length of segment : 916 time for calcul the mask position with numpy : 0.0021572113037109375 nb_pixel_total : 65183 time to create 1 rle with old method : 0.07036924362182617 length of segment : 434 time for calcul the mask position with numpy : 0.002181529998779297 nb_pixel_total : 84082 time to create 1 rle with old method : 0.09206724166870117 length of segment : 401 time for calcul the mask position with numpy : 0.00037026405334472656 nb_pixel_total : 8044 time to create 1 rle with old method : 0.009044408798217773 length of segment : 72 time for calcul the mask position with numpy : 0.0010972023010253906 nb_pixel_total : 54954 time to create 1 rle with old method : 0.057420969009399414 length of segment : 294 time for calcul the mask position with numpy : 0.0015032291412353516 nb_pixel_total : 66277 time to create 1 rle with old method : 0.07191896438598633 length of segment : 510 time for calcul the mask position with numpy : 0.0013697147369384766 nb_pixel_total : 39284 time to create 1 rle with old method : 0.0426325798034668 length of segment : 319 time for calcul the mask position with numpy : 0.0014584064483642578 nb_pixel_total : 77813 time to create 1 rle with old method : 0.08265805244445801 length of segment : 423 time for calcul the mask position with numpy : 0.002622365951538086 nb_pixel_total : 114534 time to create 1 rle with old method : 0.12056970596313477 length of segment : 532 time for calcul the mask position with numpy : 0.004266500473022461 nb_pixel_total : 129384 time to create 1 rle with old method : 0.14334368705749512 length of segment : 401 time for calcul the mask position with numpy : 0.0004589557647705078 nb_pixel_total : 7381 time to create 1 rle with old method : 0.008599996566772461 length of segment : 98 time for calcul the mask position with numpy : 0.007397651672363281 nb_pixel_total : 258011 time to create 1 rle with new method : 0.011487960815429688 length of segment : 588 time for calcul the mask position with numpy : 0.00044155120849609375 nb_pixel_total : 4917 time to create 1 rle with old method : 0.00609135627746582 length of segment : 141 time for calcul the mask position with numpy : 0.0010726451873779297 nb_pixel_total : 20870 time to create 1 rle with old method : 0.02363276481628418 length of segment : 233 time for calcul the mask position with numpy : 0.006462812423706055 nb_pixel_total : 190540 time to create 1 rle with new method : 0.010777711868286133 length of segment : 622 time for calcul the mask position with numpy : 0.0015125274658203125 nb_pixel_total : 46366 time to create 1 rle with old method : 0.04849362373352051 length of segment : 334 time for calcul the mask position with numpy : 0.0035729408264160156 nb_pixel_total : 114924 time to create 1 rle with old method : 0.12497162818908691 length of segment : 554 time for calcul the mask position with numpy : 0.0006444454193115234 nb_pixel_total : 13475 time to create 1 rle with old method : 0.015113592147827148 length of segment : 307 time for calcul the mask position with numpy : 0.0021491050720214844 nb_pixel_total : 59913 time to create 1 rle with old method : 0.06624913215637207 length of segment : 386 time for calcul the mask position with numpy : 0.0037779808044433594 nb_pixel_total : 196647 time to create 1 rle with new method : 0.007311820983886719 length of segment : 548 time for calcul the mask position with numpy : 0.00027370452880859375 nb_pixel_total : 4590 time to create 1 rle with old method : 0.005263328552246094 length of segment : 94 time for calcul the mask position with numpy : 0.0009725093841552734 nb_pixel_total : 23920 time to create 1 rle with old method : 0.026065587997436523 length of segment : 233 time for calcul the mask position with numpy : 0.0014803409576416016 nb_pixel_total : 49946 time to create 1 rle with old method : 0.053311824798583984 length of segment : 256 time for calcul the mask position with numpy : 0.0001652240753173828 nb_pixel_total : 6454 time to create 1 rle with old method : 0.007448434829711914 length of segment : 101 time for calcul the mask position with numpy : 0.002471923828125 nb_pixel_total : 91477 time to create 1 rle with old method : 0.09480834007263184 length of segment : 559 time for calcul the mask position with numpy : 0.005144596099853516 nb_pixel_total : 215541 time to create 1 rle with new method : 0.009436845779418945 length of segment : 381 time for calcul the mask position with numpy : 0.0026428699493408203 nb_pixel_total : 88177 time to create 1 rle with old method : 0.09456562995910645 length of segment : 466 time for calcul the mask position with numpy : 0.0011818408966064453 nb_pixel_total : 27044 time to create 1 rle with old method : 0.030945301055908203 length of segment : 196 time for calcul the mask position with numpy : 0.00013375282287597656 nb_pixel_total : 1398 time to create 1 rle with old method : 0.0018277168273925781 length of segment : 33 time for calcul the mask position with numpy : 0.001516580581665039 nb_pixel_total : 67358 time to create 1 rle with old method : 0.07233715057373047 length of segment : 464 time for calcul the mask position with numpy : 0.004157066345214844 nb_pixel_total : 248568 time to create 1 rle with new method : 0.00577092170715332 length of segment : 463 time for calcul the mask position with numpy : 0.0006616115570068359 nb_pixel_total : 16055 time to create 1 rle with old method : 0.018082618713378906 length of segment : 207 time for calcul the mask position with numpy : 0.04360365867614746 nb_pixel_total : 2040425 time to create 1 rle with new method : 0.07909750938415527 length of segment : 2973 time for calcul the mask position with numpy : 0.0010788440704345703 nb_pixel_total : 32016 time to create 1 rle with old method : 0.0373692512512207 length of segment : 277 time for calcul the mask position with numpy : 0.0006270408630371094 nb_pixel_total : 20519 time to create 1 rle with old method : 0.024733304977416992 length of segment : 204 time for calcul the mask position with numpy : 0.003892183303833008 nb_pixel_total : 141785 time to create 1 rle with old method : 0.15517401695251465 length of segment : 889 time for calcul the mask position with numpy : 0.004577159881591797 nb_pixel_total : 187328 time to create 1 rle with new method : 0.009725809097290039 length of segment : 940 time for calcul the mask position with numpy : 0.00017452239990234375 nb_pixel_total : 2780 time to create 1 rle with old method : 0.003439188003540039 length of segment : 60 time for calcul the mask position with numpy : 0.0007507801055908203 nb_pixel_total : 25873 time to create 1 rle with old method : 0.029209136962890625 length of segment : 182 time for calcul the mask position with numpy : 0.0005438327789306641 nb_pixel_total : 27802 time to create 1 rle with old method : 0.032007455825805664 length of segment : 208 time for calcul the mask position with numpy : 0.002402782440185547 nb_pixel_total : 170558 time to create 1 rle with new method : 0.004961729049682617 length of segment : 568 time for calcul the mask position with numpy : 0.002515554428100586 nb_pixel_total : 80436 time to create 1 rle with old method : 0.09288454055786133 length of segment : 531 time for calcul the mask position with numpy : 0.0009236335754394531 nb_pixel_total : 38073 time to create 1 rle with old method : 0.04513812065124512 length of segment : 209 time for calcul the mask position with numpy : 0.029762744903564453 nb_pixel_total : 1027247 time to create 1 rle with new method : 0.07237744331359863 length of segment : 1082 time for calcul the mask position with numpy : 9.965896606445312e-05 nb_pixel_total : 1352 time to create 1 rle with old method : 0.0021703243255615234 length of segment : 53 time for calcul the mask position with numpy : 0.0005137920379638672 nb_pixel_total : 9976 time to create 1 rle with old method : 0.01185154914855957 length of segment : 205 time for calcul the mask position with numpy : 0.005751132965087891 nb_pixel_total : 268420 time to create 1 rle with new method : 0.009914398193359375 length of segment : 861 time for calcul the mask position with numpy : 0.002849102020263672 nb_pixel_total : 195609 time to create 1 rle with new method : 0.0050585269927978516 length of segment : 480 time for calcul the mask position with numpy : 0.00011801719665527344 nb_pixel_total : 1690 time to create 1 rle with old method : 0.0029845237731933594 length of segment : 40 time for calcul the mask position with numpy : 0.004079103469848633 nb_pixel_total : 168783 time to create 1 rle with new method : 0.008105993270874023 length of segment : 672 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 2897 time to create 1 rle with old method : 0.003711700439453125 length of segment : 59 time for calcul the mask position with numpy : 0.06697249412536621 nb_pixel_total : 4427714 time to create 1 rle with new method : 0.12289595603942871 length of segment : 3235 time for calcul the mask position with numpy : 0.0040225982666015625 nb_pixel_total : 286843 time to create 1 rle with new method : 0.009519338607788086 length of segment : 876 time for calcul the mask position with numpy : 0.0001239776611328125 nb_pixel_total : 2357 time to create 1 rle with old method : 0.0031309127807617188 length of segment : 91 time for calcul the mask position with numpy : 0.0016093254089355469 nb_pixel_total : 105216 time to create 1 rle with old method : 0.12149620056152344 length of segment : 396 time spent for convertir_results : 11.854272603988647 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 121 chid ids of type : 3663 Number RLEs to save : 44712 save missing photos in datou_result : time spend for datou_step_exec : 52.09104776382446 time spend to save output : 4.424429416656494 total time spend for step 1 : 56.51547718048096 step2:crop_condition Sat Feb 8 01:45: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 ! 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 121 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 34 About to insert : list_path_to_insert length 34 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : 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 [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 63 /-3660989291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989298Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3660989357Didn'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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 197 time used for this insertion : 0.0972909927368164 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.99503755569458 time spend to save output : 0.09940767288208008 total time spend for step 2 : 30.09444522857666 step3:thcl Sat Feb 8 01:45:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.007899999618530273 time to convert the images to numpy array : 4.291534423828125e-06 time to import caffe and check if the image exist : 0.09809374809265137 time to convert the images to numpy array : 0.07062244415283203 time to import caffe and check if the image exist : 0.1012873649597168 time to convert the images to numpy array : 0.07879161834716797 time to import caffe and check if the image exist : 0.012434720993041992 time to convert the images to numpy array : 0.1702709197998047 time to import caffe and check if the image exist : 0.01225900650024414 time to convert the images to numpy array : 0.1707935333251953 time to import caffe and check if the image exist : 0.10126280784606934 time to convert the images to numpy array : 0.09046053886413574 time to import caffe and check if the image exist : 0.010712385177612305 time to convert the images to numpy array : 0.19060802459716797 time to import caffe and check if the image exist : 0.0989997386932373 time to convert the images to numpy array : 0.10236907005310059 time to import caffe and check if the image exist : 0.10183024406433105 time to convert the images to numpy array : 0.10309171676635742 time to import caffe and check if the image exist : 0.09693527221679688 time to convert the images to numpy array : 0.10800361633300781 total time to convert the images to numpy array : 0.493694543838501 list photo_ids error: [] list photo_ids correct : [-3660989278, -3660989283, -3660989282, -3660989280, -3660989271, -3660989272, -3660989275, -3660989266, -3660989290, -3660989298, -3660989285, -3660989319, -3660989308, -3660989307, -3660989291, -3660989284, -3660989302, -3660989305, -3660989320, -3660989326, -3660989329, -3660989267, -3660989289, -3660989250, -3660989287, -3660989330, -3660989338, -3660989357, -3660989257, -3660989255, -3660989260, -3660989249, -3660989245, -3660989269, -3660989270, -3660989360, -3660989254, -3660989297, -3660989292, -3660989318, -3660989312, -3660989337, -3660989335, -3660989349, -3660989342, -3660989347, -3660989351, -3660989365, -3660989281, -3660989331, -3660989341, -3660989345, -3660989346, -3660989259, -3660989253, -3660989358, -3660989313, -3660989316, -3660989325, -3660989322, -3660989336, -3660989333, -3660989340] number of photos to traite : 63 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5706 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5487 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.7954540252685547 time used to do the prediction : 0.23837065696716309 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5485 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5485 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8669686317443848 time used to do the prediction : 0.13576149940490723 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.4557113647460938e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.446319580078125 time spend to save output : 0.000553131103515625 total time spend for step 3 : 9.44687271118164 step4:merge_mask_thcl_custom Sat Feb 8 01:46:08 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 121 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 [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 8 /1335642903Didn't retrieve data .Didn't retrieve data . /1335642795Didn't retrieve data .Didn't retrieve data . /1335642790Didn't retrieve data .Didn't retrieve data . /1335642749Didn't retrieve data .Didn't retrieve data . /1335642744Didn't retrieve data .Didn't retrieve data . /1335642719Didn't retrieve data .Didn't retrieve data . /1335642648Didn't retrieve data .Didn't retrieve data . /1335642450Didn'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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01519012451171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07272124290466309 time spend to save output : 0.015649795532226562 total time spend for step 4 : 0.08837103843688965 step5:rle_unique_nms_with_priority Sat Feb 8 01:46:08 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 : 5 time to prepare the origin masks : 9.424789428710938 time for calcul the mask position with numpy : 0.35422182083129883 nb_pixel_total : 6030890 time to create 1 rle with new method : 0.5734817981719971 time for calcul the mask position with numpy : 0.02187514305114746 nb_pixel_total : 133658 time to create 1 rle with old method : 0.1416025161743164 time for calcul the mask position with numpy : 0.026399850845336914 nb_pixel_total : 44703 time to create 1 rle with old method : 0.047149658203125 time for calcul the mask position with numpy : 0.03452324867248535 nb_pixel_total : 18390 time to create 1 rle with old method : 0.01999044418334961 time for calcul the mask position with numpy : 0.03999829292297363 nb_pixel_total : 221878 time to create 1 rle with new method : 0.3375062942504883 time for calcul the mask position with numpy : 0.02268052101135254 nb_pixel_total : 1442 time to create 1 rle with old method : 0.0017707347869873047 time for calcul the mask position with numpy : 0.020974159240722656 nb_pixel_total : 3617 time to create 1 rle with old method : 0.003935813903808594 time for calcul the mask position with numpy : 0.02257561683654785 nb_pixel_total : 46234 time to create 1 rle with old method : 0.052843570709228516 time for calcul the mask position with numpy : 0.02066349983215332 nb_pixel_total : 3551 time to create 1 rle with old method : 0.003983974456787109 time for calcul the mask position with numpy : 0.02146434783935547 nb_pixel_total : 1602 time to create 1 rle with old method : 0.0019073486328125 time for calcul the mask position with numpy : 0.021746397018432617 nb_pixel_total : 7921 time to create 1 rle with old method : 0.009031534194946289 time for calcul the mask position with numpy : 0.021378278732299805 nb_pixel_total : 1069 time to create 1 rle with old method : 0.0012621879577636719 time for calcul the mask position with numpy : 0.024801969528198242 nb_pixel_total : 22036 time to create 1 rle with old method : 0.02390456199645996 time for calcul the mask position with numpy : 0.02387070655822754 nb_pixel_total : 93163 time to create 1 rle with old method : 0.10316824913024902 time for calcul the mask position with numpy : 0.03419351577758789 nb_pixel_total : 14893 time to create 1 rle with old method : 0.01633477210998535 time for calcul the mask position with numpy : 0.03393816947937012 nb_pixel_total : 10870 time to create 1 rle with old method : 0.012158632278442383 time for calcul the mask position with numpy : 0.03405570983886719 nb_pixel_total : 11678 time to create 1 rle with old method : 0.01293492317199707 time for calcul the mask position with numpy : 0.03718400001525879 nb_pixel_total : 25493 time to create 1 rle with old method : 0.028843402862548828 time for calcul the mask position with numpy : 0.03750729560852051 nb_pixel_total : 357152 time to create 1 rle with new method : 0.43897294998168945 create new chi : 2.752718210220337 time to delete rle : 0.016242265701293945 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 11149 TO DO : save crop sub photo not yet done ! save time : 1.5572052001953125 nb_obj : 21 nb_hashtags : 6 time to prepare the origin masks : 12.65036654472351 time for calcul the mask position with numpy : 0.6195621490478516 nb_pixel_total : 6517714 time to create 1 rle with new method : 0.6291468143463135 time for calcul the mask position with numpy : 0.02237987518310547 nb_pixel_total : 8783 time to create 1 rle with old method : 0.009642839431762695 time for calcul the mask position with numpy : 0.023725032806396484 nb_pixel_total : 39528 time to create 1 rle with old method : 0.04265952110290527 time for calcul the mask position with numpy : 0.034261226654052734 nb_pixel_total : 92974 time to create 1 rle with old method : 0.0996866226196289 time for calcul the mask position with numpy : 0.03724813461303711 nb_pixel_total : 133416 time to create 1 rle with old method : 0.14275765419006348 time for calcul the mask position with numpy : 0.03723478317260742 nb_pixel_total : 41106 time to create 1 rle with old method : 0.044547319412231445 time for calcul the mask position with numpy : 0.03547310829162598 nb_pixel_total : 53232 time to create 1 rle with old method : 0.05751800537109375 time for calcul the mask position with numpy : 0.025260448455810547 nb_pixel_total : 7995 time to create 1 rle with old method : 0.008690834045410156 time for calcul the mask position with numpy : 0.03505420684814453 nb_pixel_total : 4305 time to create 1 rle with old method : 0.004759788513183594 time for calcul the mask position with numpy : 0.03509068489074707 nb_pixel_total : 19562 time to create 1 rle with old method : 0.020831584930419922 time for calcul the mask position with numpy : 0.034929752349853516 nb_pixel_total : 3260 time to create 1 rle with old method : 0.0035631656646728516 time for calcul the mask position with numpy : 0.037007808685302734 nb_pixel_total : 1608 time to create 1 rle with old method : 0.0018811225891113281 time for calcul the mask position with numpy : 0.0352170467376709 nb_pixel_total : 10712 time to create 1 rle with old method : 0.012028217315673828 time for calcul the mask position with numpy : 0.035860538482666016 nb_pixel_total : 9971 time to create 1 rle with old method : 0.011525392532348633 time for calcul the mask position with numpy : 0.030149221420288086 nb_pixel_total : 3054 time to create 1 rle with old method : 0.0035295486450195312 time for calcul the mask position with numpy : 0.03703904151916504 nb_pixel_total : 25226 time to create 1 rle with old method : 0.026698589324951172 time for calcul the mask position with numpy : 0.035410404205322266 nb_pixel_total : 15337 time to create 1 rle with old method : 0.01663970947265625 time for calcul the mask position with numpy : 0.03837752342224121 nb_pixel_total : 6022 time to create 1 rle with old method : 0.009655475616455078 time for calcul the mask position with numpy : 0.03302907943725586 nb_pixel_total : 3302 time to create 1 rle with old method : 0.0036737918853759766 time for calcul the mask position with numpy : 0.02389693260192871 nb_pixel_total : 4382 time to create 1 rle with old method : 0.005018472671508789 time for calcul the mask position with numpy : 0.0241396427154541 nb_pixel_total : 15769 time to create 1 rle with old method : 0.01768326759338379 time for calcul the mask position with numpy : 0.022848129272460938 nb_pixel_total : 32982 time to create 1 rle with old method : 0.035933732986450195 create new chi : 2.5471506118774414 time to delete rle : 0.0012371540069580078 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 11281 TO DO : save crop sub photo not yet done ! save time : 1.0954792499542236 nb_obj : 15 nb_hashtags : 5 time to prepare the origin masks : 11.312536478042603 time for calcul the mask position with numpy : 0.467592716217041 nb_pixel_total : 6387139 time to create 1 rle with new method : 0.972419023513794 time for calcul the mask position with numpy : 0.021131515502929688 nb_pixel_total : 109824 time to create 1 rle with old method : 0.1137397289276123 time for calcul the mask position with numpy : 0.02087569236755371 nb_pixel_total : 46807 time to create 1 rle with old method : 0.049161434173583984 time for calcul the mask position with numpy : 0.02885150909423828 nb_pixel_total : 118294 time to create 1 rle with old method : 0.12298822402954102 time for calcul the mask position with numpy : 0.03282594680786133 nb_pixel_total : 60513 time to create 1 rle with old method : 0.06299400329589844 time for calcul the mask position with numpy : 0.032227516174316406 nb_pixel_total : 2131 time to create 1 rle with old method : 0.002254009246826172 time for calcul the mask position with numpy : 0.03163719177246094 nb_pixel_total : 62594 time to create 1 rle with old method : 0.0654609203338623 time for calcul the mask position with numpy : 0.026403188705444336 nb_pixel_total : 3289 time to create 1 rle with old method : 0.00342559814453125 time for calcul the mask position with numpy : 0.021220922470092773 nb_pixel_total : 1542 time to create 1 rle with old method : 0.0016412734985351562 time for calcul the mask position with numpy : 0.020154237747192383 nb_pixel_total : 11752 time to create 1 rle with old method : 0.012254953384399414 time for calcul the mask position with numpy : 0.020056486129760742 nb_pixel_total : 60058 time to create 1 rle with old method : 0.05990719795227051 time for calcul the mask position with numpy : 0.020439863204956055 nb_pixel_total : 2632 time to create 1 rle with old method : 0.002825498580932617 time for calcul the mask position with numpy : 0.020518064498901367 nb_pixel_total : 135 time to create 1 rle with old method : 0.0002810955047607422 time for calcul the mask position with numpy : 0.020359039306640625 nb_pixel_total : 6589 time to create 1 rle with old method : 0.007220029830932617 time for calcul the mask position with numpy : 0.02085113525390625 nb_pixel_total : 104007 time to create 1 rle with old method : 0.10887289047241211 time for calcul the mask position with numpy : 0.022601604461669922 nb_pixel_total : 72934 time to create 1 rle with old method : 0.07928133010864258 create new chi : 2.5248851776123047 time to delete rle : 0.0009279251098632812 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 10327 TO DO : save crop sub photo not yet done ! save time : 1.0163521766662598 nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 8.154658794403076 time for calcul the mask position with numpy : 0.4866511821746826 nb_pixel_total : 5835566 time to create 1 rle with new method : 0.9068388938903809 time for calcul the mask position with numpy : 0.021459579467773438 nb_pixel_total : 114136 time to create 1 rle with old method : 0.11698698997497559 time for calcul the mask position with numpy : 0.019538402557373047 nb_pixel_total : 13749 time to create 1 rle with old method : 0.014975309371948242 time for calcul the mask position with numpy : 0.020235300064086914 nb_pixel_total : 9468 time to create 1 rle with old method : 0.01036834716796875 time for calcul the mask position with numpy : 0.022568941116333008 nb_pixel_total : 75001 time to create 1 rle with old method : 0.09265732765197754 time for calcul the mask position with numpy : 0.022947072982788086 nb_pixel_total : 64285 time to create 1 rle with old method : 0.06838703155517578 time for calcul the mask position with numpy : 0.021683931350708008 nb_pixel_total : 9808 time to create 1 rle with old method : 0.010511159896850586 time for calcul the mask position with numpy : 0.021882057189941406 nb_pixel_total : 8026 time to create 1 rle with old method : 0.009059429168701172 time for calcul the mask position with numpy : 0.0223238468170166 nb_pixel_total : 171976 time to create 1 rle with new method : 0.6657733917236328 time for calcul the mask position with numpy : 0.02203512191772461 nb_pixel_total : 105327 time to create 1 rle with old method : 0.10814118385314941 time for calcul the mask position with numpy : 0.02635359764099121 nb_pixel_total : 530197 time to create 1 rle with new method : 0.4144287109375 time for calcul the mask position with numpy : 0.02339959144592285 nb_pixel_total : 7282 time to create 1 rle with old method : 0.008142709732055664 time for calcul the mask position with numpy : 0.02298903465270996 nb_pixel_total : 28377 time to create 1 rle with old method : 0.02964949607849121 time for calcul the mask position with numpy : 0.0216219425201416 nb_pixel_total : 6079 time to create 1 rle with old method : 0.006662845611572266 time for calcul the mask position with numpy : 0.022048234939575195 nb_pixel_total : 65149 time to create 1 rle with old method : 0.06940102577209473 time for calcul the mask position with numpy : 0.022476911544799805 nb_pixel_total : 2579 time to create 1 rle with old method : 0.002882242202758789 time for calcul the mask position with numpy : 0.021724462509155273 nb_pixel_total : 3235 time to create 1 rle with old method : 0.004523515701293945 create new chi : 3.464754581451416 time to delete rle : 0.0012812614440917969 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 13841 TO DO : save crop sub photo not yet done ! save time : 1.3351669311523438 nb_obj : 21 nb_hashtags : 8 time to prepare the origin masks : 10.245665073394775 time for calcul the mask position with numpy : 0.3889155387878418 nb_pixel_total : 5491106 time to create 1 rle with new method : 0.7157692909240723 time for calcul the mask position with numpy : 0.020268917083740234 nb_pixel_total : 46252 time to create 1 rle with old method : 0.04693245887756348 time for calcul the mask position with numpy : 0.019666433334350586 nb_pixel_total : 7711 time to create 1 rle with old method : 0.00868082046508789 time for calcul the mask position with numpy : 0.01946234703063965 nb_pixel_total : 4576 time to create 1 rle with old method : 0.004755973815917969 time for calcul the mask position with numpy : 0.019701004028320312 nb_pixel_total : 1391 time to create 1 rle with old method : 0.0015056133270263672 time for calcul the mask position with numpy : 0.019982576370239258 nb_pixel_total : 91361 time to create 1 rle with old method : 0.09128236770629883 time for calcul the mask position with numpy : 0.02187657356262207 nb_pixel_total : 257694 time to create 1 rle with new method : 0.7664992809295654 time for calcul the mask position with numpy : 0.02132105827331543 nb_pixel_total : 87969 time to create 1 rle with old method : 0.09278368949890137 time for calcul the mask position with numpy : 0.022675037384033203 nb_pixel_total : 215358 time to create 1 rle with new method : 0.7978744506835938 time for calcul the mask position with numpy : 0.03017258644104004 nb_pixel_total : 6381 time to create 1 rle with old method : 0.00937032699584961 time for calcul the mask position with numpy : 0.02609848976135254 nb_pixel_total : 59780 time to create 1 rle with old method : 0.06209135055541992 time for calcul the mask position with numpy : 0.021312475204467773 nb_pixel_total : 23853 time to create 1 rle with old method : 0.025035619735717773 time for calcul the mask position with numpy : 0.022223234176635742 nb_pixel_total : 49712 time to create 1 rle with old method : 0.05192065238952637 time for calcul the mask position with numpy : 0.023889780044555664 nb_pixel_total : 193649 time to create 1 rle with new method : 0.7025411128997803 time for calcul the mask position with numpy : 0.026856184005737305 nb_pixel_total : 26997 time to create 1 rle with old method : 0.029227733612060547 time for calcul the mask position with numpy : 0.023525238037109375 nb_pixel_total : 129184 time to create 1 rle with old method : 0.13860368728637695 time for calcul the mask position with numpy : 0.023587465286254883 nb_pixel_total : 13312 time to create 1 rle with old method : 0.014364004135131836 time for calcul the mask position with numpy : 0.024357318878173828 nb_pixel_total : 114540 time to create 1 rle with old method : 0.11639094352722168 time for calcul the mask position with numpy : 0.02064228057861328 nb_pixel_total : 20804 time to create 1 rle with old method : 0.021841049194335938 time for calcul the mask position with numpy : 0.024747371673583984 nb_pixel_total : 4891 time to create 1 rle with old method : 0.0055389404296875 time for calcul the mask position with numpy : 0.02395153045654297 nb_pixel_total : 196411 time to create 1 rle with new method : 0.36422109603881836 time for calcul the mask position with numpy : 0.022049665451049805 nb_pixel_total : 7308 time to create 1 rle with old method : 0.007899999618530273 create new chi : 5.07615065574646 time to delete rle : 0.001634359359741211 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 15833 TO DO : save crop sub photo not yet done ! save time : 1.6410129070281982 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 8.580645561218262 time for calcul the mask position with numpy : 0.9247105121612549 nb_pixel_total : 4303464 time to create 1 rle with new method : 0.9185378551483154 time for calcul the mask position with numpy : 0.03732180595397949 nb_pixel_total : 25749 time to create 1 rle with old method : 0.02754998207092285 time for calcul the mask position with numpy : 0.03412938117980957 nb_pixel_total : 16047 time to create 1 rle with old method : 0.017408370971679688 time for calcul the mask position with numpy : 0.03405189514160156 nb_pixel_total : 2749 time to create 1 rle with old method : 0.003173828125 time for calcul the mask position with numpy : 0.03361868858337402 nb_pixel_total : 20474 time to create 1 rle with old method : 0.02232837677001953 time for calcul the mask position with numpy : 0.03461122512817383 nb_pixel_total : 31931 time to create 1 rle with old method : 0.03341078758239746 time for calcul the mask position with numpy : 0.035353899002075195 nb_pixel_total : 187356 time to create 1 rle with new method : 0.5804398059844971 time for calcul the mask position with numpy : 0.06167125701904297 nb_pixel_total : 2037139 time to create 1 rle with new method : 0.6416549682617188 time for calcul the mask position with numpy : 0.027901411056518555 nb_pixel_total : 248262 time to create 1 rle with new method : 0.40238046646118164 time for calcul the mask position with numpy : 0.023402690887451172 nb_pixel_total : 35858 time to create 1 rle with old method : 0.03837180137634277 time for calcul the mask position with numpy : 0.02406024932861328 nb_pixel_total : 141211 time to create 1 rle with old method : 0.14874839782714844 create new chi : 4.226992845535278 time to delete rle : 0.0014147758483886719 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 15466 TO DO : save crop sub photo not yet done ! save time : 1.363718032836914 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 5.18224573135376 time for calcul the mask position with numpy : 0.29038262367248535 nb_pixel_total : 5342138 time to create 1 rle with new method : 0.5787060260772705 time for calcul the mask position with numpy : 0.03419351577758789 nb_pixel_total : 168454 time to create 1 rle with new method : 0.6279556751251221 time for calcul the mask position with numpy : 0.02877330780029297 nb_pixel_total : 1678 time to create 1 rle with old method : 0.0025060176849365234 time for calcul the mask position with numpy : 0.0317842960357666 nb_pixel_total : 9939 time to create 1 rle with old method : 0.013489961624145508 time for calcul the mask position with numpy : 0.024884939193725586 nb_pixel_total : 268218 time to create 1 rle with new method : 0.4786832332611084 time for calcul the mask position with numpy : 0.046006202697753906 nb_pixel_total : 1339 time to create 1 rle with old method : 0.0017175674438476562 time for calcul the mask position with numpy : 0.05338144302368164 nb_pixel_total : 1025230 time to create 1 rle with new method : 0.7958800792694092 time for calcul the mask position with numpy : 0.03375554084777832 nb_pixel_total : 37993 time to create 1 rle with old method : 0.043306589126586914 time for calcul the mask position with numpy : 0.039843082427978516 nb_pixel_total : 195251 time to create 1 rle with new method : 0.3748812675476074 create new chi : 3.6387882232666016 time to delete rle : 0.0014319419860839844 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 9304 TO DO : save crop sub photo not yet done ! save time : 3.1204895973205566 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 2.6308839321136475 time for calcul the mask position with numpy : 0.06484389305114746 nb_pixel_total : 2277030 time to create 1 rle with new method : 1.026503324508667 time for calcul the mask position with numpy : 0.023538589477539062 nb_pixel_total : 2334 time to create 1 rle with old method : 0.002739429473876953 time for calcul the mask position with numpy : 0.024308443069458008 nb_pixel_total : 285022 time to create 1 rle with new method : 0.6192886829376221 time for calcul the mask position with numpy : 0.40965938568115234 nb_pixel_total : 4377986 time to create 1 rle with new method : 0.6271858215332031 time for calcul the mask position with numpy : 0.034491777420043945 nb_pixel_total : 2878 time to create 1 rle with old method : 0.0029916763305664062 time for calcul the mask position with numpy : 0.030612707138061523 nb_pixel_total : 104990 time to create 1 rle with old method : 0.11708402633666992 create new chi : 3.0655646324157715 time to delete rle : 0.0009307861328125 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 10883 TO DO : save crop sub photo not yet done ! save time : 0.7782459259033203 map_output_result : {1335642903: (0.0, 'Should be the crop_list due to order', 0.0), 1335642795: (0.0, 'Should be the crop_list due to order', 0.0), 1335642790: (0.0, 'Should be the crop_list due to order', 0.0), 1335642749: (0.0, 'Should be the crop_list due to order', 0.0), 1335642744: (0.0, 'Should be the crop_list due to order', 0.0), 1335642719: (0.0, 'Should be the crop_list due to order', 0.0), 1335642648: (0.0, 'Should be the crop_list due to order', 0.0), 1335642450: (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 [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 8 /1335642903.Didn't retrieve data . /1335642795.Didn't retrieve data . /1335642790.Didn't retrieve data . /1335642749.Didn't retrieve data . /1335642744.Didn't retrieve data . /1335642719.Didn't retrieve data . /1335642648.Didn't retrieve data . /1335642450.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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.018564462661743164 save_final save missing photos in datou_result : time spend for datou_step_exec : 108.09120583534241 time spend to save output : 0.019042491912841797 total time spend for step 5 : 108.11024832725525 step6:crop_condition Sat Feb 8 01:47:56 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 122 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738975679_1684727 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.435042381286621 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 ! 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/1738975684_1684727 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2065393924713135 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738975687_1684727 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0861268043518066 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738975690_1684727 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2836976051330566 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 ! 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/1738975692_1684727 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7228436470031738 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738975694_1684727 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6560306549072266 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 ! 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/1738975696_1684727 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5729084014892578 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 [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 18 /1335666720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666976Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335666982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335667039Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335667076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335667078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335667122Didn'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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 62 time used for this insertion : 0.02975010871887207 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.714093923568726 time spend to save output : 0.03053903579711914 total time spend for step 6 : 24.744632959365845 step7:ventilate_hashtags_in_portfolio Sat Feb 8 01:48:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20354367 get user id for portfolio 20354367 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`=20354367 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','mal_croppe','flou','metal','Carton_gris','environnement','plastique','cartonnette','autre_refus','kraft','Teint_Dans_La_Masse')) 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`=20354367 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','mal_croppe','flou','metal','Carton_gris','environnement','plastique','cartonnette','autre_refus','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20354449,20354450,20354451,20354452,20354453,20354454,20354455,20354456,20354457,20354458,20354459,20354460?tags=Carton_brun,plastique,autre_refus,mal_croppe,cartonnette,environnement,metal,kraft,Teint_Dans_La_Masse,papier,flou,Carton_gris Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 1 /20354367. 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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01619863510131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8043382167816162 time spend to save output : 0.016474246978759766 total time spend for step 7 : 1.820812463760376 step8:final Sat Feb 8 01:48:22 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 : {1335642903: ('0.0689383205082024',), 1335642795: ('0.0689383205082024',), 1335642790: ('0.0689383205082024',), 1335642749: ('0.0689383205082024',), 1335642744: ('0.0689383205082024',), 1335642719: ('0.0689383205082024',), 1335642648: ('0.0689383205082024',), 1335642450: ('0.0689383205082024',)} new output for save of step final : {1335642903: ('0.0689383205082024',), 1335642795: ('0.0689383205082024',), 1335642790: ('0.0689383205082024',), 1335642749: ('0.0689383205082024',), 1335642744: ('0.0689383205082024',), 1335642719: ('0.0689383205082024',), 1335642648: ('0.0689383205082024',), 1335642450: ('0.0689383205082024',)} [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 8 /1335642903.Didn't retrieve data . /1335642795.Didn't retrieve data . /1335642790.Didn't retrieve data . /1335642749.Didn't retrieve data . /1335642744.Didn't retrieve data . /1335642719.Didn't retrieve data . /1335642648.Didn't retrieve data . /1335642450.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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013045549392700195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11713051795959473 time spend to save output : 0.013458490371704102 total time spend for step 8 : 0.13058900833129883 step9:velours_tree Sat Feb 8 01:48:23 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.0371708869934082 time spend to save output : 3.409385681152344e-05 total time spend for step 9 : 0.03720498085021973 step10:send_mail_cod Sat Feb 8 01:48:23 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_P20354367_08-02-2025_01_48_23.pdf 20354450 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 .imagette203544501738975703 20354451 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203544511738975703 20354452 imagette203544521738975704 20354453 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203544531738975704 20354455 imagette203544551738975704 20354456 change filename to text .imagette203544561738975704 20354459 imagette203544591738975704 20354449 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203544491738975704 20354457 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203544571738975704 20354460 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette203544601738975705 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20354367 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20354449,20354450,20354451,20354452,20354453,20354454,20354455,20354456,20354457,20354458,20354459,20354460?tags=Carton_brun,plastique,autre_refus,mal_croppe,cartonnette,environnement,metal,kraft,Teint_Dans_La_Masse,papier,flou,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1335642903] : ('0.0689383205082024',) no score found for photo 1335642903 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642795] : ('0.0689383205082024',) no score found for photo 1335642795 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642790] : ('0.0689383205082024',) no score found for photo 1335642790 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642749] : ('0.0689383205082024',) no score found for photo 1335642749 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642744] : ('0.0689383205082024',) no score found for photo 1335642744 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642719] : ('0.0689383205082024',) no score found for photo 1335642719 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642648] : ('0.0689383205082024',) no score found for photo 1335642648 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com args[1335642450] : ('0.0689383205082024',) no score found for photo 1335642450 apple ('0.0689383205082024',) We are sending mail with results at report@fotonower.com refus_total : 0.0689383205082024 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=20354367 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1335642648,1335643160,1335643149,1335642927,1335642905,1335642903,1335642795,1335642790,1335642749,1335642744,1335642928,1335642719,1335642450,1335643374,1335643377,1335643378,1335643382,1335643385) Found this number of photos: 18 begin to download photo : 1335642648 begin to download photo : 1335642905 begin to download photo : 1335642749 begin to download photo : 1335642450 begin to download photo : 1335643382 download finish for photo 1335642648 begin to download photo : 1335643160 download finish for photo 1335642450 begin to download photo : 1335643374 download finish for photo 1335643382 begin to download photo : 1335643385 download finish for photo 1335642749 begin to download photo : 1335642744 download finish for photo 1335642905 begin to download photo : 1335642903 download finish for photo 1335643374 begin to download photo : 1335643377 download finish for photo 1335643160 begin to download photo : 1335643149 download finish for photo 1335642744 begin to download photo : 1335642928 download finish for photo 1335643385 download finish for photo 1335642903 begin to download photo : 1335642795 download finish for photo 1335643149 begin to download photo : 1335642927 download finish for photo 1335643377 begin to download photo : 1335643378 download finish for photo 1335642795 begin to download photo : 1335642790 download finish for photo 1335642927 download finish for photo 1335643378 download finish for photo 1335642790 download finish for photo 1335642928 begin to download photo : 1335642719 download finish for photo 1335642719 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20354367_08-02-2025_01_48_23.pdf results_Auto_P20354367_08-02-2025_01_48_23.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20354367_08-02-2025_01_48_23.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','20354367','results_Auto_P20354367_08-02-2025_01_48_23.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20354367_08-02-2025_01_48_23.pdf','pdf','','0.78','0.0689383205082024') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] 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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.017058372497558594 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.754236698150635 time spend to save output : 0.0174410343170166 total time spend for step 10 : 6.771677732467651 step11:split_time_score Sat Feb 8 01:48:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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'}] (('16', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07022025 20354367 Nombre de photos uploadées : 18 / 23040 (0%) 07022025 20354367 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 07022025 20354367 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 5.245208740234375e-06 elapsed_time : order_list_meta_photo_and_scores 2.5272369384765625e-05 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014958381652832031 elapsed_time : insert_dashboard_record_day_entry 0.03477144241333008 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354353 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354354 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354355 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354356 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354357 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354358 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354359 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354360 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354361 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351772 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351773 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351774 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351775 order by id desc limit 1 Qualite : 0.09932132178283122 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351776_07-02-2025_22_24_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351776 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`=20351776 AND mptpi.`type`=3726 To do Qualite : 0.2385312928452032 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351777_07-02-2025_23_09_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351777 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`=20351777 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351778 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351779 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351782 order by id desc limit 1 Qualite : 0.1972755360101216 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351807_07-02-2025_23_47_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351807 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`=20351807 AND mptpi.`type`=3594 To do Qualite : 0.37949999486949176 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351814_07-02-2025_23_20_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351814 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20351814 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351815 order by id desc limit 1 Qualite : 0.07767031081515724 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351816_08-02-2025_01_09_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351816 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`=20351816 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351817 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354362 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354363 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354364 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354365 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354366 order by id desc limit 1 Qualite : 0.050100097939186815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20354367_08-02-2025_01_48_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354367 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`=20354367 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354368 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354369 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354370 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354371 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354372 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354373 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354374 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20354375 order by id desc limit 1 Qualite : 0.4211175932107529 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351861_08-02-2025_01_32_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351861 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20351861 AND mptpi.`type`=4200 To do Qualite : 0.08701264816490367 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351862_07-02-2025_22_27_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351862 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`=20351862 AND mptpi.`type`=3726 To do Qualite : 0.18687183807817992 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351863_07-02-2025_22_32_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351863 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`=20351863 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351864 order by id desc limit 1 Qualite : 0.03599672022473725 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351865_07-02-2025_23_21_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351865 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`=20351865 AND mptpi.`type`=4207 To do Qualite : 0.11103449586161805 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20351866_08-02-2025_01_40_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20351866 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`=20351866 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07022025': {'nb_upload': 18, '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 [1335642903, 1335642795, 1335642790, 1335642749, 1335642744, 1335642719, 1335642648, 1335642450] Looping around the photos to save general results len do output : 1 /20354367Didn'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, '2567947') ('3459', None, '1335642903', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642795', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642790', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642749', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642744', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642719', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642648', None, None, None, None, None, '2567947') ('3459', None, None, None, None, None, None, None, '2567947') ('3459', None, '1335642450', None, None, None, None, None, '2567947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015824317932128906 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.08086657524109 time spend to save output : 0.016016244888305664 total time spend for step 11 : 26.096882820129395 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 116.67user 99.89system 4:30.80elapsed 79%CPU (0avgtext+0avgdata 4101168maxresident)k 2546384inputs+107832outputs (8792major+9233055minor)pagefaults 0swaps