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 : 933540 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 : 32>10 please execute split_portfolio.py -i 20622464 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2594558'] with mtr_portfolio_ids : ['20622464'] and first list_photo_ids : [] new path : /proc/933540/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.8573622703552246 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon Feb 17 21:14:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-17 21:14:33.122508: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-17 21:14:33.155430: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-17 21:14:33.157516: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f27f8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-17 21:14:33.157548: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-17 21:14:33.161754: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-17 21:14:33.404254: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x10d1e270 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-17 21:14:33.404308: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-17 21:14:33.405481: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 21:14:33.405961: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:14:33.409181: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:14:33.412543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:14:33.413073: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:14:33.416468: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:14:33.417582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:14:33.422392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:14:33.423970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:14:33.424051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:14:33.424852: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 21:14:33.424869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 21:14:33.424879: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 21:14:33.426182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-17 21:14:33.711714: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 21:14:33.711810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:14:33.711835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:14:33.711856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:14:33.711874: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:14:33.711892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:14:33.711910: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:14:33.711928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:14:33.713510: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:14:33.714775: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-17 21:14:33.714812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:14:33.714832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:14:33.714849: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:14:33.714866: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:14:33.714883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:14:33.714914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:14:33.714935: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:14:33.716493: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:14:33.716527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 21:14:33.716538: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 21:14:33.716547: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 21:14:33.718155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9985 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-17 21:14:44.910048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:14:45.109859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 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 : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 19 Detection mask done ! Trying to reset tf kernel 933915 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5485 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10774 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.12800335884094238 nb_pixel_total : 1768145 time to create 1 rle with new method : 1.1644508838653564 length of segment : 2970 time for calcul the mask position with numpy : 0.0006513595581054688 nb_pixel_total : 43407 time to create 1 rle with old method : 0.051317691802978516 length of segment : 305 time for calcul the mask position with numpy : 0.006146430969238281 nb_pixel_total : 429193 time to create 1 rle with new method : 0.015217304229736328 length of segment : 786 time for calcul the mask position with numpy : 0.0016677379608154297 nb_pixel_total : 46768 time to create 1 rle with old method : 0.05265951156616211 length of segment : 373 time for calcul the mask position with numpy : 0.0005159378051757812 nb_pixel_total : 11585 time to create 1 rle with old method : 0.013813495635986328 length of segment : 128 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 20589 time to create 1 rle with old method : 0.02336263656616211 length of segment : 160 time for calcul the mask position with numpy : 0.06202864646911621 nb_pixel_total : 1189590 time to create 1 rle with new method : 1.1401731967926025 length of segment : 2491 time for calcul the mask position with numpy : 0.0008449554443359375 nb_pixel_total : 43665 time to create 1 rle with old method : 0.04912900924682617 length of segment : 178 time for calcul the mask position with numpy : 0.005211591720581055 nb_pixel_total : 263090 time to create 1 rle with new method : 0.012725591659545898 length of segment : 877 time for calcul the mask position with numpy : 0.0072214603424072266 nb_pixel_total : 351129 time to create 1 rle with new method : 0.014268636703491211 length of segment : 952 time for calcul the mask position with numpy : 0.00013399124145507812 nb_pixel_total : 3280 time to create 1 rle with old method : 0.004045248031616211 length of segment : 64 time for calcul the mask position with numpy : 0.0005261898040771484 nb_pixel_total : 19579 time to create 1 rle with old method : 0.022055387496948242 length of segment : 173 time for calcul the mask position with numpy : 0.00030159950256347656 nb_pixel_total : 6861 time to create 1 rle with old method : 0.008507490158081055 length of segment : 162 time for calcul the mask position with numpy : 0.0005612373352050781 nb_pixel_total : 45618 time to create 1 rle with old method : 0.04905271530151367 length of segment : 231 time for calcul the mask position with numpy : 0.00657200813293457 nb_pixel_total : 481009 time to create 1 rle with new method : 0.015182256698608398 length of segment : 1098 time for calcul the mask position with numpy : 0.013143301010131836 nb_pixel_total : 630174 time to create 1 rle with new method : 0.024247407913208008 length of segment : 1408 time for calcul the mask position with numpy : 0.0012323856353759766 nb_pixel_total : 50337 time to create 1 rle with old method : 0.06264853477478027 length of segment : 321 time for calcul the mask position with numpy : 0.0006089210510253906 nb_pixel_total : 20030 time to create 1 rle with old method : 0.022856950759887695 length of segment : 186 time for calcul the mask position with numpy : 0.0016398429870605469 nb_pixel_total : 72856 time to create 1 rle with old method : 0.08007144927978516 length of segment : 374 time for calcul the mask position with numpy : 0.0006594657897949219 nb_pixel_total : 44908 time to create 1 rle with old method : 0.04932117462158203 length of segment : 293 time for calcul the mask position with numpy : 0.0006361007690429688 nb_pixel_total : 30675 time to create 1 rle with old method : 0.036066532135009766 length of segment : 243 time for calcul the mask position with numpy : 0.0017485618591308594 nb_pixel_total : 73842 time to create 1 rle with old method : 0.08172488212585449 length of segment : 284 time for calcul the mask position with numpy : 0.0011248588562011719 nb_pixel_total : 65991 time to create 1 rle with old method : 0.07098174095153809 length of segment : 354 time for calcul the mask position with numpy : 0.0004832744598388672 nb_pixel_total : 8672 time to create 1 rle with old method : 0.00995492935180664 length of segment : 136 time for calcul the mask position with numpy : 0.005235910415649414 nb_pixel_total : 220874 time to create 1 rle with new method : 0.01267385482788086 length of segment : 648 time for calcul the mask position with numpy : 0.00043773651123046875 nb_pixel_total : 13700 time to create 1 rle with old method : 0.01531076431274414 length of segment : 146 time for calcul the mask position with numpy : 0.0026924610137939453 nb_pixel_total : 77729 time to create 1 rle with old method : 0.08606171607971191 length of segment : 537 time for calcul the mask position with numpy : 0.0027916431427001953 nb_pixel_total : 206202 time to create 1 rle with new method : 0.007871150970458984 length of segment : 602 time for calcul the mask position with numpy : 0.004052400588989258 nb_pixel_total : 202398 time to create 1 rle with new method : 0.007375478744506836 length of segment : 953 time for calcul the mask position with numpy : 0.0021321773529052734 nb_pixel_total : 87422 time to create 1 rle with old method : 0.09990167617797852 length of segment : 352 time for calcul the mask position with numpy : 0.00032901763916015625 nb_pixel_total : 8368 time to create 1 rle with old method : 0.009781122207641602 length of segment : 124 time for calcul the mask position with numpy : 0.0013816356658935547 nb_pixel_total : 43007 time to create 1 rle with old method : 0.04629111289978027 length of segment : 371 time for calcul the mask position with numpy : 0.0006623268127441406 nb_pixel_total : 14457 time to create 1 rle with old method : 0.0169680118560791 length of segment : 149 time for calcul the mask position with numpy : 0.0021424293518066406 nb_pixel_total : 62142 time to create 1 rle with old method : 0.06643438339233398 length of segment : 455 time for calcul the mask position with numpy : 0.0005927085876464844 nb_pixel_total : 10807 time to create 1 rle with old method : 0.011976003646850586 length of segment : 180 time for calcul the mask position with numpy : 0.000308990478515625 nb_pixel_total : 7382 time to create 1 rle with old method : 0.008522272109985352 length of segment : 112 time for calcul the mask position with numpy : 0.0007307529449462891 nb_pixel_total : 20412 time to create 1 rle with old method : 0.023770809173583984 length of segment : 218 time for calcul the mask position with numpy : 0.0018963813781738281 nb_pixel_total : 87969 time to create 1 rle with old method : 0.09462690353393555 length of segment : 445 time for calcul the mask position with numpy : 0.001211404800415039 nb_pixel_total : 34459 time to create 1 rle with old method : 0.051645755767822266 length of segment : 328 time for calcul the mask position with numpy : 0.0007631778717041016 nb_pixel_total : 13110 time to create 1 rle with old method : 0.015609025955200195 length of segment : 145 time for calcul the mask position with numpy : 0.0008671283721923828 nb_pixel_total : 34598 time to create 1 rle with old method : 0.03845095634460449 length of segment : 243 time for calcul the mask position with numpy : 0.0003018379211425781 nb_pixel_total : 9667 time to create 1 rle with old method : 0.011124849319458008 length of segment : 115 time for calcul the mask position with numpy : 0.0005066394805908203 nb_pixel_total : 16346 time to create 1 rle with old method : 0.019015789031982422 length of segment : 188 time for calcul the mask position with numpy : 0.0006659030914306641 nb_pixel_total : 29172 time to create 1 rle with old method : 0.0453951358795166 length of segment : 179 time for calcul the mask position with numpy : 0.0007605552673339844 nb_pixel_total : 16069 time to create 1 rle with old method : 0.028977632522583008 length of segment : 193 time for calcul the mask position with numpy : 0.0003170967102050781 nb_pixel_total : 9216 time to create 1 rle with old method : 0.010932445526123047 length of segment : 116 time for calcul the mask position with numpy : 0.0002932548522949219 nb_pixel_total : 6571 time to create 1 rle with old method : 0.008103132247924805 length of segment : 120 time for calcul the mask position with numpy : 0.00022077560424804688 nb_pixel_total : 3916 time to create 1 rle with old method : 0.00476384162902832 length of segment : 74 time for calcul the mask position with numpy : 0.0016279220581054688 nb_pixel_total : 77375 time to create 1 rle with old method : 0.08382606506347656 length of segment : 360 time for calcul the mask position with numpy : 0.002290487289428711 nb_pixel_total : 124574 time to create 1 rle with old method : 0.13727617263793945 length of segment : 389 time for calcul the mask position with numpy : 0.0013051033020019531 nb_pixel_total : 65386 time to create 1 rle with old method : 0.09068918228149414 length of segment : 301 time for calcul the mask position with numpy : 0.013124704360961914 nb_pixel_total : 650861 time to create 1 rle with new method : 0.024364948272705078 length of segment : 1031 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 2656 time to create 1 rle with old method : 0.0036177635192871094 length of segment : 65 time for calcul the mask position with numpy : 0.04917502403259277 nb_pixel_total : 1978318 time to create 1 rle with new method : 0.5714435577392578 length of segment : 2562 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 1454 time to create 1 rle with old method : 0.0018193721771240234 length of segment : 41 time for calcul the mask position with numpy : 0.0031185150146484375 nb_pixel_total : 217335 time to create 1 rle with new method : 0.00943899154663086 length of segment : 603 time for calcul the mask position with numpy : 0.006642580032348633 nb_pixel_total : 387687 time to create 1 rle with new method : 0.010610103607177734 length of segment : 600 time for calcul the mask position with numpy : 0.0014297962188720703 nb_pixel_total : 96480 time to create 1 rle with old method : 0.10646605491638184 length of segment : 447 time for calcul the mask position with numpy : 0.008317947387695312 nb_pixel_total : 462692 time to create 1 rle with new method : 0.018336772918701172 length of segment : 753 time for calcul the mask position with numpy : 0.0003314018249511719 nb_pixel_total : 18819 time to create 1 rle with old method : 0.02541947364807129 length of segment : 204 time for calcul the mask position with numpy : 0.027002334594726562 nb_pixel_total : 1659161 time to create 1 rle with new method : 0.44943809509277344 length of segment : 2566 time for calcul the mask position with numpy : 0.0012290477752685547 nb_pixel_total : 31017 time to create 1 rle with old method : 0.034580230712890625 length of segment : 253 time for calcul the mask position with numpy : 0.0011610984802246094 nb_pixel_total : 33321 time to create 1 rle with old method : 0.04086732864379883 length of segment : 223 time for calcul the mask position with numpy : 0.008072376251220703 nb_pixel_total : 160294 time to create 1 rle with new method : 0.01609659194946289 length of segment : 582 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 29088 time to create 1 rle with old method : 0.03239846229553223 length of segment : 211 time for calcul the mask position with numpy : 0.0008661746978759766 nb_pixel_total : 18647 time to create 1 rle with old method : 0.021065235137939453 length of segment : 201 time for calcul the mask position with numpy : 0.0002815723419189453 nb_pixel_total : 6912 time to create 1 rle with old method : 0.007562398910522461 length of segment : 87 time for calcul the mask position with numpy : 0.0014297962188720703 nb_pixel_total : 28892 time to create 1 rle with old method : 0.03268027305603027 length of segment : 233 time for calcul the mask position with numpy : 0.0007443428039550781 nb_pixel_total : 26479 time to create 1 rle with old method : 0.027922391891479492 length of segment : 197 time for calcul the mask position with numpy : 0.0003261566162109375 nb_pixel_total : 7616 time to create 1 rle with old method : 0.009858369827270508 length of segment : 158 time for calcul the mask position with numpy : 0.001621246337890625 nb_pixel_total : 31649 time to create 1 rle with old method : 0.034691810607910156 length of segment : 250 time for calcul the mask position with numpy : 0.003580808639526367 nb_pixel_total : 165548 time to create 1 rle with new method : 0.004729032516479492 length of segment : 381 time for calcul the mask position with numpy : 0.0029273033142089844 nb_pixel_total : 16600 time to create 1 rle with old method : 0.018446683883666992 length of segment : 258 time for calcul the mask position with numpy : 0.0002646446228027344 nb_pixel_total : 3835 time to create 1 rle with old method : 0.004807710647583008 length of segment : 84 time for calcul the mask position with numpy : 0.0047452449798583984 nb_pixel_total : 149430 time to create 1 rle with old method : 0.15319299697875977 length of segment : 703 time for calcul the mask position with numpy : 0.010534286499023438 nb_pixel_total : 342366 time to create 1 rle with new method : 0.3415961265563965 length of segment : 538 time for calcul the mask position with numpy : 0.0008130073547363281 nb_pixel_total : 4910 time to create 1 rle with old method : 0.006209373474121094 length of segment : 181 time for calcul the mask position with numpy : 0.0005602836608886719 nb_pixel_total : 9514 time to create 1 rle with old method : 0.01102900505065918 length of segment : 109 time for calcul the mask position with numpy : 0.00020074844360351562 nb_pixel_total : 4513 time to create 1 rle with old method : 0.005450248718261719 length of segment : 116 time for calcul the mask position with numpy : 0.0024445056915283203 nb_pixel_total : 30654 time to create 1 rle with old method : 0.034639596939086914 length of segment : 563 time for calcul the mask position with numpy : 0.0017325878143310547 nb_pixel_total : 41252 time to create 1 rle with old method : 0.04653453826904297 length of segment : 234 time for calcul the mask position with numpy : 0.0009758472442626953 nb_pixel_total : 38355 time to create 1 rle with old method : 0.04227328300476074 length of segment : 201 time for calcul the mask position with numpy : 0.02312946319580078 nb_pixel_total : 901722 time to create 1 rle with new method : 0.09513449668884277 length of segment : 1720 time for calcul the mask position with numpy : 0.3509097099304199 nb_pixel_total : 1498302 time to create 1 rle with new method : 0.3472940921783447 length of segment : 2271 time for calcul the mask position with numpy : 0.00047850608825683594 nb_pixel_total : 9270 time to create 1 rle with old method : 0.010229349136352539 length of segment : 141 time for calcul the mask position with numpy : 9.34600830078125e-05 nb_pixel_total : 1821 time to create 1 rle with old method : 0.0020775794982910156 length of segment : 73 time for calcul the mask position with numpy : 6.842613220214844e-05 nb_pixel_total : 2032 time to create 1 rle with old method : 0.0022704601287841797 length of segment : 55 time for calcul the mask position with numpy : 0.0001857280731201172 nb_pixel_total : 3464 time to create 1 rle with old method : 0.0038518905639648438 length of segment : 59 time for calcul the mask position with numpy : 0.000553131103515625 nb_pixel_total : 15605 time to create 1 rle with old method : 0.016186237335205078 length of segment : 153 time for calcul the mask position with numpy : 0.0037827491760253906 nb_pixel_total : 118033 time to create 1 rle with old method : 0.11640238761901855 length of segment : 749 time for calcul the mask position with numpy : 0.006368160247802734 nb_pixel_total : 232275 time to create 1 rle with new method : 0.013746023178100586 length of segment : 664 time for calcul the mask position with numpy : 0.0019435882568359375 nb_pixel_total : 45439 time to create 1 rle with old method : 0.04537677764892578 length of segment : 460 time for calcul the mask position with numpy : 0.003978729248046875 nb_pixel_total : 238831 time to create 1 rle with new method : 0.011206865310668945 length of segment : 678 time for calcul the mask position with numpy : 0.009636163711547852 nb_pixel_total : 493453 time to create 1 rle with new method : 0.016717195510864258 length of segment : 768 time for calcul the mask position with numpy : 0.0003757476806640625 nb_pixel_total : 7320 time to create 1 rle with old method : 0.009045600891113281 length of segment : 99 time for calcul the mask position with numpy : 0.0013537406921386719 nb_pixel_total : 47423 time to create 1 rle with old method : 0.05391407012939453 length of segment : 510 time for calcul the mask position with numpy : 0.0015132427215576172 nb_pixel_total : 20380 time to create 1 rle with old method : 0.023239850997924805 length of segment : 250 time for calcul the mask position with numpy : 0.002380847930908203 nb_pixel_total : 127417 time to create 1 rle with old method : 0.1346127986907959 length of segment : 920 time for calcul the mask position with numpy : 0.0005438327789306641 nb_pixel_total : 24429 time to create 1 rle with old method : 0.025619029998779297 length of segment : 231 time for calcul the mask position with numpy : 0.0002014636993408203 nb_pixel_total : 2970 time to create 1 rle with old method : 0.0033812522888183594 length of segment : 70 time for calcul the mask position with numpy : 0.00045180320739746094 nb_pixel_total : 24652 time to create 1 rle with old method : 0.02721714973449707 length of segment : 231 time spent for convertir_results : 17.506674766540527 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 106 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 47327 save missing photos in datou_result : time spend for datou_step_exec : 61.72390651702881 time spend to save output : 4.565768718719482 total time spend for step 1 : 66.28967523574829 step2:crop_condition Mon Feb 17 21:15:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 106 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 ! 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 : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : 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 [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 62 /-3678369175Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369203Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369205Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369204Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369179Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369200Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369201Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369206Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369199Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678369228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3677980577Didn'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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 196 time used for this insertion : 0.3837625980377197 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.486827850341797 time spend to save output : 0.3864405155181885 total time spend for step 2 : 31.873268365859985 step3:thcl Mon Feb 17 21:16: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 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.0072133541107177734 time to convert the images to numpy array : 5.4836273193359375e-06 time to import caffe and check if the image exist : 0.012307405471801758 time to convert the images to numpy array : 0.3924674987792969 time to import caffe and check if the image exist : 0.013117074966430664 time to convert the images to numpy array : 0.4276235103607178 time to import caffe and check if the image exist : 0.010809183120727539 time to convert the images to numpy array : 0.6221902370452881 time to import caffe and check if the image exist : 0.010297775268554688 time to convert the images to numpy array : 0.6269862651824951 time to import caffe and check if the image exist : 0.013223409652709961 time to convert the images to numpy array : 0.6328177452087402 time to import caffe and check if the image exist : 0.00844717025756836 time to convert the images to numpy array : 0.6535699367523193 time to import caffe and check if the image exist : 0.01110076904296875 time to convert the images to numpy array : 0.6758909225463867 time to import caffe and check if the image exist : 0.012059211730957031 time to convert the images to numpy array : 0.7751777172088623 time to import caffe and check if the image exist : 0.014554500579833984 time to convert the images to numpy array : 0.7755591869354248 total time to convert the images to numpy array : 1.0686206817626953 list photo_ids error: [] list photo_ids correct : [-3678369204, -3678369214, -3677980555, -3677980542, -3677980550, -3678369233, -3678369237, -3678369198, -3678369197, -3678369200, -3678369211, -3678369208, -3678369212, -3678369215, -3678369210, -3678369201, -3678369222, -3678369220, -3678369221, -3678369229, -3678369231, -3678369179, -3678369180, -3678369185, -3678369177, -3678369188, -3678369194, -3678369193, -3678369192, -3678369191, -3678369190, -3678369196, -3678369209, -3677980557, -3678369173, -3678369175, -3678369203, -3678369205, -3677980541, -3677980546, -3677980568, -3678369183, -3677980543, -3677980548, -3678369174, -3678369199, -3678369228, -3677980577, -3677980574, -3677980573, -3677980571, -3677980566, -3677980570, -3678369206, -3677980540, -3678369227, -3677980552, -3677980545, -3677980549, -3677980553, -3677980539, -3677980575] number of photos to traite : 62 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 : 10774 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 : 10555 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8018050193786621 time used to do the prediction : 0.17044925689697266 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 : 10553 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 : 10553 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8153595924377441 time used to do the prediction : 0.13142681121826172 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 8.106231689453125e-06 save missing photos in datou_result : time spend for datou_step_exec : 9.81570053100586 time spend to save output : 0.00048828125 total time spend for step 3 : 9.81618881225586 step4:merge_mask_thcl_custom Mon Feb 17 21:16:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 106 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 [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 10 /1338176103Didn't retrieve data .Didn't retrieve data . /1338175811Didn't retrieve data .Didn't retrieve data . /1338175808Didn't retrieve data .Didn't retrieve data . /1338175804Didn't retrieve data .Didn't retrieve data . /1338175801Didn't retrieve data .Didn't retrieve data . /1338175198Didn't retrieve data .Didn't retrieve data . /1338175168Didn't retrieve data .Didn't retrieve data . /1338140955Didn't retrieve data .Didn't retrieve data . /1338140951Didn't retrieve data .Didn't retrieve data . /1338140938Didn'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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014574527740478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05723738670349121 time spend to save output : 0.015073776245117188 total time spend for step 4 : 0.0723111629486084 step5:rle_unique_nms_with_priority Mon Feb 17 21:16:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 2.7957417964935303 time for calcul the mask position with numpy : 0.38375091552734375 nb_pixel_total : 4861626 time to create 1 rle with new method : 0.5816001892089844 time for calcul the mask position with numpy : 0.02324843406677246 nb_pixel_total : 384521 time to create 1 rle with new method : 0.433335542678833 time for calcul the mask position with numpy : 0.14424777030944824 nb_pixel_total : 1760800 time to create 1 rle with new method : 0.4218771457672119 time for calcul the mask position with numpy : 0.02196526527404785 nb_pixel_total : 43293 time to create 1 rle with old method : 0.04417562484741211 create new chi : 2.1319031715393066 time to delete rle : 0.009330987930297852 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 9960 TO DO : save crop sub photo not yet done ! save time : 0.5670962333679199 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 6.680558681488037 time for calcul the mask position with numpy : 0.1787552833557129 nb_pixel_total : 5009096 time to create 1 rle with new method : 0.632897138595581 time for calcul the mask position with numpy : 0.02028965950012207 nb_pixel_total : 19537 time to create 1 rle with old method : 0.02009415626525879 time for calcul the mask position with numpy : 0.02062201499938965 nb_pixel_total : 28298 time to create 1 rle with old method : 0.029076337814331055 time for calcul the mask position with numpy : 0.021062374114990234 nb_pixel_total : 31253 time to create 1 rle with old method : 0.03328824043273926 time for calcul the mask position with numpy : 0.022661209106445312 nb_pixel_total : 476026 time to create 1 rle with new method : 0.5121879577636719 time for calcul the mask position with numpy : 0.021933555603027344 nb_pixel_total : 43404 time to create 1 rle with old method : 0.04541349411010742 time for calcul the mask position with numpy : 0.02142167091369629 nb_pixel_total : 45409 time to create 1 rle with old method : 0.04734659194946289 time for calcul the mask position with numpy : 0.021785736083984375 nb_pixel_total : 6790 time to create 1 rle with old method : 0.007385969161987305 time for calcul the mask position with numpy : 0.021434307098388672 nb_pixel_total : 3251 time to create 1 rle with old method : 0.003531932830810547 time for calcul the mask position with numpy : 0.02127814292907715 nb_pixel_total : 120374 time to create 1 rle with old method : 0.12369823455810547 time for calcul the mask position with numpy : 0.022855043411254883 nb_pixel_total : 46582 time to create 1 rle with old method : 0.04967069625854492 time for calcul the mask position with numpy : 0.028228044509887695 nb_pixel_total : 1188219 time to create 1 rle with new method : 0.6012842655181885 time for calcul the mask position with numpy : 0.022198200225830078 nb_pixel_total : 11463 time to create 1 rle with old method : 0.012233972549438477 time for calcul the mask position with numpy : 0.02264571189880371 nb_pixel_total : 20538 time to create 1 rle with old method : 0.021278858184814453 create new chi : 2.6911516189575195 time to delete rle : 0.0012154579162597656 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 15464 TO DO : save crop sub photo not yet done ! save time : 0.8464539051055908 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 4.964184999465942 time for calcul the mask position with numpy : 0.3609442710876465 nb_pixel_total : 6801159 time to create 1 rle with new method : 0.44687891006469727 time for calcul the mask position with numpy : 0.0232241153717041 nb_pixel_total : 30603 time to create 1 rle with old method : 0.03280234336853027 time for calcul the mask position with numpy : 0.02200770378112793 nb_pixel_total : 646 time to create 1 rle with old method : 0.0009396076202392578 time for calcul the mask position with numpy : 0.023614168167114258 nb_pixel_total : 8195 time to create 1 rle with old method : 0.009040355682373047 time for calcul the mask position with numpy : 0.023151397705078125 nb_pixel_total : 50206 time to create 1 rle with old method : 0.059662580490112305 time for calcul the mask position with numpy : 0.02324843406677246 nb_pixel_total : 73508 time to create 1 rle with old method : 0.07685685157775879 time for calcul the mask position with numpy : 0.022011995315551758 nb_pixel_total : 20007 time to create 1 rle with old method : 0.02178359031677246 time for calcul the mask position with numpy : 0.02129840850830078 nb_pixel_total : 65916 time to create 1 rle with old method : 0.07063984870910645 create new chi : 1.283205509185791 time to delete rle : 0.0005304813385009766 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 5629 TO DO : save crop sub photo not yet done ! save time : 0.529465913772583 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 4.1766979694366455 time for calcul the mask position with numpy : 0.6708474159240723 nb_pixel_total : 6536497 time to create 1 rle with new method : 0.8981375694274902 time for calcul the mask position with numpy : 0.02269434928894043 nb_pixel_total : 13647 time to create 1 rle with old method : 0.0211641788482666 time for calcul the mask position with numpy : 0.024203777313232422 nb_pixel_total : 14928 time to create 1 rle with old method : 0.016779661178588867 time for calcul the mask position with numpy : 0.022065162658691406 nb_pixel_total : 77704 time to create 1 rle with old method : 0.08136725425720215 time for calcul the mask position with numpy : 0.02295851707458496 nb_pixel_total : 205928 time to create 1 rle with new method : 0.6062581539154053 time for calcul the mask position with numpy : 0.02334308624267578 nb_pixel_total : 201536 time to create 1 rle with new method : 0.5903198719024658 create new chi : 3.093695878982544 time to delete rle : 0.0006365776062011719 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 7781 TO DO : save crop sub photo not yet done ! save time : 0.8546280860900879 nb_obj : 14 nb_hashtags : 6 time to prepare the origin masks : 7.019216060638428 time for calcul the mask position with numpy : 0.47574734687805176 nb_pixel_total : 6603379 time to create 1 rle with new method : 0.4552750587463379 time for calcul the mask position with numpy : 0.019991636276245117 nb_pixel_total : 20387 time to create 1 rle with old method : 0.020530223846435547 time for calcul the mask position with numpy : 0.01985001564025879 nb_pixel_total : 43010 time to create 1 rle with old method : 0.042791128158569336 time for calcul the mask position with numpy : 0.020133256912231445 nb_pixel_total : 66008 time to create 1 rle with old method : 0.06558585166931152 time for calcul the mask position with numpy : 0.01969599723815918 nb_pixel_total : 34380 time to create 1 rle with old method : 0.035260677337646484 time for calcul the mask position with numpy : 0.0207216739654541 nb_pixel_total : 13058 time to create 1 rle with old method : 0.013746976852416992 time for calcul the mask position with numpy : 0.020544052124023438 nb_pixel_total : 14384 time to create 1 rle with old method : 0.014835834503173828 time for calcul the mask position with numpy : 0.020653963088989258 nb_pixel_total : 87287 time to create 1 rle with old method : 0.09478926658630371 time for calcul the mask position with numpy : 0.021192073822021484 nb_pixel_total : 29018 time to create 1 rle with old method : 0.02866673469543457 time for calcul the mask position with numpy : 0.019647598266601562 nb_pixel_total : 7367 time to create 1 rle with old method : 0.00751495361328125 time for calcul the mask position with numpy : 0.022502422332763672 nb_pixel_total : 10771 time to create 1 rle with old method : 0.01119542121887207 time for calcul the mask position with numpy : 0.020330190658569336 nb_pixel_total : 8343 time to create 1 rle with old method : 0.008158683776855469 time for calcul the mask position with numpy : 0.020215749740600586 nb_pixel_total : 16284 time to create 1 rle with old method : 0.016932010650634766 time for calcul the mask position with numpy : 0.020340919494628906 nb_pixel_total : 62016 time to create 1 rle with old method : 0.06246781349182129 time for calcul the mask position with numpy : 0.020843982696533203 nb_pixel_total : 34548 time to create 1 rle with old method : 0.03400278091430664 create new chi : 1.7167184352874756 time to delete rle : 0.0007936954498291016 batch 1 Loaded 15 chid ids of type : 3726 Number RLEs to save : 8920 TO DO : save crop sub photo not yet done ! save time : 1.3277056217193604 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 3.4296882152557373 time for calcul the mask position with numpy : 0.41481518745422363 nb_pixel_total : 6100349 time to create 1 rle with new method : 0.6391375064849854 time for calcul the mask position with numpy : 0.024959325790405273 nb_pixel_total : 647332 time to create 1 rle with new method : 0.5804858207702637 time for calcul the mask position with numpy : 0.020618438720703125 nb_pixel_total : 124294 time to create 1 rle with old method : 0.12914085388183594 time for calcul the mask position with numpy : 0.02124309539794922 nb_pixel_total : 65303 time to create 1 rle with old method : 0.0706944465637207 time for calcul the mask position with numpy : 0.02050042152404785 nb_pixel_total : 77269 time to create 1 rle with old method : 0.08021235466003418 time for calcul the mask position with numpy : 0.021109580993652344 nb_pixel_total : 3910 time to create 1 rle with old method : 0.004143476486206055 time for calcul the mask position with numpy : 0.021491289138793945 nb_pixel_total : 6553 time to create 1 rle with old method : 0.0071485042572021484 time for calcul the mask position with numpy : 0.022425413131713867 nb_pixel_total : 9202 time to create 1 rle with old method : 0.009883403778076172 time for calcul the mask position with numpy : 0.022279024124145508 nb_pixel_total : 16028 time to create 1 rle with old method : 0.016649484634399414 create new chi : 2.183145761489868 time to delete rle : 0.0006358623504638672 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 7293 TO DO : save crop sub photo not yet done ! save time : 0.43738222122192383 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 6.004756212234497 time for calcul the mask position with numpy : 0.21553659439086914 nb_pixel_total : 3713531 time to create 1 rle with new method : 0.563187837600708 time for calcul the mask position with numpy : 0.02147054672241211 nb_pixel_total : 17678 time to create 1 rle with old method : 0.01932358741760254 time for calcul the mask position with numpy : 0.022174596786499023 nb_pixel_total : 127912 time to create 1 rle with old method : 0.13240957260131836 time for calcul the mask position with numpy : 0.02506709098815918 nb_pixel_total : 792901 time to create 1 rle with new method : 0.7626135349273682 time for calcul the mask position with numpy : 0.02118515968322754 nb_pixel_total : 116747 time to create 1 rle with old method : 0.1157841682434082 time for calcul the mask position with numpy : 0.021265506744384766 nb_pixel_total : 205432 time to create 1 rle with new method : 0.46193432807922363 time for calcul the mask position with numpy : 0.020652055740356445 nb_pixel_total : 1449 time to create 1 rle with old method : 0.0016090869903564453 time for calcul the mask position with numpy : 0.03562664985656738 nb_pixel_total : 1975788 time to create 1 rle with new method : 0.5075809955596924 time for calcul the mask position with numpy : 0.021984577178955078 nb_pixel_total : 2646 time to create 1 rle with old method : 0.0028755664825439453 time for calcul the mask position with numpy : 0.02174520492553711 nb_pixel_total : 96156 time to create 1 rle with old method : 0.09903621673583984 create new chi : 3.1978344917297363 time to delete rle : 0.0009872913360595703 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 13250 TO DO : save crop sub photo not yet done ! save time : 1.5595908164978027 nb_obj : 19 nb_hashtags : 5 time to prepare the origin masks : 10.956138134002686 time for calcul the mask position with numpy : 0.8822557926177979 nb_pixel_total : 5987057 time to create 1 rle with new method : 0.8748674392700195 time for calcul the mask position with numpy : 0.03613781929016113 nb_pixel_total : 16510 time to create 1 rle with old method : 0.01778388023376465 time for calcul the mask position with numpy : 0.03771233558654785 nb_pixel_total : 9468 time to create 1 rle with old method : 0.010532617568969727 time for calcul the mask position with numpy : 0.04138803482055664 nb_pixel_total : 341391 time to create 1 rle with new method : 0.5067629814147949 time for calcul the mask position with numpy : 0.036330461502075195 nb_pixel_total : 165322 time to create 1 rle with new method : 0.4450347423553467 time for calcul the mask position with numpy : 0.03869748115539551 nb_pixel_total : 4556 time to create 1 rle with old method : 0.005182743072509766 time for calcul the mask position with numpy : 0.030915260314941406 nb_pixel_total : 4915 time to create 1 rle with old method : 0.005636453628540039 time for calcul the mask position with numpy : 0.03224635124206543 nb_pixel_total : 160031 time to create 1 rle with new method : 0.4969005584716797 time for calcul the mask position with numpy : 0.03159379959106445 nb_pixel_total : 3821 time to create 1 rle with old method : 0.0042569637298583984 time for calcul the mask position with numpy : 0.024598121643066406 nb_pixel_total : 2608 time to create 1 rle with old method : 0.0031261444091796875 time for calcul the mask position with numpy : 0.023741483688354492 nb_pixel_total : 22723 time to create 1 rle with old method : 0.025217056274414062 time for calcul the mask position with numpy : 0.024564504623413086 nb_pixel_total : 7550 time to create 1 rle with old method : 0.008618831634521484 time for calcul the mask position with numpy : 0.023636817932128906 nb_pixel_total : 30425 time to create 1 rle with old method : 0.032497406005859375 time for calcul the mask position with numpy : 0.023942947387695312 nb_pixel_total : 29912 time to create 1 rle with old method : 0.031464576721191406 time for calcul the mask position with numpy : 0.02339315414428711 nb_pixel_total : 6882 time to create 1 rle with old method : 0.007481098175048828 time for calcul the mask position with numpy : 0.02525806427001953 nb_pixel_total : 31586 time to create 1 rle with old method : 0.03380894660949707 time for calcul the mask position with numpy : 0.02403569221496582 nb_pixel_total : 30981 time to create 1 rle with old method : 0.03210115432739258 time for calcul the mask position with numpy : 0.039129018783569336 nb_pixel_total : 149507 time to create 1 rle with old method : 0.15488886833190918 time for calcul the mask position with numpy : 0.02118992805480957 nb_pixel_total : 26437 time to create 1 rle with old method : 0.027343273162841797 time for calcul the mask position with numpy : 0.0214235782623291 nb_pixel_total : 18558 time to create 1 rle with old method : 0.01950550079345703 create new chi : 4.31094217300415 time to delete rle : 0.0012655258178710938 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 12302 TO DO : save crop sub photo not yet done ! save time : 0.6955933570861816 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 5.656546354293823 time for calcul the mask position with numpy : 0.4109926223754883 nb_pixel_total : 4571405 time to create 1 rle with new method : 0.35405635833740234 time for calcul the mask position with numpy : 0.02219557762145996 nb_pixel_total : 26 time to create 1 rle with old method : 7.534027099609375e-05 time for calcul the mask position with numpy : 0.021739959716796875 nb_pixel_total : 1818 time to create 1 rle with old method : 0.0020682811737060547 time for calcul the mask position with numpy : 0.021229982376098633 nb_pixel_total : 2280 time to create 1 rle with old method : 0.0024585723876953125 time for calcul the mask position with numpy : 0.022496700286865234 nb_pixel_total : 37895 time to create 1 rle with old method : 0.042725324630737305 time for calcul the mask position with numpy : 0.022734880447387695 nb_pixel_total : 8443 time to create 1 rle with old method : 0.009360313415527344 time for calcul the mask position with numpy : 0.02576589584350586 nb_pixel_total : 5057 time to create 1 rle with old method : 0.00728297233581543 time for calcul the mask position with numpy : 0.0339505672454834 nb_pixel_total : 1490015 time to create 1 rle with new method : 0.8621213436126709 time for calcul the mask position with numpy : 0.021105051040649414 nb_pixel_total : 31654 time to create 1 rle with old method : 0.0354611873626709 time for calcul the mask position with numpy : 0.028465747833251953 nb_pixel_total : 901647 time to create 1 rle with new method : 0.6784014701843262 create new chi : 2.71046781539917 time to delete rle : 0.001661062240600586 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 14267 TO DO : save crop sub photo not yet done ! save time : 0.7964992523193359 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 8.379711151123047 time for calcul the mask position with numpy : 0.35924506187438965 nb_pixel_total : 6032845 time to create 1 rle with new method : 0.435044527053833 time for calcul the mask position with numpy : 0.0412290096282959 nb_pixel_total : 492788 time to create 1 rle with new method : 0.43564295768737793 time for calcul the mask position with numpy : 0.031511545181274414 nb_pixel_total : 5038 time to create 1 rle with old method : 0.0057675838470458984 time for calcul the mask position with numpy : 0.033650875091552734 nb_pixel_total : 8486 time to create 1 rle with old method : 0.009863615036010742 time for calcul the mask position with numpy : 0.036329030990600586 nb_pixel_total : 2954 time to create 1 rle with old method : 0.0034155845642089844 time for calcul the mask position with numpy : 0.02718210220336914 nb_pixel_total : 20309 time to create 1 rle with old method : 0.021521329879760742 time for calcul the mask position with numpy : 0.022268056869506836 nb_pixel_total : 43909 time to create 1 rle with old method : 0.04561758041381836 time for calcul the mask position with numpy : 0.02088022232055664 nb_pixel_total : 28520 time to create 1 rle with old method : 0.030794620513916016 time for calcul the mask position with numpy : 0.02171945571899414 nb_pixel_total : 15537 time to create 1 rle with old method : 0.016225576400756836 time for calcul the mask position with numpy : 0.021693706512451172 nb_pixel_total : 117538 time to create 1 rle with old method : 0.1330254077911377 time for calcul the mask position with numpy : 0.023388385772705078 nb_pixel_total : 231637 time to create 1 rle with new method : 0.7142007350921631 time for calcul the mask position with numpy : 0.024556875228881836 nb_pixel_total : 3434 time to create 1 rle with old method : 0.0038917064666748047 time for calcul the mask position with numpy : 0.02347397804260254 nb_pixel_total : 47245 time to create 1 rle with old method : 0.049936532974243164 create new chi : 2.6811158657073975 time to delete rle : 0.0016450881958007812 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 11590 TO DO : save crop sub photo not yet done ! save time : 0.6727869510650635 map_output_result : {1338176103: (0.0, 'Should be the crop_list due to order', 0.0), 1338175811: (0.0, 'Should be the crop_list due to order', 0.0), 1338175808: (0.0, 'Should be the crop_list due to order', 0.0), 1338175804: (0.0, 'Should be the crop_list due to order', 0.0), 1338175801: (0.0, 'Should be the crop_list due to order', 0.0), 1338175198: (0.0, 'Should be the crop_list due to order', 0.0), 1338175168: (0.0, 'Should be the crop_list due to order', 0.0), 1338140955: (0.0, 'Should be the crop_list due to order', 0.0), 1338140951: (0.0, 'Should be the crop_list due to order', 0.0), 1338140938: (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 [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 10 /1338176103.Didn't retrieve data . /1338175811.Didn't retrieve data . /1338175808.Didn't retrieve data . /1338175804.Didn't retrieve data . /1338175801.Didn't retrieve data . /1338175198.Didn't retrieve data . /1338175168.Didn't retrieve data . /1338140955.Didn't retrieve data . /1338140951.Didn't retrieve data . /1338140938.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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01472926139831543 save_final save missing photos in datou_result : time spend for datou_step_exec : 95.2520489692688 time spend to save output : 0.015212774276733398 total time spend for step 5 : 95.26726174354553 step6:crop_condition Mon Feb 17 21:17:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 112 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739823475_933540 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.562427282333374 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! 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/1739823477_933540 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1471507549285889 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739823483_933540 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.2689311504364014 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 : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739823487_933540 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.5138068199157715 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/1739823489_933540 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5951504707336426 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 map_result returned by crop_photo_return_map_crop : length : 0 About to insert : list_path_to_insert length 0 new photo from crops ! About to upload 0 photos WARNING : list_path_to_insert is empty, cannot upload ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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/1739823492_933540 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6629583835601807 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 [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 19 /1338219878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219905Didn'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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 67 time used for this insertion : 0.027257204055786133 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.91799306869507 time spend to save output : 0.02790522575378418 total time spend for step 6 : 19.945898294448853 step7:ventilate_hashtags_in_portfolio Mon Feb 17 21:18:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20622464 get user id for portfolio 20622464 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`=20622464 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','cartonnette','metal','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','Carton_brun','environnement','papier','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20622464 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','cartonnette','metal','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','Carton_brun','environnement','papier','mal_croppe')) 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`=20622464 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','cartonnette','metal','plastique','kraft','Teint_Dans_La_Masse','Carton_gris','Carton_brun','environnement','papier','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20622608,20622609,20622610,20622611,20622612,20622613,20622614,20622615,20622616,20622617,20622618,20622619?tags=flou,autre_refus,cartonnette,metal,plastique,kraft,Teint_Dans_La_Masse,Carton_gris,Carton_brun,environnement,papier,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 1 /20622464. 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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013547182083129883 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7009265422821045 time spend to save output : 0.013883829116821289 total time spend for step 7 : 1.7148103713989258 step8:final Mon Feb 17 21:18:15 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 : {1338176103: ('0.05491400985274185',), 1338175811: ('0.05491400985274185',), 1338175808: ('0.05491400985274185',), 1338175804: ('0.05491400985274185',), 1338175801: ('0.05491400985274185',), 1338175198: ('0.05491400985274185',), 1338175168: ('0.05491400985274185',), 1338140955: ('0.05491400985274185',), 1338140951: ('0.05491400985274185',), 1338140938: ('0.05491400985274185',)} new output for save of step final : {1338176103: ('0.05491400985274185',), 1338175811: ('0.05491400985274185',), 1338175808: ('0.05491400985274185',), 1338175804: ('0.05491400985274185',), 1338175801: ('0.05491400985274185',), 1338175198: ('0.05491400985274185',), 1338175168: ('0.05491400985274185',), 1338140955: ('0.05491400985274185',), 1338140951: ('0.05491400985274185',), 1338140938: ('0.05491400985274185',)} [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 10 /1338176103.Didn't retrieve data . /1338175811.Didn't retrieve data . /1338175808.Didn't retrieve data . /1338175804.Didn't retrieve data . /1338175801.Didn't retrieve data . /1338175198.Didn't retrieve data . /1338175168.Didn't retrieve data . /1338140955.Didn't retrieve data . /1338140951.Didn't retrieve data . /1338140938.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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016276836395263672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10275745391845703 time spend to save output : 0.016823291778564453 total time spend for step 8 : 0.11958074569702148 step9:velours_tree Mon Feb 17 21:18:15 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.053697824478149414 time spend to save output : 3.7670135498046875e-05 total time spend for step 9 : 0.05373549461364746 step10:send_mail_cod Mon Feb 17 21:18:15 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_P20622464_17-02-2025_21_18_15.pdf 20622608 imagette206226081739823495 20622609 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206226091739823495 20622610 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206226101739823496 20622611 imagette206226111739823497 20622612 change filename to text .change filename to text .imagette206226121739823497 20622613 change filename to text .change filename to text .imagette206226131739823498 20622619 imagette206226191739823498 20622614 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206226141739823498 20622615 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206226151739823499 20622616 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206226161739823501 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20622464 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20622608,20622609,20622610,20622611,20622612,20622613,20622614,20622615,20622616,20622617,20622618,20622619?tags=flou,autre_refus,cartonnette,metal,plastique,kraft,Teint_Dans_La_Masse,Carton_gris,Carton_brun,environnement,papier,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1338176103] : ('0.05491400985274185',) no score found for photo 1338176103 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175811] : ('0.05491400985274185',) no score found for photo 1338175811 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175808] : ('0.05491400985274185',) no score found for photo 1338175808 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175804] : ('0.05491400985274185',) no score found for photo 1338175804 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175801] : ('0.05491400985274185',) no score found for photo 1338175801 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175198] : ('0.05491400985274185',) no score found for photo 1338175198 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338175168] : ('0.05491400985274185',) no score found for photo 1338175168 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338140955] : ('0.05491400985274185',) no score found for photo 1338140955 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338140951] : ('0.05491400985274185',) no score found for photo 1338140951 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com args[1338140938] : ('0.05491400985274185',) no score found for photo 1338140938 apple ('0.05491400985274185',) We are sending mail with results at report@fotonower.com refus_total : 0.05491400985274185 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=20622464 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338137867,1338140938,1338140955,1338140834,1338140819,1338137965,1338137961,1338175198,1338175804,1338137865,1338175808,1338137792,1338137789,1338137786,1338137784,1338137863,1338137796,1338176103,1338175801,1338175811) Found this number of photos: 20 begin to download photo : 1338137867 begin to download photo : 1338137965 begin to download photo : 1338175808 begin to download photo : 1338137863 download finish for photo 1338175808 begin to download photo : 1338137792 download finish for photo 1338137965 begin to download photo : 1338137961 download finish for photo 1338137863 begin to download photo : 1338137796 download finish for photo 1338137867 begin to download photo : 1338140938 download finish for photo 1338137961 begin to download photo : 1338175198 download finish for photo 1338137792 begin to download photo : 1338137789 download finish for photo 1338137796 begin to download photo : 1338176103 download finish for photo 1338140938 begin to download photo : 1338140955 download finish for photo 1338176103 begin to download photo : 1338175801 download finish for photo 1338140955 begin to download photo : 1338140834 download finish for photo 1338137789 begin to download photo : 1338137786 download finish for photo 1338175198 begin to download photo : 1338175804 download finish for photo 1338175801 begin to download photo : 1338175811 download finish for photo 1338140834 begin to download photo : 1338140819 download finish for photo 1338175804 begin to download photo : 1338137865 download finish for photo 1338175811 download finish for photo 1338137786 begin to download photo : 1338137784 download finish for photo 1338137865 download finish for photo 1338140819 download finish for photo 1338137784 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622464_17-02-2025_21_18_15.pdf results_Auto_P20622464_17-02-2025_21_18_15.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622464_17-02-2025_21_18_15.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','20622464','results_Auto_P20622464_17-02-2025_21_18_15.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622464_17-02-2025_21_18_15.pdf','pdf','','1.21','0.05491400985274185') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] 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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01364898681640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.401829481124878 time spend to save output : 0.013948202133178711 total time spend for step 10 : 11.415777683258057 step11:split_time_score Mon Feb 17 21:18:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 23), ('11', 9)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17022025 20622464 Nombre de photos uploadées : 32 / 23040 (0%) 17022025 20622464 Nombre de photos taguées (types de déchets): 0 / 32 (0%) 17022025 20622464 Nombre de photos taguées (volume) : 0 / 32 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ???????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017709732055664062 elapsed_time : insert_dashboard_record_day_entry 0.022111892700195312 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.04358282622296515 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599894_17-02-2025_10_01_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599894 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599894 AND mptpi.`type`=4207 To do Qualite : 0.05023964307933092 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599895_17-02-2025_09_36_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599895 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599895 AND mptpi.`type`=4207 To do Qualite : 0.037520319588614646 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599896_17-02-2025_09_19_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599896 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599896 AND mptpi.`type`=4207 To do Qualite : 0.036624499990701415 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599897_17-02-2025_11_30_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599897 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20599897 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622461 order by id desc limit 1 Qualite : 0.14144574575410973 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602076_17-02-2025_10_33_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602076 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20602076 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602077_17-02-2025_10_41_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602077 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20599899_17-02-2025_09_36_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20599899 order by id desc limit 1 Qualite : 0.6043231780849928 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609972_17-02-2025_15_21_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609972 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`=20609972 AND mptpi.`type`=4200 To do Qualite : 0.046669328276683006 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20602079_17-02-2025_12_27_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20602079 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20602079 AND mptpi.`type`=4207 To do Qualite : 0.05224601635413538 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607928_17-02-2025_14_15_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607928 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607928 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622462 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622463 order by id desc limit 1 Qualite : 0.05491400985274185 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622464_17-02-2025_21_18_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622464 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`=20622464 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622465 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622466 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622467 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609974_17-02-2025_19_52_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609974 order by id desc limit 1 Qualite : 0.14911736370946987 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609975_17-02-2025_17_49_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609975 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20609975 AND mptpi.`type`=3327 To do Qualite : 0.1420596218811598 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20607935_17-02-2025_13_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20607935 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20607935 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609976_17-02-2025_20_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609976 order by id desc limit 1 Qualite : 0.1176100703269991 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609977_17-02-2025_16_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609977 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`=20609977 AND mptpi.`type`=3594 To do Qualite : 0.232753906804281 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609978_17-02-2025_15_14_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609978 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`=20609978 AND mptpi.`type`=3726 To do Qualite : 0.11776160811546847 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20609979_17-02-2025_15_16_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20609979 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`=20609979 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622468 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622469 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622470 order by id desc limit 1 Qualite : 0.029632168267872034 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622471_17-02-2025_21_17_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622471 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`=20622471 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622472 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622473 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622474 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622475 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622476 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17022025': {'nb_upload': 32, '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 [1338176103, 1338175811, 1338175808, 1338175804, 1338175801, 1338175198, 1338175168, 1338140955, 1338140951, 1338140938] Looping around the photos to save general results len do output : 1 /20622464Didn'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, '2594558') ('3459', '20622464', '1338176103', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175811', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175808', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175804', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175801', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175198', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338175168', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140955', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140951', None, None, None, None, None, '2594558') ('3459', None, None, None, None, None, None, None, '2594558') ('3459', '20622464', '1338140938', None, None, None, None, None, '2594558') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014055728912353516 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.032105207443237 time spend to save output : 0.014334917068481445 total time spend for step 11 : 13.046440124511719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 115.13user 107.26system 4:14.60elapsed 87%CPU (0avgtext+0avgdata 4026960maxresident)k 143504inputs+128352outputs (3204major+9714117minor)pagefaults 0swaps