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 : 2204067 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 : 29>10 please execute split_portfolio.py -i 20286225 -l 10 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 3459, datou_cur_ids : ['2557986'] with mtr_portfolio_ids : ['20286225'] and first list_photo_ids : [] new path : /proc/2204067/ 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 ! BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 2.0073695182800293 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Thu Feb 6 05:28:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10553 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-06 05:28:33.807614: 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-06 05:28:33.835215: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-02-06 05:28:33.837234: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f32c8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-06 05:28:33.837265: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-06 05:28:33.841436: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-06 05:28:34.094847: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x31b28080 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-06 05:28:34.094941: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-06 05:28:34.096319: 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-06 05:28:34.096816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:28:34.104384: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:28:34.107923: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:28:34.108531: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:28:34.111980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:28:34.113508: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:28:34.118733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:28:34.120424: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:28:34.120519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:28:34.121395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 05:28:34.121413: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 05:28:34.121423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 05:28:34.122838: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-06 05:28:34.427396: 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-06 05:28:34.427547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:28:34.427570: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:28:34.427590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:28:34.427609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:28:34.427632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:28:34.427653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:28:34.427676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:28:34.429109: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:28:34.430685: 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-06 05:28:34.430791: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-06 05:28:34.430811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:28:34.430826: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-06 05:28:34.430840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-06 05:28:34.430854: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-06 05:28:34.430869: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-06 05:28:34.430883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-06 05:28:34.432337: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-06 05:28:34.432404: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-06 05:28:34.432415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-06 05:28:34.432423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-06 05:28:34.433942: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-06 05:28:44.029726: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-06 05:28:44.227076: 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 : 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 : 12 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 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 : 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 : 10 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3264, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 18) min: 0.00000 max: 3264.00000 nb d'objets trouves : 22 Detection mask done ! Trying to reset tf kernel 2204584 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5264 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 10553 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.00031280517578125 nb_pixel_total : 6022 time to create 1 rle with old method : 0.006325244903564453 length of segment : 131 time for calcul the mask position with numpy : 0.001336812973022461 nb_pixel_total : 59726 time to create 1 rle with old method : 0.060543060302734375 length of segment : 319 time for calcul the mask position with numpy : 0.003330230712890625 nb_pixel_total : 151732 time to create 1 rle with new method : 0.00860285758972168 length of segment : 515 time for calcul the mask position with numpy : 0.0013723373413085938 nb_pixel_total : 57505 time to create 1 rle with old method : 0.05865621566772461 length of segment : 600 time for calcul the mask position with numpy : 0.00021266937255859375 nb_pixel_total : 8665 time to create 1 rle with old method : 0.009653568267822266 length of segment : 202 time for calcul the mask position with numpy : 0.0005018711090087891 nb_pixel_total : 29780 time to create 1 rle with old method : 0.031159400939941406 length of segment : 187 time for calcul the mask position with numpy : 0.00333404541015625 nb_pixel_total : 6769 time to create 1 rle with old method : 0.009634256362915039 length of segment : 52 time for calcul the mask position with numpy : 0.0013880729675292969 nb_pixel_total : 56450 time to create 1 rle with old method : 0.06045389175415039 length of segment : 265 time for calcul the mask position with numpy : 0.0009918212890625 nb_pixel_total : 33790 time to create 1 rle with old method : 0.036145925521850586 length of segment : 465 time for calcul the mask position with numpy : 0.0005810260772705078 nb_pixel_total : 26086 time to create 1 rle with old method : 0.026900768280029297 length of segment : 363 time for calcul the mask position with numpy : 0.00031566619873046875 nb_pixel_total : 19413 time to create 1 rle with old method : 0.020373821258544922 length of segment : 144 time for calcul the mask position with numpy : 0.00022363662719726562 nb_pixel_total : 12716 time to create 1 rle with old method : 0.013530969619750977 length of segment : 98 time for calcul the mask position with numpy : 0.0004355907440185547 nb_pixel_total : 24736 time to create 1 rle with old method : 0.025820016860961914 length of segment : 166 time for calcul the mask position with numpy : 0.0008444786071777344 nb_pixel_total : 59599 time to create 1 rle with old method : 0.06472992897033691 length of segment : 508 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 4640 time to create 1 rle with old method : 0.005334138870239258 length of segment : 115 time for calcul the mask position with numpy : 0.0006823539733886719 nb_pixel_total : 38601 time to create 1 rle with old method : 0.04253959655761719 length of segment : 237 time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 6993 time to create 1 rle with old method : 0.008223295211791992 length of segment : 134 time for calcul the mask position with numpy : 0.0013763904571533203 nb_pixel_total : 66808 time to create 1 rle with old method : 0.07427120208740234 length of segment : 664 time for calcul the mask position with numpy : 0.0010914802551269531 nb_pixel_total : 53404 time to create 1 rle with old method : 0.05714678764343262 length of segment : 318 time for calcul the mask position with numpy : 0.0005509853363037109 nb_pixel_total : 21394 time to create 1 rle with old method : 0.03015613555908203 length of segment : 346 time for calcul the mask position with numpy : 0.004155158996582031 nb_pixel_total : 126998 time to create 1 rle with old method : 0.13851380348205566 length of segment : 536 time for calcul the mask position with numpy : 0.0026159286499023438 nb_pixel_total : 165518 time to create 1 rle with new method : 0.009927511215209961 length of segment : 666 time for calcul the mask position with numpy : 0.0016834735870361328 nb_pixel_total : 106507 time to create 1 rle with old method : 0.11203241348266602 length of segment : 429 time for calcul the mask position with numpy : 0.0013599395751953125 nb_pixel_total : 79692 time to create 1 rle with old method : 0.08157134056091309 length of segment : 403 time for calcul the mask position with numpy : 8.678436279296875e-05 nb_pixel_total : 1684 time to create 1 rle with old method : 0.0019114017486572266 length of segment : 52 time for calcul the mask position with numpy : 0.003162860870361328 nb_pixel_total : 146818 time to create 1 rle with old method : 0.15437793731689453 length of segment : 577 time for calcul the mask position with numpy : 0.0019450187683105469 nb_pixel_total : 52947 time to create 1 rle with old method : 0.05783677101135254 length of segment : 451 time for calcul the mask position with numpy : 0.00037479400634765625 nb_pixel_total : 21193 time to create 1 rle with old method : 0.022310495376586914 length of segment : 169 time for calcul the mask position with numpy : 0.0004246234893798828 nb_pixel_total : 24736 time to create 1 rle with old method : 0.027747631072998047 length of segment : 166 time for calcul the mask position with numpy : 0.0008654594421386719 nb_pixel_total : 59587 time to create 1 rle with old method : 0.06385684013366699 length of segment : 508 time for calcul the mask position with numpy : 0.00015926361083984375 nb_pixel_total : 4640 time to create 1 rle with old method : 0.0052568912506103516 length of segment : 115 time for calcul the mask position with numpy : 0.0007238388061523438 nb_pixel_total : 38599 time to create 1 rle with old method : 0.04183697700500488 length of segment : 237 time for calcul the mask position with numpy : 0.00020384788513183594 nb_pixel_total : 6993 time to create 1 rle with old method : 0.007997512817382812 length of segment : 134 time for calcul the mask position with numpy : 0.0013680458068847656 nb_pixel_total : 66833 time to create 1 rle with old method : 0.07282352447509766 length of segment : 664 time for calcul the mask position with numpy : 0.0009295940399169922 nb_pixel_total : 53398 time to create 1 rle with old method : 0.0540766716003418 length of segment : 318 time for calcul the mask position with numpy : 0.0005145072937011719 nb_pixel_total : 21394 time to create 1 rle with old method : 0.022609233856201172 length of segment : 346 time for calcul the mask position with numpy : 0.002433300018310547 nb_pixel_total : 126988 time to create 1 rle with old method : 0.12945151329040527 length of segment : 536 time for calcul the mask position with numpy : 0.002399444580078125 nb_pixel_total : 165524 time to create 1 rle with new method : 0.009097576141357422 length of segment : 666 time for calcul the mask position with numpy : 0.0016188621520996094 nb_pixel_total : 106535 time to create 1 rle with old method : 0.10720086097717285 length of segment : 429 time for calcul the mask position with numpy : 0.0013630390167236328 nb_pixel_total : 79694 time to create 1 rle with old method : 0.085479736328125 length of segment : 403 time for calcul the mask position with numpy : 9.012222290039062e-05 nb_pixel_total : 1684 time to create 1 rle with old method : 0.0020918846130371094 length of segment : 52 time for calcul the mask position with numpy : 0.003572225570678711 nb_pixel_total : 146828 time to create 1 rle with old method : 0.16793036460876465 length of segment : 577 time for calcul the mask position with numpy : 0.0024220943450927734 nb_pixel_total : 52939 time to create 1 rle with old method : 0.06524777412414551 length of segment : 451 time for calcul the mask position with numpy : 0.000461578369140625 nb_pixel_total : 21193 time to create 1 rle with old method : 0.02681899070739746 length of segment : 169 time for calcul the mask position with numpy : 0.0012319087982177734 nb_pixel_total : 54915 time to create 1 rle with old method : 0.06766605377197266 length of segment : 394 time for calcul the mask position with numpy : 0.0036468505859375 nb_pixel_total : 67076 time to create 1 rle with old method : 0.07791900634765625 length of segment : 464 time for calcul the mask position with numpy : 0.0006999969482421875 nb_pixel_total : 35919 time to create 1 rle with old method : 0.04511260986328125 length of segment : 133 time for calcul the mask position with numpy : 0.0004210472106933594 nb_pixel_total : 9874 time to create 1 rle with old method : 0.012559175491333008 length of segment : 142 time for calcul the mask position with numpy : 0.0008051395416259766 nb_pixel_total : 22410 time to create 1 rle with old method : 0.027150630950927734 length of segment : 226 time for calcul the mask position with numpy : 0.00038933753967285156 nb_pixel_total : 13138 time to create 1 rle with old method : 0.016033649444580078 length of segment : 130 time for calcul the mask position with numpy : 0.00013828277587890625 nb_pixel_total : 1755 time to create 1 rle with old method : 0.002279996871948242 length of segment : 50 time for calcul the mask position with numpy : 0.0012128353118896484 nb_pixel_total : 32823 time to create 1 rle with old method : 0.03968071937561035 length of segment : 183 time for calcul the mask position with numpy : 0.0002377033233642578 nb_pixel_total : 5063 time to create 1 rle with old method : 0.006157398223876953 length of segment : 92 time for calcul the mask position with numpy : 0.0014348030090332031 nb_pixel_total : 36759 time to create 1 rle with old method : 0.043817758560180664 length of segment : 293 time for calcul the mask position with numpy : 0.0002963542938232422 nb_pixel_total : 2528 time to create 1 rle with old method : 0.0032045841217041016 length of segment : 56 time for calcul the mask position with numpy : 0.0033011436462402344 nb_pixel_total : 54914 time to create 1 rle with old method : 0.06346726417541504 length of segment : 303 time for calcul the mask position with numpy : 0.0009746551513671875 nb_pixel_total : 51371 time to create 1 rle with old method : 0.056810617446899414 length of segment : 294 time for calcul the mask position with numpy : 0.0005137920379638672 nb_pixel_total : 6725 time to create 1 rle with old method : 0.007828950881958008 length of segment : 96 time for calcul the mask position with numpy : 0.012899637222290039 nb_pixel_total : 367879 time to create 1 rle with new method : 0.02111959457397461 length of segment : 509 time for calcul the mask position with numpy : 0.0018262863159179688 nb_pixel_total : 34713 time to create 1 rle with old method : 0.03784942626953125 length of segment : 292 time for calcul the mask position with numpy : 0.00032830238342285156 nb_pixel_total : 12037 time to create 1 rle with old method : 0.013208627700805664 length of segment : 216 time for calcul the mask position with numpy : 0.0006825923919677734 nb_pixel_total : 27605 time to create 1 rle with old method : 0.029684066772460938 length of segment : 221 time for calcul the mask position with numpy : 0.0006875991821289062 nb_pixel_total : 23267 time to create 1 rle with old method : 0.024582862854003906 length of segment : 230 time for calcul the mask position with numpy : 0.0011124610900878906 nb_pixel_total : 60219 time to create 1 rle with old method : 0.0642232894897461 length of segment : 277 time for calcul the mask position with numpy : 0.0005471706390380859 nb_pixel_total : 25518 time to create 1 rle with old method : 0.0290524959564209 length of segment : 159 time for calcul the mask position with numpy : 0.0010733604431152344 nb_pixel_total : 29516 time to create 1 rle with old method : 0.03352689743041992 length of segment : 214 time for calcul the mask position with numpy : 0.0010912418365478516 nb_pixel_total : 50703 time to create 1 rle with old method : 0.055384159088134766 length of segment : 465 time for calcul the mask position with numpy : 0.0019712448120117188 nb_pixel_total : 92231 time to create 1 rle with old method : 0.12906289100646973 length of segment : 282 time for calcul the mask position with numpy : 0.0004892349243164062 nb_pixel_total : 20388 time to create 1 rle with old method : 0.021370887756347656 length of segment : 214 time for calcul the mask position with numpy : 0.00017189979553222656 nb_pixel_total : 5956 time to create 1 rle with old method : 0.006686210632324219 length of segment : 105 time for calcul the mask position with numpy : 0.0012040138244628906 nb_pixel_total : 51206 time to create 1 rle with old method : 0.05521512031555176 length of segment : 334 time for calcul the mask position with numpy : 0.0003616809844970703 nb_pixel_total : 14769 time to create 1 rle with old method : 0.01603412628173828 length of segment : 131 time for calcul the mask position with numpy : 0.0005624294281005859 nb_pixel_total : 24687 time to create 1 rle with old method : 0.027729034423828125 length of segment : 173 time for calcul the mask position with numpy : 0.0015943050384521484 nb_pixel_total : 46552 time to create 1 rle with old method : 0.051833391189575195 length of segment : 348 time for calcul the mask position with numpy : 0.0011544227600097656 nb_pixel_total : 58486 time to create 1 rle with old method : 0.05838274955749512 length of segment : 668 time for calcul the mask position with numpy : 0.0003972053527832031 nb_pixel_total : 17559 time to create 1 rle with old method : 0.01904892921447754 length of segment : 193 time for calcul the mask position with numpy : 0.0005822181701660156 nb_pixel_total : 26265 time to create 1 rle with old method : 0.028255939483642578 length of segment : 173 time for calcul the mask position with numpy : 8.7738037109375e-05 nb_pixel_total : 1181 time to create 1 rle with old method : 0.0013306140899658203 length of segment : 50 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 6834 time to create 1 rle with old method : 0.007190704345703125 length of segment : 107 time for calcul the mask position with numpy : 0.00032329559326171875 nb_pixel_total : 9386 time to create 1 rle with old method : 0.010153770446777344 length of segment : 101 time for calcul the mask position with numpy : 0.0005710124969482422 nb_pixel_total : 12378 time to create 1 rle with old method : 0.012809514999389648 length of segment : 179 time for calcul the mask position with numpy : 0.0003154277801513672 nb_pixel_total : 5805 time to create 1 rle with old method : 0.00656580924987793 length of segment : 128 time for calcul the mask position with numpy : 0.0010025501251220703 nb_pixel_total : 25400 time to create 1 rle with old method : 0.026648521423339844 length of segment : 391 time for calcul the mask position with numpy : 0.0031363964080810547 nb_pixel_total : 128008 time to create 1 rle with old method : 0.13849377632141113 length of segment : 571 time for calcul the mask position with numpy : 0.0012798309326171875 nb_pixel_total : 24367 time to create 1 rle with old method : 0.027276992797851562 length of segment : 265 time for calcul the mask position with numpy : 0.00021386146545410156 nb_pixel_total : 2180 time to create 1 rle with old method : 0.0023865699768066406 length of segment : 87 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 8899 time to create 1 rle with old method : 0.009396791458129883 length of segment : 125 time for calcul the mask position with numpy : 0.00039005279541015625 nb_pixel_total : 9086 time to create 1 rle with old method : 0.009625911712646484 length of segment : 126 time for calcul the mask position with numpy : 0.0005884170532226562 nb_pixel_total : 25916 time to create 1 rle with old method : 0.02772355079650879 length of segment : 409 time for calcul the mask position with numpy : 0.0013856887817382812 nb_pixel_total : 77716 time to create 1 rle with old method : 0.08006620407104492 length of segment : 560 time for calcul the mask position with numpy : 0.00015497207641601562 nb_pixel_total : 5387 time to create 1 rle with old method : 0.005881786346435547 length of segment : 87 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 4854 time to create 1 rle with old method : 0.005255460739135742 length of segment : 90 time for calcul the mask position with numpy : 0.000457763671875 nb_pixel_total : 25043 time to create 1 rle with old method : 0.0258486270904541 length of segment : 220 time for calcul the mask position with numpy : 0.000667572021484375 nb_pixel_total : 35390 time to create 1 rle with old method : 0.036386966705322266 length of segment : 262 time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 18785 time to create 1 rle with old method : 0.02089548110961914 length of segment : 197 time for calcul the mask position with numpy : 0.00040912628173828125 nb_pixel_total : 17436 time to create 1 rle with old method : 0.019112825393676758 length of segment : 206 time for calcul the mask position with numpy : 0.0065042972564697266 nb_pixel_total : 315972 time to create 1 rle with new method : 0.025838136672973633 length of segment : 1340 time for calcul the mask position with numpy : 0.0010406970977783203 nb_pixel_total : 51261 time to create 1 rle with old method : 0.05433964729309082 length of segment : 258 time for calcul the mask position with numpy : 0.0013675689697265625 nb_pixel_total : 58237 time to create 1 rle with old method : 0.06053352355957031 length of segment : 537 time for calcul the mask position with numpy : 0.0010612010955810547 nb_pixel_total : 51479 time to create 1 rle with old method : 0.05504655838012695 length of segment : 337 time for calcul the mask position with numpy : 0.0003368854522705078 nb_pixel_total : 19106 time to create 1 rle with old method : 0.020879507064819336 length of segment : 155 time for calcul the mask position with numpy : 0.001010894775390625 nb_pixel_total : 62910 time to create 1 rle with old method : 0.06789445877075195 length of segment : 364 time for calcul the mask position with numpy : 0.0003795623779296875 nb_pixel_total : 23000 time to create 1 rle with old method : 0.02518010139465332 length of segment : 166 time for calcul the mask position with numpy : 0.0005247592926025391 nb_pixel_total : 26583 time to create 1 rle with old method : 0.03405356407165527 length of segment : 227 time for calcul the mask position with numpy : 0.0040590763092041016 nb_pixel_total : 242528 time to create 1 rle with new method : 0.01370382308959961 length of segment : 819 time for calcul the mask position with numpy : 0.002399921417236328 nb_pixel_total : 189253 time to create 1 rle with new method : 0.006933450698852539 length of segment : 366 time for calcul the mask position with numpy : 0.0005536079406738281 nb_pixel_total : 29802 time to create 1 rle with old method : 0.034357547760009766 length of segment : 147 time for calcul the mask position with numpy : 0.00021314620971679688 nb_pixel_total : 9558 time to create 1 rle with old method : 0.011134147644042969 length of segment : 137 time for calcul the mask position with numpy : 0.0004153251647949219 nb_pixel_total : 18559 time to create 1 rle with old method : 0.020603418350219727 length of segment : 264 time for calcul the mask position with numpy : 0.0005996227264404297 nb_pixel_total : 26952 time to create 1 rle with old method : 0.03004145622253418 length of segment : 244 time for calcul the mask position with numpy : 0.0002124309539794922 nb_pixel_total : 6770 time to create 1 rle with old method : 0.0077245235443115234 length of segment : 122 time for calcul the mask position with numpy : 0.004924774169921875 nb_pixel_total : 351311 time to create 1 rle with new method : 0.013804197311401367 length of segment : 607 time for calcul the mask position with numpy : 0.0002841949462890625 nb_pixel_total : 6369 time to create 1 rle with old method : 0.008189201354980469 length of segment : 103 time for calcul the mask position with numpy : 0.0013020038604736328 nb_pixel_total : 72687 time to create 1 rle with old method : 0.08052635192871094 length of segment : 475 time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 8297 time to create 1 rle with old method : 0.009319543838500977 length of segment : 208 time for calcul the mask position with numpy : 0.003002166748046875 nb_pixel_total : 108539 time to create 1 rle with old method : 0.11416268348693848 length of segment : 422 time for calcul the mask position with numpy : 0.0004744529724121094 nb_pixel_total : 7178 time to create 1 rle with old method : 0.008156299591064453 length of segment : 124 time for calcul the mask position with numpy : 0.00030803680419921875 nb_pixel_total : 6084 time to create 1 rle with old method : 0.006839275360107422 length of segment : 112 time for calcul the mask position with numpy : 0.001508951187133789 nb_pixel_total : 85119 time to create 1 rle with old method : 0.10011053085327148 length of segment : 425 time for calcul the mask position with numpy : 0.0036001205444335938 nb_pixel_total : 146328 time to create 1 rle with old method : 0.1814265251159668 length of segment : 625 time for calcul the mask position with numpy : 0.0009837150573730469 nb_pixel_total : 38310 time to create 1 rle with old method : 0.040531158447265625 length of segment : 394 time for calcul the mask position with numpy : 0.0009369850158691406 nb_pixel_total : 29641 time to create 1 rle with old method : 0.032649993896484375 length of segment : 245 time for calcul the mask position with numpy : 0.0009243488311767578 nb_pixel_total : 29550 time to create 1 rle with old method : 0.03339886665344238 length of segment : 131 time for calcul the mask position with numpy : 0.00031566619873046875 nb_pixel_total : 9555 time to create 1 rle with old method : 0.011641740798950195 length of segment : 85 time for calcul the mask position with numpy : 0.00029659271240234375 nb_pixel_total : 4670 time to create 1 rle with old method : 0.005284309387207031 length of segment : 97 time for calcul the mask position with numpy : 0.006884098052978516 nb_pixel_total : 308701 time to create 1 rle with new method : 0.01266932487487793 length of segment : 657 time for calcul the mask position with numpy : 0.0007092952728271484 nb_pixel_total : 16104 time to create 1 rle with old method : 0.019243955612182617 length of segment : 164 time for calcul the mask position with numpy : 0.0003712177276611328 nb_pixel_total : 8246 time to create 1 rle with old method : 0.009673118591308594 length of segment : 110 time for calcul the mask position with numpy : 0.0008220672607421875 nb_pixel_total : 16531 time to create 1 rle with old method : 0.018229961395263672 length of segment : 225 time for calcul the mask position with numpy : 0.0003209114074707031 nb_pixel_total : 7930 time to create 1 rle with old method : 0.009136676788330078 length of segment : 97 time for calcul the mask position with numpy : 0.0008592605590820312 nb_pixel_total : 19521 time to create 1 rle with old method : 0.02094411849975586 length of segment : 229 time for calcul the mask position with numpy : 0.0014760494232177734 nb_pixel_total : 43763 time to create 1 rle with old method : 0.04696989059448242 length of segment : 309 time for calcul the mask position with numpy : 0.0014481544494628906 nb_pixel_total : 53991 time to create 1 rle with old method : 0.05634474754333496 length of segment : 324 time for calcul the mask position with numpy : 0.0010364055633544922 nb_pixel_total : 9743 time to create 1 rle with old method : 0.01105809211730957 length of segment : 142 time for calcul the mask position with numpy : 0.0022020339965820312 nb_pixel_total : 53691 time to create 1 rle with old method : 0.05909609794616699 length of segment : 457 time for calcul the mask position with numpy : 0.0029201507568359375 nb_pixel_total : 84635 time to create 1 rle with old method : 0.09173417091369629 length of segment : 299 time for calcul the mask position with numpy : 0.004400014877319336 nb_pixel_total : 145330 time to create 1 rle with old method : 0.15582060813903809 length of segment : 452 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 3537 time to create 1 rle with old method : 0.0038530826568603516 length of segment : 81 time for calcul the mask position with numpy : 0.004204511642456055 nb_pixel_total : 311663 time to create 1 rle with new method : 0.012543439865112305 length of segment : 625 time for calcul the mask position with numpy : 0.00022029876708984375 nb_pixel_total : 2857 time to create 1 rle with old method : 0.0031805038452148438 length of segment : 82 time for calcul the mask position with numpy : 0.0010194778442382812 nb_pixel_total : 27915 time to create 1 rle with old method : 0.031085491180419922 length of segment : 301 time spent for convertir_results : 11.14547610282898 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 154 chid ids of type : 3663 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 41194 save missing photos in datou_result : time spend for datou_step_exec : 50.85817909240723 time spend to save output : 12.776854038238525 total time spend for step 1 : 63.63503313064575 step2:crop_condition Thu Feb 6 05:29:34 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 : 9 ! batch 1 Loaded 154 chid ids of type : 3663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 15 About to insert : list_path_to_insert length 15 new photo from crops ! we have finished the crop for the class : teint_dans_la_masse begin to crop the class : autre_refus param for this class : {'min_score': 0.5} filtre for class : autre_refus hashtag_id of this class : 2107752406 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 44 About to insert : list_path_to_insert length 44 new photo from crops ! we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! we have finished the crop for the class : carton_brun begin to crop the class : plastique param for this class : {'min_score': 0.5} filtre for class : plastique hashtag_id of this class : 492725882 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! we have finished the crop for the class : plastique begin to crop the class : kraft param for this class : {'min_score': 0.5} filtre for class : kraft hashtag_id of this class : 493202403 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! we have finished the crop for the class : kraft begin to crop the class : metal param for this class : {'min_score': 0.5} filtre for class : metal hashtag_id of this class : 492628673 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 95 /-3656800744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657192334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657192330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3657192332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656917420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656917421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929856Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656800808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /-3656929857Didn'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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 294 time used for this insertion : 0.11560392379760742 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.38714623451233 time spend to save output : 0.11832594871520996 total time spend for step 2 : 36.50547218322754 step3:thcl Thu Feb 6 05:30:10 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.00617527961730957 time to convert the images to numpy array : 0.06848406791687012 time to import caffe and check if the image exist : 0.008429288864135742 time to convert the images to numpy array : 0.0787959098815918 time to import caffe and check if the image exist : 0.00796198844909668 time to convert the images to numpy array : 0.09322929382324219 time to import caffe and check if the image exist : 0.008876800537109375 time to convert the images to numpy array : 0.09311413764953613 time to import caffe and check if the image exist : 0.014457941055297852 time to convert the images to numpy array : 0.09196901321411133 time to import caffe and check if the image exist : 0.014226675033569336 time to convert the images to numpy array : 0.09295916557312012 time to import caffe and check if the image exist : 0.011386632919311523 time to convert the images to numpy array : 0.1012568473815918 time to import caffe and check if the image exist : 0.007934093475341797 time to convert the images to numpy array : 0.11158967018127441 time to import caffe and check if the image exist : 0.012924671173095703 time to convert the images to numpy array : 0.10968494415283203 time to import caffe and check if the image exist : 0.00919961929321289 time to convert the images to numpy array : 0.12070536613464355 total time to convert the images to numpy array : 0.3617112636566162 list photo_ids error: [] list photo_ids correct : [-3656929860, -3656929875, -3656929873, -3656800808, -3656929857, -3656800805, -3656929851, -3656929849, -3656929868, -3656800763, -3656800756, -3656800779, -3656800772, -3656800793, -3656929862, -3656800744, -3656800753, -3656800759, -3656800761, -3656800769, -3656800775, -3656800777, -3656800794, -3656800789, -3656800806, -3656800830, -3656800841, -3656929861, -3656929855, -3656929852, -3656929876, -3656929874, -3656800786, -3656800803, -3656800800, -3656929856, -3656929859, -3656929854, -3656929879, -3656929881, -3656929872, -3656929871, -3656800741, -3656800790, -3656800797, -3656800784, -3656800787, -3656800801, -3656800791, -3656800785, -3656800807, -3656800815, -3656800811, -3656800825, -3657192332, -3656800796, -3656800809, -3657192334, -3656800748, -3656800749, -3656800743, -3657192330, -3656800758, -3656800767, -3656800764, -3656800845, -3656800834, -3656929850, -3656929847, -3656929866, -3656800747, -3656800766, -3656800782, -3656800799, -3656800813, -3656800760, -3656800762, -3656800754, -3656800768, -3656800774, -3656800783, -3656800781, -3656800776, -3656800778, -3656800770, -3656800823, -3656800840, -3656800838, -3656800839, -3656800831, -3656800837, -3656917420, -3656917421, -3656800842, -3656800846] number of photos to traite : 95 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 : 10553 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 : 10334 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9324533939361572 time used to do the prediction : 0.22029662132263184 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 : 10332 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 : 10332 max_wait_temp : 1 max_wait : 0 dict_keys(['prob']) time used to do the prepocess of the images : 0.9628543853759766 time used to do the prediction : 0.17810273170471191 we don't save the descriptors for this thcl 2868 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos test new format of the output of the step_thcl begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 0 time used for this insertion : 2.5987625122070312e-05 save missing photos in datou_result : time spend for datou_step_exec : 9.449939012527466 time spend to save output : 0.0007338523864746094 total time spend for step 3 : 9.45067286491394 step4:merge_mask_thcl_custom Thu Feb 6 05:30:20 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 154 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 [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 9 /1334879642Didn't retrieve data .Didn't retrieve data . /1334879631Didn't retrieve data .Didn't retrieve data . /1334879629Didn't retrieve data .Didn't retrieve data . /1334879557Didn't retrieve data .Didn't retrieve data . /1334879533Didn't retrieve data .Didn't retrieve data . /1334879425Didn't retrieve data .Didn't retrieve data . /1334879352Didn't retrieve data .Didn't retrieve data . /1334879303Didn't retrieve data .Didn't retrieve data . /1334879249Didn'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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.02261638641357422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08208465576171875 time spend to save output : 0.023090362548828125 total time spend for step 4 : 0.10517501831054688 step5:rle_unique_nms_with_priority Thu Feb 6 05:30:20 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 : 11 nb_hashtags : 4 time to prepare the origin masks : 9.117088794708252 time for calcul the mask position with numpy : 0.8072443008422852 nb_pixel_total : 6597211 time to create 1 rle with new method : 0.5810387134552002 time for calcul the mask position with numpy : 0.029001235961914062 nb_pixel_total : 19250 time to create 1 rle with old method : 0.0208737850189209 time for calcul the mask position with numpy : 0.03319191932678223 nb_pixel_total : 54689 time to create 1 rle with old method : 0.05788016319274902 time for calcul the mask position with numpy : 0.030690431594848633 nb_pixel_total : 29645 time to create 1 rle with old method : 0.030570030212402344 time for calcul the mask position with numpy : 0.023889780044555664 nb_pixel_total : 57222 time to create 1 rle with old method : 0.06053042411804199 time for calcul the mask position with numpy : 0.020811796188354492 nb_pixel_total : 8636 time to create 1 rle with old method : 0.009654045104980469 time for calcul the mask position with numpy : 0.024118900299072266 nb_pixel_total : 151408 time to create 1 rle with new method : 0.39585280418395996 time for calcul the mask position with numpy : 0.02297663688659668 nb_pixel_total : 26214 time to create 1 rle with old method : 0.03208518028259277 time for calcul the mask position with numpy : 0.02112579345703125 nb_pixel_total : 6006 time to create 1 rle with old method : 0.006875276565551758 time for calcul the mask position with numpy : 0.02290487289428711 nb_pixel_total : 59558 time to create 1 rle with old method : 0.06250929832458496 time for calcul the mask position with numpy : 0.024042367935180664 nb_pixel_total : 33700 time to create 1 rle with old method : 0.03610396385192871 time for calcul the mask position with numpy : 0.023833513259887695 nb_pixel_total : 6701 time to create 1 rle with old method : 0.008102893829345703 create new chi : 2.4448676109313965 time to delete rle : 0.010128974914550781 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 8626 TO DO : save crop sub photo not yet done ! save time : 3.721111297607422 nb_obj : 16 nb_hashtags : 7 time to prepare the origin masks : 7.85566782951355 time for calcul the mask position with numpy : 0.8143737316131592 nb_pixel_total : 6196950 time to create 1 rle with new method : 0.9357326030731201 time for calcul the mask position with numpy : 0.01997232437133789 nb_pixel_total : 23692 time to create 1 rle with old method : 0.024439334869384766 time for calcul the mask position with numpy : 0.020827770233154297 nb_pixel_total : 19535 time to create 1 rle with old method : 0.019809961318969727 time for calcul the mask position with numpy : 0.02085113525390625 nb_pixel_total : 165260 time to create 1 rle with new method : 0.7809498310089111 time for calcul the mask position with numpy : 0.02184271812438965 nb_pixel_total : 61831 time to create 1 rle with old method : 0.06610941886901855 time for calcul the mask position with numpy : 0.022365093231201172 nb_pixel_total : 21133 time to create 1 rle with old method : 0.021773338317871094 time for calcul the mask position with numpy : 0.022459745407104492 nb_pixel_total : 126845 time to create 1 rle with old method : 0.13283276557922363 time for calcul the mask position with numpy : 0.02510356903076172 nb_pixel_total : 1675 time to create 1 rle with old method : 0.0018265247344970703 time for calcul the mask position with numpy : 0.024607419967651367 nb_pixel_total : 53312 time to create 1 rle with old method : 0.056415557861328125 time for calcul the mask position with numpy : 0.024898529052734375 nb_pixel_total : 38432 time to create 1 rle with old method : 0.041643619537353516 time for calcul the mask position with numpy : 0.03847241401672363 nb_pixel_total : 6980 time to create 1 rle with old method : 0.007764577865600586 time for calcul the mask position with numpy : 0.037969112396240234 nb_pixel_total : 4629 time to create 1 rle with old method : 0.00538945198059082 time for calcul the mask position with numpy : 0.04547619819641113 nb_pixel_total : 24645 time to create 1 rle with old method : 0.027568817138671875 time for calcul the mask position with numpy : 0.04082179069519043 nb_pixel_total : 52781 time to create 1 rle with old method : 0.05485081672668457 time for calcul the mask position with numpy : 0.040514230728149414 nb_pixel_total : 106508 time to create 1 rle with old method : 0.11386346817016602 time for calcul the mask position with numpy : 0.03999471664428711 nb_pixel_total : 79441 time to create 1 rle with old method : 0.08557295799255371 time for calcul the mask position with numpy : 0.0421750545501709 nb_pixel_total : 66591 time to create 1 rle with old method : 0.06941485404968262 create new chi : 3.8195791244506836 time to delete rle : 0.0013697147369384766 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 13290 TO DO : save crop sub photo not yet done ! save time : 2.9660866260528564 nb_obj : 16 nb_hashtags : 7 time to prepare the origin masks : 11.207913637161255 time for calcul the mask position with numpy : 0.33963632583618164 nb_pixel_total : 6196878 time to create 1 rle with new method : 0.8330950736999512 time for calcul the mask position with numpy : 0.03191995620727539 nb_pixel_total : 23667 time to create 1 rle with old method : 0.02818155288696289 time for calcul the mask position with numpy : 0.04825735092163086 nb_pixel_total : 19509 time to create 1 rle with old method : 0.02182793617248535 time for calcul the mask position with numpy : 0.050791025161743164 nb_pixel_total : 165321 time to create 1 rle with new method : 0.4930233955383301 time for calcul the mask position with numpy : 0.05261039733886719 nb_pixel_total : 61828 time to create 1 rle with old method : 0.06768035888671875 time for calcul the mask position with numpy : 0.04974699020385742 nb_pixel_total : 21133 time to create 1 rle with old method : 0.022936582565307617 time for calcul the mask position with numpy : 0.05623817443847656 nb_pixel_total : 126761 time to create 1 rle with old method : 0.13407492637634277 time for calcul the mask position with numpy : 0.044296979904174805 nb_pixel_total : 1675 time to create 1 rle with old method : 0.0020689964294433594 time for calcul the mask position with numpy : 0.050218820571899414 nb_pixel_total : 53569 time to create 1 rle with old method : 0.057686567306518555 time for calcul the mask position with numpy : 0.05297589302062988 nb_pixel_total : 38457 time to create 1 rle with old method : 0.04306650161743164 time for calcul the mask position with numpy : 0.03182363510131836 nb_pixel_total : 6980 time to create 1 rle with old method : 0.008231639862060547 time for calcul the mask position with numpy : 0.02835559844970703 nb_pixel_total : 4629 time to create 1 rle with old method : 0.005704402923583984 time for calcul the mask position with numpy : 0.03033304214477539 nb_pixel_total : 52635 time to create 1 rle with old method : 0.060101985931396484 time for calcul the mask position with numpy : 0.029088258743286133 nb_pixel_total : 24657 time to create 1 rle with old method : 0.02689504623413086 time for calcul the mask position with numpy : 0.03277897834777832 nb_pixel_total : 106394 time to create 1 rle with old method : 0.11603760719299316 time for calcul the mask position with numpy : 0.03200054168701172 nb_pixel_total : 79510 time to create 1 rle with old method : 0.09126949310302734 time for calcul the mask position with numpy : 0.030793190002441406 nb_pixel_total : 66637 time to create 1 rle with old method : 0.07681059837341309 create new chi : 3.1659536361694336 time to delete rle : 0.002428293228149414 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 13289 TO DO : save crop sub photo not yet done ! save time : 2.94640851020813 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 11.272861242294312 time for calcul the mask position with numpy : 1.063521385192871 nb_pixel_total : 6289954 time to create 1 rle with new method : 0.8683481216430664 time for calcul the mask position with numpy : 0.0298159122467041 nb_pixel_total : 35749 time to create 1 rle with old method : 0.03835701942443848 time for calcul the mask position with numpy : 0.05365490913391113 nb_pixel_total : 32674 time to create 1 rle with old method : 0.036672115325927734 time for calcul the mask position with numpy : 0.05380725860595703 nb_pixel_total : 140 time to create 1 rle with old method : 0.0003399848937988281 time for calcul the mask position with numpy : 0.050164222717285156 nb_pixel_total : 11991 time to create 1 rle with old method : 0.013425111770629883 time for calcul the mask position with numpy : 0.050911903381347656 nb_pixel_total : 23220 time to create 1 rle with old method : 0.028243541717529297 time for calcul the mask position with numpy : 0.040062904357910156 nb_pixel_total : 34632 time to create 1 rle with old method : 0.03790569305419922 time for calcul the mask position with numpy : 0.04273796081542969 nb_pixel_total : 5052 time to create 1 rle with old method : 0.005798816680908203 time for calcul the mask position with numpy : 0.03670358657836914 nb_pixel_total : 13085 time to create 1 rle with old method : 0.015053272247314453 time for calcul the mask position with numpy : 0.029506444931030273 nb_pixel_total : 6657 time to create 1 rle with old method : 0.008171558380126953 time for calcul the mask position with numpy : 0.036856889724731445 nb_pixel_total : 2505 time to create 1 rle with old method : 0.003005504608154297 time for calcul the mask position with numpy : 0.03152823448181152 nb_pixel_total : 1099 time to create 1 rle with old method : 0.001604318618774414 time for calcul the mask position with numpy : 0.03173208236694336 nb_pixel_total : 4382 time to create 1 rle with old method : 0.005330562591552734 time for calcul the mask position with numpy : 0.030506372451782227 nb_pixel_total : 1744 time to create 1 rle with old method : 0.0020668506622314453 time for calcul the mask position with numpy : 0.036072492599487305 nb_pixel_total : 51180 time to create 1 rle with old method : 0.056853532791137695 time for calcul the mask position with numpy : 0.0323336124420166 nb_pixel_total : 9849 time to create 1 rle with old method : 0.01190328598022461 time for calcul the mask position with numpy : 0.034949541091918945 nb_pixel_total : 37973 time to create 1 rle with old method : 0.0421297550201416 time for calcul the mask position with numpy : 0.03466010093688965 nb_pixel_total : 366745 time to create 1 rle with new method : 0.46953845024108887 time for calcul the mask position with numpy : 0.03379392623901367 nb_pixel_total : 66858 time to create 1 rle with old method : 0.07141566276550293 time for calcul the mask position with numpy : 0.031633853912353516 nb_pixel_total : 54751 time to create 1 rle with old method : 0.06461167335510254 create new chi : 3.6525518894195557 time to delete rle : 0.0017802715301513672 batch 1 Loaded 21 chid ids of type : 3726 Number RLEs to save : 10154 TO DO : save crop sub photo not yet done ! save time : 1.726835012435913 nb_obj : 11 nb_hashtags : 7 time to prepare the origin masks : 10.112811803817749 time for calcul the mask position with numpy : 0.32727980613708496 nb_pixel_total : 6673153 time to create 1 rle with new method : 0.39333510398864746 time for calcul the mask position with numpy : 0.025397300720214844 nb_pixel_total : 24571 time to create 1 rle with old method : 0.026859760284423828 time for calcul the mask position with numpy : 0.043509721755981445 nb_pixel_total : 25281 time to create 1 rle with old method : 0.027645111083984375 time for calcul the mask position with numpy : 0.048309326171875 nb_pixel_total : 92087 time to create 1 rle with old method : 0.09752535820007324 time for calcul the mask position with numpy : 0.04008889198303223 nb_pixel_total : 29384 time to create 1 rle with old method : 0.030628681182861328 time for calcul the mask position with numpy : 0.04084277153015137 nb_pixel_total : 1169 time to create 1 rle with old method : 0.0013494491577148438 time for calcul the mask position with numpy : 0.04010343551635742 nb_pixel_total : 60634 time to create 1 rle with old method : 0.06311154365539551 time for calcul the mask position with numpy : 0.025722503662109375 nb_pixel_total : 51075 time to create 1 rle with old method : 0.05408978462219238 time for calcul the mask position with numpy : 0.029330968856811523 nb_pixel_total : 14724 time to create 1 rle with old method : 0.02291083335876465 time for calcul the mask position with numpy : 0.029168128967285156 nb_pixel_total : 20363 time to create 1 rle with old method : 0.026958703994750977 time for calcul the mask position with numpy : 0.042819976806640625 nb_pixel_total : 5945 time to create 1 rle with old method : 0.006659507751464844 time for calcul the mask position with numpy : 0.0425105094909668 nb_pixel_total : 51854 time to create 1 rle with old method : 0.062255144119262695 create new chi : 1.5918662548065186 time to delete rle : 0.0009303092956542969 batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 7396 TO DO : save crop sub photo not yet done ! save time : 2.456737756729126 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 5.1477813720703125 time for calcul the mask position with numpy : 0.25292181968688965 nb_pixel_total : 6823930 time to create 1 rle with new method : 0.2890005111694336 time for calcul the mask position with numpy : 0.028896093368530273 nb_pixel_total : 127974 time to create 1 rle with old method : 0.12686657905578613 time for calcul the mask position with numpy : 0.02294182777404785 nb_pixel_total : 493 time to create 1 rle with old method : 0.0007500648498535156 time for calcul the mask position with numpy : 0.025763511657714844 nb_pixel_total : 25885 time to create 1 rle with old method : 0.025539159774780273 time for calcul the mask position with numpy : 0.023929834365844727 nb_pixel_total : 9034 time to create 1 rle with old method : 0.009922027587890625 time for calcul the mask position with numpy : 0.024634122848510742 nb_pixel_total : 166 time to create 1 rle with old method : 0.00027632713317871094 time for calcul the mask position with numpy : 0.02628302574157715 nb_pixel_total : 9038 time to create 1 rle with old method : 0.009770870208740234 time for calcul the mask position with numpy : 0.024295806884765625 nb_pixel_total : 2178 time to create 1 rle with old method : 0.002463817596435547 time for calcul the mask position with numpy : 0.024123191833496094 nb_pixel_total : 24198 time to create 1 rle with old method : 0.024742603302001953 time for calcul the mask position with numpy : 0.023281335830688477 nb_pixel_total : 5696 time to create 1 rle with old method : 0.006749153137207031 time for calcul the mask position with numpy : 0.033425092697143555 nb_pixel_total : 12336 time to create 1 rle with old method : 0.013154745101928711 time for calcul the mask position with numpy : 0.03987884521484375 nb_pixel_total : 9312 time to create 1 rle with old method : 0.010339736938476562 create new chi : 1.1096456050872803 time to delete rle : 0.0008437633514404297 batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 6472 TO DO : save crop sub photo not yet done ! save time : 1.439183235168457 nb_obj : 17 nb_hashtags : 7 time to prepare the origin masks : 10.423855304718018 time for calcul the mask position with numpy : 0.30623388290405273 nb_pixel_total : 5852151 time to create 1 rle with new method : 0.6868326663970947 time for calcul the mask position with numpy : 0.026947021484375 nb_pixel_total : 51419 time to create 1 rle with old method : 0.06017351150512695 time for calcul the mask position with numpy : 0.04733085632324219 nb_pixel_total : 1588 time to create 1 rle with old method : 0.0023956298828125 time for calcul the mask position with numpy : 0.05097150802612305 nb_pixel_total : 17410 time to create 1 rle with old method : 0.024837255477905273 time for calcul the mask position with numpy : 0.05750226974487305 nb_pixel_total : 19049 time to create 1 rle with old method : 0.025440216064453125 time for calcul the mask position with numpy : 0.04260444641113281 nb_pixel_total : 77544 time to create 1 rle with old method : 0.08261418342590332 time for calcul the mask position with numpy : 0.030098915100097656 nb_pixel_total : 316146 time to create 1 rle with new method : 0.46594977378845215 time for calcul the mask position with numpy : 0.02056121826171875 nb_pixel_total : 51106 time to create 1 rle with old method : 0.05120444297790527 time for calcul the mask position with numpy : 0.023127317428588867 nb_pixel_total : 188686 time to create 1 rle with new method : 0.3390195369720459 time for calcul the mask position with numpy : 0.02098369598388672 nb_pixel_total : 24989 time to create 1 rle with old method : 0.026363134384155273 time for calcul the mask position with numpy : 0.021181106567382812 nb_pixel_total : 62851 time to create 1 rle with old method : 0.06218719482421875 time for calcul the mask position with numpy : 0.02603292465209961 nb_pixel_total : 242148 time to create 1 rle with new method : 0.5120069980621338 time for calcul the mask position with numpy : 0.02035832405090332 nb_pixel_total : 18732 time to create 1 rle with old method : 0.018481969833374023 time for calcul the mask position with numpy : 0.019806385040283203 nb_pixel_total : 35191 time to create 1 rle with old method : 0.03701043128967285 time for calcul the mask position with numpy : 0.02026200294494629 nb_pixel_total : 4827 time to create 1 rle with old method : 0.005379438400268555 time for calcul the mask position with numpy : 0.021925687789916992 nb_pixel_total : 5374 time to create 1 rle with old method : 0.005887269973754883 time for calcul the mask position with numpy : 0.01995849609375 nb_pixel_total : 22898 time to create 1 rle with old method : 0.023627281188964844 time for calcul the mask position with numpy : 0.0204012393951416 nb_pixel_total : 58131 time to create 1 rle with old method : 0.05942678451538086 create new chi : 3.396908760070801 time to delete rle : 0.0012555122375488281 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 14511 TO DO : save crop sub photo not yet done ! save time : 2.5811080932617188 nb_obj : 15 nb_hashtags : 7 time to prepare the origin masks : 10.517854690551758 time for calcul the mask position with numpy : 0.3653528690338135 nb_pixel_total : 6112026 time to create 1 rle with new method : 2.053544044494629 time for calcul the mask position with numpy : 0.023405790328979492 nb_pixel_total : 108312 time to create 1 rle with old method : 0.11522197723388672 time for calcul the mask position with numpy : 0.022981643676757812 nb_pixel_total : 37860 time to create 1 rle with old method : 0.04274797439575195 time for calcul the mask position with numpy : 0.022327423095703125 nb_pixel_total : 87011 time to create 1 rle with old method : 0.09204292297363281 time for calcul the mask position with numpy : 0.02355670928955078 nb_pixel_total : 144678 time to create 1 rle with old method : 0.18288350105285645 time for calcul the mask position with numpy : 0.027024507522583008 nb_pixel_total : 29581 time to create 1 rle with old method : 0.03885078430175781 time for calcul the mask position with numpy : 0.02305150032043457 nb_pixel_total : 29644 time to create 1 rle with old method : 0.03306889533996582 time for calcul the mask position with numpy : 0.023345470428466797 nb_pixel_total : 8281 time to create 1 rle with old method : 0.008930206298828125 time for calcul the mask position with numpy : 0.022372722625732422 nb_pixel_total : 6213 time to create 1 rle with old method : 0.007230281829833984 time for calcul the mask position with numpy : 0.021697521209716797 nb_pixel_total : 110 time to create 1 rle with old method : 0.00020432472229003906 time for calcul the mask position with numpy : 0.02255105972290039 nb_pixel_total : 26896 time to create 1 rle with old method : 0.0298917293548584 time for calcul the mask position with numpy : 0.022069931030273438 nb_pixel_total : 7147 time to create 1 rle with old method : 0.00820612907409668 time for calcul the mask position with numpy : 0.023531198501586914 nb_pixel_total : 18906 time to create 1 rle with old method : 0.02129364013671875 time for calcul the mask position with numpy : 0.028301000595092773 nb_pixel_total : 350880 time to create 1 rle with new method : 1.1683661937713623 time for calcul the mask position with numpy : 0.034972190856933594 nb_pixel_total : 10029 time to create 1 rle with old method : 0.010942935943603516 time for calcul the mask position with numpy : 0.03699326515197754 nb_pixel_total : 72666 time to create 1 rle with old method : 0.08001041412353516 create new chi : 4.7090232372283936 time to delete rle : 0.001089334487915039 batch 1 Loaded 17 chid ids of type : 3726 Number RLEs to save : 10600 TO DO : save crop sub photo not yet done ! save time : 4.431694746017456 nb_obj : 19 nb_hashtags : 4 time to prepare the origin masks : 11.822970628738403 time for calcul the mask position with numpy : 0.5165863037109375 nb_pixel_total : 6193854 time to create 1 rle with new method : 0.6953854560852051 time for calcul the mask position with numpy : 0.021680593490600586 nb_pixel_total : 9713 time to create 1 rle with old method : 0.01157999038696289 time for calcul the mask position with numpy : 0.02262115478515625 nb_pixel_total : 2849 time to create 1 rle with old method : 0.0033152103424072266 time for calcul the mask position with numpy : 0.023108243942260742 nb_pixel_total : 3526 time to create 1 rle with old method : 0.0044019222259521484 time for calcul the mask position with numpy : 0.021711111068725586 nb_pixel_total : 8215 time to create 1 rle with old method : 0.00941324234008789 time for calcul the mask position with numpy : 0.023717880249023438 nb_pixel_total : 144943 time to create 1 rle with old method : 0.16129636764526367 time for calcul the mask position with numpy : 0.022136449813842773 nb_pixel_total : 43625 time to create 1 rle with old method : 0.0467984676361084 time for calcul the mask position with numpy : 0.02214217185974121 nb_pixel_total : 7900 time to create 1 rle with old method : 0.008488893508911133 time for calcul the mask position with numpy : 0.024219751358032227 nb_pixel_total : 84289 time to create 1 rle with old method : 0.08947134017944336 time for calcul the mask position with numpy : 0.02148151397705078 nb_pixel_total : 16470 time to create 1 rle with old method : 0.01831793785095215 time for calcul the mask position with numpy : 0.022050142288208008 nb_pixel_total : 15868 time to create 1 rle with old method : 0.0173492431640625 time for calcul the mask position with numpy : 0.022795677185058594 nb_pixel_total : 4651 time to create 1 rle with old method : 0.00531315803527832 time for calcul the mask position with numpy : 0.023197174072265625 nb_pixel_total : 9457 time to create 1 rle with old method : 0.011006593704223633 time for calcul the mask position with numpy : 0.022243261337280273 nb_pixel_total : 29461 time to create 1 rle with old method : 0.03238415718078613 time for calcul the mask position with numpy : 0.02474522590637207 nb_pixel_total : 19476 time to create 1 rle with old method : 0.022127389907836914 time for calcul the mask position with numpy : 0.022928714752197266 nb_pixel_total : 9375 time to create 1 rle with old method : 0.36710500717163086 time for calcul the mask position with numpy : 0.025711536407470703 nb_pixel_total : 311301 time to create 1 rle with new method : 1.0677154064178467 time for calcul the mask position with numpy : 0.023653030395507812 nb_pixel_total : 53953 time to create 1 rle with old method : 0.058135271072387695 time for calcul the mask position with numpy : 0.02190232276916504 nb_pixel_total : 53490 time to create 1 rle with old method : 0.060533761978149414 time for calcul the mask position with numpy : 0.03510093688964844 nb_pixel_total : 27824 time to create 1 rle with old method : 0.030600547790527344 create new chi : 3.7570533752441406 time to delete rle : 0.0011436939239501953 batch 1 Loaded 20 chid ids of type : 3726 Number RLEs to save : 10761 TO DO : save crop sub photo not yet done ! save time : 1.6187167167663574 map_output_result : {1334879642: (0.0, 'Should be the crop_list due to order', 0.0), 1334879631: (0.0, 'Should be the crop_list due to order', 0.0), 1334879629: (0.0, 'Should be the crop_list due to order', 0.0), 1334879557: (0.0, 'Should be the crop_list due to order', 0.0), 1334879533: (0.0, 'Should be the crop_list due to order', 0.0), 1334879425: (0.0, 'Should be the crop_list due to order', 0.0), 1334879352: (0.0, 'Should be the crop_list due to order', 0.0), 1334879303: (0.0, 'Should be the crop_list due to order', 0.0), 1334879249: (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 [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 9 /1334879642.Didn't retrieve data . /1334879631.Didn't retrieve data . /1334879629.Didn't retrieve data . /1334879557.Didn't retrieve data . /1334879533.Didn't retrieve data . /1334879425.Didn't retrieve data . /1334879352.Didn't retrieve data . /1334879303.Didn't retrieve data . /1334879249.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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013531923294067383 save_final save missing photos in datou_result : time spend for datou_step_exec : 140.72090816497803 time spend to save output : 0.019948720932006836 total time spend for step 5 : 140.74085688591003 step6:crop_condition Thu Feb 6 05:32:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 9 ! batch 1 Loaded 152 chid ids of type : 3726 begin to crop the class : teint_dans_la_masse param for this class : {'min_score': 0.7} filtre for class : teint_dans_la_masse hashtag_id of this class : 2107752385 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816364_2204067 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0561633110046387 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 ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816374_2204067 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.465374708175659 we have finished the crop for the class : autre_refus begin to crop the class : carton_gris param for this class : {'min_score': 0.5} filtre for class : carton_gris hashtag_id of this class : 2107753020 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816379_2204067 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.6782219409942627 we have finished the crop for the class : carton_gris begin to crop the class : cartonnette param for this class : {'min_score': 0.5} filtre for class : cartonnette hashtag_id of this class : 702398920 Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 4869462 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816383_2204067 we have uploaded 5 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.0352609157562256 we have finished the crop for the class : cartonnette begin to crop the class : carton_brun param for this class : {'min_score': 0.7} filtre for class : carton_brun hashtag_id of this class : 2107753024 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 4869462 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738816388_2204067 we have uploaded 7 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.1460061073303223 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 ! 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/1738816392_2204067 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6698966026306152 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 [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 37 /1335124362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1335124454Didn'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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 time used for this insertion : 0.02671670913696289 save_final save missing photos in datou_result : time spend for datou_step_exec : 34.58895230293274 time spend to save output : 0.028264999389648438 total time spend for step 6 : 34.61721730232239 step7:ventilate_hashtags_in_portfolio Thu Feb 6 05:33:15 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 : 20286225 get user id for portfolio 20286225 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`=20286225 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','cartonnette','Carton_brun','autre_refus','environnement','plastique','kraft','papier','mal_croppe','flou','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20286225 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','cartonnette','Carton_brun','autre_refus','environnement','plastique','kraft','papier','mal_croppe','flou','Carton_gris','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20286521,20286522,20286523,20286524,20286525,20286526,20286527,20286528,20286529,20286530,20286531,20286532?tags=Carton_gris,metal,mal_croppe,cartonnette,flou,autre_refus,papier,plastique,kraft,Teint_Dans_La_Masse,environnement,Carton_brun Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 1 /20286225. 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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.015707969665527344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4692914485931396 time spend to save output : 0.015894651412963867 total time spend for step 7 : 1.4851861000061035 step8:final Thu Feb 6 05:33:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1334879642: ('0.07620095305798488',), 1334879631: ('0.07620095305798488',), 1334879629: ('0.07620095305798488',), 1334879557: ('0.07620095305798488',), 1334879533: ('0.07620095305798488',), 1334879425: ('0.07620095305798488',), 1334879352: ('0.07620095305798488',), 1334879303: ('0.07620095305798488',), 1334879249: ('0.07620095305798488',)} new output for save of step final : {1334879642: ('0.07620095305798488',), 1334879631: ('0.07620095305798488',), 1334879629: ('0.07620095305798488',), 1334879557: ('0.07620095305798488',), 1334879533: ('0.07620095305798488',), 1334879425: ('0.07620095305798488',), 1334879352: ('0.07620095305798488',), 1334879303: ('0.07620095305798488',), 1334879249: ('0.07620095305798488',)} [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 9 /1334879642.Didn't retrieve data . /1334879631.Didn't retrieve data . /1334879629.Didn't retrieve data . /1334879557.Didn't retrieve data . /1334879533.Didn't retrieve data . /1334879425.Didn't retrieve data . /1334879352.Didn't retrieve data . /1334879303.Didn't retrieve data . /1334879249.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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01237940788269043 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1108388900756836 time spend to save output : 0.013014078140258789 total time spend for step 8 : 0.12385296821594238 step9:velours_tree Thu Feb 6 05:33:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.18720173835754395 time spend to save output : 7.271766662597656e-05 total time spend for step 9 : 0.18727445602416992 step10:send_mail_cod Thu Feb 6 05:33:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P20286225_06-02-2025_05_33_17.pdf 20286522 imagette202865221738816397 20286523 imagette202865231738816397 20286524 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 .imagette202865241738816397 20286525 imagette202865251738816398 20286526 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 .imagette202865261738816398 20286528 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 .imagette202865281738816400 20286529 change filename to text .imagette202865291738816401 20286521 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 .imagette202865211738816401 20286530 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 .imagette202865301738816402 20286532 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 .imagette202865321738816403 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20286225 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20286521,20286522,20286523,20286524,20286525,20286526,20286527,20286528,20286529,20286530,20286531,20286532?tags=Carton_gris,metal,mal_croppe,cartonnette,flou,autre_refus,papier,plastique,kraft,Teint_Dans_La_Masse,environnement,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1334879642] : ('0.07620095305798488',) no score found for photo 1334879642 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879631] : ('0.07620095305798488',) no score found for photo 1334879631 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879629] : ('0.07620095305798488',) no score found for photo 1334879629 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879557] : ('0.07620095305798488',) no score found for photo 1334879557 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879533] : ('0.07620095305798488',) no score found for photo 1334879533 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879425] : ('0.07620095305798488',) no score found for photo 1334879425 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879352] : ('0.07620095305798488',) no score found for photo 1334879352 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879303] : ('0.07620095305798488',) no score found for photo 1334879303 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com args[1334879249] : ('0.07620095305798488',) no score found for photo 1334879249 apple ('0.07620095305798488',) We are sending mail with results at report@fotonower.com refus_total : 0.07620095305798488 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=20286225 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1334879871,1335072435,1335072433,1335072422,1335072409,1334880241,1334879956,1334879932,1334879898,1334879812,1334879795,1334879303,1334879648,1334879642,1334879631,1334879629,1334879352,1334879425,1334879533,1334879249) Found this number of photos: 20 begin to download photo : 1334879871 begin to download photo : 1334880241 begin to download photo : 1334879795 begin to download photo : 1334879629 download finish for photo 1334879629 begin to download photo : 1334879352 download finish for photo 1334880241 begin to download photo : 1334879956 download finish for photo 1334879871 begin to download photo : 1335072435 download finish for photo 1334879795 begin to download photo : 1334879303 download finish for photo 1334879352 begin to download photo : 1334879425 download finish for photo 1334879956 begin to download photo : 1334879932 download finish for photo 1335072435 begin to download photo : 1335072433 download finish for photo 1334879303 begin to download photo : 1334879648 download finish for photo 1334879425 begin to download photo : 1334879533 download finish for photo 1334879932 begin to download photo : 1334879898 download finish for photo 1335072433 begin to download photo : 1335072422 download finish for photo 1334879533 begin to download photo : 1334879249 download finish for photo 1334879648 begin to download photo : 1334879642 download finish for photo 1334879898 begin to download photo : 1334879812 download finish for photo 1335072422 begin to download photo : 1335072409 download finish for photo 1334879642 begin to download photo : 1334879631 download finish for photo 1334879249 download finish for photo 1334879812 download finish for photo 1335072409 download finish for photo 1334879631 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_33_17.pdf results_Auto_P20286225_06-02-2025_05_33_17.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_33_17.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3459','20286225','results_Auto_P20286225_06-02-2025_05_33_17.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_33_17.pdf','pdf','','1.33','0.07620095305798488') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] 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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.09588217735290527 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.75460696220398 time spend to save output : 0.09614443778991699 total time spend for step 10 : 12.850751399993896 step11:split_time_score Thu Feb 6 05:33: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 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', 29),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05022025 20286225 Nombre de photos uploadées : 29 / 23040 (0%) 05022025 20286225 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 05022025 20286225 Nombre de photos taguées (volume) : 0 / 29 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016448497772216797 elapsed_time : insert_dashboard_record_day_entry 0.022258758544921875 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 = 20277499 order by id desc limit 1 Qualite : 0.07516922492975417 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277500_06-02-2025_05_31_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277500 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`=20277500 AND mptpi.`type`=4207 To do Qualite : 0.06982936375476607 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277501_06-02-2025_05_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277501 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`=20277501 AND mptpi.`type`=4207 To do Qualite : 0.22049059616263506 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277502_06-02-2025_02_23_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277502 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`=20277502 AND mptpi.`type`=3594 To do Qualite : 0.24811212809776687 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277503_06-02-2025_02_17_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277503 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`=20277503 AND mptpi.`type`=3594 To do Qualite : 0.1599211058721707 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277504_06-02-2025_05_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277504 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`=20277504 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286196 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286197 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286210 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286224 order by id desc limit 1 Qualite : 0.07663699265928005 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20286225_06-02-2025_05_33_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286225 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`=20286225 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286226 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277510 order by id desc limit 1 Qualite : 0.2311395498592955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277511_06-02-2025_02_48_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277511 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`=20277511 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277512 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286228 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286229 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286230 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277514 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286231 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286232 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286233 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286234 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286235 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286236 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286237 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286238 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286239 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277522 order by id desc limit 1 Qualite : 0.1770747284253208 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277523_06-02-2025_01_29_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277523 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`=20277523 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286240 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286241 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286242 order by id desc limit 1 Qualite : 0.07058148054050647 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277526_06-02-2025_02_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277526 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`=20277526 AND mptpi.`type`=4207 To do Qualite : 0.06769655641860853 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277527_06-02-2025_00_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277527 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`=20277527 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277528 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277529 order by id desc limit 1 Qualite : 0.21480488134682896 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277530_06-02-2025_01_27_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277530 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`=20277530 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277531 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286243 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277533 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277534 order by id desc limit 1 Qualite : 0.09479940201243531 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277535_06-02-2025_03_28_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277535 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`=20277535 AND mptpi.`type`=4207 To do Qualite : 0.05092112302991469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277548_06-02-2025_02_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277548 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`=20277548 AND mptpi.`type`=4207 To do Qualite : 0.180145604972313 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277549_06-02-2025_00_58_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277549 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`=20277549 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277550_06-02-2025_01_20_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277550 order by id desc limit 1 Qualite : 0.09609489658538523 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20277551_06-02-2025_02_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20277551 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`=20277551 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286244 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286245 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20286246 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05022025': {'nb_upload': 29, '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 [1334879642, 1334879631, 1334879629, 1334879557, 1334879533, 1334879425, 1334879352, 1334879303, 1334879249] Looping around the photos to save general results len do output : 1 /20286225Didn'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, '2557986') ('3459', None, '1334879642', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879631', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879629', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879557', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879533', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879425', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879352', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879303', None, None, None, None, None, '2557986') ('3459', None, None, None, None, None, None, None, '2557986') ('3459', None, '1334879249', None, None, None, None, None, '2557986') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.03272104263305664 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.812384128570557 time spend to save output : 0.032976627349853516 total time spend for step 11 : 30.84536075592041 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 139.70user 109.18system 5:38.21elapsed 73%CPU (0avgtext+0avgdata 4236896maxresident)k 382960inputs+161528outputs (20694major+12198301minor)pagefaults 0swaps