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 : 3858480 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 : 30>10 please execute split_portfolio.py -i 20881914 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2619734'] with mtr_portfolio_ids : ['20881914'] and first list_photo_ids : [] new path : /proc/3858480/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.0420353412628174 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 Thu Feb 27 14:44:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-27 14:44:36.041356: 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-27 14:44:36.067286: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-27 14:44:36.069420: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f14e0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-27 14:44:36.069481: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-27 14:44:36.073525: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-27 14:44:36.323405: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2b50a9c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-27 14:44:36.323472: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-27 14:44:36.325021: 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-27 14:44:36.325440: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:44:36.328835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:44:36.333594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:44:36.333908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:44:36.342210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:44:36.344249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:44:36.366007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:44:36.368052: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:44:36.368175: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:44:36.369182: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 14:44:36.369205: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 14:44:36.369217: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 14:44:36.371051: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-27 14:44:36.685589: 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-27 14:44:36.685686: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:44:36.685707: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:44:36.685725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:44:36.685742: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:44:36.685760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:44:36.685777: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:44:36.685794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:44:36.687358: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:44:36.689294: 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-27 14:44:36.689382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-27 14:44:36.689416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:44:36.689447: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-27 14:44:36.689476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-27 14:44:36.689501: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-27 14:44:36.689526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-27 14:44:36.689553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-27 14:44:36.691684: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-27 14:44:36.691753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-27 14:44:36.691770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-27 14:44:36.691784: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-27 14:44:36.693723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9607 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-27 14:44:48.435874: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-27 14:44:48.683925: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 3 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 : 28 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 : 3 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 : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 3858866 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5083 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10372 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.004548072814941406 nb_pixel_total : 181223 time to create 1 rle with new method : 0.009754419326782227 length of segment : 479 time for calcul the mask position with numpy : 0.00042700767517089844 nb_pixel_total : 14213 time to create 1 rle with old method : 0.016949176788330078 length of segment : 101 time for calcul the mask position with numpy : 0.00026416778564453125 nb_pixel_total : 8419 time to create 1 rle with old method : 0.009880304336547852 length of segment : 185 time for calcul the mask position with numpy : 0.00039505958557128906 nb_pixel_total : 13955 time to create 1 rle with old method : 0.016612529754638672 length of segment : 274 time for calcul the mask position with numpy : 0.0016999244689941406 nb_pixel_total : 109754 time to create 1 rle with old method : 0.14417266845703125 length of segment : 276 time for calcul the mask position with numpy : 0.00031828880310058594 nb_pixel_total : 5717 time to create 1 rle with old method : 0.008400678634643555 length of segment : 189 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 4494 time to create 1 rle with old method : 0.006689310073852539 length of segment : 115 time for calcul the mask position with numpy : 0.0002110004425048828 nb_pixel_total : 4833 time to create 1 rle with old method : 0.007975578308105469 length of segment : 54 time for calcul the mask position with numpy : 0.0009777545928955078 nb_pixel_total : 34966 time to create 1 rle with old method : 0.0496668815612793 length of segment : 243 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 7487 time to create 1 rle with old method : 0.010769844055175781 length of segment : 134 time for calcul the mask position with numpy : 0.002433300018310547 nb_pixel_total : 136362 time to create 1 rle with old method : 0.15478825569152832 length of segment : 394 time for calcul the mask position with numpy : 0.0005176067352294922 nb_pixel_total : 16467 time to create 1 rle with old method : 0.020140409469604492 length of segment : 176 time for calcul the mask position with numpy : 0.006499528884887695 nb_pixel_total : 415317 time to create 1 rle with new method : 0.017129898071289062 length of segment : 813 time for calcul the mask position with numpy : 0.007309913635253906 nb_pixel_total : 86354 time to create 1 rle with old method : 0.10024213790893555 length of segment : 287 time for calcul the mask position with numpy : 0.0011284351348876953 nb_pixel_total : 39797 time to create 1 rle with old method : 0.05236005783081055 length of segment : 312 time for calcul the mask position with numpy : 0.0019490718841552734 nb_pixel_total : 80300 time to create 1 rle with old method : 0.09786534309387207 length of segment : 321 time for calcul the mask position with numpy : 0.0025801658630371094 nb_pixel_total : 66453 time to create 1 rle with old method : 0.08369588851928711 length of segment : 409 time for calcul the mask position with numpy : 0.0006072521209716797 nb_pixel_total : 36923 time to create 1 rle with old method : 0.044443607330322266 length of segment : 229 time for calcul the mask position with numpy : 0.0010333061218261719 nb_pixel_total : 53758 time to create 1 rle with old method : 0.06497430801391602 length of segment : 293 time for calcul the mask position with numpy : 0.0008912086486816406 nb_pixel_total : 39002 time to create 1 rle with old method : 0.05317425727844238 length of segment : 321 time for calcul the mask position with numpy : 0.002298116683959961 nb_pixel_total : 126075 time to create 1 rle with old method : 0.15161681175231934 length of segment : 800 time for calcul the mask position with numpy : 0.0008931159973144531 nb_pixel_total : 41541 time to create 1 rle with old method : 0.055916786193847656 length of segment : 194 time for calcul the mask position with numpy : 0.0018818378448486328 nb_pixel_total : 72484 time to create 1 rle with old method : 0.12619781494140625 length of segment : 446 time for calcul the mask position with numpy : 0.0007407665252685547 nb_pixel_total : 24437 time to create 1 rle with old method : 0.0437009334564209 length of segment : 181 time for calcul the mask position with numpy : 0.001955270767211914 nb_pixel_total : 104291 time to create 1 rle with old method : 0.15563607215881348 length of segment : 558 time for calcul the mask position with numpy : 0.0007102489471435547 nb_pixel_total : 40385 time to create 1 rle with old method : 0.048609256744384766 length of segment : 311 time for calcul the mask position with numpy : 0.0003783702850341797 nb_pixel_total : 21678 time to create 1 rle with old method : 0.026512861251831055 length of segment : 182 time for calcul the mask position with numpy : 0.0007076263427734375 nb_pixel_total : 37226 time to create 1 rle with old method : 0.06771564483642578 length of segment : 231 time for calcul the mask position with numpy : 0.0004901885986328125 nb_pixel_total : 17081 time to create 1 rle with old method : 0.02074122428894043 length of segment : 97 time for calcul the mask position with numpy : 0.0015995502471923828 nb_pixel_total : 78919 time to create 1 rle with old method : 0.09155750274658203 length of segment : 510 time for calcul the mask position with numpy : 0.000213623046875 nb_pixel_total : 6399 time to create 1 rle with old method : 0.010730504989624023 length of segment : 135 time for calcul the mask position with numpy : 0.0008370876312255859 nb_pixel_total : 14536 time to create 1 rle with old method : 0.019675493240356445 length of segment : 151 time for calcul the mask position with numpy : 0.0015785694122314453 nb_pixel_total : 33834 time to create 1 rle with old method : 0.03953862190246582 length of segment : 265 time for calcul the mask position with numpy : 0.0017709732055664062 nb_pixel_total : 64664 time to create 1 rle with old method : 0.07703781127929688 length of segment : 202 time for calcul the mask position with numpy : 0.0001556873321533203 nb_pixel_total : 1880 time to create 1 rle with old method : 0.0023796558380126953 length of segment : 45 time for calcul the mask position with numpy : 0.008045196533203125 nb_pixel_total : 210052 time to create 1 rle with new method : 0.01619434356689453 length of segment : 1497 time for calcul the mask position with numpy : 0.0011081695556640625 nb_pixel_total : 39303 time to create 1 rle with old method : 0.04899263381958008 length of segment : 197 time for calcul the mask position with numpy : 0.007025003433227539 nb_pixel_total : 179250 time to create 1 rle with new method : 0.013035297393798828 length of segment : 515 time for calcul the mask position with numpy : 0.026904821395874023 nb_pixel_total : 686647 time to create 1 rle with new method : 0.10442066192626953 length of segment : 1612 time for calcul the mask position with numpy : 0.004870414733886719 nb_pixel_total : 176579 time to create 1 rle with new method : 0.007901906967163086 length of segment : 477 time for calcul the mask position with numpy : 0.002070903778076172 nb_pixel_total : 88496 time to create 1 rle with old method : 0.10151004791259766 length of segment : 296 time for calcul the mask position with numpy : 0.0004124641418457031 nb_pixel_total : 5126 time to create 1 rle with old method : 0.006536006927490234 length of segment : 93 time for calcul the mask position with numpy : 0.0009884834289550781 nb_pixel_total : 81738 time to create 1 rle with old method : 0.0953516960144043 length of segment : 309 time for calcul the mask position with numpy : 0.004678010940551758 nb_pixel_total : 114004 time to create 1 rle with old method : 0.15526413917541504 length of segment : 653 time for calcul the mask position with numpy : 0.00041866302490234375 nb_pixel_total : 3365 time to create 1 rle with old method : 0.0044803619384765625 length of segment : 93 time for calcul the mask position with numpy : 0.004914045333862305 nb_pixel_total : 143494 time to create 1 rle with old method : 0.16530466079711914 length of segment : 741 time for calcul the mask position with numpy : 0.0015676021575927734 nb_pixel_total : 44257 time to create 1 rle with old method : 0.05358624458312988 length of segment : 297 time for calcul the mask position with numpy : 0.0020668506622314453 nb_pixel_total : 66755 time to create 1 rle with old method : 0.07843637466430664 length of segment : 201 time for calcul the mask position with numpy : 0.0012319087982177734 nb_pixel_total : 45521 time to create 1 rle with old method : 0.055138587951660156 length of segment : 312 time for calcul the mask position with numpy : 0.0009312629699707031 nb_pixel_total : 49859 time to create 1 rle with old method : 0.05908560752868652 length of segment : 299 time for calcul the mask position with numpy : 0.4637002944946289 nb_pixel_total : 4043395 time to create 1 rle with new method : 0.6972894668579102 length of segment : 2994 time for calcul the mask position with numpy : 0.0001747608184814453 nb_pixel_total : 2226 time to create 1 rle with old method : 0.0028595924377441406 length of segment : 62 time for calcul the mask position with numpy : 0.009715080261230469 nb_pixel_total : 293770 time to create 1 rle with new method : 0.05344557762145996 length of segment : 1242 time for calcul the mask position with numpy : 0.0013723373413085938 nb_pixel_total : 27885 time to create 1 rle with old method : 0.03372311592102051 length of segment : 229 time for calcul the mask position with numpy : 0.0002238750457763672 nb_pixel_total : 1678 time to create 1 rle with old method : 0.0022373199462890625 length of segment : 61 time for calcul the mask position with numpy : 0.0050754547119140625 nb_pixel_total : 173524 time to create 1 rle with new method : 0.006662130355834961 length of segment : 454 time for calcul the mask position with numpy : 0.004152536392211914 nb_pixel_total : 86771 time to create 1 rle with old method : 0.1243143081665039 length of segment : 318 time for calcul the mask position with numpy : 0.004456758499145508 nb_pixel_total : 71772 time to create 1 rle with old method : 0.08707904815673828 length of segment : 352 time for calcul the mask position with numpy : 0.0006132125854492188 nb_pixel_total : 24965 time to create 1 rle with old method : 0.031308889389038086 length of segment : 195 time for calcul the mask position with numpy : 0.0011997222900390625 nb_pixel_total : 29091 time to create 1 rle with old method : 0.047051429748535156 length of segment : 235 time for calcul the mask position with numpy : 0.005842924118041992 nb_pixel_total : 180020 time to create 1 rle with new method : 0.010662317276000977 length of segment : 522 time for calcul the mask position with numpy : 0.0007982254028320312 nb_pixel_total : 15760 time to create 1 rle with old method : 0.019772052764892578 length of segment : 153 time for calcul the mask position with numpy : 0.004754781723022461 nb_pixel_total : 97448 time to create 1 rle with old method : 0.12673187255859375 length of segment : 366 time for calcul the mask position with numpy : 0.0002586841583251953 nb_pixel_total : 2701 time to create 1 rle with old method : 0.004896879196166992 length of segment : 98 time for calcul the mask position with numpy : 0.0007977485656738281 nb_pixel_total : 12162 time to create 1 rle with old method : 0.014303445816040039 length of segment : 205 time for calcul the mask position with numpy : 0.0027458667755126953 nb_pixel_total : 64323 time to create 1 rle with old method : 0.08132386207580566 length of segment : 294 time for calcul the mask position with numpy : 0.0008211135864257812 nb_pixel_total : 24606 time to create 1 rle with old method : 0.028786659240722656 length of segment : 208 time for calcul the mask position with numpy : 0.0017266273498535156 nb_pixel_total : 50963 time to create 1 rle with old method : 0.05847644805908203 length of segment : 380 time for calcul the mask position with numpy : 0.0007205009460449219 nb_pixel_total : 42740 time to create 1 rle with old method : 0.04911994934082031 length of segment : 351 time for calcul the mask position with numpy : 0.0004811286926269531 nb_pixel_total : 14966 time to create 1 rle with old method : 0.018377065658569336 length of segment : 184 time for calcul the mask position with numpy : 0.0011510848999023438 nb_pixel_total : 41190 time to create 1 rle with old method : 0.04831051826477051 length of segment : 412 time for calcul the mask position with numpy : 0.0013275146484375 nb_pixel_total : 20599 time to create 1 rle with old method : 0.024585485458374023 length of segment : 244 time for calcul the mask position with numpy : 0.0028994083404541016 nb_pixel_total : 96231 time to create 1 rle with old method : 0.11168742179870605 length of segment : 484 time for calcul the mask position with numpy : 0.0023300647735595703 nb_pixel_total : 105707 time to create 1 rle with old method : 0.12182903289794922 length of segment : 530 time for calcul the mask position with numpy : 0.001233816146850586 nb_pixel_total : 67331 time to create 1 rle with old method : 0.08014726638793945 length of segment : 546 time for calcul the mask position with numpy : 0.001314401626586914 nb_pixel_total : 33208 time to create 1 rle with old method : 0.039093732833862305 length of segment : 199 time for calcul the mask position with numpy : 0.10191512107849121 nb_pixel_total : 2933908 time to create 1 rle with new method : 2.236093282699585 length of segment : 3688 time for calcul the mask position with numpy : 0.0005145072937011719 nb_pixel_total : 16056 time to create 1 rle with old method : 0.019215822219848633 length of segment : 150 time for calcul the mask position with numpy : 0.4191610813140869 nb_pixel_total : 1781399 time to create 1 rle with new method : 0.38400745391845703 length of segment : 2845 time for calcul the mask position with numpy : 0.0005195140838623047 nb_pixel_total : 10836 time to create 1 rle with old method : 0.013809442520141602 length of segment : 140 time for calcul the mask position with numpy : 0.0007061958312988281 nb_pixel_total : 15056 time to create 1 rle with old method : 0.020026206970214844 length of segment : 184 time for calcul the mask position with numpy : 0.8514020442962646 nb_pixel_total : 3341610 time to create 1 rle with new method : 0.9077112674713135 length of segment : 3326 time for calcul the mask position with numpy : 0.0004336833953857422 nb_pixel_total : 10082 time to create 1 rle with old method : 0.012814760208129883 length of segment : 73 time for calcul the mask position with numpy : 0.0016951560974121094 nb_pixel_total : 67234 time to create 1 rle with old method : 0.08462166786193848 length of segment : 267 time for calcul the mask position with numpy : 0.0031337738037109375 nb_pixel_total : 128023 time to create 1 rle with old method : 0.14636516571044922 length of segment : 284 time for calcul the mask position with numpy : 0.0005497932434082031 nb_pixel_total : 11874 time to create 1 rle with old method : 0.014541864395141602 length of segment : 165 time for calcul the mask position with numpy : 0.0018198490142822266 nb_pixel_total : 89005 time to create 1 rle with old method : 0.11468124389648438 length of segment : 321 time for calcul the mask position with numpy : 0.0008573532104492188 nb_pixel_total : 65463 time to create 1 rle with old method : 0.07498526573181152 length of segment : 275 time for calcul the mask position with numpy : 0.00021576881408691406 nb_pixel_total : 5082 time to create 1 rle with old method : 0.00646209716796875 length of segment : 75 time for calcul the mask position with numpy : 0.0003314018249511719 nb_pixel_total : 9631 time to create 1 rle with old method : 0.012731075286865234 length of segment : 83 time for calcul the mask position with numpy : 0.003287076950073242 nb_pixel_total : 103884 time to create 1 rle with old method : 0.1454777717590332 length of segment : 292 time for calcul the mask position with numpy : 0.0023152828216552734 nb_pixel_total : 80999 time to create 1 rle with old method : 0.1083524227142334 length of segment : 285 time for calcul the mask position with numpy : 0.0014998912811279297 nb_pixel_total : 50405 time to create 1 rle with old method : 0.059864044189453125 length of segment : 310 time for calcul the mask position with numpy : 0.0018837451934814453 nb_pixel_total : 72345 time to create 1 rle with old method : 0.08736324310302734 length of segment : 273 time for calcul the mask position with numpy : 0.0009577274322509766 nb_pixel_total : 28941 time to create 1 rle with old method : 0.04565262794494629 length of segment : 184 time for calcul the mask position with numpy : 0.0004360675811767578 nb_pixel_total : 8052 time to create 1 rle with old method : 0.010013103485107422 length of segment : 127 time for calcul the mask position with numpy : 0.0059854984283447266 nb_pixel_total : 205595 time to create 1 rle with new method : 0.010864496231079102 length of segment : 400 time for calcul the mask position with numpy : 0.0036323070526123047 nb_pixel_total : 141215 time to create 1 rle with old method : 0.16488409042358398 length of segment : 658 time for calcul the mask position with numpy : 0.0013060569763183594 nb_pixel_total : 38136 time to create 1 rle with old method : 0.0459897518157959 length of segment : 220 time for calcul the mask position with numpy : 0.003690004348754883 nb_pixel_total : 170472 time to create 1 rle with new method : 0.005213022232055664 length of segment : 666 time for calcul the mask position with numpy : 0.0023229122161865234 nb_pixel_total : 175034 time to create 1 rle with new method : 0.00468134880065918 length of segment : 670 time for calcul the mask position with numpy : 0.0027964115142822266 nb_pixel_total : 108646 time to create 1 rle with old method : 0.12328934669494629 length of segment : 602 time for calcul the mask position with numpy : 0.0015249252319335938 nb_pixel_total : 54456 time to create 1 rle with old method : 0.06412720680236816 length of segment : 377 time for calcul the mask position with numpy : 0.0008738040924072266 nb_pixel_total : 15440 time to create 1 rle with old method : 0.019519805908203125 length of segment : 191 time for calcul the mask position with numpy : 0.0009472370147705078 nb_pixel_total : 65832 time to create 1 rle with old method : 0.0775747299194336 length of segment : 281 time for calcul the mask position with numpy : 0.0031616687774658203 nb_pixel_total : 109783 time to create 1 rle with old method : 0.13746190071105957 length of segment : 849 time for calcul the mask position with numpy : 0.11636066436767578 nb_pixel_total : 1915947 time to create 1 rle with new method : 0.3233795166015625 length of segment : 2466 time for calcul the mask position with numpy : 0.0005087852478027344 nb_pixel_total : 23915 time to create 1 rle with old method : 0.028321504592895508 length of segment : 247 time for calcul the mask position with numpy : 0.012946367263793945 nb_pixel_total : 669137 time to create 1 rle with new method : 0.038654327392578125 length of segment : 1112 time for calcul the mask position with numpy : 0.00015497207641601562 nb_pixel_total : 861 time to create 1 rle with old method : 0.0012924671173095703 length of segment : 26 time for calcul the mask position with numpy : 0.0041387081146240234 nb_pixel_total : 254049 time to create 1 rle with new method : 0.008798837661743164 length of segment : 415 time for calcul the mask position with numpy : 0.00030922889709472656 nb_pixel_total : 7120 time to create 1 rle with old method : 0.008758544921875 length of segment : 104 time for calcul the mask position with numpy : 0.0002760887145996094 nb_pixel_total : 7460 time to create 1 rle with old method : 0.01031184196472168 length of segment : 126 time for calcul the mask position with numpy : 0.001837015151977539 nb_pixel_total : 47031 time to create 1 rle with old method : 0.06378865242004395 length of segment : 298 time for calcul the mask position with numpy : 0.03424644470214844 nb_pixel_total : 1279078 time to create 1 rle with new method : 2.1358394622802734 length of segment : 2624 time for calcul the mask position with numpy : 0.0013093948364257812 nb_pixel_total : 64585 time to create 1 rle with old method : 0.07764291763305664 length of segment : 267 time for calcul the mask position with numpy : 0.0007977485656738281 nb_pixel_total : 59383 time to create 1 rle with old method : 0.07236242294311523 length of segment : 297 time for calcul the mask position with numpy : 0.0010006427764892578 nb_pixel_total : 37888 time to create 1 rle with old method : 0.04526257514953613 length of segment : 217 time for calcul the mask position with numpy : 0.004449605941772461 nb_pixel_total : 260038 time to create 1 rle with new method : 0.011361122131347656 length of segment : 924 time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 2764 time to create 1 rle with old method : 0.0034193992614746094 length of segment : 97 time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 2644 time to create 1 rle with old method : 0.003389596939086914 length of segment : 62 time for calcul the mask position with numpy : 0.0007503032684326172 nb_pixel_total : 19986 time to create 1 rle with old method : 0.02556896209716797 length of segment : 247 time for calcul the mask position with numpy : 0.00045228004455566406 nb_pixel_total : 25230 time to create 1 rle with old method : 0.03323078155517578 length of segment : 253 time spent for convertir_results : 28.292415142059326 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 133 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 56866 save missing photos in datou_result : time spend for datou_step_exec : 85.65094900131226 time spend to save output : 3.4861769676208496 total time spend for step 1 : 89.1371259689331 step2:crop_condition Thu Feb 27 14:46:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3663 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 133 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : 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 ! 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 : 40 About to insert : list_path_to_insert length 40 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 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 ! 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 : 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 [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 76 /-3687347803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347816Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687390920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687390919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347818Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687390918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687390916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3688705355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687390925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3687347863Didn'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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 238 time used for this insertion : 0.033641815185546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.14722394943237 time spend to save output : 0.03685331344604492 total time spend for step 2 : 38.18407726287842 step3:thcl Thu Feb 27 14:46:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.012224435806274414 time to convert the images to numpy array : 0.0750279426574707 time to import caffe and check if the image exist : 0.017328977584838867 time to convert the images to numpy array : 0.4910106658935547 time to import caffe and check if the image exist : 0.012097358703613281 time to convert the images to numpy array : 0.5088062286376953 time to import caffe and check if the image exist : 0.009553909301757812 time to convert the images to numpy array : 0.5189623832702637 time to import caffe and check if the image exist : 0.013439178466796875 time to convert the images to numpy array : 0.5148770809173584 time to import caffe and check if the image exist : 0.015130996704101562 time to convert the images to numpy array : 0.5180747509002686 time to import caffe and check if the image exist : 0.005830287933349609 time to convert the images to numpy array : 0.5293488502502441 time to import caffe and check if the image exist : 0.015439033508300781 time to convert the images to numpy array : 0.5191187858581543 time to import caffe and check if the image exist : 0.01926279067993164 time to convert the images to numpy array : 0.5456016063690186 time to import caffe and check if the image exist : 0.010896921157836914 time to convert the images to numpy array : 0.5635604858398438 total time to convert the images to numpy array : 1.1244046688079834 list photo_ids error: [] list photo_ids correct : [-3687347896, -3687390925, -3687347876, -3687347863, -3687347855, -3687390920, -3687390919, -3687347821, -3687347823, -3687347875, -3687347873, -3687347877, -3687347827, -3687347818, -3687347817, -3688705349, -3687347824, -3687347850, -3687347847, -3687347851, -3687347889, -3687347900, -3687347906, -3687347902, -3687347830, -3687347822, -3687347829, -3687347845, -3687390918, -3687390916, -3688705355, -3687347804, -3687347861, -3687347914, -3687347814, -3687347813, -3687347864, -3687347899, -3687347905, -3687347807, -3687347811, -3687347825, -3687347820, -3687347828, -3687347803, -3687347816, -3687347815, -3687347834, -3687347831, -3687347835, -3687347838, -3687347860, -3687347895, -3687347894, -3687347893, -3687347904, -3687347903, -3687347910, -3688705354, -3688705356, -3687347839, -3687347849, -3687347842, -3687347854, -3687347859, -3687347869, -3687347862, -3687347872, -3687347867, -3687347857, -3687347868, -3687347888, -3688705351, -3688705352, -3687347898, -3687347892] number of photos to traite : 76 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 2168 wait 20 seconds l 3637 free memory gpu now : 2168 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 havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1708 wait 20 seconds l 3637 free memory gpu now : 1708 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8679122924804688 time used to do the prediction : 0.29874205589294434 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 : 10372 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 : 10372 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.8872401714324951 time used to do the prediction : 0.14805006980895996 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.6464462280273438e-05 save missing photos in datou_result : time spend for datou_step_exec : 50.68637466430664 time spend to save output : 0.0005769729614257812 total time spend for step 3 : 50.686951637268066 step4:merge_mask_thcl_custom Thu Feb 27 14:47:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 133 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 [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 10 /1339696322Didn't retrieve data .Didn't retrieve data . /1339696321Didn't retrieve data .Didn't retrieve data . /1339696320Didn't retrieve data .Didn't retrieve data . /1339696317Didn't retrieve data .Didn't retrieve data . /1339695682Didn't retrieve data .Didn't retrieve data . /1339695681Didn't retrieve data .Didn't retrieve data . /1339695628Didn't retrieve data .Didn't retrieve data . /1339695627Didn't retrieve data .Didn't retrieve data . /1339695626Didn't retrieve data .Didn't retrieve data . /1339695618Didn'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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.8115930557250977 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.062463998794555664 time spend to save output : 0.812150239944458 total time spend for step 4 : 0.8746142387390137 step5:rle_unique_nms_with_priority Thu Feb 27 14:47:31 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 : 12 nb_hashtags : 4 time to prepare the origin masks : 6.581893682479858 time for calcul the mask position with numpy : 0.7047364711761475 nb_pixel_total : 6513442 time to create 1 rle with new method : 0.9920973777770996 time for calcul the mask position with numpy : 0.029320716857910156 nb_pixel_total : 109458 time to create 1 rle with old method : 0.16709494590759277 time for calcul the mask position with numpy : 0.026308774948120117 nb_pixel_total : 16450 time to create 1 rle with old method : 0.01988840103149414 time for calcul the mask position with numpy : 0.023438453674316406 nb_pixel_total : 14100 time to create 1 rle with old method : 0.016495943069458008 time for calcul the mask position with numpy : 0.02226114273071289 nb_pixel_total : 7441 time to create 1 rle with old method : 0.009136676788330078 time for calcul the mask position with numpy : 0.023457765579223633 nb_pixel_total : 181003 time to create 1 rle with new method : 0.7825620174407959 time for calcul the mask position with numpy : 0.031687259674072266 nb_pixel_total : 4777 time to create 1 rle with old method : 0.005575895309448242 time for calcul the mask position with numpy : 0.034334421157836914 nb_pixel_total : 4493 time to create 1 rle with old method : 0.005165815353393555 time for calcul the mask position with numpy : 0.03469085693359375 nb_pixel_total : 5686 time to create 1 rle with old method : 0.006623268127441406 time for calcul the mask position with numpy : 0.034699440002441406 nb_pixel_total : 13932 time to create 1 rle with old method : 0.016362905502319336 time for calcul the mask position with numpy : 0.03495216369628906 nb_pixel_total : 8403 time to create 1 rle with old method : 0.00964212417602539 time for calcul the mask position with numpy : 0.03965902328491211 nb_pixel_total : 34761 time to create 1 rle with old method : 0.03984260559082031 time for calcul the mask position with numpy : 0.03461432456970215 nb_pixel_total : 136294 time to create 1 rle with old method : 0.15358400344848633 create new chi : 3.355377197265625 time to delete rle : 0.014522552490234375 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7432 TO DO : save crop sub photo not yet done ! save time : 0.48435497283935547 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 11.867254734039307 time for calcul the mask position with numpy : 1.4499070644378662 nb_pixel_total : 5896038 time to create 1 rle with new method : 0.8470954895019531 time for calcul the mask position with numpy : 0.022104978561401367 nb_pixel_total : 41448 time to create 1 rle with old method : 0.05024123191833496 time for calcul the mask position with numpy : 0.022849321365356445 nb_pixel_total : 126279 time to create 1 rle with old method : 0.14708924293518066 time for calcul the mask position with numpy : 0.021980762481689453 nb_pixel_total : 53694 time to create 1 rle with old method : 0.06136679649353027 time for calcul the mask position with numpy : 0.023619651794433594 nb_pixel_total : 49409 time to create 1 rle with old method : 0.06204652786254883 time for calcul the mask position with numpy : 0.021560192108154297 nb_pixel_total : 539 time to create 1 rle with old method : 0.0009205341339111328 time for calcul the mask position with numpy : 0.029396772384643555 nb_pixel_total : 2250 time to create 1 rle with old method : 0.002897977828979492 time for calcul the mask position with numpy : 0.038672685623168945 nb_pixel_total : 104165 time to create 1 rle with old method : 0.13227438926696777 time for calcul the mask position with numpy : 0.03632307052612305 nb_pixel_total : 25119 time to create 1 rle with old method : 0.030315160751342773 time for calcul the mask position with numpy : 0.04078936576843262 nb_pixel_total : 16988 time to create 1 rle with old method : 0.02498173713684082 time for calcul the mask position with numpy : 0.03607773780822754 nb_pixel_total : 24298 time to create 1 rle with old method : 0.029459476470947266 time for calcul the mask position with numpy : 0.03890037536621094 nb_pixel_total : 72357 time to create 1 rle with old method : 0.09691548347473145 time for calcul the mask position with numpy : 0.04174447059631348 nb_pixel_total : 38953 time to create 1 rle with old method : 0.04957723617553711 time for calcul the mask position with numpy : 0.036673545837402344 nb_pixel_total : 950 time to create 1 rle with old method : 0.0012698173522949219 time for calcul the mask position with numpy : 0.04427671432495117 nb_pixel_total : 37082 time to create 1 rle with old method : 0.044732093811035156 time for calcul the mask position with numpy : 0.03680729866027832 nb_pixel_total : 66079 time to create 1 rle with old method : 0.09762930870056152 time for calcul the mask position with numpy : 0.040795087814331055 nb_pixel_total : 414500 time to create 1 rle with new method : 1.2089817523956299 time for calcul the mask position with numpy : 0.036017417907714844 nb_pixel_total : 80092 time to create 1 rle with old method : 0.09840869903564453 create new chi : 5.068214178085327 time to delete rle : 0.0013828277587890625 batch 1 Loaded 19 chid ids of type : 3726 Number RLEs to save : 13049 TO DO : save crop sub photo not yet done ! save time : 0.7498657703399658 nb_obj : 19 nb_hashtags : 4 time to prepare the origin masks : 17.88779616355896 time for calcul the mask position with numpy : 0.46372151374816895 nb_pixel_total : 5251279 time to create 1 rle with new method : 1.028597116470337 time for calcul the mask position with numpy : 0.030171632766723633 nb_pixel_total : 6120 time to create 1 rle with old method : 0.00675201416015625 time for calcul the mask position with numpy : 0.04540872573852539 nb_pixel_total : 49676 time to create 1 rle with old method : 0.05372214317321777 time for calcul the mask position with numpy : 0.04585576057434082 nb_pixel_total : 33702 time to create 1 rle with old method : 0.03945803642272949 time for calcul the mask position with numpy : 0.030666112899780273 nb_pixel_total : 3330 time to create 1 rle with old method : 0.003679037094116211 time for calcul the mask position with numpy : 0.03913426399230957 nb_pixel_total : 5103 time to create 1 rle with old method : 0.005429506301879883 time for calcul the mask position with numpy : 0.03906536102294922 nb_pixel_total : 1075 time to create 1 rle with old method : 0.0015211105346679688 time for calcul the mask position with numpy : 0.03921675682067871 nb_pixel_total : 59516 time to create 1 rle with old method : 0.06493687629699707 time for calcul the mask position with numpy : 0.04002833366394043 nb_pixel_total : 113046 time to create 1 rle with old method : 0.14335060119628906 time for calcul the mask position with numpy : 0.044127464294433594 nb_pixel_total : 39230 time to create 1 rle with old method : 0.04452705383300781 time for calcul the mask position with numpy : 0.04060983657836914 nb_pixel_total : 176011 time to create 1 rle with new method : 1.26662015914917 time for calcul the mask position with numpy : 0.042548179626464844 nb_pixel_total : 78807 time to create 1 rle with old method : 0.09003853797912598 time for calcul the mask position with numpy : 0.05335736274719238 nb_pixel_total : 666885 time to create 1 rle with new method : 1.1623375415802002 time for calcul the mask position with numpy : 0.027130126953125 nb_pixel_total : 66407 time to create 1 rle with old method : 0.08295178413391113 time for calcul the mask position with numpy : 0.03152298927307129 nb_pixel_total : 209807 time to create 1 rle with new method : 0.8830978870391846 time for calcul the mask position with numpy : 0.03467893600463867 nb_pixel_total : 88288 time to create 1 rle with old method : 0.1142268180847168 time for calcul the mask position with numpy : 0.02856159210205078 nb_pixel_total : 1871 time to create 1 rle with old method : 0.0021092891693115234 time for calcul the mask position with numpy : 0.029368877410888672 nb_pixel_total : 14467 time to create 1 rle with old method : 0.015857934951782227 time for calcul the mask position with numpy : 0.0278167724609375 nb_pixel_total : 6363 time to create 1 rle with old method : 0.006857633590698242 time for calcul the mask position with numpy : 0.03412008285522461 nb_pixel_total : 179257 time to create 1 rle with new method : 2.72441029548645 create new chi : 9.067393779754639 time to delete rle : 0.0024220943450927734 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 17204 TO DO : save crop sub photo not yet done ! save time : 1.8764851093292236 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 4.54207706451416 time for calcul the mask position with numpy : 0.1605520248413086 nb_pixel_total : 2773517 time to create 1 rle with new method : 1.9245495796203613 time for calcul the mask position with numpy : 0.02411961555480957 nb_pixel_total : 222872 time to create 1 rle with new method : 0.555365800857544 time for calcul the mask position with numpy : 0.022961854934692383 nb_pixel_total : 2196 time to create 1 rle with old method : 0.00252532958984375 time for calcul the mask position with numpy : 0.706322431564331 nb_pixel_total : 4051655 time to create 1 rle with new method : 0.5766751766204834 create new chi : 4.065523147583008 time to delete rle : 0.0014252662658691406 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 9898 TO DO : save crop sub photo not yet done ! save time : 1.4396073818206787 nb_obj : 20 nb_hashtags : 6 time to prepare the origin masks : 14.842769384384155 time for calcul the mask position with numpy : 0.7915432453155518 nb_pixel_total : 6009867 time to create 1 rle with new method : 1.4617950916290283 time for calcul the mask position with numpy : 0.02482438087463379 nb_pixel_total : 28980 time to create 1 rle with old method : 0.0318150520324707 time for calcul the mask position with numpy : 0.024922609329223633 nb_pixel_total : 20470 time to create 1 rle with old method : 0.022974491119384766 time for calcul the mask position with numpy : 0.026020288467407227 nb_pixel_total : 9225 time to create 1 rle with old method : 0.010466575622558594 time for calcul the mask position with numpy : 0.024645090103149414 nb_pixel_total : 15710 time to create 1 rle with old method : 0.01700758934020996 time for calcul the mask position with numpy : 0.025725603103637695 nb_pixel_total : 50933 time to create 1 rle with old method : 0.05811715126037598 time for calcul the mask position with numpy : 0.02480340003967285 nb_pixel_total : 24570 time to create 1 rle with old method : 0.027534008026123047 time for calcul the mask position with numpy : 0.025482892990112305 nb_pixel_total : 33043 time to create 1 rle with old method : 0.036389827728271484 time for calcul the mask position with numpy : 0.028140783309936523 nb_pixel_total : 17214 time to create 1 rle with old method : 0.01849651336669922 time for calcul the mask position with numpy : 0.024809837341308594 nb_pixel_total : 179661 time to create 1 rle with new method : 0.2926144599914551 time for calcul the mask position with numpy : 0.022882938385009766 nb_pixel_total : 12140 time to create 1 rle with old method : 0.012774229049682617 time for calcul the mask position with numpy : 0.023145675659179688 nb_pixel_total : 2700 time to create 1 rle with old method : 0.002895355224609375 time for calcul the mask position with numpy : 0.023752212524414062 nb_pixel_total : 105619 time to create 1 rle with old method : 0.11706233024597168 time for calcul the mask position with numpy : 0.03848552703857422 nb_pixel_total : 27724 time to create 1 rle with old method : 0.029836654663085938 time for calcul the mask position with numpy : 0.03789234161376953 nb_pixel_total : 24936 time to create 1 rle with old method : 0.026646852493286133 time for calcul the mask position with numpy : 0.038107872009277344 nb_pixel_total : 86535 time to create 1 rle with old method : 0.09328794479370117 time for calcul the mask position with numpy : 0.038605690002441406 nb_pixel_total : 90691 time to create 1 rle with old method : 0.0962982177734375 time for calcul the mask position with numpy : 0.04061007499694824 nb_pixel_total : 173179 time to create 1 rle with new method : 0.4451713562011719 time for calcul the mask position with numpy : 0.04056215286254883 nb_pixel_total : 1669 time to create 1 rle with old method : 0.0019392967224121094 time for calcul the mask position with numpy : 0.03441143035888672 nb_pixel_total : 71379 time to create 1 rle with old method : 0.09093475341796875 time for calcul the mask position with numpy : 0.03790688514709473 nb_pixel_total : 63995 time to create 1 rle with old method : 0.08090686798095703 create new chi : 4.458667993545532 time to delete rle : 0.0021126270294189453 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 13365 TO DO : save crop sub photo not yet done ! save time : 0.8076076507568359 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 3.7777907848358154 time for calcul the mask position with numpy : 0.03337550163269043 nb_pixel_total : 1960549 time to create 1 rle with new method : 0.5977449417114258 time for calcul the mask position with numpy : 0.03188323974609375 nb_pixel_total : 1614915 time to create 1 rle with new method : 0.39125537872314453 time for calcul the mask position with numpy : 0.02856755256652832 nb_pixel_total : 16049 time to create 1 rle with old method : 0.019431352615356445 time for calcul the mask position with numpy : 0.3023803234100342 nb_pixel_total : 3458727 time to create 1 rle with new method : 1.0094432830810547 create new chi : 2.4906609058380127 time to delete rle : 0.0009999275207519531 batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 11531 TO DO : save crop sub photo not yet done ! save time : 0.7082474231719971 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 5.854042291641235 time for calcul the mask position with numpy : 0.5487797260284424 nb_pixel_total : 3380552 time to create 1 rle with new method : 0.5578892230987549 time for calcul the mask position with numpy : 0.022228240966796875 nb_pixel_total : 123490 time to create 1 rle with old method : 0.13462424278259277 time for calcul the mask position with numpy : 0.020079374313354492 nb_pixel_total : 325 time to create 1 rle with old method : 0.0005714893341064453 time for calcul the mask position with numpy : 0.01996922492980957 nb_pixel_total : 67118 time to create 1 rle with old method : 0.07710051536560059 time for calcul the mask position with numpy : 0.021149158477783203 nb_pixel_total : 10055 time to create 1 rle with old method : 0.011363744735717773 time for calcul the mask position with numpy : 0.020981550216674805 nb_pixel_total : 20250 time to create 1 rle with old method : 0.024616003036499023 time for calcul the mask position with numpy : 0.12969183921813965 nb_pixel_total : 3334039 time to create 1 rle with new method : 0.8381476402282715 time for calcul the mask position with numpy : 0.03460502624511719 nb_pixel_total : 14996 time to create 1 rle with old method : 0.017615079879760742 time for calcul the mask position with numpy : 0.03781700134277344 nb_pixel_total : 10764 time to create 1 rle with old method : 0.012076854705810547 time for calcul the mask position with numpy : 0.03404879570007324 nb_pixel_total : 88651 time to create 1 rle with old method : 0.1031486988067627 create new chi : 2.730023145675659 time to delete rle : 0.0013165473937988281 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 13750 TO DO : save crop sub photo not yet done ! save time : 1.2320592403411865 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 12.195761442184448 time for calcul the mask position with numpy : 0.36188697814941406 nb_pixel_total : 5955465 time to create 1 rle with new method : 2.3376410007476807 time for calcul the mask position with numpy : 0.021472454071044922 nb_pixel_total : 108663 time to create 1 rle with old method : 0.12739872932434082 time for calcul the mask position with numpy : 0.022462129592895508 nb_pixel_total : 7495 time to create 1 rle with old method : 0.0102691650390625 time for calcul the mask position with numpy : 0.023882389068603516 nb_pixel_total : 80706 time to create 1 rle with old method : 0.09747576713562012 time for calcul the mask position with numpy : 0.023160457611083984 nb_pixel_total : 2219 time to create 1 rle with old method : 0.0027306079864501953 time for calcul the mask position with numpy : 0.024252891540527344 nb_pixel_total : 205245 time to create 1 rle with new method : 0.9296290874481201 time for calcul the mask position with numpy : 0.01998281478881836 nb_pixel_total : 80 time to create 1 rle with old method : 0.00021958351135253906 time for calcul the mask position with numpy : 0.021162748336791992 nb_pixel_total : 54417 time to create 1 rle with old method : 0.060872554779052734 time for calcul the mask position with numpy : 0.02294611930847168 nb_pixel_total : 103386 time to create 1 rle with old method : 0.11784052848815918 time for calcul the mask position with numpy : 0.022327423095703125 nb_pixel_total : 50301 time to create 1 rle with old method : 0.05466294288635254 time for calcul the mask position with numpy : 0.022181987762451172 nb_pixel_total : 170220 time to create 1 rle with new method : 0.5075814723968506 time for calcul the mask position with numpy : 0.020799875259399414 nb_pixel_total : 38039 time to create 1 rle with old method : 0.04224395751953125 time for calcul the mask position with numpy : 0.02050495147705078 nb_pixel_total : 72156 time to create 1 rle with old method : 0.08416128158569336 time for calcul the mask position with numpy : 0.034685611724853516 nb_pixel_total : 15384 time to create 1 rle with old method : 0.018163442611694336 time for calcul the mask position with numpy : 0.03411674499511719 nb_pixel_total : 8030 time to create 1 rle with old method : 0.008943319320678711 time for calcul the mask position with numpy : 0.03426194190979004 nb_pixel_total : 140104 time to create 1 rle with old method : 0.15542268753051758 time for calcul the mask position with numpy : 0.034483909606933594 nb_pixel_total : 28787 time to create 1 rle with old method : 0.03180336952209473 time for calcul the mask position with numpy : 0.03478670120239258 nb_pixel_total : 9543 time to create 1 rle with old method : 0.010549068450927734 create new chi : 5.490232467651367 time to delete rle : 0.0011827945709228516 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 12389 TO DO : save crop sub photo not yet done ! save time : 0.7247946262359619 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 5.389614820480347 time for calcul the mask position with numpy : 0.39899373054504395 nb_pixel_total : 4321491 time to create 1 rle with new method : 0.6962080001831055 time for calcul the mask position with numpy : 0.020238399505615234 nb_pixel_total : 23802 time to create 1 rle with old method : 0.027065753936767578 time for calcul the mask position with numpy : 0.021489858627319336 nb_pixel_total : 195040 time to create 1 rle with new method : 0.7798001766204834 time for calcul the mask position with numpy : 0.021697998046875 nb_pixel_total : 7085 time to create 1 rle with old method : 0.008105278015136719 time for calcul the mask position with numpy : 0.020769357681274414 nb_pixel_total : 859 time to create 1 rle with old method : 0.001039266586303711 time for calcul the mask position with numpy : 0.02499103546142578 nb_pixel_total : 470159 time to create 1 rle with new method : 0.8624551296234131 time for calcul the mask position with numpy : 0.021175384521484375 nb_pixel_total : 8998 time to create 1 rle with old method : 0.012318849563598633 time for calcul the mask position with numpy : 0.03294062614440918 nb_pixel_total : 1913073 time to create 1 rle with new method : 0.8988561630249023 time for calcul the mask position with numpy : 0.02171611785888672 nb_pixel_total : 109733 time to create 1 rle with old method : 0.12614846229553223 create new chi : 4.102012872695923 time to delete rle : 0.001230001449584961 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 13739 TO DO : save crop sub photo not yet done ! save time : 1.2922039031982422 nb_obj : 10 nb_hashtags : 6 time to prepare the origin masks : 6.187772512435913 time for calcul the mask position with numpy : 0.3532085418701172 nb_pixel_total : 5285201 time to create 1 rle with new method : 0.7708520889282227 time for calcul the mask position with numpy : 0.023035049438476562 nb_pixel_total : 259370 time to create 1 rle with new method : 0.46529483795166016 time for calcul the mask position with numpy : 0.022023677825927734 nb_pixel_total : 46672 time to create 1 rle with old method : 0.048885345458984375 time for calcul the mask position with numpy : 0.021820068359375 nb_pixel_total : 37757 time to create 1 rle with old method : 0.03957009315490723 time for calcul the mask position with numpy : 0.021581411361694336 nb_pixel_total : 5350 time to create 1 rle with old method : 0.005980014801025391 time for calcul the mask position with numpy : 0.02214646339416504 nb_pixel_total : 59626 time to create 1 rle with old method : 0.06188011169433594 time for calcul the mask position with numpy : 0.022153615951538086 nb_pixel_total : 2638 time to create 1 rle with old method : 0.0027794837951660156 time for calcul the mask position with numpy : 0.02152562141418457 nb_pixel_total : 2757 time to create 1 rle with old method : 0.0030837059020996094 time for calcul the mask position with numpy : 0.022490978240966797 nb_pixel_total : 815 time to create 1 rle with old method : 0.0009348392486572266 time for calcul the mask position with numpy : 0.023084163665771484 nb_pixel_total : 19906 time to create 1 rle with old method : 0.021259546279907227 time for calcul the mask position with numpy : 0.03493213653564453 nb_pixel_total : 1330148 time to create 1 rle with new method : 0.5938730239868164 create new chi : 2.686511754989624 time to delete rle : 0.001089334487915039 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 11305 TO DO : save crop sub photo not yet done ! save time : 1.6776397228240967 map_output_result : {1339696322: (0.0, 'Should be the crop_list due to order', 0), 1339696321: (0.0, 'Should be the crop_list due to order', 0), 1339696320: (0.0, 'Should be the crop_list due to order', 0), 1339696317: (0.0, 'Should be the crop_list due to order', 0), 1339695682: (0.0, 'Should be the crop_list due to order', 0), 1339695681: (0.0, 'Should be the crop_list due to order', 0), 1339695628: (0.0, 'Should be the crop_list due to order', 0), 1339695627: (0.0, 'Should be the crop_list due to order', 0), 1339695626: (0.0, 'Should be the crop_list due to order', 0), 1339695618: (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 [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 10 /1339696322.Didn't retrieve data . /1339696321.Didn't retrieve data . /1339696320.Didn't retrieve data . /1339696317.Didn't retrieve data . /1339695682.Didn't retrieve data . /1339695681.Didn't retrieve data . /1339695628.Didn't retrieve data . /1339695627.Didn't retrieve data . /1339695626.Didn't retrieve data . /1339695618.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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01349496841430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 144.70997500419617 time spend to save output : 0.014047384262084961 total time spend for step 5 : 144.72402238845825 step6:crop_condition Thu Feb 27 14:49:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure some photos are not treated, begin crop_condition Loading chi in step crop with photo_hashtag_type : 3726 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 139 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740664198_3858480 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.1620795726776123 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1740664202_3858480 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.8780221939086914 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 : 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/1740664205_3858480 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.294553518295288 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 ! 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/1740664208_3858480 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.2658412456512451 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 ! 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/1740664211_3858480 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.3971402645111084 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/1740664213_3858480 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.9242458343505859 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 map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740664215_3858480 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6433112621307373 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 [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 26 /1339923591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1339923878Didn'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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.029798507690429688 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.220192193984985 time spend to save output : 0.03086090087890625 total time spend for step 6 : 20.25105309486389 step7:ventilate_hashtags_in_portfolio Thu Feb 27 14:50:16 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 : 20881914 get user id for portfolio 20881914 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`=20881914 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','kraft','papier','metal','mal_croppe','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 To do 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`=20881914 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','cartonnette','Teint_Dans_La_Masse','Carton_gris','autre_refus','kraft','papier','metal','mal_croppe','Carton_brun','plastique','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20882068,20882069,20882070,20882071,20882072,20882073,20882074,20882075,20882076,20882077,20882078,20882079?tags=Teint_Dans_La_Masse,cartonnette,metal,environnement,mal_croppe,Carton_gris,papier,flou,plastique,kraft,autre_refus,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 1 /20881914. 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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013074159622192383 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.45421576499938965 time spend to save output : 0.013360977172851562 total time spend for step 7 : 0.4675767421722412 step8:final Thu Feb 27 14:50:17 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 : {1339696322: ('0.06336183234562152',), 1339696321: ('0.06336183234562152',), 1339696320: ('0.06336183234562152',), 1339696317: ('0.06336183234562152',), 1339695682: ('0.06336183234562152',), 1339695681: ('0.06336183234562152',), 1339695628: ('0.06336183234562152',), 1339695627: ('0.06336183234562152',), 1339695626: ('0.06336183234562152',), 1339695618: ('0.06336183234562152',)} new output for save of step final : {1339696322: ('0.06336183234562152',), 1339696321: ('0.06336183234562152',), 1339696320: ('0.06336183234562152',), 1339696317: ('0.06336183234562152',), 1339695682: ('0.06336183234562152',), 1339695681: ('0.06336183234562152',), 1339695628: ('0.06336183234562152',), 1339695627: ('0.06336183234562152',), 1339695626: ('0.06336183234562152',), 1339695618: ('0.06336183234562152',)} [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 10 /1339696322.Didn't retrieve data . /1339696321.Didn't retrieve data . /1339696320.Didn't retrieve data . /1339696317.Didn't retrieve data . /1339695682.Didn't retrieve data . /1339695681.Didn't retrieve data . /1339695628.Didn't retrieve data . /1339695627.Didn't retrieve data . /1339695626.Didn't retrieve data . /1339695618.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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013426542282104492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10282683372497559 time spend to save output : 0.01396942138671875 total time spend for step 8 : 0.11679625511169434 step9:velours_tree Thu Feb 27 14:50:17 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.04844164848327637 time spend to save output : 4.220008850097656e-05 total time spend for step 9 : 0.048483848571777344 step10:send_mail_cod Thu Feb 27 14:50:17 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_P20881914_27-02-2025_14_50_17.pdf 20882069 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820691740664217 20882070 imagette208820701740664218 20882072 imagette208820721740664218 20882075 imagette208820751740664218 20882076 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 .imagette208820761740664218 20882077 change filename to text .change filename to text .change filename to text .change filename to text .imagette208820771740664219 20882078 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820781740664219 20882068 change filename to text .change filename to text .change filename to text .-- Missing : http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/27/c7d647937a4c3dbbc9f64933313cda78_15690959.jpg retrying : HTTP Error 503: Service Unavailable change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820681740664220 20882073 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820731740664366 20882079 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette208820791740664369 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20881914 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20882068,20882069,20882070,20882071,20882072,20882073,20882074,20882075,20882076,20882077,20882078,20882079?tags=Teint_Dans_La_Masse,cartonnette,metal,environnement,mal_croppe,Carton_gris,papier,flou,plastique,kraft,autre_refus,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1339696322] : ('0.06336183234562152',) no score found for photo 1339696322 We are sending mail with results at report@fotonower.com args[1339696321] : ('0.06336183234562152',) no score found for photo 1339696321 We are sending mail with results at report@fotonower.com args[1339696320] : ('0.06336183234562152',) no score found for photo 1339696320 We are sending mail with results at report@fotonower.com args[1339696317] : ('0.06336183234562152',) no score found for photo 1339696317 We are sending mail with results at report@fotonower.com args[1339695682] : ('0.06336183234562152',) no score found for photo 1339695682 We are sending mail with results at report@fotonower.com args[1339695681] : ('0.06336183234562152',) no score found for photo 1339695681 We are sending mail with results at report@fotonower.com args[1339695628] : ('0.06336183234562152',) no score found for photo 1339695628 We are sending mail with results at report@fotonower.com args[1339695627] : ('0.06336183234562152',) no score found for photo 1339695627 We are sending mail with results at report@fotonower.com args[1339695626] : ('0.06336183234562152',) no score found for photo 1339695626 We are sending mail with results at report@fotonower.com args[1339695618] : ('0.06336183234562152',) no score found for photo 1339695618 We are sending mail with results at report@fotonower.com refus_total : 0.06336183234562152 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=20881914 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339695626,1339814546,1339696322,1339696321,1339696320,1339814700,1339695682,1339814703,1339695627,1339816650,1339695553,1339816652,1339695550,1339695548,1339816818,1339695498,1339695496,1339695497,1339816867,1339816611) Found this number of photos: 20 begin to download photo : 1339695626 begin to download photo : 1339814700 begin to download photo : 1339695553 begin to download photo : 1339695498 download finish for photo 1339695626 begin to download photo : 1339814546 download finish for photo 1339814700 begin to download photo : 1339695682 download finish for photo 1339695553 begin to download photo : 1339816652 download finish for photo 1339695498 begin to download photo : 1339695496 download finish for photo 1339816652 begin to download photo : 1339695550 download finish for photo 1339695682 begin to download photo : 1339814703 download finish for photo 1339695496 begin to download photo : 1339695497 download finish for photo 1339814703 begin to download photo : 1339695627 download finish for photo 1339695497 begin to download photo : 1339816867 download finish for photo 1339695627 begin to download photo : 1339816650 download finish for photo 1339816867 begin to download photo : 1339816611 download finish for photo 1339816650 download finish for photo 1339816611 download finish for photo 1339814546 begin to download photo : 1339696322 download finish for photo 1339696322 begin to download photo : 1339696321 download finish for photo 1339695550 begin to download photo : 1339695548 download finish for photo 1339696321 begin to download photo : 1339696320 download finish for photo 1339695548 begin to download photo : 1339816818 download finish for photo 1339696320 download finish for photo 1339816818 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881914_27-02-2025_14_50_17.pdf results_Auto_P20881914_27-02-2025_14_50_17.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881914_27-02-2025_14_50_17.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','20881914','results_Auto_P20881914_27-02-2025_14_50_17.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881914_27-02-2025_14_50_17.pdf','pdf','','1.18','0.06336183234562152') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] 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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013733625411987305 save_final save missing photos in datou_result : time spend for datou_step_exec : 160.82870531082153 time spend to save output : 0.017866849899291992 total time spend for step 10 : 160.84657216072083 step11:split_time_score Thu Feb 27 14:52:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20881914 Nombre de photos uploadées : 30 / 23040 (0%) 26022025 20881914 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 26022025 20881914 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 6.9141387939453125e-06 elapsed_time : order_list_meta_photo_and_scores 1.6689300537109375e-05 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017931461334228516 elapsed_time : insert_dashboard_record_day_entry 0.023101806640625 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881903 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881904 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881905 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881907 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881908 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881909 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881910 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881911 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881912 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881913 order by id desc limit 1 Qualite : 0.063119307517658 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881914_27-02-2025_14_50_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881914 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`=20881914 AND mptpi.`type`=3726 To do Qualite : 0.03305920668560165 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881915 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`=20881915 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881916 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881917 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881918 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881919 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881920 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881921 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881922 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881923 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881924 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881925 order by id desc limit 1 Qualite : 0.08562360163737219 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881926_27-02-2025_14_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881926 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`=20881926 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881927 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881928 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881929 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881930 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881931 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881932 order by id desc limit 1 Qualite : 0.08025362176513684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881933_27-02-2025_14_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881933 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20881933 AND mptpi.`type`=4211 To do Qualite : 0.2121681261984472 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881934_27-02-2025_14_51_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881934 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`=20881934 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881935 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881936 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881938 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881939 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881940 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881941 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881942 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881943 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881944 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881945 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881947 order by id desc limit 1 Qualite : 0.15940719748547566 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881948_27-02-2025_14_47_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881948 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20881948 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881949 order by id desc limit 1 Qualite : 0.5400794373803116 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881950_27-02-2025_14_35_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881950 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20881950 AND mptpi.`type`=4200 To do Qualite : 0.18727468064128952 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881951 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20881951 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881952 order by id desc limit 1 Qualite : 0.05315619982736321 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881953_27-02-2025_14_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881953 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`=20881953 AND mptpi.`type`=4207 To do Qualite : 0.09784591310224797 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20881954_27-02-2025_14_35_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20881954 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`=20881954 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 30, '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 [1339696322, 1339696321, 1339696320, 1339696317, 1339695682, 1339695681, 1339695628, 1339695627, 1339695626, 1339695618] Looping around the photos to save general results len do output : 1 /20881914Didn'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, '2619734') ('3459', None, '1339696322', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696321', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696320', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339696317', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695682', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695681', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695628', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695627', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695626', None, None, None, None, None, '2619734') ('3459', None, None, None, None, None, None, None, '2619734') ('3459', None, '1339695618', None, None, None, None, None, '2619734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015592336654663086 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.45225119590759 time spend to save output : 0.015825748443603516 total time spend for step 11 : 36.468076944351196 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 135.48user 164.10system 9:17.56elapsed 53%CPU (0avgtext+0avgdata 4217612maxresident)k 911032inputs+138056outputs (18880major+11645084minor)pagefaults 0swaps