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 : 928323 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 : 13>10 please execute split_portfolio.py -i 20622471 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2594565'] with mtr_portfolio_ids : ['20622471'] and first list_photo_ids : [] new path : /proc/928323/ 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 : 2.2302215099334717 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:12: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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-17 21:12:32.684976: 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:12:32.711061: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-17 21:12:32.713191: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7644000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-17 21:12:32.713252: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-17 21:12:32.717313: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-17 21:12:33.010485: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x119548e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-17 21:12:33.010553: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-17 21:12:33.012049: 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:12:33.012557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:12:33.015991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:12:33.019213: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:12:33.019741: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:12:33.022124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:12:33.023212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:12:33.027882: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:12:33.029326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:12:33.029401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:12:33.030155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 21:12:33.030171: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 21:12:33.030179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 21:12:33.031537: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-17 21:12:33.302706: 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:12:33.302858: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:12:33.302939: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:12:33.302975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:12:33.303001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:12:33.303026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:12:33.303051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:12:33.303076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:12:33.304925: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:12:33.306137: 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:12:33.306180: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-17 21:12:33.306199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:12:33.306216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-17 21:12:33.306232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-17 21:12:33.306248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-17 21:12:33.306264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-17 21:12:33.306280: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-17 21:12:33.307585: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-17 21:12:33.307626: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-17 21:12:33.307635: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-17 21:12:33.307643: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-17 21:12:33.308983: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2896 thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5309, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 16384, 25088, 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 5, 10, 19, 20, 46), datetime.datetime(2021, 5, 10, 19, 20, 46)) {'thcl': {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'], 'list_hashtags_csv': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'svm_hashtag_type_desc': 5309, 'photo_desc_type': 5309, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_convoyeur_qualipapia_nantes_poly_100521_1 NUM_CLASSES 10 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_convoyeur_qualipapia_nantes_poly_100521_1 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-02-17 21:12:42.771789: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-17 21:12:42.944319: 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 : 11 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 : 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 : 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 : 14 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 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 Detection mask done ! Trying to reset tf kernel 928811 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 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 : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2896 Catched exception ! Connect or reconnect ! thcls : [{'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'}] thcl {'id': 2896, 'mtr_user_id': 31, 'name': 'learn_convoyeur_qualipapia_nantes_poly_100521_1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,carton_brun,carton_gris,cartonnette,kraft,autre_refus,metal,plastique,teint_dans_la_masse,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3663, 'photo_desc_type': 5309, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5309 ['background', 'carton_brun', 'carton_gris', 'cartonnette', 'kraft', 'autre_refus', 'metal', 'plastique', 'teint_dans_la_masse', 'environnement'] time for calcul the mask position with numpy : 0.002524852752685547 nb_pixel_total : 104402 time to create 1 rle with old method : 0.10526561737060547 length of segment : 701 time for calcul the mask position with numpy : 0.0026051998138427734 nb_pixel_total : 113637 time to create 1 rle with old method : 0.11646580696105957 length of segment : 610 time for calcul the mask position with numpy : 0.0003330707550048828 nb_pixel_total : 18474 time to create 1 rle with old method : 0.019693613052368164 length of segment : 190 time for calcul the mask position with numpy : 0.00011754035949707031 nb_pixel_total : 3705 time to create 1 rle with old method : 0.004433155059814453 length of segment : 70 time for calcul the mask position with numpy : 0.001325368881225586 nb_pixel_total : 74759 time to create 1 rle with old method : 0.07863521575927734 length of segment : 564 time for calcul the mask position with numpy : 0.0018265247344970703 nb_pixel_total : 124284 time to create 1 rle with old method : 0.129868745803833 length of segment : 500 time for calcul the mask position with numpy : 0.004605770111083984 nb_pixel_total : 253136 time to create 1 rle with new method : 0.010915279388427734 length of segment : 578 time for calcul the mask position with numpy : 0.0002758502960205078 nb_pixel_total : 15266 time to create 1 rle with old method : 0.01626133918762207 length of segment : 152 time for calcul the mask position with numpy : 0.017956972122192383 nb_pixel_total : 1311883 time to create 1 rle with new method : 0.05043840408325195 length of segment : 1754 time for calcul the mask position with numpy : 0.4105260372161865 nb_pixel_total : 2999158 time to create 1 rle with new method : 0.5911862850189209 length of segment : 3818 time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 3619 time to create 1 rle with old method : 0.003836393356323242 length of segment : 121 time for calcul the mask position with numpy : 0.0007395744323730469 nb_pixel_total : 20670 time to create 1 rle with old method : 0.0220029354095459 length of segment : 582 time for calcul the mask position with numpy : 0.000583648681640625 nb_pixel_total : 26188 time to create 1 rle with old method : 0.02778792381286621 length of segment : 363 time for calcul the mask position with numpy : 0.0006394386291503906 nb_pixel_total : 30561 time to create 1 rle with old method : 0.03174448013305664 length of segment : 344 time for calcul the mask position with numpy : 0.0011985301971435547 nb_pixel_total : 47206 time to create 1 rle with old method : 0.04791116714477539 length of segment : 451 time for calcul the mask position with numpy : 0.014841794967651367 nb_pixel_total : 718030 time to create 1 rle with new method : 0.035364389419555664 length of segment : 1697 time for calcul the mask position with numpy : 0.0003554821014404297 nb_pixel_total : 11985 time to create 1 rle with old method : 0.013708114624023438 length of segment : 111 time for calcul the mask position with numpy : 0.0313720703125 nb_pixel_total : 1321927 time to create 1 rle with new method : 0.3609006404876709 length of segment : 2706 time for calcul the mask position with numpy : 0.001527547836303711 nb_pixel_total : 105063 time to create 1 rle with old method : 0.11597609519958496 length of segment : 455 time for calcul the mask position with numpy : 0.004132509231567383 nb_pixel_total : 259274 time to create 1 rle with new method : 0.009586811065673828 length of segment : 635 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 10353 time to create 1 rle with old method : 0.012035131454467773 length of segment : 125 time for calcul the mask position with numpy : 0.0014698505401611328 nb_pixel_total : 104553 time to create 1 rle with old method : 0.11264443397521973 length of segment : 537 time for calcul the mask position with numpy : 0.003914594650268555 nb_pixel_total : 216088 time to create 1 rle with new method : 0.011248350143432617 length of segment : 809 time for calcul the mask position with numpy : 0.000476837158203125 nb_pixel_total : 10838 time to create 1 rle with old method : 0.012598276138305664 length of segment : 185 time for calcul the mask position with numpy : 0.0004379749298095703 nb_pixel_total : 20023 time to create 1 rle with old method : 0.02476358413696289 length of segment : 131 time for calcul the mask position with numpy : 0.0015981197357177734 nb_pixel_total : 57960 time to create 1 rle with old method : 0.07622528076171875 length of segment : 417 time for calcul the mask position with numpy : 0.0002541542053222656 nb_pixel_total : 5412 time to create 1 rle with old method : 0.0059587955474853516 length of segment : 127 time for calcul the mask position with numpy : 0.0014727115631103516 nb_pixel_total : 53333 time to create 1 rle with old method : 0.05593609809875488 length of segment : 372 time for calcul the mask position with numpy : 0.002838611602783203 nb_pixel_total : 164953 time to create 1 rle with new method : 0.005912303924560547 length of segment : 588 time for calcul the mask position with numpy : 0.0003230571746826172 nb_pixel_total : 12999 time to create 1 rle with old method : 0.014015674591064453 length of segment : 140 time for calcul the mask position with numpy : 0.0014209747314453125 nb_pixel_total : 39081 time to create 1 rle with old method : 0.04197049140930176 length of segment : 314 time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 1447 time to create 1 rle with old method : 0.0017275810241699219 length of segment : 55 time for calcul the mask position with numpy : 0.0005278587341308594 nb_pixel_total : 16565 time to create 1 rle with old method : 0.018552064895629883 length of segment : 193 time for calcul the mask position with numpy : 0.0009300708770751953 nb_pixel_total : 45762 time to create 1 rle with old method : 0.046813011169433594 length of segment : 406 time for calcul the mask position with numpy : 0.0003619194030761719 nb_pixel_total : 12815 time to create 1 rle with old method : 0.013414382934570312 length of segment : 184 time for calcul the mask position with numpy : 0.0007631778717041016 nb_pixel_total : 25067 time to create 1 rle with old method : 0.027441024780273438 length of segment : 370 time for calcul the mask position with numpy : 0.0003044605255126953 nb_pixel_total : 16122 time to create 1 rle with old method : 0.016681671142578125 length of segment : 197 time for calcul the mask position with numpy : 0.0013682842254638672 nb_pixel_total : 82002 time to create 1 rle with old method : 0.08505010604858398 length of segment : 349 time for calcul the mask position with numpy : 0.0006055831909179688 nb_pixel_total : 30326 time to create 1 rle with old method : 0.035073280334472656 length of segment : 186 time for calcul the mask position with numpy : 0.00047397613525390625 nb_pixel_total : 31892 time to create 1 rle with old method : 0.03571748733520508 length of segment : 127 time for calcul the mask position with numpy : 0.1197359561920166 nb_pixel_total : 3533129 time to create 1 rle with new method : 0.3548877239227295 length of segment : 4678 time for calcul the mask position with numpy : 0.0027971267700195312 nb_pixel_total : 168196 time to create 1 rle with new method : 0.005259990692138672 length of segment : 722 time for calcul the mask position with numpy : 0.000507354736328125 nb_pixel_total : 20535 time to create 1 rle with old method : 0.022186279296875 length of segment : 136 time for calcul the mask position with numpy : 0.0023169517517089844 nb_pixel_total : 183249 time to create 1 rle with new method : 0.005656003952026367 length of segment : 719 time for calcul the mask position with numpy : 0.00035881996154785156 nb_pixel_total : 5077 time to create 1 rle with old method : 0.006044626235961914 length of segment : 98 time for calcul the mask position with numpy : 0.0002384185791015625 nb_pixel_total : 5501 time to create 1 rle with old method : 0.006001710891723633 length of segment : 93 time for calcul the mask position with numpy : 0.0018246173858642578 nb_pixel_total : 49491 time to create 1 rle with old method : 0.05833101272583008 length of segment : 273 time for calcul the mask position with numpy : 0.00037860870361328125 nb_pixel_total : 9304 time to create 1 rle with old method : 0.01039743423461914 length of segment : 90 time for calcul the mask position with numpy : 0.0014929771423339844 nb_pixel_total : 55565 time to create 1 rle with old method : 0.060121774673461914 length of segment : 317 time for calcul the mask position with numpy : 0.0030655860900878906 nb_pixel_total : 112573 time to create 1 rle with old method : 0.12259197235107422 length of segment : 333 time for calcul the mask position with numpy : 0.0005676746368408203 nb_pixel_total : 16732 time to create 1 rle with old method : 0.021231651306152344 length of segment : 168 time for calcul the mask position with numpy : 0.0019419193267822266 nb_pixel_total : 57750 time to create 1 rle with old method : 0.06250524520874023 length of segment : 359 time for calcul the mask position with numpy : 0.0004706382751464844 nb_pixel_total : 16654 time to create 1 rle with old method : 0.01849961280822754 length of segment : 189 time for calcul the mask position with numpy : 0.0008628368377685547 nb_pixel_total : 29245 time to create 1 rle with old method : 0.032964229583740234 length of segment : 297 time for calcul the mask position with numpy : 0.0020427703857421875 nb_pixel_total : 113841 time to create 1 rle with old method : 0.12119221687316895 length of segment : 343 time for calcul the mask position with numpy : 0.0016753673553466797 nb_pixel_total : 40885 time to create 1 rle with old method : 0.044345855712890625 length of segment : 624 time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 2734 time to create 1 rle with old method : 0.0031485557556152344 length of segment : 56 time for calcul the mask position with numpy : 0.0010023117065429688 nb_pixel_total : 62113 time to create 1 rle with old method : 0.06421327590942383 length of segment : 310 time for calcul the mask position with numpy : 0.0012085437774658203 nb_pixel_total : 30736 time to create 1 rle with old method : 0.032488346099853516 length of segment : 435 time for calcul the mask position with numpy : 0.0005929470062255859 nb_pixel_total : 25676 time to create 1 rle with old method : 0.028870344161987305 length of segment : 381 time for calcul the mask position with numpy : 0.005235195159912109 nb_pixel_total : 178567 time to create 1 rle with new method : 0.009746074676513672 length of segment : 727 time for calcul the mask position with numpy : 0.001049041748046875 nb_pixel_total : 33489 time to create 1 rle with old method : 0.03500938415527344 length of segment : 340 time for calcul the mask position with numpy : 0.0004971027374267578 nb_pixel_total : 13616 time to create 1 rle with old method : 0.014366388320922852 length of segment : 118 time for calcul the mask position with numpy : 0.00040531158447265625 nb_pixel_total : 10114 time to create 1 rle with old method : 0.011370420455932617 length of segment : 291 time for calcul the mask position with numpy : 0.0002334117889404297 nb_pixel_total : 13615 time to create 1 rle with old method : 0.014821529388427734 length of segment : 116 time for calcul the mask position with numpy : 0.0008389949798583984 nb_pixel_total : 22555 time to create 1 rle with old method : 0.02451777458190918 length of segment : 214 time for calcul the mask position with numpy : 0.001138448715209961 nb_pixel_total : 27562 time to create 1 rle with old method : 0.030589818954467773 length of segment : 231 time for calcul the mask position with numpy : 0.002525806427001953 nb_pixel_total : 110060 time to create 1 rle with old method : 0.1149590015411377 length of segment : 399 time for calcul the mask position with numpy : 0.0002429485321044922 nb_pixel_total : 3912 time to create 1 rle with old method : 0.0046617984771728516 length of segment : 97 time for calcul the mask position with numpy : 0.0019228458404541016 nb_pixel_total : 41777 time to create 1 rle with old method : 0.0468442440032959 length of segment : 291 time for calcul the mask position with numpy : 0.0005173683166503906 nb_pixel_total : 22189 time to create 1 rle with old method : 0.0236661434173584 length of segment : 171 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 1103 time to create 1 rle with old method : 0.0013682842254638672 length of segment : 55 time for calcul the mask position with numpy : 0.0016117095947265625 nb_pixel_total : 62934 time to create 1 rle with old method : 0.06851792335510254 length of segment : 290 time for calcul the mask position with numpy : 0.0032982826232910156 nb_pixel_total : 106260 time to create 1 rle with old method : 0.11571383476257324 length of segment : 407 time for calcul the mask position with numpy : 0.005037069320678711 nb_pixel_total : 309668 time to create 1 rle with new method : 0.007684230804443359 length of segment : 427 time for calcul the mask position with numpy : 0.00042438507080078125 nb_pixel_total : 10013 time to create 1 rle with old method : 0.012312889099121094 length of segment : 44 time for calcul the mask position with numpy : 0.0027573108673095703 nb_pixel_total : 161384 time to create 1 rle with new method : 0.004007577896118164 length of segment : 458 time for calcul the mask position with numpy : 0.0013861656188964844 nb_pixel_total : 41226 time to create 1 rle with old method : 0.04440140724182129 length of segment : 254 time for calcul the mask position with numpy : 0.000286102294921875 nb_pixel_total : 4717 time to create 1 rle with old method : 0.005443572998046875 length of segment : 139 time for calcul the mask position with numpy : 0.0023429393768310547 nb_pixel_total : 91444 time to create 1 rle with old method : 0.09609365463256836 length of segment : 502 time for calcul the mask position with numpy : 0.002170085906982422 nb_pixel_total : 115156 time to create 1 rle with old method : 0.1198112964630127 length of segment : 469 time for calcul the mask position with numpy : 0.0004353523254394531 nb_pixel_total : 12907 time to create 1 rle with old method : 0.014435052871704102 length of segment : 197 time for calcul the mask position with numpy : 0.0006947517395019531 nb_pixel_total : 25634 time to create 1 rle with old method : 0.027299880981445312 length of segment : 218 time for calcul the mask position with numpy : 9.799003601074219e-05 nb_pixel_total : 2038 time to create 1 rle with old method : 0.0022897720336914062 length of segment : 71 time for calcul the mask position with numpy : 0.0011372566223144531 nb_pixel_total : 38868 time to create 1 rle with old method : 0.04313182830810547 length of segment : 248 time for calcul the mask position with numpy : 0.000186920166015625 nb_pixel_total : 2454 time to create 1 rle with old method : 0.0030069351196289062 length of segment : 53 time for calcul the mask position with numpy : 0.004931211471557617 nb_pixel_total : 291024 time to create 1 rle with new method : 0.008400201797485352 length of segment : 440 time for calcul the mask position with numpy : 0.0014841556549072266 nb_pixel_total : 40268 time to create 1 rle with old method : 0.04349255561828613 length of segment : 313 time for calcul the mask position with numpy : 0.0006575584411621094 nb_pixel_total : 24569 time to create 1 rle with old method : 0.025902986526489258 length of segment : 218 time for calcul the mask position with numpy : 0.0004496574401855469 nb_pixel_total : 15803 time to create 1 rle with old method : 0.016843557357788086 length of segment : 128 time for calcul the mask position with numpy : 0.01585841178894043 nb_pixel_total : 1057021 time to create 1 rle with new method : 0.0284116268157959 length of segment : 1692 time for calcul the mask position with numpy : 0.004956483840942383 nb_pixel_total : 378780 time to create 1 rle with new method : 0.011261224746704102 length of segment : 618 time for calcul the mask position with numpy : 0.0029480457305908203 nb_pixel_total : 171051 time to create 1 rle with new method : 0.006296873092651367 length of segment : 914 time for calcul the mask position with numpy : 0.003953695297241211 nb_pixel_total : 378026 time to create 1 rle with new method : 0.007960319519042969 length of segment : 654 time spent for convertir_results : 13.126632928848267 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 94 chid ids of type : 3663 Number RLEs to save : 44639 save missing photos in datou_result : time spend for datou_step_exec : 50.087780475616455 time spend to save output : 3.2849695682525635 total time spend for step 1 : 53.37275004386902 step2:crop_condition Mon Feb 17 21:13:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 94 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 ! 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 : 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 ! 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 : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 32 About to insert : list_path_to_insert length 32 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : 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 [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 58 /-3678368070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368083Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368118Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3678368133Didn'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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 184 time used for this insertion : 0.028154373168945312 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.280194759368896 time spend to save output : 0.029999732971191406 total time spend for step 2 : 26.310194492340088 step3:thcl Mon Feb 17 21:13:49 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.007661581039428711 time to convert the images to numpy array : 0.027566194534301758 time to import caffe and check if the image exist : 0.0048596858978271484 time to convert the images to numpy array : 0.059249162673950195 time to import caffe and check if the image exist : 0.012573480606079102 time to convert the images to numpy array : 0.07622504234313965 time to import caffe and check if the image exist : 0.011593341827392578 time to convert the images to numpy array : 0.07761263847351074 time to import caffe and check if the image exist : 0.007994413375854492 time to convert the images to numpy array : 0.08462166786193848 time to import caffe and check if the image exist : 0.008278846740722656 time to convert the images to numpy array : 0.08999967575073242 time to import caffe and check if the image exist : 0.011363983154296875 time to convert the images to numpy array : 0.09346985816955566 time to import caffe and check if the image exist : 0.007253408432006836 time to convert the images to numpy array : 0.10671210289001465 time to import caffe and check if the image exist : 0.013484477996826172 time to convert the images to numpy array : 0.10548901557922363 time to import caffe and check if the image exist : 0.010677814483642578 time to convert the images to numpy array : 0.11796236038208008 total time to convert the images to numpy array : 0.3055088520050049 list photo_ids error: [] list photo_ids correct : [-3678368102, -3678368128, -3678368134, -3678368133, -3678368070, -3678368098, -3678368117, -3678368105, -3678368127, -3678368139, -3678368091, -3678368087, -3678368083, -3678368094, -3678368099, -3678368108, -3678368097, -3678368096, -3678368122, -3678368123, -3678368120, -3678368124, -3678368137, -3678368158, -3678368075, -3678368076, -3678368069, -3678368085, -3678368106, -3678368112, -3678368119, -3678368118, -3678368126, -3678368132, -3678368153, -3678368149, -3678368162, -3678368157, -3678368081, -3678368095, -3678368135, -3678368160, -3678368074, -3678368073, -3678368080, -3678368090, -3678368115, -3678368121, -3678368141, -3678368138, -3678368142, -3678368143, -3678368136, -3678368146, -3678368145, -3678368148, -3678368155, -3678368156] number of photos to traite : 58 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10776 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.6372110843658447 time used to do the prediction : 0.15224552154541016 we don't save the descriptors for this thcl 2456 tagging for thcl : 2868 To do loadFromThcl(), then load ParamDescType : thcl2868 thcls : [{'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2868, 'mtr_user_id': 31, 'name': 'learn_papier_nantes_300421', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3752117,3752118,3752123,3752106,3752116,3752124,3752119,3581575,3486029,3752122', 'photo_hashtag_type': 3632, 'photo_desc_type': 5288, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5288 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) To loadFromThcl() : net_5288 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5288, 'learn_papier_nantes_300421', 512, 512, 'learn_papier_nantes_300421', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 30, 17, 9, 41), datetime.datetime(2021, 4, 30, 17, 9, 41)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_papier_nantes_300421 Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_papier_nantes_300421 model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_papier_nantes_300421 /data/models_weight/learn_papier_nantes_300421/caffemodel size_local : 44791983 size in s3 : 44791983 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:13 caffemodel already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/deploy.prototxt size_local : 17255 size in s3 : 17255 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:12 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:59 create time in s3 : 2021-08-06 19:22:14 mean.npy already exist and didn't need to update /data/models_weight/learn_papier_nantes_300421/synset_words.txt size_local : 331 size in s3 : 331 create time local : 2021-08-09 05:56:00 create time in s3 : 2021-08-06 19:22:12 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_papier_nantes_300421/deploy.prototxt caffemodel_filename : /data/models_weight/learn_papier_nantes_300421/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10774 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.6725006103515625 time used to do the prediction : 0.11723184585571289 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.1457672119140625e-05 save missing photos in datou_result : time spend for datou_step_exec : 8.80408263206482 time spend to save output : 0.0006723403930664062 total time spend for step 3 : 8.804754972457886 step4:merge_mask_thcl_custom Mon Feb 17 21:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 94 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 [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 10 /1338189797Didn't retrieve data .Didn't retrieve data . /1338189565Didn't retrieve data .Didn't retrieve data . /1338189564Didn't retrieve data .Didn't retrieve data . /1338188775Didn't retrieve data .Didn't retrieve data . /1338188771Didn't retrieve data .Didn't retrieve data . /1338188769Didn't retrieve data .Didn't retrieve data . /1338188649Didn't retrieve data .Didn't retrieve data . /1338188644Didn't retrieve data .Didn't retrieve data . /1338188641Didn't retrieve data .Didn't retrieve data . /1338188638Didn'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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015534639358520508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05450320243835449 time spend to save output : 0.01617908477783203 total time spend for step 4 : 0.07068228721618652 step5:rle_unique_nms_with_priority Mon Feb 17 21:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 5.837711811065674 time for calcul the mask position with numpy : 0.34262728691101074 nb_pixel_total : 5042441 time to create 1 rle with new method : 0.47867918014526367 time for calcul the mask position with numpy : 0.03495478630065918 nb_pixel_total : 1309699 time to create 1 rle with new method : 0.5324382781982422 time for calcul the mask position with numpy : 0.034670352935791016 nb_pixel_total : 95996 time to create 1 rle with old method : 0.10516190528869629 time for calcul the mask position with numpy : 0.03679060935974121 nb_pixel_total : 252872 time to create 1 rle with new method : 0.7341630458831787 time for calcul the mask position with numpy : 0.03461289405822754 nb_pixel_total : 123941 time to create 1 rle with old method : 0.13448190689086914 time for calcul the mask position with numpy : 0.03276705741882324 nb_pixel_total : 3682 time to create 1 rle with old method : 0.00397491455078125 time for calcul the mask position with numpy : 0.031819820404052734 nb_pixel_total : 113548 time to create 1 rle with old method : 0.12324380874633789 time for calcul the mask position with numpy : 0.03333616256713867 nb_pixel_total : 74541 time to create 1 rle with old method : 0.07917642593383789 time for calcul the mask position with numpy : 0.03121352195739746 nb_pixel_total : 18339 time to create 1 rle with old method : 0.020120620727539062 time for calcul the mask position with numpy : 0.027558326721191406 nb_pixel_total : 15181 time to create 1 rle with old method : 0.01648426055908203 create new chi : 2.9489524364471436 time to delete rle : 0.010820865631103516 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 12170 TO DO : save crop sub photo not yet done ! save time : 0.710982084274292 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 4.337184190750122 time for calcul the mask position with numpy : 0.3457682132720947 nb_pixel_total : 3878235 time to create 1 rle with new method : 0.44107484817504883 time for calcul the mask position with numpy : 0.023267745971679688 nb_pixel_total : 22477 time to create 1 rle with old method : 0.024662017822265625 time for calcul the mask position with numpy : 0.02125072479248047 nb_pixel_total : 30432 time to create 1 rle with old method : 0.03448843955993652 time for calcul the mask position with numpy : 0.021451711654663086 nb_pixel_total : 3596 time to create 1 rle with old method : 0.0040094852447509766 time for calcul the mask position with numpy : 0.19534635543823242 nb_pixel_total : 3094945 time to create 1 rle with new method : 0.5604231357574463 time for calcul the mask position with numpy : 0.021186351776123047 nb_pixel_total : 20555 time to create 1 rle with old method : 0.022873401641845703 create new chi : 1.7791063785552979 time to delete rle : 0.001027822494506836 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 11511 TO DO : save crop sub photo not yet done ! save time : 0.6708667278289795 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 5.29712700843811 time for calcul the mask position with numpy : 0.32380104064941406 nb_pixel_total : 4530581 time to create 1 rle with new method : 0.4499025344848633 time for calcul the mask position with numpy : 0.02244091033935547 nb_pixel_total : 137453 time to create 1 rle with old method : 0.16148662567138672 time for calcul the mask position with numpy : 0.027589082717895508 nb_pixel_total : 9873 time to create 1 rle with old method : 0.010915517807006836 time for calcul the mask position with numpy : 0.033516883850097656 nb_pixel_total : 124816 time to create 1 rle with old method : 0.13901257514953613 time for calcul the mask position with numpy : 0.04736781120300293 nb_pixel_total : 1261149 time to create 1 rle with new method : 0.4560728073120117 time for calcul the mask position with numpy : 0.03853034973144531 nb_pixel_total : 717816 time to create 1 rle with new method : 0.5935819149017334 time for calcul the mask position with numpy : 0.033112525939941406 nb_pixel_total : 11962 time to create 1 rle with old method : 0.013019800186157227 time for calcul the mask position with numpy : 0.021208763122558594 nb_pixel_total : 47165 time to create 1 rle with old method : 0.05514979362487793 time for calcul the mask position with numpy : 0.021889925003051758 nb_pixel_total : 104483 time to create 1 rle with old method : 0.1384122371673584 time for calcul the mask position with numpy : 0.021378040313720703 nb_pixel_total : 104942 time to create 1 rle with old method : 0.10931921005249023 create new chi : 2.799152374267578 time to delete rle : 0.001302957534790039 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 16082 TO DO : save crop sub photo not yet done ! save time : 1.21195387840271 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 6.159469127655029 time for calcul the mask position with numpy : 0.356128454208374 nb_pixel_total : 6688928 time to create 1 rle with new method : 0.4905552864074707 time for calcul the mask position with numpy : 0.0225369930267334 nb_pixel_total : 38940 time to create 1 rle with old method : 0.04378962516784668 time for calcul the mask position with numpy : 0.02175617218017578 nb_pixel_total : 1442 time to create 1 rle with old method : 0.0017325878143310547 time for calcul the mask position with numpy : 0.02140951156616211 nb_pixel_total : 57377 time to create 1 rle with old method : 0.061776161193847656 time for calcul the mask position with numpy : 0.020144224166870117 nb_pixel_total : 1861 time to create 1 rle with old method : 0.002135753631591797 time for calcul the mask position with numpy : 0.022126197814941406 nb_pixel_total : 53271 time to create 1 rle with old method : 0.05762028694152832 time for calcul the mask position with numpy : 0.021495580673217773 nb_pixel_total : 19925 time to create 1 rle with old method : 0.021580934524536133 time for calcul the mask position with numpy : 0.02188849449157715 nb_pixel_total : 10733 time to create 1 rle with old method : 0.011661767959594727 time for calcul the mask position with numpy : 0.025388002395629883 nb_pixel_total : 164910 time to create 1 rle with new method : 0.44418978691101074 time for calcul the mask position with numpy : 0.023348093032836914 nb_pixel_total : 12853 time to create 1 rle with old method : 0.014715194702148438 create new chi : 1.7763948440551758 time to delete rle : 0.0007534027099609375 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6680 TO DO : save crop sub photo not yet done ! save time : 0.5719549655914307 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 5.880478143692017 time for calcul the mask position with numpy : 0.26636600494384766 nb_pixel_total : 6802440 time to create 1 rle with new method : 1.111677646636963 time for calcul the mask position with numpy : 0.04253745079040527 nb_pixel_total : 31811 time to create 1 rle with old method : 0.03684663772583008 time for calcul the mask position with numpy : 0.0360109806060791 nb_pixel_total : 4146 time to create 1 rle with old method : 0.005526304244995117 time for calcul the mask position with numpy : 0.02898716926574707 nb_pixel_total : 30188 time to create 1 rle with old method : 0.03691816329956055 time for calcul the mask position with numpy : 0.024709701538085938 nb_pixel_total : 25026 time to create 1 rle with old method : 0.03175020217895508 time for calcul the mask position with numpy : 0.026872634887695312 nb_pixel_total : 12766 time to create 1 rle with old method : 0.015370845794677734 time for calcul the mask position with numpy : 0.025954246520996094 nb_pixel_total : 81692 time to create 1 rle with old method : 0.08843493461608887 time for calcul the mask position with numpy : 0.024542808532714844 nb_pixel_total : 45716 time to create 1 rle with old method : 0.05794858932495117 time for calcul the mask position with numpy : 0.048920392990112305 nb_pixel_total : 16455 time to create 1 rle with old method : 0.023169517517089844 create new chi : 1.9854388236999512 time to delete rle : 0.0006740093231201172 batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 6112 TO DO : save crop sub photo not yet done ! save time : 0.7709918022155762 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 2.932020425796509 time for calcul the mask position with numpy : 0.6516237258911133 nb_pixel_total : 3195690 time to create 1 rle with new method : 0.8850808143615723 time for calcul the mask position with numpy : 0.0358271598815918 nb_pixel_total : 41536 time to create 1 rle with old method : 0.04548335075378418 time for calcul the mask position with numpy : 0.03474783897399902 nb_pixel_total : 3673 time to create 1 rle with old method : 0.0041387081146240234 time for calcul the mask position with numpy : 0.023340702056884766 nb_pixel_total : 167473 time to create 1 rle with new method : 1.1086699962615967 time for calcul the mask position with numpy : 0.33115220069885254 nb_pixel_total : 3641868 time to create 1 rle with new method : 1.0383827686309814 create new chi : 4.256035089492798 time to delete rle : 0.0013027191162109375 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 12497 TO DO : save crop sub photo not yet done ! save time : 0.7099044322967529 nb_obj : 20 nb_hashtags : 7 time to prepare the origin masks : 14.434938430786133 time for calcul the mask position with numpy : 0.6141524314880371 nb_pixel_total : 6361178 time to create 1 rle with new method : 0.839658260345459 time for calcul the mask position with numpy : 0.03821921348571777 nb_pixel_total : 8639 time to create 1 rle with old method : 0.009971857070922852 time for calcul the mask position with numpy : 0.03570914268493652 nb_pixel_total : 41005 time to create 1 rle with old method : 0.05343890190124512 time for calcul the mask position with numpy : 0.040695905685424805 nb_pixel_total : 49457 time to create 1 rle with old method : 0.05219912528991699 time for calcul the mask position with numpy : 0.03297996520996094 nb_pixel_total : 16419 time to create 1 rle with old method : 0.01714301109313965 time for calcul the mask position with numpy : 0.03702878952026367 nb_pixel_total : 10952 time to create 1 rle with old method : 0.01188039779663086 time for calcul the mask position with numpy : 0.03533935546875 nb_pixel_total : 57563 time to create 1 rle with old method : 0.0902094841003418 time for calcul the mask position with numpy : 0.04170823097229004 nb_pixel_total : 32791 time to create 1 rle with old method : 0.035315513610839844 time for calcul the mask position with numpy : 0.03604769706726074 nb_pixel_total : 170545 time to create 1 rle with new method : 0.7732954025268555 time for calcul the mask position with numpy : 0.035672664642333984 nb_pixel_total : 29111 time to create 1 rle with old method : 0.032877445220947266 time for calcul the mask position with numpy : 0.03446340560913086 nb_pixel_total : 16712 time to create 1 rle with old method : 0.020049571990966797 time for calcul the mask position with numpy : 0.03455018997192383 nb_pixel_total : 2131 time to create 1 rle with old method : 0.002833843231201172 time for calcul the mask position with numpy : 0.03510856628417969 nb_pixel_total : 2724 time to create 1 rle with old method : 0.0038602352142333984 time for calcul the mask position with numpy : 0.03603029251098633 nb_pixel_total : 55443 time to create 1 rle with old method : 0.0614619255065918 time for calcul the mask position with numpy : 0.03739047050476074 nb_pixel_total : 13596 time to create 1 rle with old method : 0.01570725440979004 time for calcul the mask position with numpy : 0.032483577728271484 nb_pixel_total : 23948 time to create 1 rle with old method : 0.02971339225769043 time for calcul the mask position with numpy : 0.02386331558227539 nb_pixel_total : 9223 time to create 1 rle with old method : 0.009944438934326172 time for calcul the mask position with numpy : 0.0264279842376709 nb_pixel_total : 112386 time to create 1 rle with old method : 0.13964629173278809 time for calcul the mask position with numpy : 0.02144908905029297 nb_pixel_total : 5472 time to create 1 rle with old method : 0.0061817169189453125 time for calcul the mask position with numpy : 0.020957469940185547 nb_pixel_total : 5031 time to create 1 rle with old method : 0.005560159683227539 time for calcul the mask position with numpy : 0.02209329605102539 nb_pixel_total : 25914 time to create 1 rle with old method : 0.028380393981933594 create new chi : 3.5808708667755127 time to delete rle : 0.0018939971923828125 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 12418 TO DO : save crop sub photo not yet done ! save time : 0.9340219497680664 nb_obj : 13 nb_hashtags : 6 time to prepare the origin masks : 8.387332677841187 time for calcul the mask position with numpy : 0.3910188674926758 nb_pixel_total : 6132455 time to create 1 rle with new method : 0.4013848304748535 time for calcul the mask position with numpy : 0.03576970100402832 nb_pixel_total : 41633 time to create 1 rle with old method : 0.05399918556213379 time for calcul the mask position with numpy : 0.038378238677978516 nb_pixel_total : 109842 time to create 1 rle with old method : 0.14678382873535156 time for calcul the mask position with numpy : 0.04198145866394043 nb_pixel_total : 22440 time to create 1 rle with old method : 0.044091224670410156 time for calcul the mask position with numpy : 0.04405689239501953 nb_pixel_total : 308807 time to create 1 rle with new method : 0.6862814426422119 time for calcul the mask position with numpy : 0.02770209312438965 nb_pixel_total : 9918 time to create 1 rle with old method : 0.011273860931396484 time for calcul the mask position with numpy : 0.021838665008544922 nb_pixel_total : 704 time to create 1 rle with old method : 0.0008525848388671875 time for calcul the mask position with numpy : 0.028245925903320312 nb_pixel_total : 27399 time to create 1 rle with old method : 0.028785228729248047 time for calcul the mask position with numpy : 0.03465604782104492 nb_pixel_total : 161078 time to create 1 rle with new method : 0.3543357849121094 time for calcul the mask position with numpy : 0.0354466438293457 nb_pixel_total : 41056 time to create 1 rle with old method : 0.048887014389038086 time for calcul the mask position with numpy : 0.03237128257751465 nb_pixel_total : 22156 time to create 1 rle with old method : 0.023036718368530273 time for calcul the mask position with numpy : 0.027515411376953125 nb_pixel_total : 3911 time to create 1 rle with old method : 0.004308938980102539 time for calcul the mask position with numpy : 0.03081059455871582 nb_pixel_total : 106118 time to create 1 rle with old method : 0.11645960807800293 time for calcul the mask position with numpy : 0.02833247184753418 nb_pixel_total : 62723 time to create 1 rle with old method : 0.07067656517028809 create new chi : 2.9026057720184326 time to delete rle : 0.0008840560913085938 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 8815 TO DO : save crop sub photo not yet done ! save time : 0.4994659423828125 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 6.436739444732666 time for calcul the mask position with numpy : 0.241898775100708 nb_pixel_total : 6427399 time to create 1 rle with new method : 1.0962977409362793 time for calcul the mask position with numpy : 0.022118091583251953 nb_pixel_total : 91434 time to create 1 rle with old method : 0.0989220142364502 time for calcul the mask position with numpy : 0.022420883178710938 nb_pixel_total : 40140 time to create 1 rle with old method : 0.058287858963012695 time for calcul the mask position with numpy : 0.04183030128479004 nb_pixel_total : 2446 time to create 1 rle with old method : 0.003236055374145508 time for calcul the mask position with numpy : 0.027237892150878906 nb_pixel_total : 2010 time to create 1 rle with old method : 0.002736806869506836 time for calcul the mask position with numpy : 0.029401779174804688 nb_pixel_total : 114455 time to create 1 rle with old method : 0.16647052764892578 time for calcul the mask position with numpy : 0.0208590030670166 nb_pixel_total : 38713 time to create 1 rle with old method : 0.04106283187866211 time for calcul the mask position with numpy : 0.022029399871826172 nb_pixel_total : 26137 time to create 1 rle with old method : 0.027866363525390625 time for calcul the mask position with numpy : 0.02150726318359375 nb_pixel_total : 12851 time to create 1 rle with old method : 0.014084815979003906 time for calcul the mask position with numpy : 0.02387523651123047 nb_pixel_total : 4693 time to create 1 rle with old method : 0.005617856979370117 time for calcul the mask position with numpy : 0.022862911224365234 nb_pixel_total : 289962 time to create 1 rle with new method : 0.8573739528656006 create new chi : 2.9400837421417236 time to delete rle : 0.0010340213775634766 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7420 TO DO : save crop sub photo not yet done ! save time : 2.8131518363952637 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.646395444869995 time for calcul the mask position with numpy : 0.5162184238433838 nb_pixel_total : 5454718 time to create 1 rle with new method : 0.5445666313171387 time for calcul the mask position with numpy : 0.029313325881958008 nb_pixel_total : 7436 time to create 1 rle with old method : 0.009217023849487305 time for calcul the mask position with numpy : 0.022711753845214844 nb_pixel_total : 377449 time to create 1 rle with new method : 0.4831101894378662 time for calcul the mask position with numpy : 0.02258443832397461 nb_pixel_total : 15645 time to create 1 rle with old method : 0.01657700538635254 time for calcul the mask position with numpy : 0.0222015380859375 nb_pixel_total : 110230 time to create 1 rle with old method : 0.12423944473266602 time for calcul the mask position with numpy : 0.03377389907836914 nb_pixel_total : 1060375 time to create 1 rle with new method : 0.49289560317993164 time for calcul the mask position with numpy : 0.021491289138793945 nb_pixel_total : 24387 time to create 1 rle with old method : 0.026910066604614258 create new chi : 2.450443983078003 time to delete rle : 0.0011048316955566406 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 9178 TO DO : save crop sub photo not yet done ! save time : 0.6253302097320557 map_output_result : {1338189797: (0.0, 'Should be the crop_list due to order', 0.0), 1338189565: (0.0, 'Should be the crop_list due to order', 0.0), 1338189564: (0.0, 'Should be the crop_list due to order', 0.0), 1338188775: (0.0, 'Should be the crop_list due to order', 0.0), 1338188771: (0.0, 'Should be the crop_list due to order', 0.0), 1338188769: (0.0, 'Should be the crop_list due to order', 0.0), 1338188649: (0.0, 'Should be the crop_list due to order', 0.0), 1338188644: (0.0, 'Should be the crop_list due to order', 0.0), 1338188641: (0.0, 'Should be the crop_list due to order', 0.0), 1338188638: (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 [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 10 /1338189797.Didn't retrieve data . /1338189565.Didn't retrieve data . /1338189564.Didn't retrieve data . /1338188775.Didn't retrieve data . /1338188771.Didn't retrieve data . /1338188769.Didn't retrieve data . /1338188649.Didn't retrieve data . /1338188644.Didn't retrieve data . /1338188641.Didn't retrieve data . /1338188638.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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.4144752025604248 save_final save missing photos in datou_result : time spend for datou_step_exec : 101.12328433990479 time spend to save output : 0.4149816036224365 total time spend for step 5 : 101.53826594352722 step6:crop_condition Mon Feb 17 21:15:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 103 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! 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/1739823342_928323 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9403879642486572 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 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 : 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/1739823346_928323 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6059668064117432 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739823349_928323 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1896114349365234 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! 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/1739823351_928323 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8067777156829834 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! 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/1739823353_928323 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5835185050964355 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 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/1739823355_928323 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7223398685455322 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 14 /1338219618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1338219634Didn'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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 52 time used for this insertion : 1.2215118408203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.77104926109314 time spend to save output : 1.2221472263336182 total time spend for step 6 : 17.993196487426758 step7:ventilate_hashtags_in_portfolio Mon Feb 17 21:15:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 20622471 get user id for portfolio 20622471 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','Carton_gris','autre_refus','kraft','mal_croppe','Carton_brun','metal','flou','Teint_Dans_La_Masse','cartonnette','plastique')) 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`=20622471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','Carton_gris','autre_refus','kraft','mal_croppe','Carton_brun','metal','flou','Teint_Dans_La_Masse','cartonnette','plastique')) 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`=20622471 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','Carton_gris','autre_refus','kraft','mal_croppe','Carton_brun','metal','flou','Teint_Dans_La_Masse','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20622482,20622483,20622484,20622485,20622486,20622487,20622488,20622489,20622490,20622491,20622492,20622493?tags=papier,environnement,Carton_gris,autre_refus,kraft,mal_croppe,Carton_brun,metal,flou,Teint_Dans_La_Masse,cartonnette,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 1 /20622471. 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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015782833099365234 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0513997077941895 time spend to save output : 0.01603531837463379 total time spend for step 7 : 2.0674350261688232 step8:final Mon Feb 17 21:16:00 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 : {1338189797: ('0.029632168267872034',), 1338189565: ('0.029632168267872034',), 1338189564: ('0.029632168267872034',), 1338188775: ('0.029632168267872034',), 1338188771: ('0.029632168267872034',), 1338188769: ('0.029632168267872034',), 1338188649: ('0.029632168267872034',), 1338188644: ('0.029632168267872034',), 1338188641: ('0.029632168267872034',), 1338188638: ('0.029632168267872034',)} new output for save of step final : {1338189797: ('0.029632168267872034',), 1338189565: ('0.029632168267872034',), 1338189564: ('0.029632168267872034',), 1338188775: ('0.029632168267872034',), 1338188771: ('0.029632168267872034',), 1338188769: ('0.029632168267872034',), 1338188649: ('0.029632168267872034',), 1338188644: ('0.029632168267872034',), 1338188641: ('0.029632168267872034',), 1338188638: ('0.029632168267872034',)} [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 10 /1338189797.Didn't retrieve data . /1338189565.Didn't retrieve data . /1338189564.Didn't retrieve data . /1338188775.Didn't retrieve data . /1338188771.Didn't retrieve data . /1338188769.Didn't retrieve data . /1338188649.Didn't retrieve data . /1338188644.Didn't retrieve data . /1338188641.Didn't retrieve data . /1338188638.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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.12856030464172363 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1409299373626709 time spend to save output : 0.12909412384033203 total time spend for step 8 : 0.27002406120300293 step9:velours_tree Mon Feb 17 21:16:00 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.04643535614013672 time spend to save output : 3.790855407714844e-05 total time spend for step 9 : 0.04647326469421387 step10:send_mail_cod Mon Feb 17 21:16:00 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_P20622471_17-02-2025_21_16_00.pdf 20622485 imagette206224851739823360 20622486 imagette206224861739823360 20622487 imagette206224871739823360 20622489 change filename to text .imagette206224891739823360 20622490 imagette206224901739823360 20622492 change filename to text .change filename to text .imagette206224921739823360 20622493 change filename to text .imagette206224931739823360 20622484 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206224841739823360 20622488 change filename to text .change filename to text .imagette206224881739823361 20622491 change filename to text .change filename to text .imagette206224911739823361 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20622471 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20622482,20622483,20622484,20622485,20622486,20622487,20622488,20622489,20622490,20622491,20622492,20622493?tags=papier,environnement,Carton_gris,autre_refus,kraft,mal_croppe,Carton_brun,metal,flou,Teint_Dans_La_Masse,cartonnette,plastique your option no_mail is active, we will not send the real mail to your client args[1338189797] : ('0.029632168267872034',) no score found for photo 1338189797 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338189565] : ('0.029632168267872034',) no score found for photo 1338189565 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338189564] : ('0.029632168267872034',) no score found for photo 1338189564 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188775] : ('0.029632168267872034',) no score found for photo 1338188775 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188771] : ('0.029632168267872034',) no score found for photo 1338188771 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188769] : ('0.029632168267872034',) no score found for photo 1338188769 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188649] : ('0.029632168267872034',) no score found for photo 1338188649 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188644] : ('0.029632168267872034',) no score found for photo 1338188644 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188641] : ('0.029632168267872034',) no score found for photo 1338188641 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com args[1338188638] : ('0.029632168267872034',) no score found for photo 1338188638 apple ('0.029632168267872034',) We are sending mail with results at report@fotonower.com refus_total : 0.029632168267872034 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=20622471 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1338188638,1338188641,1338188771,1338189797,1338188775,1338188547,1338188649,1338188541,1338188554,1338188644,1338188769,1338189564,1338189565) Found this number of photos: 13 begin to download photo : 1338188638 begin to download photo : 1338189797 begin to download photo : 1338188649 begin to download photo : 1338188644 begin to download photo : 1338189565 download finish for photo 1338189565 download finish for photo 1338188649 begin to download photo : 1338188541 download finish for photo 1338188644 begin to download photo : 1338188769 download finish for photo 1338188638 begin to download photo : 1338188641 download finish for photo 1338189797 begin to download photo : 1338188775 download finish for photo 1338188541 begin to download photo : 1338188554 download finish for photo 1338188769 begin to download photo : 1338189564 download finish for photo 1338188775 begin to download photo : 1338188547 download finish for photo 1338188641 begin to download photo : 1338188771 download finish for photo 1338189564 download finish for photo 1338188554 download finish for photo 1338188547 download finish for photo 1338188771 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622471_17-02-2025_21_16_00.pdf results_Auto_P20622471_17-02-2025_21_16_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622471_17-02-2025_21_16_00.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','20622471','results_Auto_P20622471_17-02-2025_21_16_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20622471_17-02-2025_21_16_00.pdf','pdf','','0.37','0.029632168267872034') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] 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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.21798062324523926 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.810171604156494 time spend to save output : 0.21824908256530762 total time spend for step 10 : 4.028420686721802 step11:split_time_score Mon Feb 17 21:16:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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'}] (('17', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17022025 20622471 Nombre de photos uploadées : 13 / 23040 (0%) 17022025 20622471 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 17022025 20622471 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006544589996337891 elapsed_time : insert_dashboard_record_day_entry 0.02354884147644043 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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20622464 order by id desc limit 1 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_16_00.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': 13, '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 [1338189797, 1338189565, 1338189564, 1338188775, 1338188771, 1338188769, 1338188649, 1338188644, 1338188641, 1338188638] Looping around the photos to save general results len do output : 1 /20622471Didn'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, '2594565') ('3459', '20622471', '1338189797', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189565', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338189564', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188775', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188771', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188769', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188649', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188644', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188641', None, None, None, None, None, '2594565') ('3459', None, None, None, None, None, None, None, '2594565') ('3459', '20622471', '1338188638', None, None, None, None, None, '2594565') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013595819473266602 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.425889492034912 time spend to save output : 0.013899803161621094 total time spend for step 11 : 14.439789295196533 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 105.84user 97.95system 3:55.28elapsed 86%CPU (0avgtext+0avgdata 3964316maxresident)k 42632inputs+72176outputs (2226major+9859799minor)pagefaults 0swaps