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 : 2388506 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 : 44>10 please execute split_portfolio.py -i 20528860 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2584387'] with mtr_portfolio_ids : ['20528860'] and first list_photo_ids : [] new path : /proc/2388506/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, thcl, merge_mask_thcl_custom, rle_unique_nms_with_priority, crop_condition, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.972576379776001 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Fri Feb 14 00:42:28 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 : 6022 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-14 00:42:31.813320: 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-14 00:42:31.839077: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-14 00:42:31.841057: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5b64000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:42:31.841124: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-14 00:42:31.844876: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-14 00:42:32.117428: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x40c51420 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-14 00:42:32.117490: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-14 00:42:32.118579: 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-14 00:42:32.119450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:42:32.127154: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:42:32.130126: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:42:32.130924: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:42:32.136668: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:42:32.138394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:42:32.145670: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:42:32.147160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:42:32.147248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:42:32.148023: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:42:32.148043: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:42:32.148055: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:42:32.149719: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5518 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-14 00:42:32.482140: 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-14 00:42:32.482228: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:42:32.482249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:42:32.482268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:42:32.482286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:42:32.482303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:42:32.482321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:42:32.482338: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:42:32.483614: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:42:32.484907: 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-14 00:42:32.484940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-14 00:42:32.484959: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:42:32.484976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-14 00:42:32.484992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-14 00:42:32.485009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-14 00:42:32.485026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-14 00:42:32.485042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-14 00:42:32.486282: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-14 00:42:32.486319: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-14 00:42:32.486329: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-14 00:42:32.486339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-14 00:42:32.487678: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5518 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-14 00:42:43.590098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-14 00:42:43.789161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1 /data/models_weight/learn_convoyeur_qualipapia_nantes_poly_100521_1/mask_model.h5 size_local : 256031040 size in s3 : 256031040 create time local : 2021-08-09 05:45:48 create time in s3 : 2021-08-06 18:59:51 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 12 Detection mask done ! Trying to reset tf kernel 2388988 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 733 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 : 6022 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.0008089542388916016 nb_pixel_total : 23370 time to create 1 rle with old method : 0.025582551956176758 length of segment : 103 time for calcul the mask position with numpy : 0.001466989517211914 nb_pixel_total : 60010 time to create 1 rle with old method : 0.06563353538513184 length of segment : 533 time for calcul the mask position with numpy : 0.002180337905883789 nb_pixel_total : 90769 time to create 1 rle with old method : 0.0958261489868164 length of segment : 430 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 5044 time to create 1 rle with old method : 0.0061147212982177734 length of segment : 116 time for calcul the mask position with numpy : 0.006022930145263672 nb_pixel_total : 250006 time to create 1 rle with new method : 0.014043569564819336 length of segment : 339 time for calcul the mask position with numpy : 0.0023620128631591797 nb_pixel_total : 118072 time to create 1 rle with old method : 0.12914609909057617 length of segment : 513 time for calcul the mask position with numpy : 0.00021004676818847656 nb_pixel_total : 7855 time to create 1 rle with old method : 0.009131193161010742 length of segment : 143 time for calcul the mask position with numpy : 0.0015976428985595703 nb_pixel_total : 100658 time to create 1 rle with old method : 0.10586810111999512 length of segment : 393 time for calcul the mask position with numpy : 0.0031523704528808594 nb_pixel_total : 207331 time to create 1 rle with new method : 0.013075590133666992 length of segment : 636 time for calcul the mask position with numpy : 0.0016307830810546875 nb_pixel_total : 91230 time to create 1 rle with old method : 0.0961904525756836 length of segment : 400 time for calcul the mask position with numpy : 0.0007495880126953125 nb_pixel_total : 36168 time to create 1 rle with old method : 0.03951120376586914 length of segment : 315 time for calcul the mask position with numpy : 0.0007252693176269531 nb_pixel_total : 43806 time to create 1 rle with old method : 0.04642605781555176 length of segment : 276 time for calcul the mask position with numpy : 0.0003123283386230469 nb_pixel_total : 6535 time to create 1 rle with old method : 0.007436037063598633 length of segment : 203 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 7385 time to create 1 rle with old method : 0.008778095245361328 length of segment : 115 time for calcul the mask position with numpy : 0.0008308887481689453 nb_pixel_total : 44907 time to create 1 rle with old method : 0.0480654239654541 length of segment : 263 time for calcul the mask position with numpy : 0.0006606578826904297 nb_pixel_total : 24330 time to create 1 rle with old method : 0.03960919380187988 length of segment : 260 time for calcul the mask position with numpy : 0.0010461807250976562 nb_pixel_total : 22110 time to create 1 rle with old method : 0.026841163635253906 length of segment : 286 time for calcul the mask position with numpy : 0.0008804798126220703 nb_pixel_total : 43850 time to create 1 rle with old method : 0.05300259590148926 length of segment : 247 time for calcul the mask position with numpy : 0.019190549850463867 nb_pixel_total : 418609 time to create 1 rle with new method : 1.006739616394043 length of segment : 732 time for calcul the mask position with numpy : 0.0007796287536621094 nb_pixel_total : 57402 time to create 1 rle with old method : 0.06006908416748047 length of segment : 385 time for calcul the mask position with numpy : 0.0042743682861328125 nb_pixel_total : 390347 time to create 1 rle with new method : 0.012358427047729492 length of segment : 672 time for calcul the mask position with numpy : 0.0008897781372070312 nb_pixel_total : 56608 time to create 1 rle with old method : 0.07175779342651367 length of segment : 497 time for calcul the mask position with numpy : 0.00014972686767578125 nb_pixel_total : 7214 time to create 1 rle with old method : 0.011486053466796875 length of segment : 89 time for calcul the mask position with numpy : 0.009616374969482422 nb_pixel_total : 507443 time to create 1 rle with new method : 0.02276134490966797 length of segment : 695 time for calcul the mask position with numpy : 0.0005681514739990234 nb_pixel_total : 36269 time to create 1 rle with old method : 0.041948795318603516 length of segment : 312 time for calcul the mask position with numpy : 0.02095961570739746 nb_pixel_total : 988165 time to create 1 rle with new method : 0.07901549339294434 length of segment : 2342 time for calcul the mask position with numpy : 0.004253387451171875 nb_pixel_total : 294431 time to create 1 rle with new method : 0.008661746978759766 length of segment : 863 time for calcul the mask position with numpy : 0.00011539459228515625 nb_pixel_total : 2607 time to create 1 rle with old method : 0.0031812191009521484 length of segment : 93 time for calcul the mask position with numpy : 0.00025081634521484375 nb_pixel_total : 7598 time to create 1 rle with old method : 0.00976252555847168 length of segment : 164 time for calcul the mask position with numpy : 0.001466512680053711 nb_pixel_total : 110536 time to create 1 rle with old method : 0.128493070602417 length of segment : 419 time for calcul the mask position with numpy : 0.0011188983917236328 nb_pixel_total : 59071 time to create 1 rle with old method : 0.07290959358215332 length of segment : 682 time for calcul the mask position with numpy : 0.0024344921112060547 nb_pixel_total : 116321 time to create 1 rle with old method : 0.13423538208007812 length of segment : 709 time for calcul the mask position with numpy : 0.0042269229888916016 nb_pixel_total : 258670 time to create 1 rle with new method : 0.010942935943603516 length of segment : 776 time for calcul the mask position with numpy : 0.0002739429473876953 nb_pixel_total : 7852 time to create 1 rle with old method : 0.009105682373046875 length of segment : 191 time for calcul the mask position with numpy : 0.0038595199584960938 nb_pixel_total : 241369 time to create 1 rle with new method : 0.01440286636352539 length of segment : 577 time for calcul the mask position with numpy : 0.0031986236572265625 nb_pixel_total : 112208 time to create 1 rle with old method : 0.12029671669006348 length of segment : 416 time for calcul the mask position with numpy : 0.0028314590454101562 nb_pixel_total : 86843 time to create 1 rle with old method : 0.0957803726196289 length of segment : 411 time for calcul the mask position with numpy : 0.0005102157592773438 nb_pixel_total : 7870 time to create 1 rle with old method : 0.00895547866821289 length of segment : 92 time for calcul the mask position with numpy : 0.001956939697265625 nb_pixel_total : 54034 time to create 1 rle with old method : 0.05865311622619629 length of segment : 521 time for calcul the mask position with numpy : 0.0017707347869873047 nb_pixel_total : 29923 time to create 1 rle with old method : 0.032772064208984375 length of segment : 305 time for calcul the mask position with numpy : 0.0048675537109375 nb_pixel_total : 168364 time to create 1 rle with new method : 0.0080108642578125 length of segment : 525 time for calcul the mask position with numpy : 0.0005240440368652344 nb_pixel_total : 16445 time to create 1 rle with old method : 0.018321752548217773 length of segment : 89 time for calcul the mask position with numpy : 0.002324342727661133 nb_pixel_total : 63288 time to create 1 rle with old method : 0.06983780860900879 length of segment : 286 time for calcul the mask position with numpy : 0.0003447532653808594 nb_pixel_total : 5347 time to create 1 rle with old method : 0.006396055221557617 length of segment : 79 time for calcul the mask position with numpy : 0.002234935760498047 nb_pixel_total : 45577 time to create 1 rle with old method : 0.04997444152832031 length of segment : 296 time for calcul the mask position with numpy : 0.0012040138244628906 nb_pixel_total : 17879 time to create 1 rle with old method : 0.02315521240234375 length of segment : 118 time for calcul the mask position with numpy : 0.0012805461883544922 nb_pixel_total : 29435 time to create 1 rle with old method : 0.03857827186584473 length of segment : 314 time for calcul the mask position with numpy : 0.00130462646484375 nb_pixel_total : 17855 time to create 1 rle with old method : 0.02854156494140625 length of segment : 325 time for calcul the mask position with numpy : 0.005756378173828125 nb_pixel_total : 211575 time to create 1 rle with new method : 0.011335134506225586 length of segment : 553 time for calcul the mask position with numpy : 0.00034999847412109375 nb_pixel_total : 3306 time to create 1 rle with old method : 0.0042266845703125 length of segment : 114 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 1694 time to create 1 rle with old method : 0.0023012161254882812 length of segment : 48 time for calcul the mask position with numpy : 0.0007169246673583984 nb_pixel_total : 23738 time to create 1 rle with old method : 0.02968597412109375 length of segment : 109 time for calcul the mask position with numpy : 0.0011677742004394531 nb_pixel_total : 41229 time to create 1 rle with old method : 0.05139565467834473 length of segment : 264 time for calcul the mask position with numpy : 0.0026092529296875 nb_pixel_total : 90033 time to create 1 rle with old method : 0.1691744327545166 length of segment : 666 time for calcul the mask position with numpy : 0.0005404949188232422 nb_pixel_total : 29519 time to create 1 rle with old method : 0.03374981880187988 length of segment : 301 time for calcul the mask position with numpy : 0.0004966259002685547 nb_pixel_total : 11966 time to create 1 rle with old method : 0.015517473220825195 length of segment : 200 time for calcul the mask position with numpy : 0.0002512931823730469 nb_pixel_total : 4217 time to create 1 rle with old method : 0.0053365230560302734 length of segment : 83 time for calcul the mask position with numpy : 0.0001780986785888672 nb_pixel_total : 2067 time to create 1 rle with old method : 0.0025789737701416016 length of segment : 64 time for calcul the mask position with numpy : 0.0002117156982421875 nb_pixel_total : 3037 time to create 1 rle with old method : 0.003763914108276367 length of segment : 98 time for calcul the mask position with numpy : 0.0025894641876220703 nb_pixel_total : 127623 time to create 1 rle with old method : 0.14103436470031738 length of segment : 676 time for calcul the mask position with numpy : 0.0019025802612304688 nb_pixel_total : 59410 time to create 1 rle with old method : 0.0662834644317627 length of segment : 342 time for calcul the mask position with numpy : 0.0025031566619873047 nb_pixel_total : 106905 time to create 1 rle with old method : 0.11893987655639648 length of segment : 392 time for calcul the mask position with numpy : 0.00010704994201660156 nb_pixel_total : 3257 time to create 1 rle with old method : 0.004462480545043945 length of segment : 58 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 4677 time to create 1 rle with old method : 0.005504131317138672 length of segment : 110 time for calcul the mask position with numpy : 0.0008738040924072266 nb_pixel_total : 58230 time to create 1 rle with old method : 0.06622767448425293 length of segment : 329 time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 2968 time to create 1 rle with old method : 0.004065752029418945 length of segment : 35 time for calcul the mask position with numpy : 0.0002052783966064453 nb_pixel_total : 3614 time to create 1 rle with old method : 0.004522800445556641 length of segment : 62 time for calcul the mask position with numpy : 0.0005214214324951172 nb_pixel_total : 13948 time to create 1 rle with old method : 0.01702737808227539 length of segment : 135 time for calcul the mask position with numpy : 0.00038695335388183594 nb_pixel_total : 6532 time to create 1 rle with old method : 0.00801539421081543 length of segment : 171 time for calcul the mask position with numpy : 0.0028824806213378906 nb_pixel_total : 120935 time to create 1 rle with old method : 0.1367497444152832 length of segment : 522 time for calcul the mask position with numpy : 0.0005774497985839844 nb_pixel_total : 8327 time to create 1 rle with old method : 0.009603261947631836 length of segment : 187 time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 4696 time to create 1 rle with old method : 0.0058405399322509766 length of segment : 105 time for calcul the mask position with numpy : 0.004140615463256836 nb_pixel_total : 82497 time to create 1 rle with old method : 0.09939026832580566 length of segment : 727 time for calcul the mask position with numpy : 0.004439592361450195 nb_pixel_total : 186546 time to create 1 rle with new method : 0.0071451663970947266 length of segment : 634 time for calcul the mask position with numpy : 0.00016570091247558594 nb_pixel_total : 2746 time to create 1 rle with old method : 0.003437042236328125 length of segment : 69 time for calcul the mask position with numpy : 0.00011467933654785156 nb_pixel_total : 3241 time to create 1 rle with old method : 0.004004478454589844 length of segment : 44 time for calcul the mask position with numpy : 0.001661062240600586 nb_pixel_total : 39579 time to create 1 rle with old method : 0.04738044738769531 length of segment : 487 time for calcul the mask position with numpy : 0.00035691261291503906 nb_pixel_total : 9828 time to create 1 rle with old method : 0.011744022369384766 length of segment : 127 time for calcul the mask position with numpy : 0.0018875598907470703 nb_pixel_total : 42106 time to create 1 rle with old method : 0.04972481727600098 length of segment : 569 time for calcul the mask position with numpy : 0.011084794998168945 nb_pixel_total : 374244 time to create 1 rle with new method : 0.028106212615966797 length of segment : 1225 time for calcul the mask position with numpy : 0.0006277561187744141 nb_pixel_total : 13676 time to create 1 rle with old method : 0.01592254638671875 length of segment : 271 time for calcul the mask position with numpy : 0.0007507801055908203 nb_pixel_total : 30853 time to create 1 rle with old method : 0.03674125671386719 length of segment : 205 time for calcul the mask position with numpy : 0.002157926559448242 nb_pixel_total : 101476 time to create 1 rle with old method : 0.11636686325073242 length of segment : 429 time for calcul the mask position with numpy : 0.0019936561584472656 nb_pixel_total : 118230 time to create 1 rle with old method : 0.13337063789367676 length of segment : 430 time for calcul the mask position with numpy : 0.00054931640625 nb_pixel_total : 19243 time to create 1 rle with old method : 0.02287435531616211 length of segment : 369 time for calcul the mask position with numpy : 0.00026988983154296875 nb_pixel_total : 7801 time to create 1 rle with old method : 0.009534597396850586 length of segment : 161 time for calcul the mask position with numpy : 0.008496284484863281 nb_pixel_total : 263707 time to create 1 rle with new method : 0.016224384307861328 length of segment : 1181 time for calcul the mask position with numpy : 0.00027871131896972656 nb_pixel_total : 4274 time to create 1 rle with old method : 0.005207061767578125 length of segment : 79 time for calcul the mask position with numpy : 0.0018434524536132812 nb_pixel_total : 69784 time to create 1 rle with old method : 0.07782411575317383 length of segment : 602 time for calcul the mask position with numpy : 0.0008857250213623047 nb_pixel_total : 11095 time to create 1 rle with old method : 0.013241291046142578 length of segment : 260 time for calcul the mask position with numpy : 8.511543273925781e-05 nb_pixel_total : 3531 time to create 1 rle with old method : 0.004469633102416992 length of segment : 75 time for calcul the mask position with numpy : 0.002703428268432617 nb_pixel_total : 97066 time to create 1 rle with old method : 0.1073300838470459 length of segment : 505 time for calcul the mask position with numpy : 0.006435394287109375 nb_pixel_total : 356904 time to create 1 rle with new method : 0.011284589767456055 length of segment : 605 time for calcul the mask position with numpy : 0.0002505779266357422 nb_pixel_total : 2730 time to create 1 rle with old method : 0.003559112548828125 length of segment : 60 time for calcul the mask position with numpy : 0.0004334449768066406 nb_pixel_total : 14675 time to create 1 rle with old method : 0.017016172409057617 length of segment : 152 time for calcul the mask position with numpy : 0.0007016658782958984 nb_pixel_total : 22746 time to create 1 rle with old method : 0.02761220932006836 length of segment : 204 time for calcul the mask position with numpy : 0.0013422966003417969 nb_pixel_total : 90216 time to create 1 rle with old method : 0.1002199649810791 length of segment : 479 time for calcul the mask position with numpy : 0.0001990795135498047 nb_pixel_total : 4249 time to create 1 rle with old method : 0.004975080490112305 length of segment : 89 time for calcul the mask position with numpy : 0.0013077259063720703 nb_pixel_total : 32724 time to create 1 rle with old method : 0.03853750228881836 length of segment : 350 time for calcul the mask position with numpy : 0.0016515254974365234 nb_pixel_total : 88589 time to create 1 rle with old method : 0.10442829132080078 length of segment : 342 time for calcul the mask position with numpy : 0.00023651123046875 nb_pixel_total : 5061 time to create 1 rle with old method : 0.0060498714447021484 length of segment : 68 time for calcul the mask position with numpy : 0.00022411346435546875 nb_pixel_total : 4772 time to create 1 rle with old method : 0.005817890167236328 length of segment : 87 time for calcul the mask position with numpy : 0.0006866455078125 nb_pixel_total : 23972 time to create 1 rle with old method : 0.02774953842163086 length of segment : 202 time for calcul the mask position with numpy : 0.0050199031829833984 nb_pixel_total : 261206 time to create 1 rle with new method : 0.008646011352539062 length of segment : 583 time for calcul the mask position with numpy : 0.0005788803100585938 nb_pixel_total : 18566 time to create 1 rle with old method : 0.022315502166748047 length of segment : 198 time for calcul the mask position with numpy : 0.0013113021850585938 nb_pixel_total : 67350 time to create 1 rle with old method : 0.07594895362854004 length of segment : 292 time for calcul the mask position with numpy : 0.26680469512939453 nb_pixel_total : 2323004 time to create 1 rle with new method : 1.4429118633270264 length of segment : 3002 time for calcul the mask position with numpy : 0.0004086494445800781 nb_pixel_total : 22640 time to create 1 rle with old method : 0.02630162239074707 length of segment : 231 time for calcul the mask position with numpy : 0.0009014606475830078 nb_pixel_total : 65310 time to create 1 rle with old method : 0.07297921180725098 length of segment : 272 time spent for convertir_results : 13.657443046569824 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 109 chid ids of type : 3663 Number RLEs to save : 40835 save missing photos in datou_result : time spend for datou_step_exec : 79.51999187469482 time spend to save output : 7.02236270904541 total time spend for step 1 : 86.54235458374023 step2:crop_condition Fri Feb 14 00:43:54 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 109 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! we have finished the crop for the class : 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 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 ! map_result returned by crop_photo_return_map_crop : length : 34 About to insert : list_path_to_insert length 34 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 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 [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 65 /-3674043490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3674043558Didn'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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 205 time used for this insertion : 0.033484458923339844 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.31854820251465 time spend to save output : 0.03559064865112305 total time spend for step 2 : 35.35413885116577 step3:thcl Fri Feb 14 00:44:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.006693124771118164 time to convert the images to numpy array : 0.01244497299194336 time to import caffe and check if the image exist : 0.007704019546508789 time to convert the images to numpy array : 0.0695493221282959 time to import caffe and check if the image exist : 0.0039293766021728516 time to convert the images to numpy array : 0.08977150917053223 time to import caffe and check if the image exist : 0.007157802581787109 time to convert the images to numpy array : 0.09296441078186035 time to import caffe and check if the image exist : 0.009538650512695312 time to convert the images to numpy array : 0.10395622253417969 time to import caffe and check if the image exist : 0.007936239242553711 time to convert the images to numpy array : 0.23281502723693848 time to import caffe and check if the image exist : 0.007013082504272461 time to convert the images to numpy array : 0.2375185489654541 time to import caffe and check if the image exist : 0.007844924926757812 time to convert the images to numpy array : 0.24974918365478516 time to import caffe and check if the image exist : 0.008109092712402344 time to convert the images to numpy array : 0.26334285736083984 time to import caffe and check if the image exist : 0.012708425521850586 time to convert the images to numpy array : 0.394883394241333 total time to convert the images to numpy array : 0.617534875869751 list photo_ids error: [] list photo_ids correct : [-3674043559, -3674043558, -3674043576, -3674043577, -3674043582, -3674043586, -3674043484, -3674043492, -3674043500, -3674043516, -3674043522, -3674043531, -3674043525, -3674043517, -3674043520, -3674043538, -3674043499, -3674043502, -3674043497, -3674043509, -3674043533, -3674043524, -3674043530, -3674043537, -3674043551, -3674043550, -3674043554, -3674043563, -3674043573, -3674043585, -3674043490, -3674043523, -3674043548, -3674043488, -3674043494, -3674043504, -3674043512, -3674043526, -3674043547, -3674043566, -3674043569, -3674043583, -3674043487, -3674043485, -3674043549, -3674043579, -3674043483, -3674043498, -3674043507, -3674043518, -3674043560, -3674043513, -3674043532, -3674043519, -3674043539, -3674043542, -3674043564, -3674043556, -3674043489, -3674043486, -3674043482, -3674043480, -3674043493, -3674043503, -3674043501] number of photos to traite : 65 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 : 5801 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 : 5582 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.012664556503296 time used to do the prediction : 1.1674516201019287 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 : 5037 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 : 4781 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 1.7618677616119385 time used to do the prediction : 0.15980839729309082 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 : 1.71661376953125e-05 save missing photos in datou_result : time spend for datou_step_exec : 11.857291460037231 time spend to save output : 0.0005104541778564453 total time spend for step 3 : 11.857801914215088 step4:merge_mask_thcl_custom Fri Feb 14 00:44: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 ! 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 109 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 [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 10 /1337329661Didn't retrieve data .Didn't retrieve data . /1337329013Didn't retrieve data .Didn't retrieve data . /1337329003Didn't retrieve data .Didn't retrieve data . /1337328999Didn't retrieve data .Didn't retrieve data . /1337328993Didn't retrieve data .Didn't retrieve data . /1337328401Didn't retrieve data .Didn't retrieve data . /1337328105Didn't retrieve data .Didn't retrieve data . /1337327902Didn't retrieve data .Didn't retrieve data . /1337327860Didn't retrieve data .Didn't retrieve data . /1337327857Didn'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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.016113758087158203 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06300020217895508 time spend to save output : 0.016618013381958008 total time spend for step 4 : 0.07961821556091309 step5:rle_unique_nms_with_priority Fri Feb 14 00:44: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 complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms nb_obj : 12 nb_hashtags : 7 time to prepare the origin masks : 11.907491207122803 time for calcul the mask position with numpy : 0.4852631092071533 nb_pixel_total : 6036170 time to create 1 rle with new method : 0.40571022033691406 time for calcul the mask position with numpy : 0.03910422325134277 nb_pixel_total : 188658 time to create 1 rle with new method : 0.36881399154663086 time for calcul the mask position with numpy : 0.024893999099731445 nb_pixel_total : 249564 time to create 1 rle with new method : 0.4639773368835449 time for calcul the mask position with numpy : 0.020702838897705078 nb_pixel_total : 36094 time to create 1 rle with old method : 0.03889894485473633 time for calcul the mask position with numpy : 0.021661043167114258 nb_pixel_total : 7833 time to create 1 rle with old method : 0.008742094039916992 time for calcul the mask position with numpy : 0.021768569946289062 nb_pixel_total : 43682 time to create 1 rle with old method : 0.045510292053222656 time for calcul the mask position with numpy : 0.022563695907592773 nb_pixel_total : 5012 time to create 1 rle with old method : 0.0054607391357421875 time for calcul the mask position with numpy : 0.022552013397216797 nb_pixel_total : 100440 time to create 1 rle with old method : 0.10806655883789062 time for calcul the mask position with numpy : 0.03478074073791504 nb_pixel_total : 59874 time to create 1 rle with old method : 0.06812357902526855 time for calcul the mask position with numpy : 0.034334421157836914 nb_pixel_total : 118039 time to create 1 rle with old method : 0.13071632385253906 time for calcul the mask position with numpy : 0.036316871643066406 nb_pixel_total : 90666 time to create 1 rle with old method : 0.09845447540283203 time for calcul the mask position with numpy : 0.036693572998046875 nb_pixel_total : 23188 time to create 1 rle with old method : 0.02550363540649414 time for calcul the mask position with numpy : 0.03987264633178711 nb_pixel_total : 91020 time to create 1 rle with old method : 0.1067659854888916 create new chi : 2.8038170337677 time to delete rle : 0.015682697296142578 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 10186 TO DO : save crop sub photo not yet done ! save time : 1.105388879776001 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 5.228609800338745 time for calcul the mask position with numpy : 0.38351941108703613 nb_pixel_total : 6966708 time to create 1 rle with new method : 0.7323815822601318 time for calcul the mask position with numpy : 0.02579045295715332 nb_pixel_total : 44801 time to create 1 rle with old method : 0.04939389228820801 time for calcul the mask position with numpy : 0.025443553924560547 nb_pixel_total : 2976 time to create 1 rle with old method : 0.0038099288940429688 time for calcul the mask position with numpy : 0.026628494262695312 nb_pixel_total : 6468 time to create 1 rle with old method : 0.007784605026245117 time for calcul the mask position with numpy : 0.030668973922729492 nb_pixel_total : 7267 time to create 1 rle with old method : 0.008233070373535156 time for calcul the mask position with numpy : 0.028755903244018555 nb_pixel_total : 22020 time to create 1 rle with old method : 0.025130271911621094 create new chi : 1.3971905708312988 time to delete rle : 0.0007634162902832031 batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 4255 TO DO : save crop sub photo not yet done ! save time : 0.3711988925933838 nb_obj : 9 nb_hashtags : 6 time to prepare the origin masks : 7.449655771255493 time for calcul the mask position with numpy : 0.3246586322784424 nb_pixel_total : 4662605 time to create 1 rle with new method : 0.49962472915649414 time for calcul the mask position with numpy : 0.05078840255737305 nb_pixel_total : 984594 time to create 1 rle with new method : 0.4795379638671875 time for calcul the mask position with numpy : 0.03462862968444824 nb_pixel_total : 31562 time to create 1 rle with old method : 0.03582930564880371 time for calcul the mask position with numpy : 0.027193546295166016 nb_pixel_total : 294596 time to create 1 rle with new method : 1.0281646251678467 time for calcul the mask position with numpy : 0.04754805564880371 nb_pixel_total : 507761 time to create 1 rle with new method : 0.5035393238067627 time for calcul the mask position with numpy : 0.025274991989135742 nb_pixel_total : 7182 time to create 1 rle with old method : 0.007816553115844727 time for calcul the mask position with numpy : 0.036516427993774414 nb_pixel_total : 29720 time to create 1 rle with old method : 0.03967022895812988 time for calcul the mask position with numpy : 0.040178775787353516 nb_pixel_total : 57402 time to create 1 rle with old method : 0.06206798553466797 time for calcul the mask position with numpy : 0.04201006889343262 nb_pixel_total : 418339 time to create 1 rle with new method : 0.7059051990509033 time for calcul the mask position with numpy : 0.03872251510620117 nb_pixel_total : 56479 time to create 1 rle with old method : 0.0608210563659668 create new chi : 4.252849817276001 time to delete rle : 0.0019600391387939453 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 14408 TO DO : save crop sub photo not yet done ! save time : 2.196603775024414 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 6.995689392089844 time for calcul the mask position with numpy : 0.43993496894836426 nb_pixel_total : 6363816 time to create 1 rle with new method : 0.412581205368042 time for calcul the mask position with numpy : 0.024250507354736328 nb_pixel_total : 36184 time to create 1 rle with old method : 0.04112386703491211 time for calcul the mask position with numpy : 0.02490234375 nb_pixel_total : 86531 time to create 1 rle with old method : 0.09119987487792969 time for calcul the mask position with numpy : 0.026072025299072266 nb_pixel_total : 7778 time to create 1 rle with old method : 0.009693145751953125 time for calcul the mask position with numpy : 0.03006911277770996 nb_pixel_total : 257887 time to create 1 rle with new method : 0.4654204845428467 time for calcul the mask position with numpy : 0.03120112419128418 nb_pixel_total : 115858 time to create 1 rle with old method : 0.1310126781463623 time for calcul the mask position with numpy : 0.026749610900878906 nb_pixel_total : 59170 time to create 1 rle with old method : 0.0651094913482666 time for calcul the mask position with numpy : 0.02639317512512207 nb_pixel_total : 973 time to create 1 rle with old method : 0.001493215560913086 time for calcul the mask position with numpy : 0.026455163955688477 nb_pixel_total : 111897 time to create 1 rle with old method : 0.13286185264587402 time for calcul the mask position with numpy : 0.045963287353515625 nb_pixel_total : 7548 time to create 1 rle with old method : 0.00903463363647461 time for calcul the mask position with numpy : 0.04280233383178711 nb_pixel_total : 2598 time to create 1 rle with old method : 0.0030345916748046875 create new chi : 2.1792428493499756 time to delete rle : 0.0010738372802734375 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 9711 TO DO : save crop sub photo not yet done ! save time : 1.6851801872253418 nb_obj : 19 nb_hashtags : 7 time to prepare the origin masks : 18.291058778762817 time for calcul the mask position with numpy : 0.39759087562561035 nb_pixel_total : 6372505 time to create 1 rle with new method : 0.8662347793579102 time for calcul the mask position with numpy : 0.03683972358703613 nb_pixel_total : 16370 time to create 1 rle with old method : 0.0185544490814209 time for calcul the mask position with numpy : 0.03644132614135742 nb_pixel_total : 29786 time to create 1 rle with old method : 0.03383445739746094 time for calcul the mask position with numpy : 0.036164283752441406 nb_pixel_total : 11581 time to create 1 rle with old method : 0.01505589485168457 time for calcul the mask position with numpy : 0.038530826568603516 nb_pixel_total : 53838 time to create 1 rle with old method : 0.0624239444732666 time for calcul the mask position with numpy : 0.03899264335632324 nb_pixel_total : 23558 time to create 1 rle with old method : 0.026387929916381836 time for calcul the mask position with numpy : 0.03870272636413574 nb_pixel_total : 1686 time to create 1 rle with old method : 0.002014636993408203 time for calcul the mask position with numpy : 0.04155158996582031 nb_pixel_total : 3292 time to create 1 rle with old method : 0.0039014816284179688 time for calcul the mask position with numpy : 0.037053585052490234 nb_pixel_total : 627 time to create 1 rle with old method : 0.0008831024169921875 time for calcul the mask position with numpy : 0.028977632522583008 nb_pixel_total : 41188 time to create 1 rle with old method : 0.04564166069030762 time for calcul the mask position with numpy : 0.03203892707824707 nb_pixel_total : 90547 time to create 1 rle with old method : 0.10030484199523926 time for calcul the mask position with numpy : 0.033576011657714844 nb_pixel_total : 5333 time to create 1 rle with old method : 0.0077397823333740234 time for calcul the mask position with numpy : 0.026288270950317383 nb_pixel_total : 6838 time to create 1 rle with old method : 0.011553287506103516 time for calcul the mask position with numpy : 0.02750682830810547 nb_pixel_total : 29480 time to create 1 rle with old method : 0.03680706024169922 time for calcul the mask position with numpy : 0.025211811065673828 nb_pixel_total : 210620 time to create 1 rle with new method : 2.39719295501709 time for calcul the mask position with numpy : 0.027103185653686523 nb_pixel_total : 18827 time to create 1 rle with old method : 0.020880699157714844 time for calcul the mask position with numpy : 0.028088092803955078 nb_pixel_total : 63066 time to create 1 rle with old method : 0.06612324714660645 time for calcul the mask position with numpy : 0.024689674377441406 nb_pixel_total : 7800 time to create 1 rle with old method : 0.008764028549194336 time for calcul the mask position with numpy : 0.024219512939453125 nb_pixel_total : 45530 time to create 1 rle with old method : 0.047592878341674805 time for calcul the mask position with numpy : 0.025011301040649414 nb_pixel_total : 17768 time to create 1 rle with old method : 0.025236129760742188 create new chi : 4.8749098777771 time to delete rle : 0.0019600391387939453 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 10755 TO DO : save crop sub photo not yet done ! save time : 1.8835375308990479 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 8.497666358947754 time for calcul the mask position with numpy : 0.9319543838500977 nb_pixel_total : 6738052 time to create 1 rle with new method : 0.7681522369384766 time for calcul the mask position with numpy : 0.03997230529785156 nb_pixel_total : 130281 time to create 1 rle with old method : 0.15048885345458984 time for calcul the mask position with numpy : 0.04153037071228027 nb_pixel_total : 4647 time to create 1 rle with old method : 0.005216121673583984 time for calcul the mask position with numpy : 0.03702211380004883 nb_pixel_total : 1219 time to create 1 rle with old method : 0.0014796257019042969 time for calcul the mask position with numpy : 0.035134077072143555 nb_pixel_total : 106810 time to create 1 rle with old method : 0.11787295341491699 time for calcul the mask position with numpy : 0.04047822952270508 nb_pixel_total : 3034 time to create 1 rle with old method : 0.0036427974700927734 time for calcul the mask position with numpy : 0.037303924560546875 nb_pixel_total : 794 time to create 1 rle with old method : 0.0011670589447021484 time for calcul the mask position with numpy : 0.03683352470397949 nb_pixel_total : 59200 time to create 1 rle with old method : 0.06933951377868652 time for calcul the mask position with numpy : 0.036087989807128906 nb_pixel_total : 2046 time to create 1 rle with old method : 0.002413511276245117 time for calcul the mask position with numpy : 0.035187482833862305 nb_pixel_total : 4157 time to create 1 rle with old method : 0.0048716068267822266 create new chi : 2.4485557079315186 time to delete rle : 0.0009565353393554688 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 5701 TO DO : save crop sub photo not yet done ! save time : 0.3957498073577881 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 7.808349847793579 time for calcul the mask position with numpy : 0.6392972469329834 nb_pixel_total : 6613587 time to create 1 rle with new method : 0.8896689414978027 time for calcul the mask position with numpy : 0.025304555892944336 nb_pixel_total : 120803 time to create 1 rle with old method : 0.13188934326171875 time for calcul the mask position with numpy : 0.02346014976501465 nb_pixel_total : 3211 time to create 1 rle with old method : 0.003855466842651367 time for calcul the mask position with numpy : 0.024964094161987305 nb_pixel_total : 2737 time to create 1 rle with old method : 0.0032203197479248047 time for calcul the mask position with numpy : 0.027466297149658203 nb_pixel_total : 186294 time to create 1 rle with new method : 0.678478479385376 time for calcul the mask position with numpy : 0.02863335609436035 nb_pixel_total : 8307 time to create 1 rle with old method : 0.009636878967285156 time for calcul the mask position with numpy : 0.02559971809387207 nb_pixel_total : 6512 time to create 1 rle with old method : 0.0075871944427490234 time for calcul the mask position with numpy : 0.024471759796142578 nb_pixel_total : 13780 time to create 1 rle with old method : 0.01539158821105957 time for calcul the mask position with numpy : 0.025244951248168945 nb_pixel_total : 3561 time to create 1 rle with old method : 0.004217863082885742 time for calcul the mask position with numpy : 0.0252230167388916 nb_pixel_total : 2952 time to create 1 rle with old method : 0.0035321712493896484 time for calcul the mask position with numpy : 0.024843454360961914 nb_pixel_total : 4677 time to create 1 rle with old method : 0.0052907466888427734 time for calcul the mask position with numpy : 0.031200885772705078 nb_pixel_total : 83819 time to create 1 rle with old method : 0.08980441093444824 create new chi : 2.8480684757232666 time to delete rle : 0.0010027885437011719 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 7426 TO DO : save crop sub photo not yet done ! save time : 0.600067138671875 nb_obj : 10 nb_hashtags : 4 time to prepare the origin masks : 10.590701818466187 time for calcul the mask position with numpy : 0.712266206741333 nb_pixel_total : 6409902 time to create 1 rle with new method : 0.6422712802886963 time for calcul the mask position with numpy : 0.03866767883300781 nb_pixel_total : 12244 time to create 1 rle with old method : 0.01427769660949707 time for calcul the mask position with numpy : 0.03657197952270508 nb_pixel_total : 7758 time to create 1 rle with old method : 0.009007692337036133 time for calcul the mask position with numpy : 0.03618121147155762 nb_pixel_total : 9931 time to create 1 rle with old method : 0.012362480163574219 time for calcul the mask position with numpy : 0.03764510154724121 nb_pixel_total : 30815 time to create 1 rle with old method : 0.034963369369506836 time for calcul the mask position with numpy : 0.05256056785583496 nb_pixel_total : 373014 time to create 1 rle with new method : 1.1707770824432373 time for calcul the mask position with numpy : 0.041939735412597656 nb_pixel_total : 42310 time to create 1 rle with old method : 0.04996991157531738 time for calcul the mask position with numpy : 0.04029583930969238 nb_pixel_total : 9763 time to create 1 rle with old method : 0.010296344757080078 time for calcul the mask position with numpy : 0.044240713119506836 nb_pixel_total : 13729 time to create 1 rle with old method : 0.015275001525878906 time for calcul the mask position with numpy : 0.04200911521911621 nb_pixel_total : 101333 time to create 1 rle with old method : 0.12454414367675781 time for calcul the mask position with numpy : 0.04523444175720215 nb_pixel_total : 39441 time to create 1 rle with old method : 0.04378533363342285 create new chi : 3.43857479095459 time to delete rle : 0.001287698745727539 batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 10429 TO DO : save crop sub photo not yet done ! save time : 0.6829314231872559 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 9.93458342552185 time for calcul the mask position with numpy : 0.7288234233856201 nb_pixel_total : 6472126 time to create 1 rle with new method : 0.6030857563018799 time for calcul the mask position with numpy : 0.04138946533203125 nb_pixel_total : 22632 time to create 1 rle with old method : 0.024530410766601562 time for calcul the mask position with numpy : 0.038869380950927734 nb_pixel_total : 4229 time to create 1 rle with old method : 0.004741191864013672 time for calcul the mask position with numpy : 0.03967690467834473 nb_pixel_total : 14634 time to create 1 rle with old method : 0.016069650650024414 time for calcul the mask position with numpy : 0.03994107246398926 nb_pixel_total : 2688 time to create 1 rle with old method : 0.003255128860473633 time for calcul the mask position with numpy : 0.04783964157104492 nb_pixel_total : 348585 time to create 1 rle with new method : 0.6323139667510986 time for calcul the mask position with numpy : 0.02564072608947754 nb_pixel_total : 519 time to create 1 rle with old method : 0.0006000995635986328 time for calcul the mask position with numpy : 0.024398326873779297 nb_pixel_total : 11017 time to create 1 rle with old method : 0.012602806091308594 time for calcul the mask position with numpy : 0.026131868362426758 nb_pixel_total : 96925 time to create 1 rle with old method : 0.10326910018920898 time for calcul the mask position with numpy : 0.024991750717163086 nb_pixel_total : 76885 time to create 1 rle with old method : 0.08466339111328125 create new chi : 2.602926254272461 time to delete rle : 0.0008370876312255859 batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 6724 TO DO : save crop sub photo not yet done ! save time : 0.5889937877655029 nb_obj : 11 nb_hashtags : 5 time to prepare the origin masks : 14.077735185623169 time for calcul the mask position with numpy : 0.7265398502349854 nb_pixel_total : 4208086 time to create 1 rle with new method : 1.1041920185089111 time for calcul the mask position with numpy : 0.08195805549621582 nb_pixel_total : 2317506 time to create 1 rle with new method : 0.4737844467163086 time for calcul the mask position with numpy : 0.04212498664855957 nb_pixel_total : 18493 time to create 1 rle with old method : 0.019724130630493164 time for calcul the mask position with numpy : 0.04085659980773926 nb_pixel_total : 88470 time to create 1 rle with old method : 0.09200119972229004 time for calcul the mask position with numpy : 0.042597055435180664 nb_pixel_total : 260769 time to create 1 rle with new method : 0.39229631423950195 time for calcul the mask position with numpy : 0.04529237747192383 nb_pixel_total : 4765 time to create 1 rle with old method : 0.0056340694427490234 time for calcul the mask position with numpy : 0.0436553955078125 nb_pixel_total : 2691 time to create 1 rle with old method : 0.003287792205810547 time for calcul the mask position with numpy : 0.048566579818725586 nb_pixel_total : 32626 time to create 1 rle with old method : 0.03596186637878418 time for calcul the mask position with numpy : 0.04069018363952637 nb_pixel_total : 24017 time to create 1 rle with old method : 0.026469707489013672 time for calcul the mask position with numpy : 0.027558326721191406 nb_pixel_total : 22551 time to create 1 rle with old method : 0.024373769760131836 time for calcul the mask position with numpy : 0.027634620666503906 nb_pixel_total : 65243 time to create 1 rle with old method : 0.06840062141418457 time for calcul the mask position with numpy : 0.024261474609375 nb_pixel_total : 5023 time to create 1 rle with old method : 0.005777597427368164 create new chi : 3.5635805130004883 time to delete rle : 0.001332998275756836 batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 12772 TO DO : save crop sub photo not yet done ! save time : 1.202502727508545 map_output_result : {1337329661: (0.0, 'Should be the crop_list due to order', 0.0), 1337329013: (0.0, 'Should be the crop_list due to order', 0.0), 1337329003: (0.0, 'Should be the crop_list due to order', 0.0), 1337328999: (0.0, 'Should be the crop_list due to order', 0.0), 1337328993: (0.0, 'Should be the crop_list due to order', 0.0), 1337328401: (0.0, 'Should be the crop_list due to order', 0.0), 1337328105: (0.0, 'Should be the crop_list due to order', 0.0), 1337327902: (0.0, 'Should be the crop_list due to order', 0.0), 1337327860: (0.0, 'Should be the crop_list due to order', 0.0), 1337327857: (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 [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 10 /1337329661.Didn't retrieve data . /1337329013.Didn't retrieve data . /1337329003.Didn't retrieve data . /1337328999.Didn't retrieve data . /1337328993.Didn't retrieve data . /1337328401.Didn't retrieve data . /1337328105.Didn't retrieve data . /1337327902.Didn't retrieve data . /1337327860.Didn't retrieve data . /1337327857.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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01567864418029785 save_final save missing photos in datou_result : time spend for datou_step_exec : 143.12657713890076 time spend to save output : 0.02664637565612793 total time spend for step 5 : 143.15322351455688 step6:crop_condition Fri Feb 14 00:47:05 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 115 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! map_result returned by crop_photo_return_map_crop : length : 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/1739490427_2388506 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7306997776031494 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/1739490433_2388506 we have uploaded 6 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.005622625350952 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 ! 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/1739490437_2388506 we have uploaded 4 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.1028587818145752 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739490440_2388506 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0442266464233398 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 ! 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/1739490442_2388506 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5255157947540283 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1739490444_2388506 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.344571590423584 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/1739490446_2388506 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5182170867919922 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 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/1739490449_2388506 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6234171390533447 we have finished the crop for the class : metal delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 20 /1337472146Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1337472175Didn'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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 70 time used for this insertion : 0.036847829818725586 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.792548894882202 time spend to save output : 0.038109540939331055 total time spend for step 6 : 25.830658435821533 step7:ventilate_hashtags_in_portfolio Fri Feb 14 00:47:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 20528860 get user id for portfolio 20528860 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`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','Carton_gris','Carton_brun','kraft','autre_refus','mal_croppe','flou','cartonnette','Teint_Dans_La_Masse','environnement','papier')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528860 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','plastique','Carton_gris','Carton_brun','kraft','autre_refus','mal_croppe','flou','cartonnette','Teint_Dans_La_Masse','environnement','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 1 /20528860. 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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.020403623580932617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.787153959274292 time spend to save output : 0.020763635635375977 total time spend for step 7 : 0.807917594909668 step8:final Fri Feb 14 00:47:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1337329661: ('0.06482630262497084',), 1337329013: ('0.06482630262497084',), 1337329003: ('0.06482630262497084',), 1337328999: ('0.06482630262497084',), 1337328993: ('0.06482630262497084',), 1337328401: ('0.06482630262497084',), 1337328105: ('0.06482630262497084',), 1337327902: ('0.06482630262497084',), 1337327860: ('0.06482630262497084',), 1337327857: ('0.06482630262497084',)} new output for save of step final : {1337329661: ('0.06482630262497084',), 1337329013: ('0.06482630262497084',), 1337329003: ('0.06482630262497084',), 1337328999: ('0.06482630262497084',), 1337328993: ('0.06482630262497084',), 1337328401: ('0.06482630262497084',), 1337328105: ('0.06482630262497084',), 1337327902: ('0.06482630262497084',), 1337327860: ('0.06482630262497084',), 1337327857: ('0.06482630262497084',)} [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 10 /1337329661.Didn't retrieve data . /1337329013.Didn't retrieve data . /1337329003.Didn't retrieve data . /1337328999.Didn't retrieve data . /1337328993.Didn't retrieve data . /1337328401.Didn't retrieve data . /1337328105.Didn't retrieve data . /1337327902.Didn't retrieve data . /1337327860.Didn't retrieve data . /1337327857.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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.019579648971557617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12135553359985352 time spend to save output : 0.02028656005859375 total time spend for step 8 : 0.14164209365844727 step9:velours_tree Fri Feb 14 00:47: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 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.18608736991882324 time spend to save output : 4.8160552978515625e-05 total time spend for step 9 : 0.18613553047180176 step10:send_mail_cod Fri Feb 14 00:47: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 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_P20528860_14-02-2025_00_47_32.pdf 20529403 imagette205294031739490452 20529405 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 .imagette205294051739490452 20529406 change filename to text .imagette205294061739490456 20529408 imagette205294081739490456 20529412 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 .imagette205294121739490456 20529413 change filename to text .imagette205294131739490457 20529414 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 .imagette205294141739490457 20529404 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294041739490457 20529407 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 .imagette205294071739490459 20529409 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette205294091739490459 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20528860 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20529403,20529404,20529405,20529406,20529407,20529408,20529409,20529410,20529411,20529412,20529413,20529414?tags=mal_croppe,Carton_gris,plastique,kraft,Teint_Dans_La_Masse,flou,Carton_brun,papier,environnement,autre_refus,metal,cartonnette your option no_mail is active, we will not send the real mail to your client args[1337329661] : ('0.06482630262497084',) no score found for photo 1337329661 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337329013] : ('0.06482630262497084',) no score found for photo 1337329013 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337329003] : ('0.06482630262497084',) no score found for photo 1337329003 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337328999] : ('0.06482630262497084',) no score found for photo 1337328999 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337328993] : ('0.06482630262497084',) no score found for photo 1337328993 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337328401] : ('0.06482630262497084',) no score found for photo 1337328401 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337328105] : ('0.06482630262497084',) no score found for photo 1337328105 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337327902] : ('0.06482630262497084',) no score found for photo 1337327902 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337327860] : ('0.06482630262497084',) no score found for photo 1337327860 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com args[1337327857] : ('0.06482630262497084',) no score found for photo 1337327857 apple ('0.06482630262497084',) We are sending mail with results at report@fotonower.com refus_total : 0.06482630262497084 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=20528860 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1337329752,1337330895,1337327016,1337328401,1337328993,1337329003,1337329664,1337328105,1337329744,1337329755,1337327015,1337462721,1337462725,1337462726,1337462736,1337462743,1337462747,1337462758,1337462769,1337462803) Found this number of photos: 20 begin to download photo : 1337329752 begin to download photo : 1337329003 begin to download photo : 1337327015 begin to download photo : 1337462743 download finish for photo 1337327015 begin to download photo : 1337462721 download finish for photo 1337329003 begin to download photo : 1337329664 download finish for photo 1337462743 begin to download photo : 1337462747 download finish for photo 1337329752 begin to download photo : 1337330895 download finish for photo 1337462721 begin to download photo : 1337462725 download finish for photo 1337462747 begin to download photo : 1337462758 download finish for photo 1337329664 begin to download photo : 1337328105 download finish for photo 1337330895 begin to download photo : 1337327016 download finish for photo 1337462725 begin to download photo : 1337462726 download finish for photo 1337462758 begin to download photo : 1337462769 download finish for photo 1337328105 begin to download photo : 1337329744 download finish for photo 1337462726 begin to download photo : 1337462736 download finish for photo 1337462769 begin to download photo : 1337462803 download finish for photo 1337327016 begin to download photo : 1337328401 download finish for photo 1337462736 download finish for photo 1337329744 begin to download photo : 1337329755 download finish for photo 1337462803 download finish for photo 1337328401 begin to download photo : 1337328993 download finish for photo 1337328993 download finish for photo 1337329755 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_47_32.pdf results_Auto_P20528860_14-02-2025_00_47_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_47_32.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','20528860','results_Auto_P20528860_14-02-2025_00_47_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_47_32.pdf','pdf','','1.4','0.06482630262497084') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] 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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.3012087345123291 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.30804967880249 time spend to save output : 0.30153489112854004 total time spend for step 10 : 13.60958456993103 step11:split_time_score Fri Feb 14 00:47: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 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'}] (('10', 22), ('11', 22)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13022025 20528860 Nombre de photos uploadées : 44 / 23040 (0%) 13022025 20528860 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 13022025 20528860 Nombre de photos taguées (volume) : 0 / 44 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002790212631225586 elapsed_time : insert_dashboard_record_day_entry 0.024427175521850586 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 = 20528841 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528843 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528845 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528847 order by id desc limit 1 Qualite : 0.14136086604967552 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503797_13-02-2025_09_15_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503797 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`=20503797 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503798_13-02-2025_15_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503798 order by id desc limit 1 Qualite : 0.14449458458151784 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20503799_13-02-2025_09_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20503799 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`=20503799 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528849 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528851 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528853 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528854 order by id desc limit 1 Qualite : 0.03872013921048173 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528856_14-02-2025_00_31_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528856 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11524 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11533 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11532 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11528 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11528 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11531 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11531 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11525 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11578 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11578 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11527 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11526 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11526 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11535 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11527 doesn't seem to be define in the database( WARNING : type of input 3 of step 11526 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11524 doesn't seem to be define in the database( WARNING : type of input 2 of step 11528 doesn't seem to be define in the database( WARNING : output 1 of step 11524 have datatype=2 whereas input 1 of step 11531 have datatype=7 WARNING : type of output 2 of step 11531 doesn't seem to be define in the database( WARNING : type of input 1 of step 11525 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11527 have datatype=10 whereas input 3 of step 11534 have datatype=6 WARNING : type of input 2 of step 11578 doesn't seem to be define in the database( WARNING : output 1 of step 11525 have datatype=7 whereas input 2 of step 11578 have datatype=None WARNING : type of output 3 of step 11578 doesn't seem to be define in the database( WARNING : type of input 1 of step 11527 doesn't seem to be define in the database( WARNING : output 0 of step 11527 have datatype=10 whereas input 0 of step 11584 have datatype=18 WARNING : type of input 5 of step 11534 doesn't seem to be define in the database( WARNING : output 0 of step 11584 have datatype=11 whereas input 5 of step 11534 have datatype=None WARNING : type of output 1 of step 11533 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : type of output 1 of step 11532 doesn't seem to be define in the database( WARNING : type of input 3 of step 11528 doesn't seem to be define in the database( WARNING : output 0 of step 11531 have datatype=1 whereas input 0 of step 11525 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20528856 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528858 order by id desc limit 1 Qualite : 0.07891361257373916 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528860_14-02-2025_00_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528860 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`=20528860 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528862 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528864 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528865 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528867 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528869 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528871 order by id desc limit 1 Qualite : 0.17378304379236262 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528872 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`=20528872 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528874 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528876 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528878 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528881 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528906 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528907 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528909 order by id desc limit 1 Qualite : 0.027695006543665746 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528911 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`=20528911 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528939 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528940 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528941 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528942 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528943 order by id desc limit 1 Qualite : 0.2035271703240505 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528944_14-02-2025_00_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528944 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`=20528944 AND mptpi.`type`=3327 To do Qualite : 0.06743200877946215 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528945_14-02-2025_00_17_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528945 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`=20528945 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528946 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528947 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528948 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528949 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528950 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528951 order by id desc limit 1 Qualite : 0.14551669770917627 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528952_14-02-2025_00_32_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528952 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`=20528952 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528953 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528954 order by id desc limit 1 Qualite : 0.14252729540879808 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528957_14-02-2025_00_34_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528957 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`=20528957 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528958 order by id desc limit 1 Qualite : 0.04225902608664615 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528959_14-02-2025_00_29_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528959 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`=20528959 AND mptpi.`type`=4207 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 44, '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 [1337329661, 1337329013, 1337329003, 1337328999, 1337328993, 1337328401, 1337328105, 1337327902, 1337327860, 1337327857] Looping around the photos to save general results len do output : 1 /20528860Didn'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, '2584387') ('3459', None, '1337329661', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329013', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337329003', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328999', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328993', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328401', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337328105', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327902', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327860', None, None, None, None, None, '2584387') ('3459', None, None, None, None, None, None, None, '2584387') ('3459', None, '1337327857', None, None, None, None, None, '2584387') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03004932403564453 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.925047636032104 time spend to save output : 0.030260086059570312 total time spend for step 11 : 31.955307722091675 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 129.64user 163.85system 5:55.73elapsed 82%CPU (0avgtext+0avgdata 4090000maxresident)k 1224592inputs+147088outputs (22347major+10854122minor)pagefaults 0swaps