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 : 388954 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 : 27>10 please execute split_portfolio.py -i 20423281 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2574201'] with mtr_portfolio_ids : ['20423281'] and first list_photo_ids : [] new path : /proc/388954/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.2995424270629883 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Tue Feb 11 00:12:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 4026 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-11 00:12:36.018726: 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-11 00:12:36.051060: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-11 00:12:36.053248: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd714000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-11 00:12:36.053279: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-11 00:12:36.059707: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-11 00:12:36.329732: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x22f37610 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-11 00:12:36.329790: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-11 00:12:36.331252: 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-11 00:12:36.333200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:12:36.365622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:12:36.384452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:12:36.388418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:12:36.421937: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:12:36.427027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:12:36.483821: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:12:36.485171: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:12:36.485586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:12:36.487135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 00:12:36.487158: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 00:12:36.487169: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 00:12:36.488758: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3574 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-11 00:12:36.825878: 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-11 00:12:36.826014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:12:36.826037: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:12:36.826056: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:12:36.826074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:12:36.826092: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:12:36.826111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:12:36.826131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:12:36.827198: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:12:36.828330: 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-11 00:12:36.828371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-11 00:12:36.828392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:12:36.828412: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-11 00:12:36.828433: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-11 00:12:36.828452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-11 00:12:36.828472: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-11 00:12:36.828492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:12:36.829522: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-11 00:12:36.829561: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-11 00:12:36.829571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-11 00:12:36.829581: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-11 00:12:36.830669: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3574 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-11 00:12:50.899846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-11 00:12:51.253117: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-11 00:12:53.329736: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-02-11 00:12:54.153568: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-02-11 00:12:54.153645: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 27 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 33 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 31 Detection mask done ! Trying to reset tf kernel 389411 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 75 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 : 4026 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.0006074905395507812 nb_pixel_total : 12660 time to create 1 rle with old method : 0.020287513732910156 length of segment : 177 time for calcul the mask position with numpy : 0.000316619873046875 nb_pixel_total : 4865 time to create 1 rle with old method : 0.008289575576782227 length of segment : 217 time for calcul the mask position with numpy : 0.00020766258239746094 nb_pixel_total : 6444 time to create 1 rle with old method : 0.007746219635009766 length of segment : 89 time for calcul the mask position with numpy : 0.006173133850097656 nb_pixel_total : 224524 time to create 1 rle with new method : 0.017253637313842773 length of segment : 780 time for calcul the mask position with numpy : 0.0018956661224365234 nb_pixel_total : 115357 time to create 1 rle with old method : 0.12436604499816895 length of segment : 509 time for calcul the mask position with numpy : 0.0004372596740722656 nb_pixel_total : 22271 time to create 1 rle with old method : 0.025266408920288086 length of segment : 437 time for calcul the mask position with numpy : 0.0018620491027832031 nb_pixel_total : 85022 time to create 1 rle with old method : 0.09167146682739258 length of segment : 278 time for calcul the mask position with numpy : 0.0001468658447265625 nb_pixel_total : 4366 time to create 1 rle with old method : 0.004889726638793945 length of segment : 108 time for calcul the mask position with numpy : 0.005454063415527344 nb_pixel_total : 235807 time to create 1 rle with new method : 0.012909889221191406 length of segment : 838 time for calcul the mask position with numpy : 0.0006110668182373047 nb_pixel_total : 39272 time to create 1 rle with old method : 0.0431818962097168 length of segment : 194 time for calcul the mask position with numpy : 0.003153562545776367 nb_pixel_total : 166517 time to create 1 rle with new method : 0.01429128646850586 length of segment : 748 time for calcul the mask position with numpy : 0.002872943878173828 nb_pixel_total : 139171 time to create 1 rle with old method : 0.14688801765441895 length of segment : 1113 time for calcul the mask position with numpy : 0.00016689300537109375 nb_pixel_total : 6703 time to create 1 rle with old method : 0.007188558578491211 length of segment : 96 time for calcul the mask position with numpy : 0.007245302200317383 nb_pixel_total : 390231 time to create 1 rle with new method : 0.019703149795532227 length of segment : 586 time for calcul the mask position with numpy : 0.0004699230194091797 nb_pixel_total : 21732 time to create 1 rle with old method : 0.023478984832763672 length of segment : 243 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 11826 time to create 1 rle with old method : 0.012899637222290039 length of segment : 172 time for calcul the mask position with numpy : 0.0022470951080322266 nb_pixel_total : 145339 time to create 1 rle with old method : 0.1568596363067627 length of segment : 404 time for calcul the mask position with numpy : 0.0024962425231933594 nb_pixel_total : 148096 time to create 1 rle with old method : 0.15457677841186523 length of segment : 543 time for calcul the mask position with numpy : 0.00013113021850585938 nb_pixel_total : 3806 time to create 1 rle with old method : 0.0041408538818359375 length of segment : 83 time for calcul the mask position with numpy : 0.00018477439880371094 nb_pixel_total : 6516 time to create 1 rle with old method : 0.007554292678833008 length of segment : 81 time for calcul the mask position with numpy : 0.001873016357421875 nb_pixel_total : 135195 time to create 1 rle with old method : 0.14052581787109375 length of segment : 390 time for calcul the mask position with numpy : 0.0005130767822265625 nb_pixel_total : 21516 time to create 1 rle with old method : 0.02349853515625 length of segment : 154 time for calcul the mask position with numpy : 0.0014340877532958984 nb_pixel_total : 79542 time to create 1 rle with old method : 0.08326554298400879 length of segment : 590 time for calcul the mask position with numpy : 0.0005409717559814453 nb_pixel_total : 28553 time to create 1 rle with old method : 0.030837535858154297 length of segment : 228 time for calcul the mask position with numpy : 0.0005245208740234375 nb_pixel_total : 16611 time to create 1 rle with old method : 0.018016338348388672 length of segment : 199 time for calcul the mask position with numpy : 0.0006756782531738281 nb_pixel_total : 17953 time to create 1 rle with old method : 0.01925969123840332 length of segment : 252 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 5013 time to create 1 rle with old method : 0.00555109977722168 length of segment : 126 time for calcul the mask position with numpy : 0.002340555191040039 nb_pixel_total : 161822 time to create 1 rle with new method : 0.008560657501220703 length of segment : 541 time for calcul the mask position with numpy : 0.00032520294189453125 nb_pixel_total : 15908 time to create 1 rle with old method : 0.016910314559936523 length of segment : 201 time for calcul the mask position with numpy : 0.0019390583038330078 nb_pixel_total : 140066 time to create 1 rle with old method : 0.15083718299865723 length of segment : 533 time for calcul the mask position with numpy : 0.0025780200958251953 nb_pixel_total : 152626 time to create 1 rle with new method : 0.00828242301940918 length of segment : 573 time for calcul the mask position with numpy : 0.0002753734588623047 nb_pixel_total : 11645 time to create 1 rle with old method : 0.013194561004638672 length of segment : 110 time for calcul the mask position with numpy : 0.0027391910552978516 nb_pixel_total : 164885 time to create 1 rle with new method : 0.011843204498291016 length of segment : 556 time for calcul the mask position with numpy : 0.00042510032653808594 nb_pixel_total : 14120 time to create 1 rle with old method : 0.015601396560668945 length of segment : 209 time for calcul the mask position with numpy : 0.0009927749633789062 nb_pixel_total : 73805 time to create 1 rle with old method : 0.07948923110961914 length of segment : 340 time for calcul the mask position with numpy : 0.0004935264587402344 nb_pixel_total : 24779 time to create 1 rle with old method : 0.026201248168945312 length of segment : 285 time for calcul the mask position with numpy : 0.0012180805206298828 nb_pixel_total : 72861 time to create 1 rle with old method : 0.07728838920593262 length of segment : 389 time for calcul the mask position with numpy : 0.0001232624053955078 nb_pixel_total : 3949 time to create 1 rle with old method : 0.004382133483886719 length of segment : 87 time for calcul the mask position with numpy : 0.001134634017944336 nb_pixel_total : 78830 time to create 1 rle with old method : 0.08374810218811035 length of segment : 328 time for calcul the mask position with numpy : 0.0006041526794433594 nb_pixel_total : 26566 time to create 1 rle with old method : 0.02893543243408203 length of segment : 236 time for calcul the mask position with numpy : 0.0003724098205566406 nb_pixel_total : 14483 time to create 1 rle with old method : 0.01670217514038086 length of segment : 180 time for calcul the mask position with numpy : 0.0006308555603027344 nb_pixel_total : 30063 time to create 1 rle with old method : 0.036779165267944336 length of segment : 222 time for calcul the mask position with numpy : 0.0006725788116455078 nb_pixel_total : 26719 time to create 1 rle with old method : 0.03022170066833496 length of segment : 174 time for calcul the mask position with numpy : 0.0001227855682373047 nb_pixel_total : 3589 time to create 1 rle with old method : 0.00440526008605957 length of segment : 58 time for calcul the mask position with numpy : 0.0012354850769042969 nb_pixel_total : 58349 time to create 1 rle with old method : 0.06479549407958984 length of segment : 384 time for calcul the mask position with numpy : 0.0034258365631103516 nb_pixel_total : 195876 time to create 1 rle with new method : 0.01891160011291504 length of segment : 629 time for calcul the mask position with numpy : 0.00021147727966308594 nb_pixel_total : 6742 time to create 1 rle with old method : 0.007898807525634766 length of segment : 99 time for calcul the mask position with numpy : 0.0010106563568115234 nb_pixel_total : 56877 time to create 1 rle with old method : 0.08017301559448242 length of segment : 327 time for calcul the mask position with numpy : 0.0004818439483642578 nb_pixel_total : 26380 time to create 1 rle with old method : 0.029538869857788086 length of segment : 189 time for calcul the mask position with numpy : 0.0002086162567138672 nb_pixel_total : 8818 time to create 1 rle with old method : 0.010142326354980469 length of segment : 82 time for calcul the mask position with numpy : 0.00034427642822265625 nb_pixel_total : 7024 time to create 1 rle with old method : 0.007937192916870117 length of segment : 178 time for calcul the mask position with numpy : 0.00021409988403320312 nb_pixel_total : 6071 time to create 1 rle with old method : 0.007274627685546875 length of segment : 103 time for calcul the mask position with numpy : 0.0002307891845703125 nb_pixel_total : 4713 time to create 1 rle with old method : 0.005891084671020508 length of segment : 80 time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 6140 time to create 1 rle with old method : 0.007220029830932617 length of segment : 146 time for calcul the mask position with numpy : 0.002305269241333008 nb_pixel_total : 110069 time to create 1 rle with old method : 0.14980554580688477 length of segment : 349 time for calcul the mask position with numpy : 0.0053255558013916016 nb_pixel_total : 290799 time to create 1 rle with new method : 0.020565509796142578 length of segment : 837 time for calcul the mask position with numpy : 0.0010609626770019531 nb_pixel_total : 24360 time to create 1 rle with old method : 0.027806997299194336 length of segment : 327 time for calcul the mask position with numpy : 0.0005421638488769531 nb_pixel_total : 20676 time to create 1 rle with old method : 0.023133516311645508 length of segment : 186 time for calcul the mask position with numpy : 0.0002772808074951172 nb_pixel_total : 12091 time to create 1 rle with old method : 0.013301372528076172 length of segment : 134 time for calcul the mask position with numpy : 0.0006413459777832031 nb_pixel_total : 33963 time to create 1 rle with old method : 0.03592038154602051 length of segment : 238 time for calcul the mask position with numpy : 0.0008313655853271484 nb_pixel_total : 27864 time to create 1 rle with old method : 0.03446316719055176 length of segment : 284 time for calcul the mask position with numpy : 0.0003654956817626953 nb_pixel_total : 16753 time to create 1 rle with old method : 0.018704652786254883 length of segment : 215 time for calcul the mask position with numpy : 0.0001914501190185547 nb_pixel_total : 2574 time to create 1 rle with old method : 0.0029404163360595703 length of segment : 59 time for calcul the mask position with numpy : 0.002217531204223633 nb_pixel_total : 48109 time to create 1 rle with old method : 0.050536394119262695 length of segment : 341 time for calcul the mask position with numpy : 0.0013225078582763672 nb_pixel_total : 23722 time to create 1 rle with old method : 0.02591872215270996 length of segment : 383 time for calcul the mask position with numpy : 0.0021321773529052734 nb_pixel_total : 40402 time to create 1 rle with old method : 0.04574298858642578 length of segment : 332 time for calcul the mask position with numpy : 0.0024003982543945312 nb_pixel_total : 19439 time to create 1 rle with old method : 0.022170543670654297 length of segment : 397 time for calcul the mask position with numpy : 0.0001327991485595703 nb_pixel_total : 1540 time to create 1 rle with old method : 0.0019555091857910156 length of segment : 62 time for calcul the mask position with numpy : 0.0003147125244140625 nb_pixel_total : 5647 time to create 1 rle with old method : 0.0063436031341552734 length of segment : 86 time for calcul the mask position with numpy : 0.00038695335388183594 nb_pixel_total : 3926 time to create 1 rle with old method : 0.004938840866088867 length of segment : 110 time for calcul the mask position with numpy : 0.003953456878662109 nb_pixel_total : 85556 time to create 1 rle with old method : 0.09133148193359375 length of segment : 410 time for calcul the mask position with numpy : 0.0012395381927490234 nb_pixel_total : 23771 time to create 1 rle with old method : 0.025299549102783203 length of segment : 237 time for calcul the mask position with numpy : 0.002512216567993164 nb_pixel_total : 67858 time to create 1 rle with old method : 0.07522416114807129 length of segment : 343 time for calcul the mask position with numpy : 0.0018184185028076172 nb_pixel_total : 54858 time to create 1 rle with old method : 0.06018638610839844 length of segment : 473 time for calcul the mask position with numpy : 0.00027751922607421875 nb_pixel_total : 7765 time to create 1 rle with old method : 0.008455038070678711 length of segment : 117 time for calcul the mask position with numpy : 0.0002562999725341797 nb_pixel_total : 2810 time to create 1 rle with old method : 0.0032134056091308594 length of segment : 60 time for calcul the mask position with numpy : 0.0005254745483398438 nb_pixel_total : 25263 time to create 1 rle with old method : 0.02767014503479004 length of segment : 194 time for calcul the mask position with numpy : 0.0022454261779785156 nb_pixel_total : 46874 time to create 1 rle with old method : 0.05017495155334473 length of segment : 311 time for calcul the mask position with numpy : 0.0019040107727050781 nb_pixel_total : 32969 time to create 1 rle with old method : 0.03693103790283203 length of segment : 430 time for calcul the mask position with numpy : 0.0010833740234375 nb_pixel_total : 28870 time to create 1 rle with old method : 0.03142261505126953 length of segment : 215 time for calcul the mask position with numpy : 0.0005483627319335938 nb_pixel_total : 16924 time to create 1 rle with old method : 0.01849675178527832 length of segment : 83 time for calcul the mask position with numpy : 0.004355430603027344 nb_pixel_total : 92674 time to create 1 rle with old method : 0.0983877182006836 length of segment : 470 time for calcul the mask position with numpy : 0.0019025802612304688 nb_pixel_total : 33719 time to create 1 rle with old method : 0.03693437576293945 length of segment : 271 time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 4295 time to create 1 rle with old method : 0.004818439483642578 length of segment : 65 time for calcul the mask position with numpy : 0.002031564712524414 nb_pixel_total : 94853 time to create 1 rle with old method : 0.099517822265625 length of segment : 444 time for calcul the mask position with numpy : 0.0006430149078369141 nb_pixel_total : 18320 time to create 1 rle with old method : 0.02079606056213379 length of segment : 349 time for calcul the mask position with numpy : 9.846687316894531e-05 nb_pixel_total : 2261 time to create 1 rle with old method : 0.0026102066040039062 length of segment : 75 time for calcul the mask position with numpy : 0.0005054473876953125 nb_pixel_total : 18308 time to create 1 rle with old method : 0.020169734954833984 length of segment : 172 time for calcul the mask position with numpy : 0.0006990432739257812 nb_pixel_total : 25117 time to create 1 rle with old method : 0.0267181396484375 length of segment : 243 time for calcul the mask position with numpy : 0.0003223419189453125 nb_pixel_total : 9276 time to create 1 rle with old method : 0.010278701782226562 length of segment : 162 time for calcul the mask position with numpy : 0.0006792545318603516 nb_pixel_total : 28243 time to create 1 rle with old method : 0.03148674964904785 length of segment : 165 time for calcul the mask position with numpy : 0.0017409324645996094 nb_pixel_total : 80507 time to create 1 rle with old method : 0.08572101593017578 length of segment : 446 time for calcul the mask position with numpy : 0.00022530555725097656 nb_pixel_total : 10769 time to create 1 rle with old method : 0.01182699203491211 length of segment : 127 time for calcul the mask position with numpy : 0.0002770423889160156 nb_pixel_total : 9639 time to create 1 rle with old method : 0.010617733001708984 length of segment : 93 time for calcul the mask position with numpy : 0.0016283988952636719 nb_pixel_total : 86874 time to create 1 rle with old method : 0.09125208854675293 length of segment : 536 time for calcul the mask position with numpy : 0.009310007095336914 nb_pixel_total : 397195 time to create 1 rle with new method : 0.03052806854248047 length of segment : 1001 time for calcul the mask position with numpy : 0.003395557403564453 nb_pixel_total : 79014 time to create 1 rle with old method : 0.08387184143066406 length of segment : 450 time for calcul the mask position with numpy : 0.0016608238220214844 nb_pixel_total : 62469 time to create 1 rle with old method : 0.06817460060119629 length of segment : 453 time for calcul the mask position with numpy : 0.008610963821411133 nb_pixel_total : 229256 time to create 1 rle with new method : 0.015424728393554688 length of segment : 1014 time for calcul the mask position with numpy : 0.0005905628204345703 nb_pixel_total : 6254 time to create 1 rle with old method : 0.00684666633605957 length of segment : 185 time for calcul the mask position with numpy : 0.0027341842651367188 nb_pixel_total : 82556 time to create 1 rle with old method : 0.09015226364135742 length of segment : 908 time for calcul the mask position with numpy : 0.0025281906127929688 nb_pixel_total : 58031 time to create 1 rle with old method : 0.06522154808044434 length of segment : 255 time for calcul the mask position with numpy : 0.007460117340087891 nb_pixel_total : 170223 time to create 1 rle with new method : 0.015549182891845703 length of segment : 857 time for calcul the mask position with numpy : 0.011667251586914062 nb_pixel_total : 326570 time to create 1 rle with new method : 0.03682756423950195 length of segment : 854 time for calcul the mask position with numpy : 0.0018551349639892578 nb_pixel_total : 40161 time to create 1 rle with old method : 0.04451870918273926 length of segment : 339 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 10427 time to create 1 rle with old method : 0.012477397918701172 length of segment : 128 time for calcul the mask position with numpy : 0.0008995532989501953 nb_pixel_total : 20821 time to create 1 rle with old method : 0.02393198013305664 length of segment : 128 time for calcul the mask position with numpy : 0.009975433349609375 nb_pixel_total : 358499 time to create 1 rle with new method : 0.019242048263549805 length of segment : 771 time for calcul the mask position with numpy : 0.0012209415435791016 nb_pixel_total : 45154 time to create 1 rle with old method : 0.04953718185424805 length of segment : 334 time for calcul the mask position with numpy : 0.0014715194702148438 nb_pixel_total : 34102 time to create 1 rle with old method : 0.038787841796875 length of segment : 165 time for calcul the mask position with numpy : 0.0008561611175537109 nb_pixel_total : 26004 time to create 1 rle with old method : 0.0278623104095459 length of segment : 236 time for calcul the mask position with numpy : 0.004797697067260742 nb_pixel_total : 185405 time to create 1 rle with new method : 0.011577129364013672 length of segment : 614 time for calcul the mask position with numpy : 0.006046295166015625 nb_pixel_total : 299818 time to create 1 rle with new method : 0.0196688175201416 length of segment : 688 time for calcul the mask position with numpy : 0.0006279945373535156 nb_pixel_total : 14330 time to create 1 rle with old method : 0.01636362075805664 length of segment : 337 time for calcul the mask position with numpy : 0.05601215362548828 nb_pixel_total : 2804721 time to create 1 rle with new method : 1.2856662273406982 length of segment : 2943 time for calcul the mask position with numpy : 0.0009577274322509766 nb_pixel_total : 59870 time to create 1 rle with old method : 0.06537103652954102 length of segment : 421 time for calcul the mask position with numpy : 0.0018274784088134766 nb_pixel_total : 138605 time to create 1 rle with old method : 0.1695113182067871 length of segment : 532 time for calcul the mask position with numpy : 0.0008063316345214844 nb_pixel_total : 54498 time to create 1 rle with old method : 0.05750274658203125 length of segment : 374 time for calcul the mask position with numpy : 0.0013821125030517578 nb_pixel_total : 84224 time to create 1 rle with old method : 0.09130978584289551 length of segment : 227 time for calcul the mask position with numpy : 0.0007669925689697266 nb_pixel_total : 54701 time to create 1 rle with old method : 0.059847116470336914 length of segment : 310 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 6165 time to create 1 rle with old method : 0.007433414459228516 length of segment : 122 time for calcul the mask position with numpy : 0.000820159912109375 nb_pixel_total : 42935 time to create 1 rle with old method : 0.04750466346740723 length of segment : 234 time for calcul the mask position with numpy : 0.01623082160949707 nb_pixel_total : 1129794 time to create 1 rle with new method : 0.038932085037231445 length of segment : 1482 time for calcul the mask position with numpy : 0.0008749961853027344 nb_pixel_total : 70128 time to create 1 rle with old method : 0.08034753799438477 length of segment : 341 time for calcul the mask position with numpy : 0.007192850112915039 nb_pixel_total : 484767 time to create 1 rle with new method : 0.018042564392089844 length of segment : 954 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 6801 time to create 1 rle with old method : 0.007949113845825195 length of segment : 132 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 5874 time to create 1 rle with old method : 0.006829500198364258 length of segment : 138 time for calcul the mask position with numpy : 0.0001652240753173828 nb_pixel_total : 3498 time to create 1 rle with old method : 0.004401445388793945 length of segment : 51 time for calcul the mask position with numpy : 0.0014390945434570312 nb_pixel_total : 65235 time to create 1 rle with old method : 0.07329940795898438 length of segment : 321 time for calcul the mask position with numpy : 0.0070612430572509766 nb_pixel_total : 353101 time to create 1 rle with new method : 0.012652397155761719 length of segment : 1087 time for calcul the mask position with numpy : 0.00017642974853515625 nb_pixel_total : 4261 time to create 1 rle with old method : 0.0049533843994140625 length of segment : 59 time for calcul the mask position with numpy : 0.00012087821960449219 nb_pixel_total : 3439 time to create 1 rle with old method : 0.0042192935943603516 length of segment : 82 time for calcul the mask position with numpy : 0.0010540485382080078 nb_pixel_total : 47903 time to create 1 rle with old method : 0.051283836364746094 length of segment : 287 time for calcul the mask position with numpy : 0.001589059829711914 nb_pixel_total : 94748 time to create 1 rle with old method : 0.10435700416564941 length of segment : 374 time for calcul the mask position with numpy : 0.0019404888153076172 nb_pixel_total : 55332 time to create 1 rle with old method : 0.06296253204345703 length of segment : 452 time for calcul the mask position with numpy : 0.003906965255737305 nb_pixel_total : 237115 time to create 1 rle with new method : 0.008383750915527344 length of segment : 735 time for calcul the mask position with numpy : 0.0006580352783203125 nb_pixel_total : 29943 time to create 1 rle with old method : 0.03282475471496582 length of segment : 130 time for calcul the mask position with numpy : 0.0011136531829833984 nb_pixel_total : 64145 time to create 1 rle with old method : 0.0712578296661377 length of segment : 320 time for calcul the mask position with numpy : 0.0011162757873535156 nb_pixel_total : 79969 time to create 1 rle with old method : 0.08742237091064453 length of segment : 341 time for calcul the mask position with numpy : 0.0003342628479003906 nb_pixel_total : 15870 time to create 1 rle with old method : 0.017812013626098633 length of segment : 245 time for calcul the mask position with numpy : 0.0012235641479492188 nb_pixel_total : 27862 time to create 1 rle with old method : 0.03137779235839844 length of segment : 725 time for calcul the mask position with numpy : 0.0014150142669677734 nb_pixel_total : 72795 time to create 1 rle with old method : 0.0764009952545166 length of segment : 393 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 4026 time to create 1 rle with old method : 0.00484013557434082 length of segment : 136 time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 3165 time to create 1 rle with old method : 0.003955841064453125 length of segment : 58 time for calcul the mask position with numpy : 0.0002834796905517578 nb_pixel_total : 9289 time to create 1 rle with old method : 0.014112472534179688 length of segment : 143 time for calcul the mask position with numpy : 0.00025773048400878906 nb_pixel_total : 6412 time to create 1 rle with old method : 0.0071697235107421875 length of segment : 166 time for calcul the mask position with numpy : 0.0010399818420410156 nb_pixel_total : 36848 time to create 1 rle with old method : 0.040207862854003906 length of segment : 306 time for calcul the mask position with numpy : 0.002070188522338867 nb_pixel_total : 61726 time to create 1 rle with old method : 0.07605671882629395 length of segment : 234 time for calcul the mask position with numpy : 0.0006899833679199219 nb_pixel_total : 15255 time to create 1 rle with old method : 0.017315149307250977 length of segment : 230 time for calcul the mask position with numpy : 0.0015289783477783203 nb_pixel_total : 50548 time to create 1 rle with old method : 0.05545783042907715 length of segment : 629 time for calcul the mask position with numpy : 0.0006220340728759766 nb_pixel_total : 10873 time to create 1 rle with old method : 0.012203454971313477 length of segment : 142 time for calcul the mask position with numpy : 0.00029778480529785156 nb_pixel_total : 15244 time to create 1 rle with old method : 0.016997098922729492 length of segment : 151 time for calcul the mask position with numpy : 0.0017926692962646484 nb_pixel_total : 70987 time to create 1 rle with old method : 0.07872414588928223 length of segment : 448 time for calcul the mask position with numpy : 0.0014009475708007812 nb_pixel_total : 7959 time to create 1 rle with old method : 0.00912618637084961 length of segment : 223 time for calcul the mask position with numpy : 0.00011920928955078125 nb_pixel_total : 2285 time to create 1 rle with old method : 0.0028281211853027344 length of segment : 72 time for calcul the mask position with numpy : 0.0012962818145751953 nb_pixel_total : 41905 time to create 1 rle with old method : 0.05822873115539551 length of segment : 377 time for calcul the mask position with numpy : 0.00026702880859375 nb_pixel_total : 6729 time to create 1 rle with old method : 0.008028030395507812 length of segment : 156 time for calcul the mask position with numpy : 0.0010743141174316406 nb_pixel_total : 24909 time to create 1 rle with old method : 0.028593778610229492 length of segment : 348 time for calcul the mask position with numpy : 0.0017042160034179688 nb_pixel_total : 69120 time to create 1 rle with old method : 0.07440376281738281 length of segment : 374 time for calcul the mask position with numpy : 0.0062754154205322266 nb_pixel_total : 332983 time to create 1 rle with new method : 0.009956598281860352 length of segment : 448 time for calcul the mask position with numpy : 0.0005452632904052734 nb_pixel_total : 11087 time to create 1 rle with old method : 0.012425661087036133 length of segment : 126 time for calcul the mask position with numpy : 0.0012860298156738281 nb_pixel_total : 31667 time to create 1 rle with old method : 0.0350346565246582 length of segment : 182 time for calcul the mask position with numpy : 0.0007600784301757812 nb_pixel_total : 14949 time to create 1 rle with old method : 0.017619609832763672 length of segment : 159 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 2522 time to create 1 rle with old method : 0.0028603076934814453 length of segment : 93 time for calcul the mask position with numpy : 0.0014121532440185547 nb_pixel_total : 36293 time to create 1 rle with old method : 0.03949928283691406 length of segment : 330 time for calcul the mask position with numpy : 0.0028455257415771484 nb_pixel_total : 107436 time to create 1 rle with old method : 0.14478373527526855 length of segment : 338 time for calcul the mask position with numpy : 0.0002090930938720703 nb_pixel_total : 2207 time to create 1 rle with old method : 0.002719402313232422 length of segment : 49 time for calcul the mask position with numpy : 0.002736330032348633 nb_pixel_total : 48272 time to create 1 rle with old method : 0.05428290367126465 length of segment : 395 time for calcul the mask position with numpy : 0.0010247230529785156 nb_pixel_total : 18838 time to create 1 rle with old method : 0.021145343780517578 length of segment : 267 time for calcul the mask position with numpy : 0.0009188652038574219 nb_pixel_total : 26948 time to create 1 rle with old method : 0.029575347900390625 length of segment : 288 time for calcul the mask position with numpy : 0.0007252693176269531 nb_pixel_total : 13101 time to create 1 rle with old method : 0.015357255935668945 length of segment : 203 time for calcul the mask position with numpy : 0.004433631896972656 nb_pixel_total : 94597 time to create 1 rle with old method : 0.10544514656066895 length of segment : 622 time for calcul the mask position with numpy : 0.00024628639221191406 nb_pixel_total : 3330 time to create 1 rle with old method : 0.003898143768310547 length of segment : 78 time for calcul the mask position with numpy : 0.002465486526489258 nb_pixel_total : 44892 time to create 1 rle with old method : 0.05050230026245117 length of segment : 385 time for calcul the mask position with numpy : 0.0002727508544921875 nb_pixel_total : 3023 time to create 1 rle with old method : 0.0036263465881347656 length of segment : 107 time for calcul the mask position with numpy : 0.0013997554779052734 nb_pixel_total : 42504 time to create 1 rle with old method : 0.04635787010192871 length of segment : 415 time for calcul the mask position with numpy : 0.0007748603820800781 nb_pixel_total : 42396 time to create 1 rle with old method : 0.04532957077026367 length of segment : 355 time for calcul the mask position with numpy : 0.0006380081176757812 nb_pixel_total : 19348 time to create 1 rle with old method : 0.022164344787597656 length of segment : 313 time for calcul the mask position with numpy : 0.0022444725036621094 nb_pixel_total : 27725 time to create 1 rle with old method : 0.0326540470123291 length of segment : 315 time for calcul the mask position with numpy : 0.0010380744934082031 nb_pixel_total : 33587 time to create 1 rle with old method : 0.03682732582092285 length of segment : 330 time for calcul the mask position with numpy : 0.0003781318664550781 nb_pixel_total : 5710 time to create 1 rle with old method : 0.006723165512084961 length of segment : 126 time for calcul the mask position with numpy : 0.0006155967712402344 nb_pixel_total : 16095 time to create 1 rle with old method : 0.018737077713012695 length of segment : 437 time for calcul the mask position with numpy : 0.0013859272003173828 nb_pixel_total : 37556 time to create 1 rle with old method : 0.04219412803649902 length of segment : 297 time for calcul the mask position with numpy : 0.0014491081237792969 nb_pixel_total : 35456 time to create 1 rle with old method : 0.039118051528930664 length of segment : 269 time for calcul the mask position with numpy : 0.0040132999420166016 nb_pixel_total : 125113 time to create 1 rle with old method : 0.13275861740112305 length of segment : 588 time for calcul the mask position with numpy : 0.0009911060333251953 nb_pixel_total : 42049 time to create 1 rle with old method : 0.045981645584106445 length of segment : 329 time for calcul the mask position with numpy : 0.00077056884765625 nb_pixel_total : 41187 time to create 1 rle with old method : 0.04360651969909668 length of segment : 353 time for calcul the mask position with numpy : 0.0006532669067382812 nb_pixel_total : 17637 time to create 1 rle with old method : 0.019271373748779297 length of segment : 365 time spent for convertir_results : 17.831048488616943 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 188 chid ids of type : 3663 Number RLEs to save : 63989 save missing photos in datou_result : time spend for datou_step_exec : 86.57093524932861 time spend to save output : 4.412252902984619 total time spend for step 1 : 90.98318815231323 step2:crop_condition Tue Feb 11 00:14: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 188 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 17 About to insert : list_path_to_insert length 17 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 68 About to insert : list_path_to_insert length 68 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 117 /-3668741439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741456Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741603Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741505Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741459Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741461Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741598Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741462Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3668741591Didn'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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 361 time used for this insertion : 0.040903329849243164 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.584513664245605 time spend to save output : 0.043608665466308594 total time spend for step 2 : 42.628122329711914 step3:thcl Tue Feb 11 00:14:45 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.011726856231689453 time to convert the images to numpy array : 0.09160542488098145 time to import caffe and check if the image exist : 0.012455940246582031 time to convert the images to numpy array : 0.10198330879211426 time to import caffe and check if the image exist : 0.016114473342895508 time to convert the images to numpy array : 0.10004758834838867 time to import caffe and check if the image exist : 0.018618345260620117 time to convert the images to numpy array : 0.1377406120300293 time to import caffe and check if the image exist : 0.016709566116333008 time to convert the images to numpy array : 0.1411149501800537 time to import caffe and check if the image exist : 0.018995046615600586 time to convert the images to numpy array : 0.15613365173339844 time to import caffe and check if the image exist : 0.017576217651367188 time to convert the images to numpy array : 0.1575908660888672 time to import caffe and check if the image exist : 0.013867855072021484 time to convert the images to numpy array : 0.16762852668762207 time to import caffe and check if the image exist : 0.017096281051635742 time to convert the images to numpy array : 0.16480684280395508 time to import caffe and check if the image exist : 0.010511636734008789 time to convert the images to numpy array : 0.18201661109924316 total time to convert the images to numpy array : 0.5832870006561279 list photo_ids error: [] list photo_ids correct : [-3668741503, -3668741515, -3668741570, -3668741600, -3668741493, -3668741507, -3668741551, -3668741599, -3668741591, -3668741587, -3668741604, -3668741605, -3668741607, -3668741590, -3668741602, -3668741606, -3668741598, -3668741592, -3668741474, -3668741481, -3668741462, -3668741439, -3668741440, -3668741445, -3668741456, -3668741464, -3668741489, -3668741497, -3668741524, -3668741554, -3668741593, -3668741603, -3668741584, -3668741458, -3668741459, -3668741461, -3668741478, -3668741484, -3668741479, -3668741480, -3668741467, -3668741482, -3668741470, -3668741477, -3668741465, -3668741500, -3668741502, -3668741486, -3668741499, -3668741495, -3668741496, -3668741488, -3668741494, -3668741501, -3668741521, -3668741527, -3668741519, -3668741529, -3668741514, -3668741532, -3668741535, -3668741534, -3668741525, -3668741528, -3668741517, -3668741520, -3668741511, -3668741523, -3668741516, -3668741536, -3668741546, -3668741540, -3668741539, -3668741542, -3668741556, -3668741564, -3668741557, -3668741571, -3668741572, -3668741581, -3668741575, -3668741561, -3668741560, -3668741563, -3668741576, -3668741582, -3668741435, -3668741429, -3668741455, -3668741531, -3668741541, -3668741555, -3668741594, -3668741596, -3668741431, -3668741433, -3668741436, -3668741423, -3668741428, -3668741450, -3668741447, -3668741453, -3668741444, -3668741446, -3668741448, -3668741434, -3668741438, -3668741432, -3668741437, -3668741443, -3668741457, -3668741472, -3668741471, -3668741505, -3668741504, -3668741530, -3668741559] number of photos to traite : 117 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 : 4026 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 : 3807 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.210705280303955 time used to do the prediction : 0.28578805923461914 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 : 3805 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 : 3805 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.1943902969360352 time used to do the prediction : 0.20622491836547852 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 8.106231689453125e-06 save missing photos in datou_result : time spend for datou_step_exec : 10.400339603424072 time spend to save output : 0.0006594657897949219 total time spend for step 3 : 10.400999069213867 step4:merge_mask_thcl_custom Tue Feb 11 00:14:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 188 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 [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 10 /1336554331Didn't retrieve data .Didn't retrieve data . /1336554248Didn't retrieve data .Didn't retrieve data . /1336554246Didn't retrieve data .Didn't retrieve data . /1336554237Didn't retrieve data .Didn't retrieve data . /1336554231Didn't retrieve data .Didn't retrieve data . /1336554227Didn't retrieve data .Didn't retrieve data . /1336549216Didn't retrieve data .Didn't retrieve data . /1336549213Didn't retrieve data .Didn't retrieve data . /1336549210Didn't retrieve data .Didn't retrieve data . /1336549207Didn'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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.017841339111328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0827322006225586 time spend to save output : 0.018345355987548828 total time spend for step 4 : 0.10107755661010742 step5:rle_unique_nms_with_priority Tue Feb 11 00:14:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 16 nb_hashtags : 6 time to prepare the origin masks : 13.893517017364502 time for calcul the mask position with numpy : 0.47552990913391113 nb_pixel_total : 5562395 time to create 1 rle with new method : 0.6623678207397461 time for calcul the mask position with numpy : 0.020369529724121094 nb_pixel_total : 84749 time to create 1 rle with old method : 0.08698225021362305 time for calcul the mask position with numpy : 0.020257234573364258 nb_pixel_total : 11801 time to create 1 rle with old method : 0.012561559677124023 time for calcul the mask position with numpy : 0.0230867862701416 nb_pixel_total : 239716 time to create 1 rle with new method : 0.8946850299835205 time for calcul the mask position with numpy : 0.03141188621520996 nb_pixel_total : 4341 time to create 1 rle with old method : 0.004670143127441406 time for calcul the mask position with numpy : 0.035680294036865234 nb_pixel_total : 390309 time to create 1 rle with new method : 1.0993499755859375 time for calcul the mask position with numpy : 0.03425312042236328 nb_pixel_total : 138514 time to create 1 rle with old method : 0.14937853813171387 time for calcul the mask position with numpy : 0.03401350975036621 nb_pixel_total : 114911 time to create 1 rle with old method : 0.12736105918884277 time for calcul the mask position with numpy : 0.035723209381103516 nb_pixel_total : 223453 time to create 1 rle with new method : 0.7575030326843262 time for calcul the mask position with numpy : 0.03217124938964844 nb_pixel_total : 12625 time to create 1 rle with old method : 0.013729572296142578 time for calcul the mask position with numpy : 0.031907081604003906 nb_pixel_total : 6370 time to create 1 rle with old method : 0.0067212581634521484 time for calcul the mask position with numpy : 0.03159451484680176 nb_pixel_total : 6689 time to create 1 rle with old method : 0.00742030143737793 time for calcul the mask position with numpy : 0.030277013778686523 nb_pixel_total : 166237 time to create 1 rle with new method : 0.7942204475402832 time for calcul the mask position with numpy : 0.03343605995178223 nb_pixel_total : 4847 time to create 1 rle with old method : 0.005258321762084961 time for calcul the mask position with numpy : 0.03367114067077637 nb_pixel_total : 21897 time to create 1 rle with old method : 0.02584052085876465 time for calcul the mask position with numpy : 0.03355574607849121 nb_pixel_total : 39247 time to create 1 rle with old method : 0.04330754280090332 time for calcul the mask position with numpy : 0.032773733139038086 nb_pixel_total : 22139 time to create 1 rle with old method : 0.024517297744750977 create new chi : 5.804395914077759 time to delete rle : 0.010935306549072266 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 14844 TO DO : save crop sub photo not yet done ! save time : 0.8582651615142822 nb_obj : 15 nb_hashtags : 6 time to prepare the origin masks : 12.881799221038818 time for calcul the mask position with numpy : 0.6130201816558838 nb_pixel_total : 6257843 time to create 1 rle with new method : 0.6175637245178223 time for calcul the mask position with numpy : 0.03438067436218262 nb_pixel_total : 79458 time to create 1 rle with old method : 0.08671450614929199 time for calcul the mask position with numpy : 0.033707380294799805 nb_pixel_total : 135023 time to create 1 rle with old method : 0.1424860954284668 time for calcul the mask position with numpy : 0.024272918701171875 nb_pixel_total : 17887 time to create 1 rle with old method : 0.019856691360473633 time for calcul the mask position with numpy : 0.022029638290405273 nb_pixel_total : 28479 time to create 1 rle with old method : 0.03080010414123535 time for calcul the mask position with numpy : 0.022023916244506836 nb_pixel_total : 11549 time to create 1 rle with old method : 0.012629985809326172 time for calcul the mask position with numpy : 0.03461718559265137 nb_pixel_total : 21435 time to create 1 rle with old method : 0.02346634864807129 time for calcul the mask position with numpy : 0.03536581993103027 nb_pixel_total : 16596 time to create 1 rle with old method : 0.02693033218383789 time for calcul the mask position with numpy : 0.03904843330383301 nb_pixel_total : 6124 time to create 1 rle with old method : 0.009209632873535156 time for calcul the mask position with numpy : 0.034674644470214844 nb_pixel_total : 4989 time to create 1 rle with old method : 0.005601167678833008 time for calcul the mask position with numpy : 0.03535938262939453 nb_pixel_total : 161431 time to create 1 rle with new method : 0.7729156017303467 time for calcul the mask position with numpy : 0.03478384017944336 nb_pixel_total : 6471 time to create 1 rle with old method : 0.007658481597900391 time for calcul the mask position with numpy : 0.03719019889831543 nb_pixel_total : 3785 time to create 1 rle with old method : 0.004699230194091797 time for calcul the mask position with numpy : 0.04119729995727539 nb_pixel_total : 6288 time to create 1 rle with old method : 0.009272098541259766 time for calcul the mask position with numpy : 0.0413203239440918 nb_pixel_total : 145091 time to create 1 rle with old method : 0.16786456108093262 time for calcul the mask position with numpy : 0.02257084846496582 nb_pixel_total : 147791 time to create 1 rle with old method : 0.16250085830688477 create new chi : 3.275998830795288 time to delete rle : 0.0010454654693603516 batch 1 Loaded 16 chid ids of type : 3726 Number RLEs to save : 10879 TO DO : save crop sub photo not yet done ! save time : 0.7564263343811035 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 5.104551315307617 time for calcul the mask position with numpy : 1.1832962036132812 nb_pixel_total : 6786223 time to create 1 rle with new method : 0.8361332416534424 time for calcul the mask position with numpy : 0.030957460403442383 nb_pixel_total : 24710 time to create 1 rle with old method : 0.027670860290527344 time for calcul the mask position with numpy : 0.021727561950683594 nb_pixel_total : 73740 time to create 1 rle with old method : 0.1042945384979248 time for calcul the mask position with numpy : 0.023992538452148438 nb_pixel_total : 14070 time to create 1 rle with old method : 0.015938282012939453 time for calcul the mask position with numpy : 0.023764371871948242 nb_pixel_total : 78774 time to create 1 rle with old method : 0.10795116424560547 time for calcul the mask position with numpy : 0.02321767807006836 nb_pixel_total : 72723 time to create 1 rle with old method : 0.08115506172180176 create new chi : 2.5299296379089355 time to delete rle : 0.0004930496215820312 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 5276 TO DO : save crop sub photo not yet done ! save time : 0.4174668788909912 nb_obj : 23 nb_hashtags : 7 time to prepare the origin masks : 23.104641437530518 time for calcul the mask position with numpy : 1.0161428451538086 nb_pixel_total : 6064631 time to create 1 rle with new method : 0.6394574642181396 time for calcul the mask position with numpy : 0.03426647186279297 nb_pixel_total : 16709 time to create 1 rle with old method : 0.020984411239624023 time for calcul the mask position with numpy : 0.03345203399658203 nb_pixel_total : 26276 time to create 1 rle with old method : 0.028910398483276367 time for calcul the mask position with numpy : 0.03291606903076172 nb_pixel_total : 8647 time to create 1 rle with old method : 0.009837865829467773 time for calcul the mask position with numpy : 0.02904963493347168 nb_pixel_total : 58221 time to create 1 rle with old method : 0.06369686126708984 time for calcul the mask position with numpy : 0.023819684982299805 nb_pixel_total : 2308 time to create 1 rle with old method : 0.0026121139526367188 time for calcul the mask position with numpy : 0.02434229850769043 nb_pixel_total : 26533 time to create 1 rle with old method : 0.02950263023376465 time for calcul the mask position with numpy : 0.023499250411987305 nb_pixel_total : 56847 time to create 1 rle with old method : 0.06659507751464844 time for calcul the mask position with numpy : 0.024553537368774414 nb_pixel_total : 23499 time to create 1 rle with old method : 0.02620863914489746 time for calcul the mask position with numpy : 0.026087284088134766 nb_pixel_total : 33907 time to create 1 rle with old method : 0.04153847694396973 time for calcul the mask position with numpy : 0.02772378921508789 nb_pixel_total : 6056 time to create 1 rle with old method : 0.008915185928344727 time for calcul the mask position with numpy : 0.02469158172607422 nb_pixel_total : 109775 time to create 1 rle with old method : 0.12133240699768066 time for calcul the mask position with numpy : 0.02380204200744629 nb_pixel_total : 26527 time to create 1 rle with old method : 0.029397010803222656 time for calcul the mask position with numpy : 0.028746843338012695 nb_pixel_total : 289744 time to create 1 rle with new method : 0.6783835887908936 time for calcul the mask position with numpy : 0.034972429275512695 nb_pixel_total : 29939 time to create 1 rle with old method : 0.034119606018066406 time for calcul the mask position with numpy : 0.03525972366333008 nb_pixel_total : 6120 time to create 1 rle with old method : 0.006860971450805664 time for calcul the mask position with numpy : 0.0338742733001709 nb_pixel_total : 4658 time to create 1 rle with old method : 0.005557060241699219 time for calcul the mask position with numpy : 0.034113168716430664 nb_pixel_total : 12034 time to create 1 rle with old method : 0.013957023620605469 time for calcul the mask position with numpy : 0.034522294998168945 nb_pixel_total : 6998 time to create 1 rle with old method : 0.008138179779052734 time for calcul the mask position with numpy : 0.03437185287475586 nb_pixel_total : 6720 time to create 1 rle with old method : 0.007655620574951172 time for calcul the mask position with numpy : 0.035878896713256836 nb_pixel_total : 195545 time to create 1 rle with new method : 0.6892528533935547 time for calcul the mask position with numpy : 0.03395271301269531 nb_pixel_total : 3563 time to create 1 rle with old method : 0.004090309143066406 time for calcul the mask position with numpy : 0.03385615348815918 nb_pixel_total : 14444 time to create 1 rle with old method : 0.01658010482788086 time for calcul the mask position with numpy : 0.034009695053100586 nb_pixel_total : 20539 time to create 1 rle with old method : 0.023102760314941406 create new chi : 4.387994766235352 time to delete rle : 0.0012388229370117188 batch 1 Loaded 24 chid ids of type : 3726 Number RLEs to save : 12996 TO DO : save crop sub photo not yet done ! save time : 0.9359052181243896 nb_obj : 21 nb_hashtags : 6 time to prepare the origin masks : 17.56767773628235 time for calcul the mask position with numpy : 0.4889500141143799 nb_pixel_total : 6382814 time to create 1 rle with new method : 0.8374817371368408 time for calcul the mask position with numpy : 0.03341197967529297 nb_pixel_total : 33695 time to create 1 rle with old method : 0.036768436431884766 time for calcul the mask position with numpy : 0.034342050552368164 nb_pixel_total : 40278 time to create 1 rle with old method : 0.0444793701171875 time for calcul the mask position with numpy : 0.0348813533782959 nb_pixel_total : 85465 time to create 1 rle with old method : 0.09235095977783203 time for calcul the mask position with numpy : 0.0361332893371582 nb_pixel_total : 46774 time to create 1 rle with old method : 0.0518956184387207 time for calcul the mask position with numpy : 0.03628087043762207 nb_pixel_total : 58655 time to create 1 rle with old method : 0.06493973731994629 time for calcul the mask position with numpy : 0.04011988639831543 nb_pixel_total : 7724 time to create 1 rle with old method : 0.00882101058959961 time for calcul the mask position with numpy : 0.0345916748046875 nb_pixel_total : 2801 time to create 1 rle with old method : 0.0032939910888671875 time for calcul the mask position with numpy : 0.03969931602478027 nb_pixel_total : 25182 time to create 1 rle with old method : 0.04035520553588867 time for calcul the mask position with numpy : 0.03606414794921875 nb_pixel_total : 2704 time to create 1 rle with old method : 0.003263711929321289 time for calcul the mask position with numpy : 0.03368735313415527 nb_pixel_total : 94794 time to create 1 rle with old method : 0.10437870025634766 time for calcul the mask position with numpy : 0.033228397369384766 nb_pixel_total : 32849 time to create 1 rle with old method : 0.036417245864868164 time for calcul the mask position with numpy : 0.03573179244995117 nb_pixel_total : 3920 time to create 1 rle with old method : 0.004625797271728516 time for calcul the mask position with numpy : 0.03590655326843262 nb_pixel_total : 5626 time to create 1 rle with old method : 0.0065577030181884766 time for calcul the mask position with numpy : 0.03522920608520508 nb_pixel_total : 434 time to create 1 rle with old method : 0.0005421638488769531 time for calcul the mask position with numpy : 0.03556942939758301 nb_pixel_total : 28732 time to create 1 rle with old method : 0.031945228576660156 time for calcul the mask position with numpy : 0.03617119789123535 nb_pixel_total : 19372 time to create 1 rle with old method : 0.021486520767211914 time for calcul the mask position with numpy : 0.03202056884765625 nb_pixel_total : 16886 time to create 1 rle with old method : 0.01838397979736328 time for calcul the mask position with numpy : 0.02394390106201172 nb_pixel_total : 23356 time to create 1 rle with old method : 0.025901079177856445 time for calcul the mask position with numpy : 0.028183937072753906 nb_pixel_total : 46820 time to create 1 rle with old method : 0.07833218574523926 time for calcul the mask position with numpy : 0.024990558624267578 nb_pixel_total : 23747 time to create 1 rle with old method : 0.029949665069580078 time for calcul the mask position with numpy : 0.02541828155517578 nb_pixel_total : 67612 time to create 1 rle with old method : 0.08624148368835449 create new chi : 2.8691670894622803 time to delete rle : 0.0014662742614746094 batch 1 Loaded 22 chid ids of type : 3726 Number RLEs to save : 12612 TO DO : save crop sub photo not yet done ! save time : 1.435868501663208 nb_obj : 27 nb_hashtags : 8 time to prepare the origin masks : 10.496214151382446 time for calcul the mask position with numpy : 0.624859094619751 nb_pixel_total : 4963871 time to create 1 rle with new method : 1.077570915222168 time for calcul the mask position with numpy : 0.02836751937866211 nb_pixel_total : 2251 time to create 1 rle with old method : 0.0024993419647216797 time for calcul the mask position with numpy : 0.02821636199951172 nb_pixel_total : 20726 time to create 1 rle with old method : 0.02354574203491211 time for calcul the mask position with numpy : 0.033483028411865234 nb_pixel_total : 396639 time to create 1 rle with new method : 1.0780885219573975 time for calcul the mask position with numpy : 0.030153989791870117 nb_pixel_total : 228902 time to create 1 rle with new method : 0.5382134914398193 time for calcul the mask position with numpy : 0.029544830322265625 nb_pixel_total : 9214 time to create 1 rle with old method : 0.010471820831298828 time for calcul the mask position with numpy : 0.0301053524017334 nb_pixel_total : 93836 time to create 1 rle with old method : 0.10419631004333496 time for calcul the mask position with numpy : 0.031675100326538086 nb_pixel_total : 170038 time to create 1 rle with new method : 0.5406765937805176 time for calcul the mask position with numpy : 0.029480695724487305 nb_pixel_total : 185584 time to create 1 rle with new method : 0.7370193004608154 time for calcul the mask position with numpy : 0.030886173248291016 nb_pixel_total : 25090 time to create 1 rle with old method : 0.029526948928833008 time for calcul the mask position with numpy : 0.03193807601928711 nb_pixel_total : 57622 time to create 1 rle with old method : 0.0668940544128418 time for calcul the mask position with numpy : 0.030972957611083984 nb_pixel_total : 6230 time to create 1 rle with old method : 0.007062435150146484 time for calcul the mask position with numpy : 0.029590606689453125 nb_pixel_total : 28097 time to create 1 rle with old method : 0.03334808349609375 time for calcul the mask position with numpy : 0.030757427215576172 nb_pixel_total : 79893 time to create 1 rle with old method : 0.08778905868530273 time for calcul the mask position with numpy : 0.02963709831237793 nb_pixel_total : 82374 time to create 1 rle with old method : 0.0933995246887207 time for calcul the mask position with numpy : 0.030156612396240234 nb_pixel_total : 14305 time to create 1 rle with old method : 0.016442060470581055 time for calcul the mask position with numpy : 0.02973008155822754 nb_pixel_total : 40049 time to create 1 rle with old method : 0.047753334045410156 time for calcul the mask position with numpy : 0.032186031341552734 nb_pixel_total : 45011 time to create 1 rle with old method : 0.05596494674682617 time for calcul the mask position with numpy : 0.03537344932556152 nb_pixel_total : 80312 time to create 1 rle with old method : 0.09405088424682617 time for calcul the mask position with numpy : 0.03050851821899414 nb_pixel_total : 24850 time to create 1 rle with old method : 0.029652118682861328 time for calcul the mask position with numpy : 0.02957630157470703 nb_pixel_total : 24642 time to create 1 rle with old method : 0.028553009033203125 time for calcul the mask position with numpy : 0.03324460983276367 nb_pixel_total : 325946 time to create 1 rle with new method : 0.4263787269592285 time for calcul the mask position with numpy : 0.03067493438720703 nb_pixel_total : 9938 time to create 1 rle with old method : 0.011673927307128906 time for calcul the mask position with numpy : 0.029263734817504883 nb_pixel_total : 10723 time to create 1 rle with old method : 0.01199960708618164 time for calcul the mask position with numpy : 0.03055286407470703 nb_pixel_total : 62301 time to create 1 rle with old method : 0.06999564170837402 time for calcul the mask position with numpy : 0.029374122619628906 nb_pixel_total : 9592 time to create 1 rle with old method : 0.010992765426635742 time for calcul the mask position with numpy : 0.028669357299804688 nb_pixel_total : 18163 time to create 1 rle with old method : 0.020417213439941406 time for calcul the mask position with numpy : 0.031293392181396484 nb_pixel_total : 34041 time to create 1 rle with old method : 0.038106679916381836 create new chi : 6.908815860748291 time to delete rle : 0.0027992725372314453 batch 1 Loaded 28 chid ids of type : 3726 Number RLEs to save : 23725 TO DO : save crop sub photo not yet done ! save time : 1.6074039936065674 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 7.167837142944336 time for calcul the mask position with numpy : 0.28667116165161133 nb_pixel_total : 3325342 time to create 1 rle with new method : 0.6841175556182861 time for calcul the mask position with numpy : 0.020824670791625977 nb_pixel_total : 54611 time to create 1 rle with old method : 0.05910825729370117 time for calcul the mask position with numpy : 0.021830081939697266 nb_pixel_total : 355651 time to create 1 rle with new method : 1.0440771579742432 time for calcul the mask position with numpy : 0.02567315101623535 nb_pixel_total : 132888 time to create 1 rle with old method : 0.14044976234436035 time for calcul the mask position with numpy : 0.024670124053955078 nb_pixel_total : 48981 time to create 1 rle with old method : 0.05070614814758301 time for calcul the mask position with numpy : 0.025516033172607422 nb_pixel_total : 138449 time to create 1 rle with old method : 0.1433722972869873 time for calcul the mask position with numpy : 0.02573847770690918 nb_pixel_total : 42689 time to create 1 rle with old method : 0.04438304901123047 time for calcul the mask position with numpy : 0.02254486083984375 nb_pixel_total : 6092 time to create 1 rle with old method : 0.006561756134033203 time for calcul the mask position with numpy : 0.025025367736816406 nb_pixel_total : 59739 time to create 1 rle with old method : 0.06781959533691406 time for calcul the mask position with numpy : 0.10728073120117188 nb_pixel_total : 2799126 time to create 1 rle with new method : 0.892371416091919 time for calcul the mask position with numpy : 0.04222893714904785 nb_pixel_total : 17032 time to create 1 rle with old method : 0.027922630310058594 time for calcul the mask position with numpy : 0.04280352592468262 nb_pixel_total : 69640 time to create 1 rle with old method : 0.07800412178039551 create new chi : 4.003652572631836 time to delete rle : 0.0017991065979003906 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 15384 TO DO : save crop sub photo not yet done ! save time : 3.0123136043548584 nb_obj : 17 nb_hashtags : 6 time to prepare the origin masks : 20.600678205490112 time for calcul the mask position with numpy : 0.5004775524139404 nb_pixel_total : 6040344 time to create 1 rle with new method : 0.9330735206604004 time for calcul the mask position with numpy : 0.04118609428405762 nb_pixel_total : 72701 time to create 1 rle with old method : 0.08815336227416992 time for calcul the mask position with numpy : 0.036469459533691406 nb_pixel_total : 29817 time to create 1 rle with old method : 0.033386945724487305 time for calcul the mask position with numpy : 0.035504817962646484 nb_pixel_total : 55025 time to create 1 rle with old method : 0.05956578254699707 time for calcul the mask position with numpy : 0.03421330451965332 nb_pixel_total : 530 time to create 1 rle with old method : 0.0008783340454101562 time for calcul the mask position with numpy : 0.03461003303527832 nb_pixel_total : 94647 time to create 1 rle with old method : 0.10457706451416016 time for calcul the mask position with numpy : 0.025084495544433594 nb_pixel_total : 14403 time to create 1 rle with old method : 0.016260862350463867 time for calcul the mask position with numpy : 0.02811431884765625 nb_pixel_total : 236600 time to create 1 rle with new method : 1.2717983722686768 time for calcul the mask position with numpy : 0.023713111877441406 nb_pixel_total : 2391 time to create 1 rle with old method : 0.0030739307403564453 time for calcul the mask position with numpy : 0.024174928665161133 nb_pixel_total : 64041 time to create 1 rle with old method : 0.06931948661804199 time for calcul the mask position with numpy : 0.023806095123291016 nb_pixel_total : 36478 time to create 1 rle with old method : 0.04092717170715332 time for calcul the mask position with numpy : 0.023549556732177734 nb_pixel_total : 4233 time to create 1 rle with old method : 0.0049741268157958984 time for calcul the mask position with numpy : 0.028252363204956055 nb_pixel_total : 351764 time to create 1 rle with new method : 0.786776065826416 time for calcul the mask position with numpy : 0.0268099308013916 nb_pixel_total : 3431 time to create 1 rle with old method : 0.003952980041503906 time for calcul the mask position with numpy : 0.028241634368896484 nb_pixel_total : 3485 time to create 1 rle with old method : 0.0042645931243896484 time for calcul the mask position with numpy : 0.022678136825561523 nb_pixel_total : 5829 time to create 1 rle with old method : 0.006959676742553711 time for calcul the mask position with numpy : 0.022340059280395508 nb_pixel_total : 27776 time to create 1 rle with old method : 0.031262874603271484 time for calcul the mask position with numpy : 0.02219414710998535 nb_pixel_total : 6745 time to create 1 rle with old method : 0.007807254791259766 create new chi : 4.545391082763672 time to delete rle : 0.001268148422241211 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 12957 TO DO : save crop sub photo not yet done ! save time : 0.8609795570373535 nb_obj : 17 nb_hashtags : 4 time to prepare the origin masks : 12.92724084854126 time for calcul the mask position with numpy : 1.3969476222991943 nb_pixel_total : 6311215 time to create 1 rle with new method : 0.926630973815918 time for calcul the mask position with numpy : 0.02010655403137207 nb_pixel_total : 7931 time to create 1 rle with old method : 0.008977174758911133 time for calcul the mask position with numpy : 0.020400285720825195 nb_pixel_total : 6602 time to create 1 rle with old method : 0.007332324981689453 time for calcul the mask position with numpy : 0.02127242088317871 nb_pixel_total : 41880 time to create 1 rle with old method : 0.047039031982421875 time for calcul the mask position with numpy : 0.021632671356201172 nb_pixel_total : 2263 time to create 1 rle with old method : 0.0027914047241210938 time for calcul the mask position with numpy : 0.02081131935119629 nb_pixel_total : 15266 time to create 1 rle with old method : 0.017252206802368164 time for calcul the mask position with numpy : 0.022040128707885742 nb_pixel_total : 68988 time to create 1 rle with old method : 0.07580995559692383 time for calcul the mask position with numpy : 0.020526647567749023 nb_pixel_total : 10247 time to create 1 rle with old method : 0.011521577835083008 time for calcul the mask position with numpy : 0.020595312118530273 nb_pixel_total : 10786 time to create 1 rle with old method : 0.011885881423950195 time for calcul the mask position with numpy : 0.020650625228881836 nb_pixel_total : 36712 time to create 1 rle with old method : 0.040775299072265625 time for calcul the mask position with numpy : 0.021464109420776367 nb_pixel_total : 61382 time to create 1 rle with old method : 0.06724810600280762 time for calcul the mask position with numpy : 0.02058100700378418 nb_pixel_total : 6406 time to create 1 rle with old method : 0.007348537445068359 time for calcul the mask position with numpy : 0.020721912384033203 nb_pixel_total : 9283 time to create 1 rle with old method : 0.010508060455322266 time for calcul the mask position with numpy : 0.020217180252075195 nb_pixel_total : 3140 time to create 1 rle with old method : 0.0036804676055908203 time for calcul the mask position with numpy : 0.020418643951416016 nb_pixel_total : 70883 time to create 1 rle with old method : 0.07714152336120605 time for calcul the mask position with numpy : 0.020475149154663086 nb_pixel_total : 4018 time to create 1 rle with old method : 0.004684925079345703 time for calcul the mask position with numpy : 0.021080970764160156 nb_pixel_total : 50893 time to create 1 rle with old method : 0.05560445785522461 time for calcul the mask position with numpy : 0.021941661834716797 nb_pixel_total : 332345 time to create 1 rle with new method : 0.7361063957214355 create new chi : 3.9321959018707275 time to delete rle : 0.0010142326354980469 batch 1 Loaded 18 chid ids of type : 3726 Number RLEs to save : 10555 TO DO : save crop sub photo not yet done ! save time : 0.8080828189849854 nb_obj : 26 nb_hashtags : 7 time to prepare the origin masks : 9.43476390838623 time for calcul the mask position with numpy : 0.6220762729644775 nb_pixel_total : 6301929 time to create 1 rle with new method : 0.7804903984069824 time for calcul the mask position with numpy : 0.030388832092285156 nb_pixel_total : 2185 time to create 1 rle with old method : 0.0029604434967041016 time for calcul the mask position with numpy : 0.029793739318847656 nb_pixel_total : 19479 time to create 1 rle with old method : 0.022528648376464844 time for calcul the mask position with numpy : 0.029568195343017578 nb_pixel_total : 1257 time to create 1 rle with old method : 0.0015997886657714844 time for calcul the mask position with numpy : 0.030348539352416992 nb_pixel_total : 3828 time to create 1 rle with old method : 0.00702214241027832 time for calcul the mask position with numpy : 0.038344383239746094 nb_pixel_total : 16064 time to create 1 rle with old method : 0.027155399322509766 time for calcul the mask position with numpy : 0.029825687408447266 nb_pixel_total : 42683 time to create 1 rle with old method : 0.048329830169677734 time for calcul the mask position with numpy : 0.028978347778320312 nb_pixel_total : 2477 time to create 1 rle with old method : 0.003132343292236328 time for calcul the mask position with numpy : 0.02872300148010254 nb_pixel_total : 36274 time to create 1 rle with old method : 0.04154157638549805 time for calcul the mask position with numpy : 0.028180599212646484 nb_pixel_total : 5656 time to create 1 rle with old method : 0.0063860416412353516 time for calcul the mask position with numpy : 0.027998924255371094 nb_pixel_total : 11692 time to create 1 rle with old method : 0.013503789901733398 time for calcul the mask position with numpy : 0.027951955795288086 nb_pixel_total : 2517 time to create 1 rle with old method : 0.0027837753295898438 time for calcul the mask position with numpy : 0.02825784683227539 nb_pixel_total : 33398 time to create 1 rle with old method : 0.037258148193359375 time for calcul the mask position with numpy : 0.029285669326782227 nb_pixel_total : 31508 time to create 1 rle with old method : 0.03555607795715332 time for calcul the mask position with numpy : 0.028966188430786133 nb_pixel_total : 48092 time to create 1 rle with old method : 0.05292344093322754 time for calcul the mask position with numpy : 0.028388500213623047 nb_pixel_total : 7062 time to create 1 rle with old method : 0.008056163787841797 time for calcul the mask position with numpy : 0.028194665908813477 nb_pixel_total : 37483 time to create 1 rle with old method : 0.04125642776489258 time for calcul the mask position with numpy : 0.029307126998901367 nb_pixel_total : 94234 time to create 1 rle with old method : 0.10959148406982422 time for calcul the mask position with numpy : 0.028757333755493164 nb_pixel_total : 26917 time to create 1 rle with old method : 0.029191970825195312 time for calcul the mask position with numpy : 0.027571439743041992 nb_pixel_total : 133867 time to create 1 rle with old method : 0.17058873176574707 time for calcul the mask position with numpy : 0.028369665145874023 nb_pixel_total : 3323 time to create 1 rle with old method : 0.0037119388580322266 time for calcul the mask position with numpy : 0.028202295303344727 nb_pixel_total : 11045 time to create 1 rle with old method : 0.012413501739501953 time for calcul the mask position with numpy : 0.02985548973083496 nb_pixel_total : 35360 time to create 1 rle with old method : 0.038134098052978516 time for calcul the mask position with numpy : 0.02826690673828125 nb_pixel_total : 15883 time to create 1 rle with old method : 0.017795801162719727 time for calcul the mask position with numpy : 0.028623342514038086 nb_pixel_total : 108153 time to create 1 rle with old method : 0.1157846450805664 time for calcul the mask position with numpy : 0.028041839599609375 nb_pixel_total : 14866 time to create 1 rle with old method : 0.016071081161499023 time for calcul the mask position with numpy : 0.027825593948364258 nb_pixel_total : 3008 time to create 1 rle with old method : 0.0033652782440185547 create new chi : 3.067620277404785 time to delete rle : 0.0013463497161865234 batch 1 Loaded 27 chid ids of type : 3726 Number RLEs to save : 15146 TO DO : save crop sub photo not yet done ! save time : 1.2512834072113037 map_output_result : {1336554331: (0.0, 'Should be the crop_list due to order', 0.0), 1336554248: (0.0, 'Should be the crop_list due to order', 0.0), 1336554246: (0.0, 'Should be the crop_list due to order', 0.0), 1336554237: (0.0, 'Should be the crop_list due to order', 0.0), 1336554231: (0.0, 'Should be the crop_list due to order', 0.0), 1336554227: (0.0, 'Should be the crop_list due to order', 0.0), 1336549216: (0.0, 'Should be the crop_list due to order', 0.0), 1336549213: (0.0, 'Should be the crop_list due to order', 0.0), 1336549210: (0.0, 'Should be the crop_list due to order', 0.0), 1336549207: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 10 /1336554331.Didn't retrieve data . /1336554248.Didn't retrieve data . /1336554246.Didn't retrieve data . /1336554237.Didn't retrieve data . /1336554231.Didn't retrieve data . /1336554227.Didn't retrieve data . /1336549216.Didn't retrieve data . /1336549213.Didn't retrieve data . /1336549210.Didn't retrieve data . /1336549207.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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.020998477935791016 save_final save missing photos in datou_result : time spend for datou_step_exec : 187.35776686668396 time spend to save output : 0.021404504776000977 total time spend for step 5 : 187.37917137145996 step6:crop_condition Tue Feb 11 00:18: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 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 188 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/1739229487_388954 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0659031867980957 we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229493_388954 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.6449801921844482 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229499_388954 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.1517229080200195 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 4869462 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229504_388954 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.1026930809020996 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 4869462 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229512_388954 we have uploaded 12 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.795330286026001 we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739229517_388954 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.8610761165618896 we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 Next one ! 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/1739229520_388954 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5057048797607422 we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 37 /1336627520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627817Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336627836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1336628019Didn'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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 121 time used for this insertion : 0.03777790069580078 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.50597381591797 time spend to save output : 0.03874611854553223 total time spend for step 6 : 38.5447199344635 step7:ventilate_hashtags_in_portfolio Tue Feb 11 00:18:42 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 : 20423281 get user id for portfolio 20423281 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`=20423281 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','cartonnette','environnement','Carton_gris','mal_croppe','Carton_brun','kraft','metal','flou','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20423281 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','papier','cartonnette','environnement','Carton_gris','mal_croppe','Carton_brun','kraft','metal','flou','Teint_Dans_La_Masse','autre_refus')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20423441,20423442,20423443,20423444,20423445,20423446,20423447,20423448,20423449,20423450,20423451,20423452?tags=environnement,Teint_Dans_La_Masse,papier,metal,Carton_brun,flou,plastique,autre_refus,kraft,cartonnette,Carton_gris,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 1 /20423281. 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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01297616958618164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.434683084487915 time spend to save output : 0.013221502304077148 total time spend for step 7 : 1.4479045867919922 step8:final Tue Feb 11 00:18:43 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 : {1336554331: ('0.08339530695903873',), 1336554248: ('0.08339530695903873',), 1336554246: ('0.08339530695903873',), 1336554237: ('0.08339530695903873',), 1336554231: ('0.08339530695903873',), 1336554227: ('0.08339530695903873',), 1336549216: ('0.08339530695903873',), 1336549213: ('0.08339530695903873',), 1336549210: ('0.08339530695903873',), 1336549207: ('0.08339530695903873',)} new output for save of step final : {1336554331: ('0.08339530695903873',), 1336554248: ('0.08339530695903873',), 1336554246: ('0.08339530695903873',), 1336554237: ('0.08339530695903873',), 1336554231: ('0.08339530695903873',), 1336554227: ('0.08339530695903873',), 1336549216: ('0.08339530695903873',), 1336549213: ('0.08339530695903873',), 1336549210: ('0.08339530695903873',), 1336549207: ('0.08339530695903873',)} [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 10 /1336554331.Didn't retrieve data . /1336554248.Didn't retrieve data . /1336554246.Didn't retrieve data . /1336554237.Didn't retrieve data . /1336554231.Didn't retrieve data . /1336554227.Didn't retrieve data . /1336549216.Didn't retrieve data . /1336549213.Didn't retrieve data . /1336549210.Didn't retrieve data . /1336549207.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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.015966415405273438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10458898544311523 time spend to save output : 0.01645374298095703 total time spend for step 8 : 0.12104272842407227 step9:velours_tree Tue Feb 11 00:18:43 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.036660194396972656 time spend to save output : 2.8133392333984375e-05 total time spend for step 9 : 0.03668832778930664 step10:send_mail_cod Tue Feb 11 00:18:43 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_P20423281_11-02-2025_00_18_43.pdf 20423444 imagette204234441739229523 20423446 imagette204234461739229523 20423447 change filename to text .change filename to text .change filename to text .change filename to text .imagette204234471739229523 20423448 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234481739229524 20423449 change filename to text .imagette204234491739229524 20423450 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234501739229525 20423452 imagette204234521739229525 20423442 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234421739229525 20423445 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234451739229526 20423451 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette204234511739229527 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20423281 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20423441,20423442,20423443,20423444,20423445,20423446,20423447,20423448,20423449,20423450,20423451,20423452?tags=environnement,Teint_Dans_La_Masse,papier,metal,Carton_brun,flou,plastique,autre_refus,kraft,cartonnette,Carton_gris,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1336554331] : ('0.08339530695903873',) no score found for photo 1336554331 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336554248] : ('0.08339530695903873',) no score found for photo 1336554248 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336554246] : ('0.08339530695903873',) no score found for photo 1336554246 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336554237] : ('0.08339530695903873',) no score found for photo 1336554237 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336554231] : ('0.08339530695903873',) no score found for photo 1336554231 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336554227] : ('0.08339530695903873',) no score found for photo 1336554227 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336549216] : ('0.08339530695903873',) no score found for photo 1336549216 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336549213] : ('0.08339530695903873',) no score found for photo 1336549213 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336549210] : ('0.08339530695903873',) no score found for photo 1336549210 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com args[1336549207] : ('0.08339530695903873',) no score found for photo 1336549207 apple ('0.08339530695903873',) We are sending mail with results at report@fotonower.com refus_total : 0.08339530695903873 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=20423281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1336548735,1336616377,1336616376,1336562176,1336554334,1336554248,1336554246,1336554237,1336554231,1336554227,1336549213,1336549210,1336549207,1336549205,1336549004,1336548902,1336548726,1336548792,1336548746,1336616382) Found this number of photos: 20 begin to download photo : 1336548735 begin to download photo : 1336554248 begin to download photo : 1336549213 begin to download photo : 1336548902 download finish for photo 1336548735 begin to download photo : 1336616377 download finish for photo 1336549213 begin to download photo : 1336549210 download finish for photo 1336548902 begin to download photo : 1336548726 download finish for photo 1336554248 begin to download photo : 1336554246 download finish for photo 1336616377 begin to download photo : 1336616376 download finish for photo 1336549210 begin to download photo : 1336549207 download finish for photo 1336554246 begin to download photo : 1336554237 download finish for photo 1336548726 begin to download photo : 1336548792 download finish for photo 1336616376 begin to download photo : 1336562176 download finish for photo 1336549207 begin to download photo : 1336549205 download finish for photo 1336548792 begin to download photo : 1336548746 download finish for photo 1336554237 begin to download photo : 1336554231 download finish for photo 1336562176 begin to download photo : 1336554334 download finish for photo 1336554231 begin to download photo : 1336554227 download finish for photo 1336549205 begin to download photo : 1336549004 download finish for photo 1336554334 download finish for photo 1336548746 begin to download photo : 1336616382 download finish for photo 1336554227 download finish for photo 1336549004 download finish for photo 1336616382 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_18_43.pdf results_Auto_P20423281_11-02-2025_00_18_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_18_43.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','20423281','results_Auto_P20423281_11-02-2025_00_18_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_18_43.pdf','pdf','','1.15','0.08339530695903873') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] 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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.017482995986938477 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.735644340515137 time spend to save output : 0.017753124237060547 total time spend for step 10 : 8.753397464752197 step11:split_time_score Tue Feb 11 00:18:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('17', 18), ('18', 9)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10022025 20423281 Nombre de photos uploadées : 27 / 23040 (0%) 10022025 20423281 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 10022025 20423281 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014362335205078125 elapsed_time : insert_dashboard_record_day_entry 0.025144338607788086 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423264 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423265 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423266 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423267 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423268 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423269 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423270 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423271 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423272 order by id desc limit 1 Qualite : 0.03219250657314503 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406976_10-02-2025_18_25_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406976 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406976 AND mptpi.`type`=3327 To do Qualite : 0.06874626735493077 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406978_10-02-2025_19_56_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406978 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406978 AND mptpi.`type`=4207 To do Qualite : 0.039250421093410016 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406979_10-02-2025_17_47_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406979 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406979 AND mptpi.`type`=4207 To do Qualite : 0.08218852237472649 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406980_10-02-2025_15_39_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406980 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`=20406980 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406981 order by id desc limit 1 Qualite : 0.22224855111315364 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406982_10-02-2025_16_37_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406982 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406982 AND mptpi.`type`=3594 To do Qualite : 0.5242561690199244 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406983_10-02-2025_22_51_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406983 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11548 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11556 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11557 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11552 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11552 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11555 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11555 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11549 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11580 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11580 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11551 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11550 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11550 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11559 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11551 doesn't seem to be define in the database( WARNING : type of input 3 of step 11550 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11548 doesn't seem to be define in the database( WARNING : type of input 2 of step 11552 doesn't seem to be define in the database( WARNING : output 1 of step 11548 have datatype=2 whereas input 1 of step 11555 have datatype=7 WARNING : type of output 2 of step 11555 doesn't seem to be define in the database( WARNING : type of input 1 of step 11549 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11551 have datatype=10 whereas input 3 of step 11558 have datatype=6 WARNING : type of input 2 of step 11580 doesn't seem to be define in the database( WARNING : output 1 of step 11549 have datatype=7 whereas input 2 of step 11580 have datatype=None WARNING : type of output 3 of step 11580 doesn't seem to be define in the database( WARNING : type of input 1 of step 11551 doesn't seem to be define in the database( WARNING : output 0 of step 11551 have datatype=10 whereas input 0 of step 11586 have datatype=18 WARNING : type of input 5 of step 11558 doesn't seem to be define in the database( WARNING : output 0 of step 11586 have datatype=11 whereas input 5 of step 11558 have datatype=None WARNING : type of output 1 of step 11556 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : type of output 1 of step 11557 doesn't seem to be define in the database( WARNING : type of input 3 of step 11552 doesn't seem to be define in the database( WARNING : output 0 of step 11555 have datatype=1 whereas input 0 of step 11549 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406983 AND mptpi.`type`=4200 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406984 order by id desc limit 1 Qualite : 0.08183746641303798 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406985_10-02-2025_17_32_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406985 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406985 AND mptpi.`type`=4207 To do Qualite : 0.059440007083548574 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406986_10-02-2025_16_45_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406986 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406986 AND mptpi.`type`=4207 To do Qualite : 0.062017376388549365 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406987_10-02-2025_15_54_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406987 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406987 AND mptpi.`type`=4207 To do Qualite : 0.06428706812306653 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20406988_10-02-2025_15_35_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20406988 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20406988 AND mptpi.`type`=4207 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423273 order by id desc limit 1 Qualite : 0.007634860340218631 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423274 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20423274 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423275 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423276 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423277 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423278 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423279 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423280 order by id desc limit 1 Qualite : 0.08109472723835193 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423281_11-02-2025_00_18_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423281 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`=20423281 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423282 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423283 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423284 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423285 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423286 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423287 order by id desc limit 1 Qualite : 0.19405417404230213 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423288 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20423288 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423289 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423290 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423291 order by id desc limit 1 Qualite : 0.040974842720139536 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423292_11-02-2025_00_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423292 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20423292 AND mptpi.`type`=4207 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20423293_11-02-2025_00_18_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20423293 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 27, '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 [1336554331, 1336554248, 1336554246, 1336554237, 1336554231, 1336554227, 1336549216, 1336549213, 1336549210, 1336549207] Looping around the photos to save general results len do output : 1 /20423281Didn'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, '2574201') ('3459', None, '1336554331', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554248', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554246', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554237', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554231', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336554227', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549216', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549213', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549210', None, None, None, None, None, '2574201') ('3459', None, None, None, None, None, None, None, '2574201') ('3459', None, '1336549207', None, None, None, None, None, '2574201') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.016607046127319336 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.782850980758667 time spend to save output : 0.016845226287841797 total time spend for step 11 : 23.79969620704651 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 177.93user 188.25system 6:51.60elapsed 88%CPU (0avgtext+0avgdata 4744280maxresident)k 2634112inputs+172640outputs (9565major+14341142minor)pagefaults 0swaps