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 : 2322199 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 : 17>10 please execute split_portfolio.py -i 20814195 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2613629'] with mtr_portfolio_ids : ['20814195'] and first list_photo_ids : [] new path : /proc/2322199/ 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 ! BFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 7 ; length of list_pids : 7 ; length of list_args : 7 time to download the photos : 1.4412603378295898 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 Tue Feb 25 19: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 : 2658 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-25 19:12:35.033724: 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-25 19:12:35.067149: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-25 19:12:35.069979: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f3794000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-25 19:12:35.070039: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-25 19:12:35.076000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-25 19:12:35.365495: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b9f7f70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-25 19:12:35.365560: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-25 19:12:35.367182: 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-25 19:12:35.369212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:12:35.403136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:12:35.423161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:12:35.427236: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:12:35.460895: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:12:35.466130: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:12:35.524540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:12:35.526077: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:12:35.526568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:12:35.528298: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 19:12:35.528322: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 19:12:35.528334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 19:12:35.529936: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3399 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-25 19:12:36.031494: 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-25 19:12:36.031633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:12:36.031653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:12:36.031669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:12:36.031685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:12:36.031699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:12:36.031714: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:12:36.031729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:12:36.032618: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:12:36.033610: 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-25 19:12:36.033651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-25 19:12:36.033670: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:12:36.033686: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-25 19:12:36.033706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-25 19:12:36.033723: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-25 19:12:36.033739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-25 19:12:36.033755: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:12:36.034618: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-25 19:12:36.034655: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-25 19:12:36.034663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-25 19:12:36.034671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-25 19:12:36.035589: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3399 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-25 19:12:46.842174: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-25 19:12:47.201025: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-25 19:12:49.089137: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.842510: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-02-25 19:12:49.906934: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.907026: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.908346: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.908381: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.915831: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.915876: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.922250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.922307: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.922960: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.922980: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.956365: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.956420: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.956446: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-02-25 19:12:49.957058: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.957075: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.957676: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.957693: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.965230: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.965251: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-25 19:12:49.965831: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.966424: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.967029: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.974856: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.975487: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:49.999512: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.000326: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.001120: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.001976: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.006380: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.007243: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.008026: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.008663: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.010273: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.019821: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.020399: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.029299: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.029883: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.030485: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.031474: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.032113: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-25 19:12:50.032707: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.82G (3029204992 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 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 : 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 : 21 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 24 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 14 Detection mask done ! Trying to reset tf kernel 2322716 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2439 tf kernel not reseted sub process len(results) : 7 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 7 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 : 10591 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.0355067253112793 nb_pixel_total : 1073313 time to create 1 rle with new method : 0.1885056495666504 length of segment : 1863 time for calcul the mask position with numpy : 0.0002193450927734375 nb_pixel_total : 6049 time to create 1 rle with old method : 0.0071218013763427734 length of segment : 122 time for calcul the mask position with numpy : 0.001209259033203125 nb_pixel_total : 64973 time to create 1 rle with old method : 0.07397603988647461 length of segment : 500 time for calcul the mask position with numpy : 0.002283811569213867 nb_pixel_total : 139875 time to create 1 rle with old method : 0.14876556396484375 length of segment : 495 time for calcul the mask position with numpy : 0.0011980533599853516 nb_pixel_total : 55544 time to create 1 rle with old method : 0.06213855743408203 length of segment : 262 time for calcul the mask position with numpy : 0.0007178783416748047 nb_pixel_total : 34577 time to create 1 rle with old method : 0.038845062255859375 length of segment : 332 time for calcul the mask position with numpy : 0.017823219299316406 nb_pixel_total : 618238 time to create 1 rle with new method : 0.0750422477722168 length of segment : 1474 time for calcul the mask position with numpy : 0.0006639957427978516 nb_pixel_total : 30183 time to create 1 rle with old method : 0.032743215560913086 length of segment : 296 time for calcul the mask position with numpy : 0.0008184909820556641 nb_pixel_total : 47932 time to create 1 rle with old method : 0.05376029014587402 length of segment : 252 time for calcul the mask position with numpy : 0.00223541259765625 nb_pixel_total : 99022 time to create 1 rle with old method : 0.1019582748413086 length of segment : 621 time for calcul the mask position with numpy : 0.000736236572265625 nb_pixel_total : 36183 time to create 1 rle with old method : 0.04017448425292969 length of segment : 169 time for calcul the mask position with numpy : 0.0018761157989501953 nb_pixel_total : 79805 time to create 1 rle with old method : 0.08461928367614746 length of segment : 561 time for calcul the mask position with numpy : 0.0005781650543212891 nb_pixel_total : 37060 time to create 1 rle with old method : 0.042722463607788086 length of segment : 159 time for calcul the mask position with numpy : 0.001314401626586914 nb_pixel_total : 83542 time to create 1 rle with old method : 0.0956118106842041 length of segment : 458 time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 34504 time to create 1 rle with old method : 0.03842759132385254 length of segment : 154 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 9932 time to create 1 rle with old method : 0.011301040649414062 length of segment : 110 time for calcul the mask position with numpy : 0.000965118408203125 nb_pixel_total : 47259 time to create 1 rle with old method : 0.054018259048461914 length of segment : 253 time for calcul the mask position with numpy : 0.0001461505889892578 nb_pixel_total : 2085 time to create 1 rle with old method : 0.0026772022247314453 length of segment : 122 time for calcul the mask position with numpy : 0.0019063949584960938 nb_pixel_total : 120439 time to create 1 rle with old method : 0.1322636604309082 length of segment : 422 time for calcul the mask position with numpy : 0.0037734508514404297 nb_pixel_total : 279700 time to create 1 rle with new method : 0.010371923446655273 length of segment : 714 time for calcul the mask position with numpy : 1.5188994407653809 nb_pixel_total : 4175930 time to create 1 rle with new method : 1.0342252254486084 length of segment : 3530 time for calcul the mask position with numpy : 0.0002627372741699219 nb_pixel_total : 8870 time to create 1 rle with old method : 0.010692119598388672 length of segment : 151 time for calcul the mask position with numpy : 0.00043082237243652344 nb_pixel_total : 21959 time to create 1 rle with old method : 0.026332616806030273 length of segment : 280 time for calcul the mask position with numpy : 0.0010042190551757812 nb_pixel_total : 22311 time to create 1 rle with old method : 0.02662944793701172 length of segment : 187 time for calcul the mask position with numpy : 0.0008339881896972656 nb_pixel_total : 20839 time to create 1 rle with old method : 0.024305105209350586 length of segment : 205 time for calcul the mask position with numpy : 0.0005435943603515625 nb_pixel_total : 14191 time to create 1 rle with old method : 0.017097949981689453 length of segment : 121 time for calcul the mask position with numpy : 0.003706693649291992 nb_pixel_total : 50235 time to create 1 rle with old method : 0.05899381637573242 length of segment : 348 time for calcul the mask position with numpy : 0.0007989406585693359 nb_pixel_total : 16964 time to create 1 rle with old method : 0.018384218215942383 length of segment : 182 time for calcul the mask position with numpy : 0.003259420394897461 nb_pixel_total : 82391 time to create 1 rle with old method : 0.10183906555175781 length of segment : 419 time for calcul the mask position with numpy : 0.0003314018249511719 nb_pixel_total : 5336 time to create 1 rle with old method : 0.006396055221557617 length of segment : 82 time for calcul the mask position with numpy : 0.0003581047058105469 nb_pixel_total : 1885 time to create 1 rle with old method : 0.0025119781494140625 length of segment : 85 time for calcul the mask position with numpy : 0.0010297298431396484 nb_pixel_total : 21552 time to create 1 rle with old method : 0.024420738220214844 length of segment : 201 time for calcul the mask position with numpy : 0.010139703750610352 nb_pixel_total : 289143 time to create 1 rle with new method : 0.01682591438293457 length of segment : 910 time for calcul the mask position with numpy : 0.0023622512817382812 nb_pixel_total : 33066 time to create 1 rle with old method : 0.04728269577026367 length of segment : 362 time for calcul the mask position with numpy : 0.0005261898040771484 nb_pixel_total : 5826 time to create 1 rle with old method : 0.00725555419921875 length of segment : 154 time for calcul the mask position with numpy : 0.012518644332885742 nb_pixel_total : 354555 time to create 1 rle with new method : 0.014484405517578125 length of segment : 644 time for calcul the mask position with numpy : 0.014451980590820312 nb_pixel_total : 438473 time to create 1 rle with new method : 0.021494388580322266 length of segment : 1372 time for calcul the mask position with numpy : 0.005682468414306641 nb_pixel_total : 286894 time to create 1 rle with new method : 0.01043844223022461 length of segment : 817 time for calcul the mask position with numpy : 0.0007147789001464844 nb_pixel_total : 10630 time to create 1 rle with old method : 0.013118267059326172 length of segment : 142 time for calcul the mask position with numpy : 0.0012421607971191406 nb_pixel_total : 24522 time to create 1 rle with old method : 0.02922344207763672 length of segment : 467 time for calcul the mask position with numpy : 0.0013976097106933594 nb_pixel_total : 59360 time to create 1 rle with old method : 0.07088518142700195 length of segment : 287 time for calcul the mask position with numpy : 0.004893779754638672 nb_pixel_total : 277643 time to create 1 rle with new method : 0.013755083084106445 length of segment : 718 time for calcul the mask position with numpy : 0.0012481212615966797 nb_pixel_total : 30523 time to create 1 rle with old method : 0.03681230545043945 length of segment : 166 time for calcul the mask position with numpy : 0.0004494190216064453 nb_pixel_total : 11219 time to create 1 rle with old method : 0.013617515563964844 length of segment : 118 time for calcul the mask position with numpy : 0.000141143798828125 nb_pixel_total : 2438 time to create 1 rle with old method : 0.0032172203063964844 length of segment : 85 time for calcul the mask position with numpy : 0.0026159286499023438 nb_pixel_total : 116772 time to create 1 rle with old method : 0.13946533203125 length of segment : 426 time for calcul the mask position with numpy : 0.0010492801666259766 nb_pixel_total : 43683 time to create 1 rle with old method : 0.05224442481994629 length of segment : 318 time for calcul the mask position with numpy : 0.002255678176879883 nb_pixel_total : 88544 time to create 1 rle with old method : 0.10678410530090332 length of segment : 428 time for calcul the mask position with numpy : 0.0011887550354003906 nb_pixel_total : 58497 time to create 1 rle with old method : 0.06717228889465332 length of segment : 340 time for calcul the mask position with numpy : 0.0010437965393066406 nb_pixel_total : 34257 time to create 1 rle with old method : 0.04095053672790527 length of segment : 308 time for calcul the mask position with numpy : 0.040448904037475586 nb_pixel_total : 1837059 time to create 1 rle with new method : 0.1024789810180664 length of segment : 3013 time for calcul the mask position with numpy : 0.0009176731109619141 nb_pixel_total : 56493 time to create 1 rle with old method : 0.06734418869018555 length of segment : 297 time for calcul the mask position with numpy : 0.0005309581756591797 nb_pixel_total : 29061 time to create 1 rle with old method : 0.03476381301879883 length of segment : 184 time for calcul the mask position with numpy : 0.0006868839263916016 nb_pixel_total : 28980 time to create 1 rle with old method : 0.03171730041503906 length of segment : 256 time for calcul the mask position with numpy : 0.0025343894958496094 nb_pixel_total : 116447 time to create 1 rle with old method : 0.14255762100219727 length of segment : 373 time for calcul the mask position with numpy : 0.0008685588836669922 nb_pixel_total : 37032 time to create 1 rle with old method : 0.04325103759765625 length of segment : 318 time for calcul the mask position with numpy : 0.0005846023559570312 nb_pixel_total : 34730 time to create 1 rle with old method : 0.041417837142944336 length of segment : 272 time for calcul the mask position with numpy : 0.0004086494445800781 nb_pixel_total : 9573 time to create 1 rle with old method : 0.011704444885253906 length of segment : 149 time for calcul the mask position with numpy : 0.0007376670837402344 nb_pixel_total : 38416 time to create 1 rle with old method : 0.044059038162231445 length of segment : 330 time for calcul the mask position with numpy : 0.0008757114410400391 nb_pixel_total : 13268 time to create 1 rle with old method : 0.016545534133911133 length of segment : 166 time for calcul the mask position with numpy : 0.0006649494171142578 nb_pixel_total : 30716 time to create 1 rle with old method : 0.036470890045166016 length of segment : 296 time for calcul the mask position with numpy : 0.0013642311096191406 nb_pixel_total : 57135 time to create 1 rle with old method : 0.06812024116516113 length of segment : 544 time for calcul the mask position with numpy : 0.001664876937866211 nb_pixel_total : 120470 time to create 1 rle with old method : 0.13341641426086426 length of segment : 386 time for calcul the mask position with numpy : 0.0008876323699951172 nb_pixel_total : 36226 time to create 1 rle with old method : 0.044403076171875 length of segment : 404 time for calcul the mask position with numpy : 0.00030231475830078125 nb_pixel_total : 11487 time to create 1 rle with old method : 0.016933202743530273 length of segment : 157 time for calcul the mask position with numpy : 0.00038242340087890625 nb_pixel_total : 6050 time to create 1 rle with old method : 0.012614011764526367 length of segment : 168 time for calcul the mask position with numpy : 0.0005998611450195312 nb_pixel_total : 21653 time to create 1 rle with old method : 0.027111530303955078 length of segment : 138 time for calcul the mask position with numpy : 0.00043773651123046875 nb_pixel_total : 8325 time to create 1 rle with old method : 0.010353326797485352 length of segment : 149 time for calcul the mask position with numpy : 0.00029540061950683594 nb_pixel_total : 6014 time to create 1 rle with old method : 0.009552717208862305 length of segment : 126 time for calcul the mask position with numpy : 0.0003199577331542969 nb_pixel_total : 5748 time to create 1 rle with old method : 0.008162260055541992 length of segment : 102 time for calcul the mask position with numpy : 0.001262664794921875 nb_pixel_total : 71248 time to create 1 rle with old method : 0.0903630256652832 length of segment : 289 time for calcul the mask position with numpy : 0.0018830299377441406 nb_pixel_total : 104727 time to create 1 rle with old method : 0.12101125717163086 length of segment : 459 time for calcul the mask position with numpy : 0.0004913806915283203 nb_pixel_total : 20938 time to create 1 rle with old method : 0.02841949462890625 length of segment : 180 time for calcul the mask position with numpy : 0.0007779598236083984 nb_pixel_total : 9698 time to create 1 rle with old method : 0.012512922286987305 length of segment : 306 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 3604 time to create 1 rle with old method : 0.004665851593017578 length of segment : 69 time for calcul the mask position with numpy : 0.0019044876098632812 nb_pixel_total : 75898 time to create 1 rle with old method : 0.08969378471374512 length of segment : 561 time for calcul the mask position with numpy : 0.00019168853759765625 nb_pixel_total : 2789 time to create 1 rle with old method : 0.0035953521728515625 length of segment : 80 time for calcul the mask position with numpy : 0.0005252361297607422 nb_pixel_total : 12632 time to create 1 rle with old method : 0.01607060432434082 length of segment : 136 time for calcul the mask position with numpy : 0.0006136894226074219 nb_pixel_total : 21087 time to create 1 rle with old method : 0.02515268325805664 length of segment : 234 time for calcul the mask position with numpy : 0.0011553764343261719 nb_pixel_total : 30245 time to create 1 rle with old method : 0.037247657775878906 length of segment : 257 time for calcul the mask position with numpy : 0.0007443428039550781 nb_pixel_total : 30325 time to create 1 rle with old method : 0.03677105903625488 length of segment : 186 time for calcul the mask position with numpy : 0.0018265247344970703 nb_pixel_total : 73911 time to create 1 rle with old method : 0.08737468719482422 length of segment : 349 time for calcul the mask position with numpy : 0.0003190040588378906 nb_pixel_total : 7157 time to create 1 rle with old method : 0.008574724197387695 length of segment : 120 time for calcul the mask position with numpy : 0.00032806396484375 nb_pixel_total : 7448 time to create 1 rle with old method : 0.009351015090942383 length of segment : 147 time for calcul the mask position with numpy : 0.0017697811126708984 nb_pixel_total : 51789 time to create 1 rle with old method : 0.06272149085998535 length of segment : 495 time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 2736 time to create 1 rle with old method : 0.003393411636352539 length of segment : 106 time for calcul the mask position with numpy : 0.0008275508880615234 nb_pixel_total : 31995 time to create 1 rle with old method : 0.03905010223388672 length of segment : 199 time for calcul the mask position with numpy : 0.00018930435180664062 nb_pixel_total : 3724 time to create 1 rle with old method : 0.004557371139526367 length of segment : 72 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 1580 time to create 1 rle with old method : 0.0019714832305908203 length of segment : 58 time for calcul the mask position with numpy : 0.0004811286926269531 nb_pixel_total : 12689 time to create 1 rle with old method : 0.01555633544921875 length of segment : 128 time for calcul the mask position with numpy : 0.0018532276153564453 nb_pixel_total : 77554 time to create 1 rle with old method : 0.08846783638000488 length of segment : 342 time for calcul the mask position with numpy : 0.0003368854522705078 nb_pixel_total : 8712 time to create 1 rle with old method : 0.010716915130615234 length of segment : 73 time for calcul the mask position with numpy : 0.001077890396118164 nb_pixel_total : 24187 time to create 1 rle with old method : 0.02868056297302246 length of segment : 198 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 2589 time to create 1 rle with old method : 0.003119230270385742 length of segment : 67 time for calcul the mask position with numpy : 0.0013415813446044922 nb_pixel_total : 92808 time to create 1 rle with old method : 0.10848379135131836 length of segment : 371 time for calcul the mask position with numpy : 0.00032329559326171875 nb_pixel_total : 11905 time to create 1 rle with old method : 0.014660358428955078 length of segment : 97 time for calcul the mask position with numpy : 0.00084686279296875 nb_pixel_total : 34384 time to create 1 rle with old method : 0.04244637489318848 length of segment : 192 time for calcul the mask position with numpy : 0.0005865097045898438 nb_pixel_total : 36813 time to create 1 rle with old method : 0.04353833198547363 length of segment : 199 time spent for convertir_results : 12.880935192108154 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 98 chid ids of type : 3663 Number RLEs to save : 36990 save missing photos in datou_result : time spend for datou_step_exec : 50.28815698623657 time spend to save output : 2.120147228240967 total time spend for step 1 : 52.40830421447754 step2:crop_condition Tue Feb 25 19:13:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 7 ! batch 1 Loaded 98 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 28 About to insert : list_path_to_insert length 28 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : 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 [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 57 /-3686651407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651460Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3686651408Didn'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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 178 time used for this insertion : 0.02544879913330078 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.100842237472534 time spend to save output : 0.028581857681274414 total time spend for step 2 : 19.12942409515381 step3:thcl Tue Feb 25 19:13:41 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.027957439422607422 time to convert the images to numpy array : 0.05632376670837402 time to import caffe and check if the image exist : 0.02761530876159668 time to convert the images to numpy array : 0.06128978729248047 time to import caffe and check if the image exist : 0.029067277908325195 time to convert the images to numpy array : 0.06140398979187012 time to import caffe and check if the image exist : 0.02616405487060547 time to convert the images to numpy array : 0.07522249221801758 time to import caffe and check if the image exist : 0.027211427688598633 time to convert the images to numpy array : 0.07496213912963867 time to import caffe and check if the image exist : 0.02723073959350586 time to convert the images to numpy array : 0.07918643951416016 time to import caffe and check if the image exist : 0.02308487892150879 time to convert the images to numpy array : 0.07949566841125488 time to import caffe and check if the image exist : 0.029313325881958008 time to convert the images to numpy array : 0.08757567405700684 time to import caffe and check if the image exist : 0.024583101272583008 time to convert the images to numpy array : 0.09361052513122559 time to import caffe and check if the image exist : 0.03239631652832031 time to convert the images to numpy array : 0.09438037872314453 total time to convert the images to numpy array : 0.35329365730285645 list photo_ids error: [] list photo_ids correct : [-3686651483, -3686651479, -3686651478, -3686651492, -3686651497, -3686651405, -3686651429, -3686651453, -3686651455, -3686651457, -3686651451, -3686651446, -3686651463, -3686651448, -3686651460, -3686651459, -3686651458, -3686651464, -3686651428, -3686651433, -3686651438, -3686651431, -3686651461, -3686651454, -3686651407, -3686651447, -3686651449, -3686651452, -3686651445, -3686651466, -3686651471, -3686651472, -3686651470, -3686651480, -3686651484, -3686651481, -3686651441, -3686651440, -3686651408, -3686651410, -3686651412, -3686651409, -3686651418, -3686651416, -3686651462, -3686651475, -3686651490, -3686651415, -3686651437, -3686651439, -3686651494, -3686651456, -3686651411, -3686651403, -3686651413, -3686651414, -3686651426] number of photos to traite : 57 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 : 10589 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 : 10370 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.5449364185333252 time used to do the prediction : 0.13547897338867188 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 : 10368 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 : 10368 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.5841734409332275 time used to do the prediction : 0.11281681060791016 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.09808349609375e-05 save missing photos in datou_result : time spend for datou_step_exec : 8.618531465530396 time spend to save output : 0.0004811286926269531 total time spend for step 3 : 8.619012594223022 step4:merge_mask_thcl_custom Tue Feb 25 19:13:50 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 98 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 [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 7 /1339534675Didn't retrieve data .Didn't retrieve data . /1339534674Didn't retrieve data .Didn't retrieve data . /1339534661Didn't retrieve data .Didn't retrieve data . /1339534656Didn't retrieve data .Didn't retrieve data . /1339534651Didn't retrieve data .Didn't retrieve data . /1339534645Didn't retrieve data .Didn't retrieve data . /1339534643Didn'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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.012552261352539062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06055140495300293 time spend to save output : 0.013013362884521484 total time spend for step 4 : 0.07356476783752441 step5:rle_unique_nms_with_priority Tue Feb 25 19:13:50 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 : 19 nb_hashtags : 9 time to prepare the origin masks : 12.81729531288147 time for calcul the mask position with numpy : 0.38177919387817383 nb_pixel_total : 4554449 time to create 1 rle with new method : 0.5293684005737305 time for calcul the mask position with numpy : 0.02161550521850586 nb_pixel_total : 99108 time to create 1 rle with old method : 0.1093595027923584 time for calcul the mask position with numpy : 0.021061182022094727 nb_pixel_total : 2623 time to create 1 rle with old method : 0.0032296180725097656 time for calcul the mask position with numpy : 0.020693063735961914 nb_pixel_total : 7013 time to create 1 rle with old method : 0.00940251350402832 time for calcul the mask position with numpy : 0.021264076232910156 nb_pixel_total : 2061 time to create 1 rle with old method : 0.0023703575134277344 time for calcul the mask position with numpy : 0.021193981170654297 nb_pixel_total : 30065 time to create 1 rle with old method : 0.03276467323303223 time for calcul the mask position with numpy : 0.022289276123046875 nb_pixel_total : 91480 time to create 1 rle with old method : 0.09914946556091309 time for calcul the mask position with numpy : 0.021161794662475586 nb_pixel_total : 47041 time to create 1 rle with old method : 0.05342221260070801 time for calcul the mask position with numpy : 0.021182775497436523 nb_pixel_total : 139835 time to create 1 rle with old method : 0.15570950508117676 time for calcul the mask position with numpy : 0.025101900100708008 nb_pixel_total : 33098 time to create 1 rle with old method : 0.03647947311401367 time for calcul the mask position with numpy : 0.04098677635192871 nb_pixel_total : 570236 time to create 1 rle with new method : 0.9080698490142822 time for calcul the mask position with numpy : 0.03528118133544922 nb_pixel_total : 55284 time to create 1 rle with old method : 0.06300044059753418 time for calcul the mask position with numpy : 0.03414750099182129 nb_pixel_total : 79647 time to create 1 rle with old method : 0.08636975288391113 time for calcul the mask position with numpy : 0.02601170539855957 nb_pixel_total : 34462 time to create 1 rle with old method : 0.038483619689941406 time for calcul the mask position with numpy : 0.02306818962097168 nb_pixel_total : 4440 time to create 1 rle with old method : 0.004915475845336914 time for calcul the mask position with numpy : 0.021335840225219727 nb_pixel_total : 64760 time to create 1 rle with old method : 0.07273578643798828 time for calcul the mask position with numpy : 0.020933866500854492 nb_pixel_total : 6031 time to create 1 rle with old method : 0.006773233413696289 time for calcul the mask position with numpy : 0.03303027153015137 nb_pixel_total : 1072630 time to create 1 rle with new method : 0.5436916351318359 time for calcul the mask position with numpy : 0.022460460662841797 nb_pixel_total : 36024 time to create 1 rle with old method : 0.041500091552734375 time for calcul the mask position with numpy : 0.021427392959594727 nb_pixel_total : 119953 time to create 1 rle with old method : 0.129807710647583 create new chi : 3.8554348945617676 time to delete rle : 0.015824317932128906 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 18161 TO DO : save crop sub photo not yet done ! save time : 1.3412225246429443 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 2.9422049522399902 time for calcul the mask position with numpy : 0.03414559364318848 nb_pixel_total : 2206512 time to create 1 rle with new method : 0.6725387573242188 time for calcul the mask position with numpy : 0.019842147827148438 nb_pixel_total : 21886 time to create 1 rle with old method : 0.024418115615844727 time for calcul the mask position with numpy : 0.019707202911376953 nb_pixel_total : 8870 time to create 1 rle with old method : 0.009507417678833008 time for calcul the mask position with numpy : 0.29349756240844727 nb_pixel_total : 4533645 time to create 1 rle with new method : 0.806555986404419 time for calcul the mask position with numpy : 0.036641836166381836 nb_pixel_total : 279327 time to create 1 rle with new method : 0.40791916847229004 create new chi : 2.403104305267334 time to delete rle : 0.0012853145599365234 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 8936 TO DO : save crop sub photo not yet done ! save time : 2.383394718170166 nb_obj : 21 nb_hashtags : 6 time to prepare the origin masks : 12.1717369556427 time for calcul the mask position with numpy : 0.42011547088623047 nb_pixel_total : 5281800 time to create 1 rle with new method : 0.9537160396575928 time for calcul the mask position with numpy : 0.035538434982299805 nb_pixel_total : 59279 time to create 1 rle with old method : 0.06405234336853027 time for calcul the mask position with numpy : 0.0361485481262207 nb_pixel_total : 49628 time to create 1 rle with old method : 0.0544586181640625 time for calcul the mask position with numpy : 0.032019853591918945 nb_pixel_total : 2430 time to create 1 rle with old method : 0.002694845199584961 time for calcul the mask position with numpy : 0.029797077178955078 nb_pixel_total : 9517 time to create 1 rle with old method : 0.010309934616088867 time for calcul the mask position with numpy : 0.027840375900268555 nb_pixel_total : 30406 time to create 1 rle with old method : 0.03278064727783203 time for calcul the mask position with numpy : 0.02089667320251465 nb_pixel_total : 10562 time to create 1 rle with old method : 0.011312484741210938 time for calcul the mask position with numpy : 0.024590015411376953 nb_pixel_total : 438325 time to create 1 rle with new method : 0.5807502269744873 time for calcul the mask position with numpy : 0.02243971824645996 nb_pixel_total : 354651 time to create 1 rle with new method : 0.6225295066833496 time for calcul the mask position with numpy : 0.020582914352416992 nb_pixel_total : 5773 time to create 1 rle with old method : 0.006365776062011719 time for calcul the mask position with numpy : 0.020653724670410156 nb_pixel_total : 32844 time to create 1 rle with old method : 0.03530621528625488 time for calcul the mask position with numpy : 0.02379131317138672 nb_pixel_total : 288794 time to create 1 rle with new method : 0.5218715667724609 time for calcul the mask position with numpy : 0.022057771682739258 nb_pixel_total : 24416 time to create 1 rle with old method : 0.028192520141601562 time for calcul the mask position with numpy : 0.0334324836730957 nb_pixel_total : 11119 time to create 1 rle with old method : 0.013709783554077148 time for calcul the mask position with numpy : 0.03439211845397949 nb_pixel_total : 1861 time to create 1 rle with old method : 0.002395153045654297 time for calcul the mask position with numpy : 0.03532719612121582 nb_pixel_total : 16804 time to create 1 rle with old method : 0.018566370010375977 time for calcul the mask position with numpy : 0.03437662124633789 nb_pixel_total : 14138 time to create 1 rle with old method : 0.015752553939819336 time for calcul the mask position with numpy : 0.03210568428039551 nb_pixel_total : 20780 time to create 1 rle with old method : 0.023926496505737305 time for calcul the mask position with numpy : 0.033339738845825195 nb_pixel_total : 5316 time to create 1 rle with old method : 0.0057489871978759766 time for calcul the mask position with numpy : 0.039293766021728516 nb_pixel_total : 286553 time to create 1 rle with new method : 0.49666857719421387 time for calcul the mask position with numpy : 0.037041425704956055 nb_pixel_total : 22247 time to create 1 rle with old method : 0.02453160285949707 time for calcul the mask position with numpy : 0.0332643985748291 nb_pixel_total : 82997 time to create 1 rle with old method : 0.08999204635620117 create new chi : 4.796169281005859 time to delete rle : 0.001561880111694336 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 17312 TO DO : save crop sub photo not yet done ! save time : 0.9377877712249756 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 13.04930591583252 time for calcul the mask position with numpy : 0.29414820671081543 nb_pixel_total : 4482433 time to create 1 rle with new method : 0.7866120338439941 time for calcul the mask position with numpy : 0.024097681045532227 nb_pixel_total : 57309 time to create 1 rle with old method : 0.06890678405761719 time for calcul the mask position with numpy : 0.03544139862060547 nb_pixel_total : 28885 time to create 1 rle with old method : 0.03265810012817383 time for calcul the mask position with numpy : 0.03358745574951172 nb_pixel_total : 9530 time to create 1 rle with old method : 0.010631799697875977 time for calcul the mask position with numpy : 0.03313899040222168 nb_pixel_total : 30674 time to create 1 rle with old method : 0.03305196762084961 time for calcul the mask position with numpy : 0.0315091609954834 nb_pixel_total : 88104 time to create 1 rle with old method : 0.0966954231262207 time for calcul the mask position with numpy : 0.03377199172973633 nb_pixel_total : 3020 time to create 1 rle with old method : 0.0037469863891601562 time for calcul the mask position with numpy : 0.02144932746887207 nb_pixel_total : 2033 time to create 1 rle with old method : 0.002409219741821289 time for calcul the mask position with numpy : 0.020952463150024414 nb_pixel_total : 58342 time to create 1 rle with old method : 0.06349062919616699 time for calcul the mask position with numpy : 0.021630287170410156 nb_pixel_total : 18663 time to create 1 rle with old method : 0.020188570022583008 time for calcul the mask position with numpy : 0.0323638916015625 nb_pixel_total : 34649 time to create 1 rle with old method : 0.03869271278381348 time for calcul the mask position with numpy : 0.03461050987243652 nb_pixel_total : 34406 time to create 1 rle with old method : 0.03866457939147949 time for calcul the mask position with numpy : 0.03383445739746094 nb_pixel_total : 5576 time to create 1 rle with old method : 0.00742030143737793 time for calcul the mask position with numpy : 0.03515982627868652 nb_pixel_total : 56273 time to create 1 rle with old method : 0.06596660614013672 time for calcul the mask position with numpy : 0.0352931022644043 nb_pixel_total : 7258 time to create 1 rle with old method : 0.008265972137451172 time for calcul the mask position with numpy : 0.032682180404663086 nb_pixel_total : 28975 time to create 1 rle with old method : 0.03339385986328125 time for calcul the mask position with numpy : 0.030786514282226562 nb_pixel_total : 116199 time to create 1 rle with old method : 0.12831640243530273 time for calcul the mask position with numpy : 0.05732583999633789 nb_pixel_total : 1823643 time to create 1 rle with new method : 0.6906871795654297 time for calcul the mask position with numpy : 0.02665090560913086 nb_pixel_total : 11440 time to create 1 rle with old method : 0.01520538330078125 time for calcul the mask position with numpy : 0.02176690101623535 nb_pixel_total : 36065 time to create 1 rle with old method : 0.03913283348083496 time for calcul the mask position with numpy : 0.022146940231323242 nb_pixel_total : 116763 time to create 1 rle with old method : 0.12480854988098145 create new chi : 3.2801406383514404 time to delete rle : 0.002425670623779297 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 18483 TO DO : save crop sub photo not yet done ! save time : 1.004206895828247 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 4.429803133010864 time for calcul the mask position with numpy : 0.4590170383453369 nb_pixel_total : 6805357 time to create 1 rle with new method : 0.6715881824493408 time for calcul the mask position with numpy : 0.023506879806518555 nb_pixel_total : 19118 time to create 1 rle with old method : 0.02078080177307129 time for calcul the mask position with numpy : 0.0347895622253418 nb_pixel_total : 3574 time to create 1 rle with old method : 0.0038650035858154297 time for calcul the mask position with numpy : 0.03383898735046387 nb_pixel_total : 20849 time to create 1 rle with old method : 0.02329540252685547 time for calcul the mask position with numpy : 0.03362011909484863 nb_pixel_total : 70845 time to create 1 rle with old method : 0.07964181900024414 time for calcul the mask position with numpy : 0.024216890335083008 nb_pixel_total : 5732 time to create 1 rle with old method : 0.006623029708862305 time for calcul the mask position with numpy : 0.027688980102539062 nb_pixel_total : 6003 time to create 1 rle with old method : 0.006598234176635742 time for calcul the mask position with numpy : 0.034189462661743164 nb_pixel_total : 104446 time to create 1 rle with old method : 0.11279463768005371 time for calcul the mask position with numpy : 0.03359413146972656 nb_pixel_total : 8308 time to create 1 rle with old method : 0.008887767791748047 time for calcul the mask position with numpy : 0.034529685974121094 nb_pixel_total : 6008 time to create 1 rle with old method : 0.006687164306640625 create new chi : 1.7179808616638184 time to delete rle : 0.0006501674652099609 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 5472 TO DO : save crop sub photo not yet done ! save time : 0.3341407775878906 nb_obj : 11 nb_hashtags : 6 time to prepare the origin masks : 5.7179248332977295 time for calcul the mask position with numpy : 0.5074272155761719 nb_pixel_total : 6735141 time to create 1 rle with new method : 0.7127196788787842 time for calcul the mask position with numpy : 0.02133965492248535 nb_pixel_total : 7382 time to create 1 rle with old method : 0.007999897003173828 time for calcul the mask position with numpy : 0.019926071166992188 nb_pixel_total : 30070 time to create 1 rle with old method : 0.03323245048522949 time for calcul the mask position with numpy : 0.020552635192871094 nb_pixel_total : 2732 time to create 1 rle with old method : 0.003114938735961914 time for calcul the mask position with numpy : 0.020827293395996094 nb_pixel_total : 21061 time to create 1 rle with old method : 0.02416253089904785 time for calcul the mask position with numpy : 0.021212100982666016 nb_pixel_total : 73761 time to create 1 rle with old method : 0.08279705047607422 time for calcul the mask position with numpy : 0.02168726921081543 nb_pixel_total : 51686 time to create 1 rle with old method : 0.05564308166503906 time for calcul the mask position with numpy : 0.02279043197631836 nb_pixel_total : 7118 time to create 1 rle with old method : 0.007550239562988281 time for calcul the mask position with numpy : 0.020641326904296875 nb_pixel_total : 30162 time to create 1 rle with old method : 0.0325627326965332 time for calcul the mask position with numpy : 0.03314614295959473 nb_pixel_total : 12569 time to create 1 rle with old method : 0.01350259780883789 time for calcul the mask position with numpy : 0.034531354904174805 nb_pixel_total : 75776 time to create 1 rle with old method : 0.08406186103820801 time for calcul the mask position with numpy : 0.03281545639038086 nb_pixel_total : 2782 time to create 1 rle with old method : 0.002980470657348633 create new chi : 1.876497507095337 time to delete rle : 0.0007326602935791016 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7542 TO DO : save crop sub photo not yet done ! save time : 0.4493100643157959 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 4.283117294311523 time for calcul the mask position with numpy : 0.6324477195739746 nb_pixel_total : 6835210 time to create 1 rle with new method : 0.5539066791534424 time for calcul the mask position with numpy : 0.025532007217407227 nb_pixel_total : 777 time to create 1 rle with old method : 0.0012011528015136719 time for calcul the mask position with numpy : 0.038820743560791016 nb_pixel_total : 92592 time to create 1 rle with old method : 0.1213994026184082 time for calcul the mask position with numpy : 0.03812909126281738 nb_pixel_total : 2585 time to create 1 rle with old method : 0.0030961036682128906 time for calcul the mask position with numpy : 0.034314632415771484 nb_pixel_total : 8601 time to create 1 rle with old method : 0.009809494018554688 time for calcul the mask position with numpy : 0.033545732498168945 nb_pixel_total : 24017 time to create 1 rle with old method : 0.0263826847076416 time for calcul the mask position with numpy : 0.024013280868530273 nb_pixel_total : 12591 time to create 1 rle with old method : 0.013781547546386719 time for calcul the mask position with numpy : 0.020844697952270508 nb_pixel_total : 1570 time to create 1 rle with old method : 0.0017666816711425781 time for calcul the mask position with numpy : 0.02107071876525879 nb_pixel_total : 36663 time to create 1 rle with old method : 0.03950643539428711 time for calcul the mask position with numpy : 0.02163553237915039 nb_pixel_total : 3700 time to create 1 rle with old method : 0.004074811935424805 time for calcul the mask position with numpy : 0.021370887756347656 nb_pixel_total : 31934 time to create 1 rle with old method : 0.03384065628051758 create new chi : 1.7582893371582031 time to delete rle : 0.0009725093841552734 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 5073 TO DO : save crop sub photo not yet done ! save time : 0.33145761489868164 map_output_result : {1339534675: (0.0, 'Should be the crop_list due to order', 0), 1339534674: (0.0, 'Should be the crop_list due to order', 0), 1339534661: (0.0, 'Should be the crop_list due to order', 0), 1339534656: (0.0, 'Should be the crop_list due to order', 0), 1339534651: (0.0, 'Should be the crop_list due to order', 0), 1339534645: (0.0, 'Should be the crop_list due to order', 0), 1339534643: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 7 /1339534675.Didn't retrieve data . /1339534674.Didn't retrieve data . /1339534661.Didn't retrieve data . /1339534656.Didn't retrieve data . /1339534651.Didn't retrieve data . /1339534645.Didn't retrieve data . /1339534643.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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.013369083404541016 save_final save missing photos in datou_result : time spend for datou_step_exec : 82.5630989074707 time spend to save output : 0.013822317123413086 total time spend for step 5 : 82.57692122459412 step6:crop_condition Tue Feb 25 19:15:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 7 ! batch 1 Loaded 101 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507315_2322199 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.483590841293335 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! 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/1740507319_2322199 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.921234130859375 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507323_2322199 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1642224788665771 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507325_2322199 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2074637413024902 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507328_2322199 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8487098217010498 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507332_2322199 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8043568134307861 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740507334_2322199 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9345226287841797 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 [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 25 /1339581737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339581772Didn'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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 82 time used for this insertion : 0.027899503707885742 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.565814971923828 time spend to save output : 0.028844594955444336 total time spend for step 6 : 22.594659566879272 step7:ventilate_hashtags_in_portfolio Tue Feb 25 19:15:35 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 : 20814195 get user id for portfolio 20814195 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`=20814195 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','Carton_gris','environnement','Carton_brun','cartonnette','papier','autre_refus','kraft','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20814195 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','plastique','Carton_gris','environnement','Carton_brun','cartonnette','papier','autre_refus','kraft','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20814496,20814497,20814498,20814499,20814500,20814501,20814502,20814503,20814504,20814505,20814506,20814507?tags=papier,environnement,flou,Carton_gris,Carton_brun,kraft,metal,Teint_Dans_La_Masse,plastique,autre_refus,mal_croppe,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 1 /20814195. 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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01453399658203125 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4742863178253174 time spend to save output : 0.014811277389526367 total time spend for step 7 : 1.4890975952148438 step8:final Tue Feb 25 19:15:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1339534675: ('0.09074079382873282',), 1339534674: ('0.09074079382873282',), 1339534661: ('0.09074079382873282',), 1339534656: ('0.09074079382873282',), 1339534651: ('0.09074079382873282',), 1339534645: ('0.09074079382873282',), 1339534643: ('0.09074079382873282',)} new output for save of step final : {1339534675: ('0.09074079382873282',), 1339534674: ('0.09074079382873282',), 1339534661: ('0.09074079382873282',), 1339534656: ('0.09074079382873282',), 1339534651: ('0.09074079382873282',), 1339534645: ('0.09074079382873282',), 1339534643: ('0.09074079382873282',)} [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 7 /1339534675.Didn't retrieve data . /1339534674.Didn't retrieve data . /1339534661.Didn't retrieve data . /1339534656.Didn't retrieve data . /1339534651.Didn't retrieve data . /1339534645.Didn't retrieve data . /1339534643.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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.011960268020629883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10986614227294922 time spend to save output : 0.012288093566894531 total time spend for step 8 : 0.12215423583984375 step9:velours_tree Tue Feb 25 19:15:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.04201030731201172 time spend to save output : 6.461143493652344e-05 total time spend for step 9 : 0.04207491874694824 step10:send_mail_cod Tue Feb 25 19:15:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P20814195_25-02-2025_19_15_37.pdf 20814498 imagette208144981740507337 20814501 change filename to text .change filename to text .change filename to text .imagette208145011740507337 20814502 imagette208145021740507337 20814504 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145041740507337 20814505 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145051740507338 20814506 imagette208145061740507339 20814507 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145071740507339 20814499 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208144991740507339 20814500 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145001740507340 20814503 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208145031740507344 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20814195 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20814496,20814497,20814498,20814499,20814500,20814501,20814502,20814503,20814504,20814505,20814506,20814507?tags=papier,environnement,flou,Carton_gris,Carton_brun,kraft,metal,Teint_Dans_La_Masse,plastique,autre_refus,mal_croppe,cartonnette your option no_mail is active, we will not send the real mail to your client args[1339534675] : ('0.09074079382873282',) no score found for photo 1339534675 We are sending mail with results at report@fotonower.com args[1339534674] : ('0.09074079382873282',) no score found for photo 1339534674 We are sending mail with results at report@fotonower.com args[1339534661] : ('0.09074079382873282',) no score found for photo 1339534661 We are sending mail with results at report@fotonower.com args[1339534656] : ('0.09074079382873282',) no score found for photo 1339534656 We are sending mail with results at report@fotonower.com args[1339534651] : ('0.09074079382873282',) no score found for photo 1339534651 We are sending mail with results at report@fotonower.com args[1339534645] : ('0.09074079382873282',) no score found for photo 1339534645 We are sending mail with results at report@fotonower.com args[1339534643] : ('0.09074079382873282',) no score found for photo 1339534643 We are sending mail with results at report@fotonower.com refus_total : 0.09074079382873282 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=20814195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339534683,1339536497,1339535611,1339535609,1339535468,1339535398,1339535383,1339534686,1339534643,1339534675,1339534661,1339534651,1339534645,1339534679,1339535158,1339534674,1339534656) Found this number of photos: 17 begin to download photo : 1339534683 begin to download photo : 1339535468 begin to download photo : 1339534643 begin to download photo : 1339534645 begin to download photo : 1339534656 download finish for photo 1339534645 begin to download photo : 1339534679 download finish for photo 1339535468 begin to download photo : 1339535398 download finish for photo 1339534656 download finish for photo 1339534643 begin to download photo : 1339534675 download finish for photo 1339534679 begin to download photo : 1339535158 download finish for photo 1339535398 begin to download photo : 1339535383 download finish for photo 1339534675 begin to download photo : 1339534661 download finish for photo 1339534683 begin to download photo : 1339536497 download finish for photo 1339535383 begin to download photo : 1339534686 download finish for photo 1339535158 begin to download photo : 1339534674 download finish for photo 1339534661 begin to download photo : 1339534651 download finish for photo 1339536497 begin to download photo : 1339535611 download finish for photo 1339535611 begin to download photo : 1339535609 download finish for photo 1339534686 download finish for photo 1339534674 download finish for photo 1339535609 download finish for photo 1339534651 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_15_37.pdf results_Auto_P20814195_25-02-2025_19_15_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_15_37.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','20814195','results_Auto_P20814195_25-02-2025_19_15_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_15_37.pdf','pdf','','1.01','0.09074079382873282') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] 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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.013949155807495117 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.020306825637817 time spend to save output : 0.014218568801879883 total time spend for step 10 : 12.034525394439697 step11:split_time_score Tue Feb 25 19:15: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 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'}] (('12', 17),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25022025 20814195 Nombre de photos uploadées : 17 / 23040 (0%) 25022025 20814195 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 25022025 20814195 Nombre de photos taguées (volume) : 0 / 17 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008485317230224609 elapsed_time : insert_dashboard_record_day_entry 0.023000001907348633 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.04867932522865563 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793862_25-02-2025_08_21_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793862 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`=20793862 AND mptpi.`type`=4207 To do Qualite : 0.10909208319701416 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20793863_25-02-2025_08_28_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20793863 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 11512 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11521 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11520 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11516 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11516 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11519 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 11519 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11513 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11577 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11577 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11515 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11514 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11514 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11523 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 11515 doesn't seem to be define in the database( WARNING : type of input 3 of step 11514 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11512 doesn't seem to be define in the database( WARNING : type of input 2 of step 11516 doesn't seem to be define in the database( WARNING : output 1 of step 11512 have datatype=2 whereas input 1 of step 11519 have datatype=7 WARNING : type of output 2 of step 11519 doesn't seem to be define in the database( WARNING : type of input 1 of step 11513 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11515 have datatype=10 whereas input 3 of step 11522 have datatype=6 WARNING : type of input 2 of step 11577 doesn't seem to be define in the database( WARNING : output 1 of step 11513 have datatype=7 whereas input 2 of step 11577 have datatype=None WARNING : type of output 3 of step 11577 doesn't seem to be define in the database( WARNING : type of input 1 of step 11515 doesn't seem to be define in the database( WARNING : output 0 of step 11515 have datatype=10 whereas input 0 of step 11583 have datatype=18 WARNING : type of input 5 of step 11522 doesn't seem to be define in the database( WARNING : output 0 of step 11583 have datatype=11 whereas input 5 of step 11522 have datatype=None WARNING : type of output 1 of step 11521 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : type of output 1 of step 11520 doesn't seem to be define in the database( WARNING : type of input 3 of step 11516 doesn't seem to be define in the database( WARNING : output 0 of step 11519 have datatype=1 whereas input 0 of step 11513 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`=20793863 AND mptpi.`type`=4203 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814186 order by id desc limit 1 Qualite : 0.04678010487409261 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796748_25-02-2025_11_57_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796748 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11488 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11496 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11497 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11495 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11495 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11489 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11575 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11575 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11491 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11490 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11490 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11498 send_mail_cod have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Step 11499 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11491 doesn't seem to be define in the database( WARNING : type of input 3 of step 11490 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11488 doesn't seem to be define in the database( WARNING : type of input 2 of step 11492 doesn't seem to be define in the database( WARNING : output 1 of step 11488 have datatype=2 whereas input 1 of step 11495 have datatype=7 WARNING : type of output 2 of step 11495 doesn't seem to be define in the database( WARNING : type of input 1 of step 11489 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11491 have datatype=10 whereas input 3 of step 11498 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11575 doesn't seem to be define in the database( WARNING : output 1 of step 11489 have datatype=7 whereas input 2 of step 11575 have datatype=None WARNING : type of output 3 of step 11575 doesn't seem to be define in the database( WARNING : type of input 1 of step 11491 doesn't seem to be define in the database( WARNING : output 0 of step 11491 have datatype=10 whereas input 0 of step 11581 have datatype=18 WARNING : type of input 5 of step 11498 doesn't seem to be define in the database( WARNING : output 0 of step 11581 have datatype=11 whereas input 5 of step 11498 have datatype=None WARNING : type of output 1 of step 11496 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : type of output 1 of step 11497 doesn't seem to be define in the database( WARNING : type of input 3 of step 11492 doesn't seem to be define in the database( WARNING : output 0 of step 11495 have datatype=1 whereas input 0 of step 11489 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20796748 AND mptpi.`type`=4209 To do Qualite : 0.10322400102661251 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796749_25-02-2025_09_15_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796749 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`=20796749 AND mptpi.`type`=3726 To do Qualite : 0.18228824929969129 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20796750_25-02-2025_09_49_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20796750 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`=20796750 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814187 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814188 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814189 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814190 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814191 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814192 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814193 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814194 order by id desc limit 1 Qualite : 0.10889541616965961 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814195_25-02-2025_19_15_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814195 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`=20814195 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814197 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814198 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814199 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814200 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814201 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814202 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814203 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814204 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814206 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814207 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814208 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814210 order by id desc limit 1 Qualite : 0.05405610577177269 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20814211_25-02-2025_19_10_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814211 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`=20814211 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814212 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814213 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814215 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20814216 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 17, '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 [1339534675, 1339534674, 1339534661, 1339534656, 1339534651, 1339534645, 1339534643] Looping around the photos to save general results len do output : 1 /20814195Didn'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, '2613629') ('3459', None, '1339534675', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534674', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534661', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534656', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534651', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534645', None, None, None, None, None, '2613629') ('3459', None, None, None, None, None, None, None, '2613629') ('3459', None, '1339534643', None, None, None, None, None, '2613629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.014578580856323242 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.84174394607544 time spend to save output : 0.014971017837524414 total time spend for step 11 : 20.856714963912964 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 7 set_done_treatment 95.04user 84.36system 3:45.48elapsed 79%CPU (0avgtext+0avgdata 3698652maxresident)k 2531584inputs+110296outputs (8571major+8495390minor)pagefaults 0swaps