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 : 488020 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 20924412 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2623424'] with mtr_portfolio_ids : ['20924412'] and first list_photo_ids : [] new path : /proc/488020/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.640104055404663 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 Fri Feb 28 11:36: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 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 : 5525 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-28 11:36:34.271438: 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-28 11:36:34.299290: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-28 11:36:34.300944: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6038000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-28 11:36:34.301008: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-28 11:36:34.304250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-28 11:36:34.556681: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2a981330 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-28 11:36:34.556741: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-28 11:36:34.557718: 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-28 11:36:34.558077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:36:34.560508: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:36:34.562678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:36:34.563045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:36:34.567473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:36:34.568940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:36:34.575459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:36:34.576756: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:36:34.576864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:36:34.577522: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-28 11:36:34.577539: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-28 11:36:34.577549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-28 11:36:34.578620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5051 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-28 11:36:34.874301: 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-28 11:36:34.874402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:36:34.874422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:36:34.874441: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:36:34.874458: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:36:34.874476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:36:34.874496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:36:34.874517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:36:34.875512: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:36:34.876630: 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-28 11:36:34.876667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-28 11:36:34.876684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:36:34.876699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-28 11:36:34.876714: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-28 11:36:34.876729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-28 11:36:34.876744: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-28 11:36:34.876759: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-28 11:36:34.877700: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-28 11:36:34.877732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-28 11:36:34.877740: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-28 11:36:34.877747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-28 11:36:34.878754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5051 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-28 11:36:42.992509: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-28 11:36:43.187025: 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: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 145.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 137.10000 image_metas shape: (1, 18) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 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: 1920.00000 nb d'objets trouves : 12 Detection mask done ! Trying to reset tf kernel 488664 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 236 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 : 5525 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.00032448768615722656 nb_pixel_total : 14140 time to create 1 rle with old method : 0.0158233642578125 length of segment : 235 time for calcul the mask position with numpy : 0.0004506111145019531 nb_pixel_total : 24164 time to create 1 rle with old method : 0.028591394424438477 length of segment : 265 time for calcul the mask position with numpy : 0.012130022048950195 nb_pixel_total : 699126 time to create 1 rle with new method : 0.5074658393859863 length of segment : 1376 time for calcul the mask position with numpy : 0.0021657943725585938 nb_pixel_total : 85666 time to create 1 rle with old method : 0.0942997932434082 length of segment : 619 time for calcul the mask position with numpy : 0.00116729736328125 nb_pixel_total : 67448 time to create 1 rle with old method : 0.07616853713989258 length of segment : 328 time for calcul the mask position with numpy : 0.0003943443298339844 nb_pixel_total : 25772 time to create 1 rle with old method : 0.031209945678710938 length of segment : 162 time for calcul the mask position with numpy : 0.0007827281951904297 nb_pixel_total : 43076 time to create 1 rle with old method : 0.0555577278137207 length of segment : 193 time for calcul the mask position with numpy : 0.008796215057373047 nb_pixel_total : 364166 time to create 1 rle with new method : 0.0275423526763916 length of segment : 1440 time for calcul the mask position with numpy : 9.131431579589844e-05 nb_pixel_total : 2449 time to create 1 rle with old method : 0.0036056041717529297 length of segment : 49 time for calcul the mask position with numpy : 0.0004222393035888672 nb_pixel_total : 25149 time to create 1 rle with old method : 0.030780315399169922 length of segment : 177 time for calcul the mask position with numpy : 0.0002415180206298828 nb_pixel_total : 12364 time to create 1 rle with old method : 0.01501154899597168 length of segment : 169 time for calcul the mask position with numpy : 0.003415346145629883 nb_pixel_total : 202754 time to create 1 rle with new method : 0.009538412094116211 length of segment : 733 time for calcul the mask position with numpy : 0.0013811588287353516 nb_pixel_total : 69954 time to create 1 rle with old method : 0.10277748107910156 length of segment : 490 time for calcul the mask position with numpy : 0.0004911422729492188 nb_pixel_total : 23761 time to create 1 rle with old method : 0.02792811393737793 length of segment : 142 time for calcul the mask position with numpy : 5.745887756347656e-05 nb_pixel_total : 307 time to create 1 rle with old method : 0.0004432201385498047 length of segment : 28 time for calcul the mask position with numpy : 0.001397848129272461 nb_pixel_total : 67641 time to create 1 rle with old method : 0.07720303535461426 length of segment : 486 time for calcul the mask position with numpy : 8.153915405273438e-05 nb_pixel_total : 1233 time to create 1 rle with old method : 0.0015940666198730469 length of segment : 48 time for calcul the mask position with numpy : 0.0007822513580322266 nb_pixel_total : 41408 time to create 1 rle with old method : 0.04940056800842285 length of segment : 200 time for calcul the mask position with numpy : 0.010542631149291992 nb_pixel_total : 556760 time to create 1 rle with new method : 0.02363276481628418 length of segment : 1098 time for calcul the mask position with numpy : 0.0005068778991699219 nb_pixel_total : 19314 time to create 1 rle with old method : 0.02168893814086914 length of segment : 170 time for calcul the mask position with numpy : 0.0005793571472167969 nb_pixel_total : 20679 time to create 1 rle with old method : 0.023993492126464844 length of segment : 182 time for calcul the mask position with numpy : 0.00037932395935058594 nb_pixel_total : 12310 time to create 1 rle with old method : 0.01467442512512207 length of segment : 162 time for calcul the mask position with numpy : 0.00018215179443359375 nb_pixel_total : 4222 time to create 1 rle with old method : 0.0054666996002197266 length of segment : 125 time for calcul the mask position with numpy : 0.00026702880859375 nb_pixel_total : 7207 time to create 1 rle with old method : 0.008052825927734375 length of segment : 181 time for calcul the mask position with numpy : 0.011389493942260742 nb_pixel_total : 566816 time to create 1 rle with new method : 0.020171642303466797 length of segment : 1095 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 1734 time to create 1 rle with old method : 0.0022721290588378906 length of segment : 38 time for calcul the mask position with numpy : 0.0006272792816162109 nb_pixel_total : 30335 time to create 1 rle with old method : 0.03587675094604492 length of segment : 188 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 6036 time to create 1 rle with old method : 0.007686138153076172 length of segment : 207 time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 5521 time to create 1 rle with old method : 0.006994962692260742 length of segment : 154 time for calcul the mask position with numpy : 9.059906005859375e-05 nb_pixel_total : 1505 time to create 1 rle with old method : 0.0020017623901367188 length of segment : 47 time for calcul the mask position with numpy : 0.0002422332763671875 nb_pixel_total : 5919 time to create 1 rle with old method : 0.007569551467895508 length of segment : 99 time for calcul the mask position with numpy : 0.013120889663696289 nb_pixel_total : 755154 time to create 1 rle with new method : 0.02171802520751953 length of segment : 958 time for calcul the mask position with numpy : 0.0013384819030761719 nb_pixel_total : 102106 time to create 1 rle with old method : 0.11686515808105469 length of segment : 271 time for calcul the mask position with numpy : 0.0015358924865722656 nb_pixel_total : 107850 time to create 1 rle with old method : 0.12522029876708984 length of segment : 269 time for calcul the mask position with numpy : 0.00011134147644042969 nb_pixel_total : 3192 time to create 1 rle with old method : 0.003957271575927734 length of segment : 87 time for calcul the mask position with numpy : 0.0035572052001953125 nb_pixel_total : 255548 time to create 1 rle with new method : 0.0071353912353515625 length of segment : 491 time for calcul the mask position with numpy : 0.0004520416259765625 nb_pixel_total : 10893 time to create 1 rle with old method : 0.01333761215209961 length of segment : 161 time for calcul the mask position with numpy : 0.0020380020141601562 nb_pixel_total : 110535 time to create 1 rle with old method : 0.12319517135620117 length of segment : 504 time for calcul the mask position with numpy : 0.00045800209045410156 nb_pixel_total : 17453 time to create 1 rle with old method : 0.020702600479125977 length of segment : 206 time for calcul the mask position with numpy : 0.01385641098022461 nb_pixel_total : 638979 time to create 1 rle with new method : 0.027561664581298828 length of segment : 1465 time for calcul the mask position with numpy : 0.0005543231964111328 nb_pixel_total : 40125 time to create 1 rle with old method : 0.04313254356384277 length of segment : 250 time for calcul the mask position with numpy : 0.0003497600555419922 nb_pixel_total : 15516 time to create 1 rle with old method : 0.017802000045776367 length of segment : 164 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 11989 time to create 1 rle with old method : 0.013783454895019531 length of segment : 130 time for calcul the mask position with numpy : 0.003232717514038086 nb_pixel_total : 299269 time to create 1 rle with new method : 0.0070035457611083984 length of segment : 981 time for calcul the mask position with numpy : 0.010923147201538086 nb_pixel_total : 528726 time to create 1 rle with new method : 0.018352985382080078 length of segment : 1243 time for calcul the mask position with numpy : 0.0004374980926513672 nb_pixel_total : 23679 time to create 1 rle with old method : 0.02667522430419922 length of segment : 194 time for calcul the mask position with numpy : 0.0001392364501953125 nb_pixel_total : 1218 time to create 1 rle with old method : 0.0015106201171875 length of segment : 63 time for calcul the mask position with numpy : 0.002634763717651367 nb_pixel_total : 143728 time to create 1 rle with old method : 0.15673613548278809 length of segment : 762 time for calcul the mask position with numpy : 0.0020470619201660156 nb_pixel_total : 106722 time to create 1 rle with old method : 0.11992383003234863 length of segment : 389 time for calcul the mask position with numpy : 0.000514984130859375 nb_pixel_total : 31549 time to create 1 rle with old method : 0.035698652267456055 length of segment : 215 time for calcul the mask position with numpy : 0.00026297569274902344 nb_pixel_total : 6617 time to create 1 rle with old method : 0.008222579956054688 length of segment : 160 time for calcul the mask position with numpy : 0.0006618499755859375 nb_pixel_total : 21759 time to create 1 rle with old method : 0.025013208389282227 length of segment : 262 time for calcul the mask position with numpy : 0.0002224445343017578 nb_pixel_total : 4072 time to create 1 rle with old method : 0.0052525997161865234 length of segment : 102 time for calcul the mask position with numpy : 0.0009036064147949219 nb_pixel_total : 39460 time to create 1 rle with old method : 0.04468250274658203 length of segment : 284 time for calcul the mask position with numpy : 0.010590553283691406 nb_pixel_total : 683913 time to create 1 rle with new method : 0.0175015926361084 length of segment : 1208 time for calcul the mask position with numpy : 0.0008523464202880859 nb_pixel_total : 25861 time to create 1 rle with old method : 0.03676724433898926 length of segment : 275 time for calcul the mask position with numpy : 0.0004329681396484375 nb_pixel_total : 10203 time to create 1 rle with old method : 0.016739845275878906 length of segment : 117 time for calcul the mask position with numpy : 0.0003387928009033203 nb_pixel_total : 6377 time to create 1 rle with old method : 0.008131265640258789 length of segment : 167 time for calcul the mask position with numpy : 0.015900135040283203 nb_pixel_total : 507551 time to create 1 rle with new method : 0.0338895320892334 length of segment : 1411 time for calcul the mask position with numpy : 0.0006287097930908203 nb_pixel_total : 42048 time to create 1 rle with old method : 0.04858851432800293 length of segment : 177 time for calcul the mask position with numpy : 0.0005974769592285156 nb_pixel_total : 21541 time to create 1 rle with old method : 0.025856733322143555 length of segment : 287 time for calcul the mask position with numpy : 0.003733396530151367 nb_pixel_total : 321340 time to create 1 rle with new method : 0.009494781494140625 length of segment : 936 time for calcul the mask position with numpy : 0.0005743503570556641 nb_pixel_total : 36025 time to create 1 rle with old method : 0.04211616516113281 length of segment : 210 time for calcul the mask position with numpy : 0.0003790855407714844 nb_pixel_total : 15416 time to create 1 rle with old method : 0.018321990966796875 length of segment : 203 time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 829 time to create 1 rle with old method : 0.0016965866088867188 length of segment : 40 time for calcul the mask position with numpy : 0.0003769397735595703 nb_pixel_total : 13786 time to create 1 rle with old method : 0.024563312530517578 length of segment : 187 time for calcul the mask position with numpy : 0.0008580684661865234 nb_pixel_total : 31950 time to create 1 rle with old method : 0.053588151931762695 length of segment : 190 time for calcul the mask position with numpy : 0.0028181076049804688 nb_pixel_total : 118387 time to create 1 rle with old method : 0.13233447074890137 length of segment : 407 time for calcul the mask position with numpy : 0.00043272972106933594 nb_pixel_total : 15348 time to create 1 rle with old method : 0.017995595932006836 length of segment : 146 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 19669 time to create 1 rle with old method : 0.021538257598876953 length of segment : 204 time for calcul the mask position with numpy : 0.0009241104125976562 nb_pixel_total : 24270 time to create 1 rle with old method : 0.0280911922454834 length of segment : 318 time for calcul the mask position with numpy : 0.0007760524749755859 nb_pixel_total : 26111 time to create 1 rle with old method : 0.029831409454345703 length of segment : 353 time for calcul the mask position with numpy : 0.013664007186889648 nb_pixel_total : 574247 time to create 1 rle with new method : 0.023818016052246094 length of segment : 1125 time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 8224 time to create 1 rle with old method : 0.010052919387817383 length of segment : 231 time for calcul the mask position with numpy : 0.0002300739288330078 nb_pixel_total : 9746 time to create 1 rle with old method : 0.011763334274291992 length of segment : 78 time for calcul the mask position with numpy : 0.0009403228759765625 nb_pixel_total : 39075 time to create 1 rle with old method : 0.04252362251281738 length of segment : 386 time for calcul the mask position with numpy : 0.003549337387084961 nb_pixel_total : 298031 time to create 1 rle with new method : 0.008443117141723633 length of segment : 900 time for calcul the mask position with numpy : 0.0002646446228027344 nb_pixel_total : 1063 time to create 1 rle with old method : 0.0020017623901367188 length of segment : 54 time spent for convertir_results : 7.583210468292236 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 78 chid ids of type : 3663 Number RLEs to save : 30107 save missing photos in datou_result : time spend for datou_step_exec : 29.6378812789917 time spend to save output : 2.6762478351593018 total time spend for step 1 : 32.314129114151 step2:crop_condition Fri Feb 28 11:37:03 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 78 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 ! 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 : 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : 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 ! 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_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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 29 /-3689941098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941110Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941119Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941100Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3689941132Didn'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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.023238658905029297 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.1718645095825195 time spend to save output : 0.024671554565429688 total time spend for step 2 : 6.196536064147949 step3:thcl Fri Feb 28 11:37:09 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.0068438053131103516 time to convert the images to numpy array : 0.013082027435302734 time to import caffe and check if the image exist : 0.004018545150756836 time to convert the images to numpy array : 0.01865696907043457 time to import caffe and check if the image exist : 0.007016897201538086 time to convert the images to numpy array : 0.017956972122192383 time to import caffe and check if the image exist : 0.006046772003173828 time to convert the images to numpy array : 0.02035975456237793 time to import caffe and check if the image exist : 0.00774836540222168 time to convert the images to numpy array : 0.02015399932861328 time to import caffe and check if the image exist : 0.005648136138916016 time to convert the images to numpy array : 0.022579669952392578 time to import caffe and check if the image exist : 0.006955146789550781 time to convert the images to numpy array : 0.02633953094482422 time to import caffe and check if the image exist : 0.006099224090576172 time to convert the images to numpy array : 0.02823781967163086 time to import caffe and check if the image exist : 0.006276130676269531 time to convert the images to numpy array : 0.029180288314819336 time to import caffe and check if the image exist : 0.003858327865600586 time to convert the images to numpy array : 0.05070805549621582 total time to convert the images to numpy array : 0.2642543315887451 list photo_ids error: [] list photo_ids correct : [-3689941097, -3689941132, -3689941113, -3689941115, -3689941128, -3689941150, -3689941088, -3689941092, -3689941100, -3689941104, -3689941108, -3689941162, -3689941161, -3689941158, -3689941136, -3689941152, -3689941149, -3689941112, -3689941110, -3689941119, -3689941099, -3689941107, -3689941146, -3689941144, -3689941155, -3689941154, -3689941098, -3689941096, -3689941093] number of photos to traite : 29 try to delete the photos incorrect in DB tagging for thcl : 2456 To do loadFromThcl(), then load ParamDescType : thcl2456 thcls : [{'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'}] thcl {'id': 2456, 'mtr_user_id': 31, 'name': 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'papier,refus', 'svm_portfolios_learning': '3028087,3028251', 'photo_hashtag_type': 3049, 'photo_desc_type': 4999, 'type_classification': 'caffe', 'hashtag_id_list': '492668766,538914404'} Update svm_hashtag_type_desc : 4999 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) To loadFromThcl() : net_4999 begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5525 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (4999, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 16384, 25088, 'learn_qualipapia_papier_refus_from_vlg_data_aug', 'res5b', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2020, 10, 23, 14, 27, 22), datetime.datetime(2020, 10, 23, 14, 27, 22)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_qualipapia_papier_refus_from_vlg_data_aug Inside get_net Inside get_net before cache_data_model model_param file didn't exist Inside get_net before CDM.load_model_par_type model_name : learn_qualipapia_papier_refus_from_vlg_data_aug model_type : caffe list file need : ['caffemodel', 'deploy_conv_normal.prototxt', 'deploy_fc.prototxt', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file exist in s3 : ['caffemodel', 'deploy.prototxt', 'mean.npy', 'synset_words.txt'] file manque in s3 : ['deploy_conv_normal.prototxt', 'deploy_fc.prototxt'] local folder : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel size_local : 44972172 size in s3 : 44972172 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 caffemodel already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt size_local : 17311 size in s3 : 17311 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:51 mean.npy already exist and didn't need to update /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/synset_words.txt size_local : 57 size in s3 : 57 create time local : 2021-08-09 05:55:48 create time in s3 : 2021-08-06 19:28:49 synset_words.txt already exist and didn't need to update Inside get_net after CDM.load_model_par_type After if not only_with_local_cache: /home/admin/workarea/install/caffe_cuda8_python3/python/:/home/admin/workarea/install/darknet/:/home/admin/workarea/git/Velours/python:/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python:/home/admin/mtr/.credentials:/home/admin/workarea/install/caffe/python:/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools/:/home/admin/workarea/git/fotonowerpip/:/home/admin/workarea/install/segment-anything:/home/admin//workarea/git/pyfvs/ Here before set mode gpu Doing nothing but we could set mode gpu after set mode gpu prototxt_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/deploy.prototxt caffemodel_filename : /data/models_weight/learn_qualipapia_papier_refus_from_vlg_data_aug/caffemodel now we set caffe to gpu mode before predict begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5306 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.20126605033874512 time used to do the prediction : 0.10075545310974121 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 : 5304 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 : 5304 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.22658944129943848 time used to do the prediction : 0.06889629364013672 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 : 7.152557373046875e-06 save missing photos in datou_result : time spend for datou_step_exec : 7.653973340988159 time spend to save output : 0.00027108192443847656 total time spend for step 3 : 7.654244422912598 step4:merge_mask_thcl_custom Fri Feb 28 11:37: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 ! 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 78 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 [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 10 /1340124366Didn't retrieve data .Didn't retrieve data . /1340124080Didn't retrieve data .Didn't retrieve data . /1340124077Didn't retrieve data .Didn't retrieve data . /1340124033Didn't retrieve data .Didn't retrieve data . /1340124031Didn't retrieve data .Didn't retrieve data . /1340123982Didn't retrieve data .Didn't retrieve data . /1340123975Didn't retrieve data .Didn't retrieve data . /1340123929Didn't retrieve data .Didn't retrieve data . /1340123926Didn't retrieve data .Didn't retrieve data . /1340123882Didn'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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.22217965126037598 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07603573799133301 time spend to save output : 0.22289752960205078 total time spend for step 4 : 0.2989332675933838 step5:rle_unique_nms_with_priority Fri Feb 28 11:37: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 Begin step rle-unique-nms nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 1.0937347412109375 time for calcul the mask position with numpy : 0.04990792274475098 nb_pixel_total : 1213546 time to create 1 rle with new method : 0.20643210411071777 time for calcul the mask position with numpy : 0.010947942733764648 nb_pixel_total : 21926 time to create 1 rle with old method : 0.02360677719116211 time for calcul the mask position with numpy : 0.009390830993652344 nb_pixel_total : 34622 time to create 1 rle with old method : 0.039797306060791016 time for calcul the mask position with numpy : 0.00903010368347168 nb_pixel_total : 67259 time to create 1 rle with old method : 0.07339811325073242 time for calcul the mask position with numpy : 0.00913548469543457 nb_pixel_total : 25671 time to create 1 rle with old method : 0.028221607208251953 time for calcul the mask position with numpy : 0.016260623931884766 nb_pixel_total : 696472 time to create 1 rle with new method : 0.0790095329284668 time for calcul the mask position with numpy : 0.006469011306762695 nb_pixel_total : 14104 time to create 1 rle with old method : 0.015801429748535156 create new chi : 0.593109130859375 time to delete rle : 0.01819443702697754 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 6380 TO DO : save crop sub photo not yet done ! save time : 0.5089139938354492 nb_obj : 10 nb_hashtags : 5 time to prepare the origin masks : 1.3520159721374512 time for calcul the mask position with numpy : 0.04409980773925781 nb_pixel_total : 1332673 time to create 1 rle with new method : 0.20834684371948242 time for calcul the mask position with numpy : 0.006445407867431641 nb_pixel_total : 69881 time to create 1 rle with old method : 0.0940852165222168 time for calcul the mask position with numpy : 0.0068094730377197266 nb_pixel_total : 12327 time to create 1 rle with old method : 0.019099712371826172 time for calcul the mask position with numpy : 0.006175518035888672 nb_pixel_total : 1231 time to create 1 rle with old method : 0.0014255046844482422 time for calcul the mask position with numpy : 0.005861997604370117 nb_pixel_total : 300 time to create 1 rle with old method : 0.00034809112548828125 time for calcul the mask position with numpy : 0.006185770034790039 nb_pixel_total : 21220 time to create 1 rle with old method : 0.022187471389770508 time for calcul the mask position with numpy : 0.006090402603149414 nb_pixel_total : 42934 time to create 1 rle with old method : 0.0450291633605957 time for calcul the mask position with numpy : 0.00627899169921875 nb_pixel_total : 23572 time to create 1 rle with old method : 0.02514505386352539 time for calcul the mask position with numpy : 0.006485939025878906 nb_pixel_total : 2444 time to create 1 rle with old method : 0.0026824474334716797 time for calcul the mask position with numpy : 0.008604288101196289 nb_pixel_total : 364421 time to create 1 rle with new method : 0.07876706123352051 time for calcul the mask position with numpy : 0.007249593734741211 nb_pixel_total : 202597 time to create 1 rle with new method : 0.02973771095275879 create new chi : 0.6465950012207031 time to delete rle : 0.0007355213165283203 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 7869 TO DO : save crop sub photo not yet done ! save time : 0.45459651947021484 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.4021162986755371 time for calcul the mask position with numpy : 0.016651630401611328 nb_pixel_total : 1425670 time to create 1 rle with new method : 0.03122401237487793 time for calcul the mask position with numpy : 0.006394624710083008 nb_pixel_total : 12255 time to create 1 rle with old method : 0.014120101928710938 time for calcul the mask position with numpy : 0.00676274299621582 nb_pixel_total : 41327 time to create 1 rle with old method : 0.04561805725097656 time for calcul the mask position with numpy : 0.006509065628051758 nb_pixel_total : 17520 time to create 1 rle with old method : 0.018900394439697266 time for calcul the mask position with numpy : 0.006444692611694336 nb_pixel_total : 20547 time to create 1 rle with old method : 0.023523330688476562 time for calcul the mask position with numpy : 0.01118922233581543 nb_pixel_total : 556281 time to create 1 rle with new method : 0.03170037269592285 create new chi : 0.22667932510375977 time to delete rle : 0.0005447864532470703 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 4466 TO DO : save crop sub photo not yet done ! save time : 2.7725682258605957 nb_obj : 6 nb_hashtags : 5 time to prepare the origin masks : 0.8628699779510498 time for calcul the mask position with numpy : 0.022408008575439453 nb_pixel_total : 1460027 time to create 1 rle with new method : 0.08742976188659668 time for calcul the mask position with numpy : 0.006304740905761719 nb_pixel_total : 2621 time to create 1 rle with old method : 0.0031480789184570312 time for calcul the mask position with numpy : 0.006211757659912109 nb_pixel_total : 7184 time to create 1 rle with old method : 0.007860422134399414 time for calcul the mask position with numpy : 0.0062732696533203125 nb_pixel_total : 30178 time to create 1 rle with old method : 0.03246474266052246 time for calcul the mask position with numpy : 0.006150722503662109 nb_pixel_total : 6001 time to create 1 rle with old method : 0.0068836212158203125 time for calcul the mask position with numpy : 0.01014399528503418 nb_pixel_total : 565861 time to create 1 rle with new method : 0.10212421417236328 time for calcul the mask position with numpy : 0.006726980209350586 nb_pixel_total : 1728 time to create 1 rle with old method : 0.001958131790161133 create new chi : 0.31413793563842773 time to delete rle : 0.0006902217864990234 batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 4652 TO DO : save crop sub photo not yet done ! save time : 0.29618287086486816 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.4916093349456787 time for calcul the mask position with numpy : 0.035149574279785156 nb_pixel_total : 1141195 time to create 1 rle with new method : 0.40241289138793945 time for calcul the mask position with numpy : 0.00640416145324707 nb_pixel_total : 44207 time to create 1 rle with old method : 0.048273324966430664 time for calcul the mask position with numpy : 0.006400585174560547 nb_pixel_total : 26303 time to create 1 rle with old method : 0.030638694763183594 time for calcul the mask position with numpy : 0.0071065425872802734 nb_pixel_total : 101642 time to create 1 rle with old method : 0.12447690963745117 time for calcul the mask position with numpy : 0.013206720352172852 nb_pixel_total : 754370 time to create 1 rle with new method : 0.07667231559753418 time for calcul the mask position with numpy : 0.006270885467529297 nb_pixel_total : 5883 time to create 1 rle with old method : 0.006383180618286133 create new chi : 0.77146315574646 time to delete rle : 0.0004124641418457031 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 4287 TO DO : save crop sub photo not yet done ! save time : 5.59660267829895 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.8656995296478271 time for calcul the mask position with numpy : 0.04713320732116699 nb_pixel_total : 1251711 time to create 1 rle with new method : 0.10441136360168457 time for calcul the mask position with numpy : 0.006573915481567383 nb_pixel_total : 21542 time to create 1 rle with old method : 0.024086952209472656 time for calcul the mask position with numpy : 0.0065267086029052734 nb_pixel_total : 39938 time to create 1 rle with old method : 0.042932987213134766 time for calcul the mask position with numpy : 0.010436534881591797 nb_pixel_total : 606657 time to create 1 rle with new method : 0.08321309089660645 time for calcul the mask position with numpy : 0.006629467010498047 nb_pixel_total : 15382 time to create 1 rle with old method : 0.0170443058013916 time for calcul the mask position with numpy : 0.0065038204193115234 nb_pixel_total : 17289 time to create 1 rle with old method : 0.019362926483154297 time for calcul the mask position with numpy : 0.006693363189697266 nb_pixel_total : 110329 time to create 1 rle with old method : 0.14030218124389648 time for calcul the mask position with numpy : 0.006813764572143555 nb_pixel_total : 10752 time to create 1 rle with old method : 0.013417482376098633 create new chi : 0.5511443614959717 time to delete rle : 0.0006418228149414062 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 6713 TO DO : save crop sub photo not yet done ! save time : 3.962941884994507 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.5899908542633057 time for calcul the mask position with numpy : 0.02429509162902832 nb_pixel_total : 1303572 time to create 1 rle with new method : 0.3629157543182373 time for calcul the mask position with numpy : 0.01241159439086914 nb_pixel_total : 31475 time to create 1 rle with old method : 0.03915739059448242 time for calcul the mask position with numpy : 0.006502389907836914 nb_pixel_total : 6560 time to create 1 rle with old method : 0.007569789886474609 time for calcul the mask position with numpy : 0.006524801254272461 nb_pixel_total : 23606 time to create 1 rle with old method : 0.02616739273071289 time for calcul the mask position with numpy : 0.006708621978759766 nb_pixel_total : 17634 time to create 1 rle with old method : 0.022029638290405273 time for calcul the mask position with numpy : 0.008847951889038086 nb_pixel_total : 143441 time to create 1 rle with old method : 0.15903091430664062 time for calcul the mask position with numpy : 0.005976438522338867 nb_pixel_total : 1216 time to create 1 rle with old method : 0.0014393329620361328 time for calcul the mask position with numpy : 0.009659528732299805 nb_pixel_total : 546096 time to create 1 rle with new method : 0.08694624900817871 create new chi : 0.7954151630401611 time to delete rle : 0.0007407665252685547 batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 6175 TO DO : save crop sub photo not yet done ! save time : 0.38434338569641113 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.38808441162109375 time for calcul the mask position with numpy : 0.026578426361083984 nb_pixel_total : 1313585 time to create 1 rle with new method : 0.04466366767883301 time for calcul the mask position with numpy : 0.013701438903808594 nb_pixel_total : 694885 time to create 1 rle with new method : 0.03287911415100098 time for calcul the mask position with numpy : 0.0068662166595458984 nb_pixel_total : 39400 time to create 1 rle with old method : 0.06122851371765137 time for calcul the mask position with numpy : 0.0065190792083740234 nb_pixel_total : 4034 time to create 1 rle with old method : 0.004792213439941406 time for calcul the mask position with numpy : 0.006816387176513672 nb_pixel_total : 21696 time to create 1 rle with old method : 0.029778480529785156 create new chi : 0.24114298820495605 time to delete rle : 0.000537872314453125 batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 4434 TO DO : save crop sub photo not yet done ! save time : 0.2867453098297119 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 1.1900634765625 time for calcul the mask position with numpy : 0.04679369926452637 nb_pixel_total : 1383682 time to create 1 rle with new method : 0.08834648132324219 time for calcul the mask position with numpy : 0.0069026947021484375 nb_pixel_total : 41861 time to create 1 rle with old method : 0.047461509704589844 time for calcul the mask position with numpy : 0.006539821624755859 nb_pixel_total : 824 time to create 1 rle with old method : 0.0009288787841796875 time for calcul the mask position with numpy : 0.006517648696899414 nb_pixel_total : 48 time to create 1 rle with old method : 0.00020313262939453125 time for calcul the mask position with numpy : 0.006939888000488281 nb_pixel_total : 15380 time to create 1 rle with old method : 0.01968073844909668 time for calcul the mask position with numpy : 0.006499528884887695 nb_pixel_total : 33408 time to create 1 rle with old method : 0.04030132293701172 time for calcul the mask position with numpy : 0.006577968597412109 nb_pixel_total : 16431 time to create 1 rle with old method : 0.01831674575805664 time for calcul the mask position with numpy : 0.0067479610443115234 nb_pixel_total : 35867 time to create 1 rle with old method : 0.038536787033081055 time for calcul the mask position with numpy : 0.010997295379638672 nb_pixel_total : 503253 time to create 1 rle with new method : 0.0977790355682373 time for calcul the mask position with numpy : 0.007448673248291016 nb_pixel_total : 6865 time to create 1 rle with old method : 0.008903264999389648 time for calcul the mask position with numpy : 0.006711721420288086 nb_pixel_total : 10194 time to create 1 rle with old method : 0.011132240295410156 time for calcul the mask position with numpy : 0.006877899169921875 nb_pixel_total : 25787 time to create 1 rle with old method : 0.02805018424987793 create new chi : 0.5349202156066895 time to delete rle : 0.0007636547088623047 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7621 TO DO : save crop sub photo not yet done ! save time : 0.49535536766052246 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 1.4571125507354736 time for calcul the mask position with numpy : 0.017459869384765625 nb_pixel_total : 1167038 time to create 1 rle with new method : 0.13015508651733398 time for calcul the mask position with numpy : 0.006824493408203125 nb_pixel_total : 118252 time to create 1 rle with old method : 0.13185429573059082 time for calcul the mask position with numpy : 0.005995750427246094 nb_pixel_total : 212 time to create 1 rle with old method : 0.0003781318664550781 time for calcul the mask position with numpy : 0.006557941436767578 nb_pixel_total : 78324 time to create 1 rle with old method : 0.10337305068969727 time for calcul the mask position with numpy : 0.006779909133911133 nb_pixel_total : 1735 time to create 1 rle with old method : 0.002880096435546875 time for calcul the mask position with numpy : 0.011155366897583008 nb_pixel_total : 572966 time to create 1 rle with new method : 0.09185457229614258 time for calcul the mask position with numpy : 0.006557941436767578 nb_pixel_total : 15257 time to create 1 rle with old method : 0.02411484718322754 time for calcul the mask position with numpy : 0.006743907928466797 nb_pixel_total : 39747 time to create 1 rle with old method : 0.04439401626586914 time for calcul the mask position with numpy : 0.006169795989990234 nb_pixel_total : 24242 time to create 1 rle with old method : 0.02630472183227539 time for calcul the mask position with numpy : 0.006509542465209961 nb_pixel_total : 20024 time to create 1 rle with old method : 0.022017478942871094 time for calcul the mask position with numpy : 0.0062177181243896484 nb_pixel_total : 9717 time to create 1 rle with old method : 0.010616064071655273 time for calcul the mask position with numpy : 0.006223201751708984 nb_pixel_total : 26086 time to create 1 rle with old method : 0.02920675277709961 create new chi : 0.7199342250823975 time to delete rle : 0.001077890396118164 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 8010 TO DO : save crop sub photo not yet done ! save time : 0.5015153884887695 map_output_result : {1340124366: (0.0, 'Should be the crop_list due to order', 0), 1340124080: (0.0, 'Should be the crop_list due to order', 0), 1340124077: (0.0, 'Should be the crop_list due to order', 0), 1340124033: (0.0, 'Should be the crop_list due to order', 0), 1340124031: (0.0, 'Should be the crop_list due to order', 0), 1340123982: (0.0, 'Should be the crop_list due to order', 0), 1340123975: (0.0, 'Should be the crop_list due to order', 0), 1340123929: (0.0, 'Should be the crop_list due to order', 0), 1340123926: (0.0, 'Should be the crop_list due to order', 0), 1340123882: (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 [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 10 /1340124366.Didn't retrieve data . /1340124080.Didn't retrieve data . /1340124077.Didn't retrieve data . /1340124033.Didn't retrieve data . /1340124031.Didn't retrieve data . /1340123982.Didn't retrieve data . /1340123975.Didn't retrieve data . /1340123929.Didn't retrieve data . /1340123926.Didn't retrieve data . /1340123882.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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014021158218383789 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.741934537887573 time spend to save output : 0.014443635940551758 total time spend for step 5 : 29.756378173828125 step6:crop_condition Fri Feb 28 11:37:47 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 82 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 4869462 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740739070_488020 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 8.718097925186157 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 begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740739080_488020 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.465575695037842 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 : 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/1740739084_488020 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7977869510650635 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1740739085_488020 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.921555519104004 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 begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 10 /1340125452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340125478Didn'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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.02292799949645996 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.79916763305664 time spend to save output : 0.023577213287353516 total time spend for step 6 : 23.822744846343994 step7:ventilate_hashtags_in_portfolio Fri Feb 28 11:38:11 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 : 20924412 get user id for portfolio 20924412 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`=20924412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','environnement','metal','cartonnette','plastique','mal_croppe','Carton_brun','kraft','papier','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20924412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','environnement','metal','cartonnette','plastique','mal_croppe','Carton_brun','kraft','papier','Carton_gris','autre_refus')) 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`=20924412 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Teint_Dans_La_Masse','environnement','metal','cartonnette','plastique','mal_croppe','Carton_brun','kraft','papier','Carton_gris','autre_refus')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20924513,20924514,20924515,20924516,20924517,20924518,20924519,20924520,20924521,20924522,20924523,20924524?tags=flou,Teint_Dans_La_Masse,environnement,metal,cartonnette,plastique,mal_croppe,Carton_brun,kraft,papier,Carton_gris,autre_refus Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 1 /20924412. 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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014273405075073242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.677617073059082 time spend to save output : 0.014625072479248047 total time spend for step 7 : 0.6922421455383301 step8:final Fri Feb 28 11:38:12 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 : {1340124366: ('0.05241756196653198',), 1340124080: ('0.05241756196653198',), 1340124077: ('0.05241756196653198',), 1340124033: ('0.05241756196653198',), 1340124031: ('0.05241756196653198',), 1340123982: ('0.05241756196653198',), 1340123975: ('0.05241756196653198',), 1340123929: ('0.05241756196653198',), 1340123926: ('0.05241756196653198',), 1340123882: ('0.05241756196653198',)} new output for save of step final : {1340124366: ('0.05241756196653198',), 1340124080: ('0.05241756196653198',), 1340124077: ('0.05241756196653198',), 1340124033: ('0.05241756196653198',), 1340124031: ('0.05241756196653198',), 1340123982: ('0.05241756196653198',), 1340123975: ('0.05241756196653198',), 1340123929: ('0.05241756196653198',), 1340123926: ('0.05241756196653198',), 1340123882: ('0.05241756196653198',)} [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 10 /1340124366.Didn't retrieve data . /1340124080.Didn't retrieve data . /1340124077.Didn't retrieve data . /1340124033.Didn't retrieve data . /1340124031.Didn't retrieve data . /1340123982.Didn't retrieve data . /1340123975.Didn't retrieve data . /1340123929.Didn't retrieve data . /1340123926.Didn't retrieve data . /1340123882.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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012669563293457031 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11551189422607422 time spend to save output : 0.013207435607910156 total time spend for step 8 : 0.12871932983398438 step9:velours_tree Fri Feb 28 11:38:12 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.031054019927978516 time spend to save output : 4.3392181396484375e-05 total time spend for step 9 : 0.031097412109375 step10:send_mail_cod Fri Feb 28 11:38:12 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_P20924412_28-02-2025_11_38_12.pdf 20924513 imagette209245131740739092 20924516 imagette209245161740739092 20924517 change filename to text .imagette209245171740739092 20924518 imagette209245181740739092 20924519 imagette209245191740739092 20924521 imagette209245211740739092 20924524 imagette209245241740739092 20924514 change filename to text .change filename to text .change filename to text .change filename to text .imagette209245141740739092 20924520 change filename to text .change filename to text .imagette209245201740739092 20924523 change filename to text .change filename to text .change filename to text .imagette209245231740739092 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20924412 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20924513,20924514,20924515,20924516,20924517,20924518,20924519,20924520,20924521,20924522,20924523,20924524?tags=flou,Teint_Dans_La_Masse,environnement,metal,cartonnette,plastique,mal_croppe,Carton_brun,kraft,papier,Carton_gris,autre_refus your option no_mail is active, we will not send the real mail to your client args[1340124366] : ('0.05241756196653198',) no score found for photo 1340124366 We are sending mail with results at report@fotonower.com args[1340124080] : ('0.05241756196653198',) no score found for photo 1340124080 We are sending mail with results at report@fotonower.com args[1340124077] : ('0.05241756196653198',) no score found for photo 1340124077 We are sending mail with results at report@fotonower.com args[1340124033] : ('0.05241756196653198',) no score found for photo 1340124033 We are sending mail with results at report@fotonower.com args[1340124031] : ('0.05241756196653198',) no score found for photo 1340124031 We are sending mail with results at report@fotonower.com args[1340123982] : ('0.05241756196653198',) no score found for photo 1340123982 We are sending mail with results at report@fotonower.com args[1340123975] : ('0.05241756196653198',) no score found for photo 1340123975 We are sending mail with results at report@fotonower.com args[1340123929] : ('0.05241756196653198',) no score found for photo 1340123929 We are sending mail with results at report@fotonower.com args[1340123926] : ('0.05241756196653198',) no score found for photo 1340123926 We are sending mail with results at report@fotonower.com args[1340123882] : ('0.05241756196653198',) no score found for photo 1340123882 We are sending mail with results at report@fotonower.com refus_total : 0.05241756196653198 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=20924412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1340124080,1340123008,1340123879,1340123833,1340123674,1340124366,1340124077,1340124033,1340124031,1340123982,1340123975,1340123929,1340123926,1340123882,1340123828,1340123688,1340122282,1340123475,1340123468,1340123414) Found this number of photos: 20 begin to download photo : 1340124080 begin to download photo : 1340124366 begin to download photo : 1340123975 begin to download photo : 1340123688 download finish for photo 1340123975 begin to download photo : 1340123929 download finish for photo 1340124080 begin to download photo : 1340123008 download finish for photo 1340124366 begin to download photo : 1340124077 download finish for photo 1340123688 begin to download photo : 1340122282 download finish for photo 1340123008 begin to download photo : 1340123879 download finish for photo 1340123929 begin to download photo : 1340123926 download finish for photo 1340122282 begin to download photo : 1340123475 download finish for photo 1340124077 begin to download photo : 1340124033 download finish for photo 1340123879 begin to download photo : 1340123833 download finish for photo 1340123926 begin to download photo : 1340123882 download finish for photo 1340123475 begin to download photo : 1340123468 download finish for photo 1340124033 begin to download photo : 1340124031 download finish for photo 1340123882 begin to download photo : 1340123828 download finish for photo 1340123468 begin to download photo : 1340123414 download finish for photo 1340123833 begin to download photo : 1340123674 download finish for photo 1340124031 begin to download photo : 1340123982 download finish for photo 1340123828 download finish for photo 1340123674 download finish for photo 1340123414 download finish for photo 1340123982 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_38_12.pdf results_Auto_P20924412_28-02-2025_11_38_12.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_38_12.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','20924412','results_Auto_P20924412_28-02-2025_11_38_12.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_38_12.pdf','pdf','','0.22','0.05241756196653198') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] 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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 1.3473279476165771 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.1021242141723633 time spend to save output : 1.3476295471191406 total time spend for step 10 : 4.449753761291504 step11:split_time_score Fri Feb 28 11:38: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 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'}] (('11', 30),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28022025 20924412 Nombre de photos uploadées : 30 / 23040 (0%) 28022025 20924412 Nombre de photos taguées (types de déchets): 0 / 30 (0%) 28022025 20924412 Nombre de photos taguées (volume) : 0 / 30 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014417171478271484 elapsed_time : insert_dashboard_record_day_entry 2.373703718185425 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.05088624831321179 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20914260_28-02-2025_07_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20914260 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`=20914260 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915778 order by id desc limit 1 Qualite : 0.04017470717428347 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915779_28-02-2025_08_15_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915779 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`=20915779 AND mptpi.`type`=3726 To do Qualite : 0.04803433581558472 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20915780_28-02-2025_08_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20915780 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`=20915780 AND mptpi.`type`=3726 To do Qualite : 0.06013827796971072 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918548_28-02-2025_09_29_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918548 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`=20918548 AND mptpi.`type`=3726 To do Qualite : 0.04300211938089632 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918549_28-02-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918549 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`=20918549 AND mptpi.`type`=3726 To do Qualite : 0.04345018324882482 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918550_28-02-2025_09_15_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918550 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`=20918550 AND mptpi.`type`=3726 To do Qualite : 0.026506946779751964 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20918551_28-02-2025_10_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20918551 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`=20918551 AND mptpi.`type`=3726 To do Qualite : 0.055121887298477674 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20920571_28-02-2025_10_11_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20920571 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`=20920571 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923146 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923147 order by id desc limit 1 Qualite : 0.032410133098050124 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923148_28-02-2025_11_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923148 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`=20923148 AND mptpi.`type`=3726 To do Qualite : 0.05067717796119748 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20923149_28-02-2025_11_13_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923149 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`=20923149 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20923150 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924411 order by id desc limit 1 Qualite : 0.05241756196653198 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20924412_28-02-2025_11_38_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20924412 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`=20924412 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28022025': {'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 [1340124366, 1340124080, 1340124077, 1340124033, 1340124031, 1340123982, 1340123975, 1340123929, 1340123926, 1340123882] Looping around the photos to save general results len do output : 1 /20924412Didn'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, '2623424') ('3459', '20924412', '1340124366', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124080', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124077', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124033', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340124031', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123982', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123975', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123929', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123926', None, None, None, None, None, '2623424') ('3459', None, None, None, None, None, None, None, '2623424') ('3459', '20924412', '1340123882', None, None, None, None, None, '2623424') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014270544052124023 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.0907793045043945 time spend to save output : 0.014515876770019531 total time spend for step 11 : 7.105295181274414 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 44.65user 26.35system 1:58.37elapsed 59%CPU (0avgtext+0avgdata 2812260maxresident)k 23104inputs+28856outputs (418major+2361673minor)pagefaults 0swaps