python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 10 -a ' -a 4234 -l 5 ' -s datou_current_4234 -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 : 2075084 load datou : 4234 # 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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 ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 ? 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 ? 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 : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load THCL from format json or kwargs add thcl : 3237 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig add pdt : 5561 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 4234, datou_cur_ids : ['2629066'] with mtr_portfolio_ids : ['20972824'] and first list_photo_ids : [] new path : /proc/2075084/ 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, brightness, blur_detection, rle_unique_nms_with_priority, crop_condition, thcl, ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score list_input_json : [] origin We have 1 , BFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 2 ; length of list_pids : 2 ; length of list_args : 2 time to download the photos : 0.3188784122467041 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 Mon Mar 3 12:20:27 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 : 3185 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-03 12:20:30.995527: 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-03-03 12:20:31.023140: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-03 12:20:31.025275: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa790000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-03 12:20:31.025330: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-03 12:20:31.029767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-03 12:20:31.304064: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xbcfe6c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-03 12:20:31.304133: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-03 12:20:31.305237: 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-03-03 12:20:31.309218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 12:20:31.314220: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 12:20:31.318322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 12:20:31.319811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 12:20:31.324645: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 12:20:31.326393: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 12:20:31.334921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 12:20:31.336221: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 12:20:31.336330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 12:20:31.336997: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-03 12:20:31.337017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-03 12:20:31.337029: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-03 12:20:31.338155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2733 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-03-03 12:20:31.655507: 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-03-03 12:20:31.655623: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 12:20:31.655644: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 12:20:31.655663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 12:20:31.655681: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 12:20:31.655698: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 12:20:31.655715: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 12:20:31.655733: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 12:20:31.656802: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 12:20:31.658136: 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-03-03 12:20:31.658214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 12:20:31.658235: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 12:20:31.658252: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 12:20:31.658270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 12:20:31.658286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 12:20:31.658303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 12:20:31.658321: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 12:20:31.659705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 12:20:31.659779: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-03 12:20:31.659792: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-03 12:20:31.659802: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-03 12:20:31.660989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2733 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 : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', '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_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 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_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-03 12:20:40.583273: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 12:20:40.774517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 12:20:42.361440: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.361522: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.362140: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.362160: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.369318: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.369341: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.369884: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.369899: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.376414: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.376434: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.376974: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.376988: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.407953: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.407986: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.408551: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.408566: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.414352: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.414372: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.414926: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.414944: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-03 12:20:42.448536: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.449093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.450773: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.451411: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.489740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.490340: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.492394: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.492984: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.519563: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.520161: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.521782: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.522369: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.528167: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.528738: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.530479: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.531063: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.537001: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.537557: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.539140: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.539730: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.567522: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.568084: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.568629: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.569174: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.572840: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.573388: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.589689: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.590279: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.590854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.591448: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.604880: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.605434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.605973: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.606513: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.611002: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.611596: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.616372: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.616939: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.629807: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.630397: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.634756: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.635350: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.635936: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.636518: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.637293: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.637866: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.649220: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.649809: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.650413: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.650982: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.651567: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.652148: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.666908: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.667459: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.725050: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.725627: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.733434: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.734028: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.749395: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.750552: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.751639: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.752784: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.758234: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.759641: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.761058: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.762421: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.763854: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.763885: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-03-03 12:20:42.774336: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.775001: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.784448: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.785127: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.785736: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.786293: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.786843: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-03 12:20:42.787436: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.17G (2330853376 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 2 NEW PHOTO pour l'instant on ne peut pas sauvegarder la photo dans les tile Processing 1 images image shape: (400, 400, 3) min: 65.00000 max: 180.00000 molded_images shape: (1, 640, 640, 3) min: -58.70000 max: 66.97109 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 41.00000 max: 224.00000 molded_images shape: (1, 640, 640, 3) min: -74.37969 max: 115.60000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -81.15313 max: 142.45547 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 600 time to create 1 rle with old method : 0.0007963180541992188 length of segment : 45 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 387 time to create 1 rle with old method : 0.0005712509155273438 length of segment : 18 Processing 1 images image shape: (400, 400, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -68.54375 max: 135.83672 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 61.00000 max: 211.00000 molded_images shape: (1, 640, 640, 3) min: -59.25859 max: 98.50625 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 68.00000 max: 171.00000 molded_images shape: (1, 640, 640, 3) min: -55.70000 max: 61.71328 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 160, 3) min: 68.00000 max: 123.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 17.68984 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 38.00000 max: 239.00000 molded_images shape: (1, 640, 640, 3) min: -67.19609 max: 105.49062 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 6.914138793945312e-05 nb_pixel_total : 973 time to create 1 rle with old method : 0.0015709400177001953 length of segment : 65 time for calcul the mask position with numpy : 6.0558319091796875e-05 nb_pixel_total : 486 time to create 1 rle with old method : 0.001062154769897461 length of segment : 72 time for calcul the mask position with numpy : 6.842613220214844e-05 nb_pixel_total : 768 time to create 1 rle with old method : 0.0010497570037841797 length of segment : 68 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 4037 time to create 1 rle with old method : 0.005249738693237305 length of segment : 81 time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 1744 time to create 1 rle with old method : 0.0028471946716308594 length of segment : 48 time for calcul the mask position with numpy : 0.00010800361633300781 nb_pixel_total : 4225 time to create 1 rle with old method : 0.005904197692871094 length of segment : 93 Processing 1 images image shape: (400, 400, 3) min: 43.00000 max: 248.00000 molded_images shape: (1, 640, 640, 3) min: -76.14141 max: 126.46328 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 10 time for calcul the mask position with numpy : 0.00010395050048828125 nb_pixel_total : 853 time to create 1 rle with old method : 0.001336812973022461 length of segment : 34 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 483 time to create 1 rle with old method : 0.0006821155548095703 length of segment : 26 time for calcul the mask position with numpy : 4.6253204345703125e-05 nb_pixel_total : 123 time to create 1 rle with old method : 0.00023627281188964844 length of segment : 17 time for calcul the mask position with numpy : 4.673004150390625e-05 nb_pixel_total : 205 time to create 1 rle with old method : 0.00030994415283203125 length of segment : 22 time for calcul the mask position with numpy : 6.127357482910156e-05 nb_pixel_total : 180 time to create 1 rle with old method : 0.00027632713317871094 length of segment : 28 time for calcul the mask position with numpy : 5.078315734863281e-05 nb_pixel_total : 220 time to create 1 rle with old method : 0.00034046173095703125 length of segment : 24 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 126 time to create 1 rle with old method : 0.00020599365234375 length of segment : 55 time for calcul the mask position with numpy : 0.00011181831359863281 nb_pixel_total : 3836 time to create 1 rle with old method : 0.0050008296966552734 length of segment : 68 time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 3780 time to create 1 rle with old method : 0.004900455474853516 length of segment : 65 time for calcul the mask position with numpy : 0.00011563301086425781 nb_pixel_total : 3586 time to create 1 rle with old method : 0.005358219146728516 length of segment : 64 Processing 1 images image shape: (400, 400, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -65.37969 max: 144.12344 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 5.1975250244140625e-05 nb_pixel_total : 661 time to create 1 rle with old method : 0.0011181831359863281 length of segment : 26 Processing 1 images image shape: (400, 400, 3) min: 52.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -50.57891 max: 138.42031 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 63.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -60.70000 max: 126.17812 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 7.152557373046875e-05 nb_pixel_total : 274 time to create 1 rle with old method : 0.0006465911865234375 length of segment : 30 time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 322 time to create 1 rle with old method : 0.0009770393371582031 length of segment : 17 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 1830 time to create 1 rle with old method : 0.004529714584350586 length of segment : 55 time for calcul the mask position with numpy : 5.6743621826171875e-05 nb_pixel_total : 304 time to create 1 rle with old method : 0.0005154609680175781 length of segment : 20 Processing 1 images image shape: (400, 400, 3) min: 67.00000 max: 239.00000 molded_images shape: (1, 640, 640, 3) min: -53.06328 max: 116.80312 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 5.745887756347656e-05 nb_pixel_total : 520 time to create 1 rle with old method : 0.0009374618530273438 length of segment : 30 Processing 1 images image shape: (400, 160, 3) min: 72.00000 max: 181.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 74.69375 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 5.841255187988281e-05 nb_pixel_total : 168 time to create 1 rle with old method : 0.00044989585876464844 length of segment : 19 Processing 1 images image shape: (400, 400, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -71.02813 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 8.893013000488281e-05 nb_pixel_total : 453 time to create 1 rle with old method : 0.0009849071502685547 length of segment : 44 time for calcul the mask position with numpy : 0.00014734268188476562 nb_pixel_total : 2890 time to create 1 rle with old method : 0.005673885345458984 length of segment : 106 time for calcul the mask position with numpy : 6.508827209472656e-05 nb_pixel_total : 165 time to create 1 rle with old method : 0.00035834312438964844 length of segment : 20 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 1766 time to create 1 rle with old method : 0.0033385753631591797 length of segment : 46 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 316 time to create 1 rle with old method : 0.0007824897766113281 length of segment : 20 time for calcul the mask position with numpy : 0.0002315044403076172 nb_pixel_total : 9621 time to create 1 rle with old method : 0.016958951950073242 length of segment : 97 time for calcul the mask position with numpy : 0.0002491474151611328 nb_pixel_total : 9359 time to create 1 rle with old method : 0.017267227172851562 length of segment : 93 Processing 1 images image shape: (400, 400, 3) min: 50.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -73.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 350 time to create 1 rle with old method : 0.00046133995056152344 length of segment : 29 time for calcul the mask position with numpy : 8.320808410644531e-05 nb_pixel_total : 3430 time to create 1 rle with old method : 0.00612330436706543 length of segment : 38 Processing 1 images image shape: (400, 400, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -65.63359 max: 150.11562 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 6.008148193359375e-05 nb_pixel_total : 1190 time to create 1 rle with old method : 0.001508951187133789 length of segment : 77 time for calcul the mask position with numpy : 5.7697296142578125e-05 nb_pixel_total : 1111 time to create 1 rle with old method : 0.0014421939849853516 length of segment : 71 time for calcul the mask position with numpy : 6.985664367675781e-05 nb_pixel_total : 650 time to create 1 rle with old method : 0.0013890266418457031 length of segment : 32 time for calcul the mask position with numpy : 0.0003445148468017578 nb_pixel_total : 23251 time to create 1 rle with old method : 0.028321027755737305 length of segment : 217 Processing 1 images image shape: (400, 400, 3) min: 69.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -49.00078 max: 137.13125 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 7.939338684082031e-05 nb_pixel_total : 3532 time to create 1 rle with old method : 0.004324197769165039 length of segment : 61 time for calcul the mask position with numpy : 4.744529724121094e-05 nb_pixel_total : 514 time to create 1 rle with old method : 0.0007090568542480469 length of segment : 32 time for calcul the mask position with numpy : 5.125999450683594e-05 nb_pixel_total : 1236 time to create 1 rle with old method : 0.0015745162963867188 length of segment : 48 Processing 1 images image shape: (400, 400, 3) min: 84.00000 max: 253.00000 molded_images shape: (1, 640, 640, 3) min: -39.70000 max: 136.86953 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 3.743171691894531e-05 nb_pixel_total : 158 time to create 1 rle with old method : 0.00024700164794921875 length of segment : 16 time for calcul the mask position with numpy : 3.4332275390625e-05 nb_pixel_total : 240 time to create 1 rle with old method : 0.00043845176696777344 length of segment : 29 time for calcul the mask position with numpy : 3.075599670410156e-05 nb_pixel_total : 168 time to create 1 rle with old method : 0.0003643035888671875 length of segment : 12 Processing 1 images image shape: (400, 400, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -59.02813 max: 138.20000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 3.838539123535156e-05 nb_pixel_total : 481 time to create 1 rle with old method : 0.0006189346313476562 length of segment : 35 time for calcul the mask position with numpy : 3.6716461181640625e-05 nb_pixel_total : 505 time to create 1 rle with old method : 0.0006856918334960938 length of segment : 31 time for calcul the mask position with numpy : 3.24249267578125e-05 nb_pixel_total : 344 time to create 1 rle with old method : 0.0004444122314453125 length of segment : 35 time for calcul the mask position with numpy : 3.457069396972656e-05 nb_pixel_total : 365 time to create 1 rle with old method : 0.0004878044128417969 length of segment : 33 time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 5182 time to create 1 rle with old method : 0.00619053840637207 length of segment : 93 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 5186 time to create 1 rle with old method : 0.006097555160522461 length of segment : 93 Processing 1 images image shape: (400, 160, 3) min: 70.00000 max: 199.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 86.89687 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 5.507469177246094e-05 nb_pixel_total : 719 time to create 1 rle with old method : 0.001180410385131836 length of segment : 36 Processing 1 images image shape: (240, 400, 3) min: 107.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (240, 400, 3) min: 94.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.94375 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 0.0008733272552490234 nb_pixel_total : 65455 time to create 1 rle with old method : 0.08086419105529785 length of segment : 238 Processing 1 images image shape: (240, 400, 3) min: 59.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.94766 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 1031 time to create 1 rle with old method : 0.0014064311981201172 length of segment : 30 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 6518 time to create 1 rle with old method : 0.008351325988769531 length of segment : 54 time for calcul the mask position with numpy : 0.0007295608520507812 nb_pixel_total : 64311 time to create 1 rle with old method : 0.07700419425964355 length of segment : 204 Processing 1 images image shape: (240, 400, 3) min: 76.00000 max: 253.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.14687 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (240, 400, 3) min: 81.00000 max: 252.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 144.29141 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 5.888938903808594e-05 nb_pixel_total : 794 time to create 1 rle with old method : 0.0012164115905761719 length of segment : 33 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 800 time to create 1 rle with old method : 0.0012021064758300781 length of segment : 35 time for calcul the mask position with numpy : 3.218650817871094e-05 nb_pixel_total : 128 time to create 1 rle with old method : 0.00023221969604492188 length of segment : 17 Processing 1 images image shape: (240, 400, 3) min: 71.00000 max: 208.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 96.70547 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (240, 160, 3) min: 100.00000 max: 194.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 79.24754 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 NEW PHOTO pour l'instant on ne peut pas sauvegarder la photo dans les tile Processing 1 images image shape: (400, 400, 3) min: 64.00000 max: 190.00000 molded_images shape: (1, 640, 640, 3) min: -59.70000 max: 78.87344 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 47.00000 max: 211.00000 molded_images shape: (1, 640, 640, 3) min: -71.23906 max: 102.58437 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 413 time to create 1 rle with old method : 0.0005548000335693359 length of segment : 22 time for calcul the mask position with numpy : 7.62939453125e-05 nb_pixel_total : 3319 time to create 1 rle with old method : 0.004095315933227539 length of segment : 73 time for calcul the mask position with numpy : 7.987022399902344e-05 nb_pixel_total : 3070 time to create 1 rle with old method : 0.0037462711334228516 length of segment : 73 Processing 1 images image shape: (400, 400, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -64.29375 max: 142.15469 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 5.1975250244140625e-05 nb_pixel_total : 206 time to create 1 rle with old method : 0.0004057884216308594 length of segment : 24 time for calcul the mask position with numpy : 6.151199340820312e-05 nb_pixel_total : 290 time to create 1 rle with old method : 0.000415802001953125 length of segment : 27 Processing 1 images image shape: (400, 400, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -56.43828 max: 131.52031 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 3.743171691894531e-05 nb_pixel_total : 163 time to create 1 rle with old method : 0.0002570152282714844 length of segment : 16 Processing 1 images image shape: (400, 400, 3) min: 73.00000 max: 211.00000 molded_images shape: (1, 640, 640, 3) min: -50.70000 max: 99.69766 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 82.00000 max: 184.00000 molded_images shape: (1, 640, 640, 3) min: -41.70000 max: 75.26797 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 4.3392181396484375e-05 nb_pixel_total : 509 time to create 1 rle with old method : 0.0007739067077636719 length of segment : 33 time for calcul the mask position with numpy : 4.100799560546875e-05 nb_pixel_total : 222 time to create 1 rle with old method : 0.0003674030303955078 length of segment : 29 Processing 1 images image shape: (400, 160, 3) min: 68.00000 max: 119.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 14.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 62.00000 max: 226.00000 molded_images shape: (1, 640, 640, 3) min: -55.87188 max: 110.97500 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 7.295608520507812e-05 nb_pixel_total : 901 time to create 1 rle with old method : 0.0014386177062988281 length of segment : 69 time for calcul the mask position with numpy : 7.05718994140625e-05 nb_pixel_total : 351 time to create 1 rle with old method : 0.0006926059722900391 length of segment : 62 time for calcul the mask position with numpy : 8.273124694824219e-05 nb_pixel_total : 3166 time to create 1 rle with old method : 0.004475116729736328 length of segment : 59 time for calcul the mask position with numpy : 0.00011277198791503906 nb_pixel_total : 3879 time to create 1 rle with old method : 0.005349397659301758 length of segment : 53 Processing 1 images image shape: (400, 400, 3) min: 59.00000 max: 252.00000 molded_images shape: (1, 640, 640, 3) min: -60.98516 max: 133.83828 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 825 time to create 1 rle with old method : 0.0013427734375 length of segment : 24 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 265 time to create 1 rle with old method : 0.00038909912109375 length of segment : 79 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 217 time to create 1 rle with old method : 0.00040531158447265625 length of segment : 24 time for calcul the mask position with numpy : 0.0001690387725830078 nb_pixel_total : 3653 time to create 1 rle with old method : 0.004944801330566406 length of segment : 64 time for calcul the mask position with numpy : 7.963180541992188e-05 nb_pixel_total : 3266 time to create 1 rle with old method : 0.004440784454345703 length of segment : 91 time for calcul the mask position with numpy : 7.200241088867188e-05 nb_pixel_total : 2965 time to create 1 rle with old method : 0.0036978721618652344 length of segment : 91 Processing 1 images image shape: (400, 400, 3) min: 62.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -47.83281 max: 149.69766 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 64.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -46.36016 max: 137.75078 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 69.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -42.52422 max: 126.68984 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 4.172325134277344e-05 nb_pixel_total : 511 time to create 1 rle with old method : 0.0006647109985351562 length of segment : 32 time for calcul the mask position with numpy : 4.029273986816406e-05 nb_pixel_total : 259 time to create 1 rle with old method : 0.0004830360412597656 length of segment : 18 time for calcul the mask position with numpy : 3.409385681152344e-05 nb_pixel_total : 310 time to create 1 rle with old method : 0.00047326087951660156 length of segment : 17 Processing 1 images image shape: (400, 400, 3) min: 71.00000 max: 213.00000 molded_images shape: (1, 640, 640, 3) min: -52.70000 max: 95.45547 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 554 time to create 1 rle with old method : 0.0007772445678710938 length of segment : 20 time for calcul the mask position with numpy : 4.029273986816406e-05 nb_pixel_total : 616 time to create 1 rle with old method : 0.0008294582366943359 length of segment : 30 time for calcul the mask position with numpy : 8.58306884765625e-05 nb_pixel_total : 3189 time to create 1 rle with old method : 0.004017353057861328 length of segment : 96 time for calcul the mask position with numpy : 5.2928924560546875e-05 nb_pixel_total : 601 time to create 1 rle with old method : 0.0007741451263427734 length of segment : 38 time for calcul the mask position with numpy : 8.749961853027344e-05 nb_pixel_total : 3895 time to create 1 rle with old method : 0.004926204681396484 length of segment : 59 time for calcul the mask position with numpy : 5.125999450683594e-05 nb_pixel_total : 1319 time to create 1 rle with old method : 0.0016951560974121094 length of segment : 56 Processing 1 images image shape: (400, 160, 3) min: 88.00000 max: 174.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 62.95937 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (400, 400, 3) min: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -60.20391 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 1728 time to create 1 rle with old method : 0.003568410873413086 length of segment : 45 time for calcul the mask position with numpy : 6.318092346191406e-05 nb_pixel_total : 537 time to create 1 rle with old method : 0.0011796951293945312 length of segment : 21 time for calcul the mask position with numpy : 5.340576171875e-05 nb_pixel_total : 361 time to create 1 rle with old method : 0.0009732246398925781 length of segment : 18 time for calcul the mask position with numpy : 0.00020551681518554688 nb_pixel_total : 10042 time to create 1 rle with old method : 0.019970417022705078 length of segment : 103 Processing 1 images image shape: (400, 400, 3) min: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -64.64141 max: 150.82656 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 4.792213439941406e-05 nb_pixel_total : 339 time to create 1 rle with old method : 0.0006361007690429688 length of segment : 29 Processing 1 images image shape: (400, 400, 3) min: 65.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -43.24297 max: 149.42422 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 8.726119995117188e-05 nb_pixel_total : 1075 time to create 1 rle with old method : 0.0018506050109863281 length of segment : 70 time for calcul the mask position with numpy : 0.0005061626434326172 nb_pixel_total : 20289 time to create 1 rle with old method : 0.02710556983947754 length of segment : 177 Processing 1 images image shape: (400, 400, 3) min: 82.00000 max: 251.00000 molded_images shape: (1, 640, 640, 3) min: -41.70000 max: 136.34609 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 4.1961669921875e-05 nb_pixel_total : 454 time to create 1 rle with old method : 0.0006322860717773438 length of segment : 45 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 2229 time to create 1 rle with old method : 0.0028579235076904297 length of segment : 42 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 723 time to create 1 rle with old method : 0.0009720325469970703 length of segment : 56 Processing 1 images image shape: (400, 400, 3) min: 85.00000 max: 248.00000 molded_images shape: (1, 640, 640, 3) min: -36.71172 max: 131.31875 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 4.076957702636719e-05 nb_pixel_total : 263 time to create 1 rle with old method : 0.00044155120849609375 length of segment : 30 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 680 time to create 1 rle with old method : 0.0009596347808837891 length of segment : 66 time for calcul the mask position with numpy : 3.218650817871094e-05 nb_pixel_total : 125 time to create 1 rle with old method : 0.00020074844360351562 length of segment : 15 Processing 1 images image shape: (400, 400, 3) min: 79.00000 max: 212.00000 molded_images shape: (1, 640, 640, 3) min: -44.70000 max: 106.18984 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 3.838539123535156e-05 nb_pixel_total : 249 time to create 1 rle with old method : 0.0003485679626464844 length of segment : 19 Processing 1 images image shape: (400, 160, 3) min: 56.00000 max: 248.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 123.19219 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 3.504753112792969e-05 nb_pixel_total : 96 time to create 1 rle with old method : 0.00015044212341308594 length of segment : 18 time for calcul the mask position with numpy : 4.4345855712890625e-05 nb_pixel_total : 1222 time to create 1 rle with old method : 0.0015463829040527344 length of segment : 53 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 916 time to create 1 rle with old method : 0.0012791156768798828 length of segment : 30 time for calcul the mask position with numpy : 0.00047206878662109375 nb_pixel_total : 42347 time to create 1 rle with old method : 0.048241615295410156 length of segment : 527 Processing 1 images image shape: (240, 400, 3) min: 115.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.86562 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 5.245208740234375e-05 nb_pixel_total : 92 time to create 1 rle with old method : 0.00020694732666015625 length of segment : 12 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 4571 time to create 1 rle with old method : 0.007253408432006836 length of segment : 228 Processing 1 images image shape: (240, 400, 3) min: 102.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 0.0005156993865966797 nb_pixel_total : 52574 time to create 1 rle with old method : 0.05979609489440918 length of segment : 225 time for calcul the mask position with numpy : 4.410743713378906e-05 nb_pixel_total : 60 time to create 1 rle with old method : 0.0001270771026611328 length of segment : 13 Processing 1 images image shape: (240, 400, 3) min: 72.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.01406 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 1002 time to create 1 rle with old method : 0.0013365745544433594 length of segment : 29 time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 1642 time to create 1 rle with old method : 0.0022802352905273438 length of segment : 70 time for calcul the mask position with numpy : 8.487701416015625e-05 nb_pixel_total : 2430 time to create 1 rle with old method : 0.0032563209533691406 length of segment : 78 Processing 1 images image shape: (240, 400, 3) min: 87.00000 max: 240.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 125.27187 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 0.0008122920989990234 nb_pixel_total : 70859 time to create 1 rle with old method : 0.0808420181274414 length of segment : 219 Processing 1 images image shape: (240, 400, 3) min: 88.00000 max: 240.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 135.28359 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 4 time for calcul the mask position with numpy : 4.696846008300781e-05 nb_pixel_total : 992 time to create 1 rle with old method : 0.0013308525085449219 length of segment : 33 time for calcul the mask position with numpy : 4.100799560546875e-05 nb_pixel_total : 805 time to create 1 rle with old method : 0.001068115234375 length of segment : 36 time for calcul the mask position with numpy : 3.075599670410156e-05 nb_pixel_total : 116 time to create 1 rle with old method : 0.00021576881408691406 length of segment : 15 time for calcul the mask position with numpy : 3.886222839355469e-05 nb_pixel_total : 839 time to create 1 rle with old method : 0.0010933876037597656 length of segment : 36 Processing 1 images image shape: (240, 400, 3) min: 81.00000 max: 214.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 102.50625 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Processing 1 images image shape: (240, 160, 3) min: 99.00000 max: 184.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 67.27162 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 0 Detection mask done ! Trying to reset tf kernel 2075743 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1992 tf kernel not reseted sub process len(results) : 115 len(list_Values) 115 None max_time_sub_proc : 3600 parent process len(results) : 0 len(list_Values) 115 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 : 3185 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Catched exception ! Connect or reconnect ! Number saved : None batch 1 Loaded 115 chid ids of type : 4228 Number RLEs to save : 6782 save missing photos in datou_result : time spend for datou_step_exec : 27.548110485076904 time spend to save output : 7.430606365203857 total time spend for step 1 : 34.97871685028076 step2:brightness Mon Mar 3 12:21:02 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 inside step calcul brightness treat image : temp/1741000827_2075084_1340611575_390fe70935dc5623b0fef22b556a328c.jpg treat image : temp/1741000827_2075084_1340610160_dd7905e5c2713ed53d220c9631590852.jpg Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.012108564376831055 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.012541055679321289 save missing photos in datou_result : time spend for datou_step_exec : 1.3598144054412842 time spend to save output : 0.029654502868652344 total time spend for step 2 : 1.3894689083099365 step3:blur_detection Mon Mar 3 12:21:04 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 inside step blur_detection methode: ratio et variance treat image : temp/1741000827_2075084_1340611575_390fe70935dc5623b0fef22b556a328c.jpg resize: (1440, 2560) 1340611575 -4.306114280710604 treat image : temp/1741000827_2075084_1340610160_dd7905e5c2713ed53d220c9631590852.jpg resize: (1440, 2560) 1340610160 -3.450631159753251 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 2 time used for this insertion : 0.010763168334960938 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 2 time used for this insertion : 0.010886430740356445 save missing photos in datou_result : time spend for datou_step_exec : 4.358937501907349 time spend to save output : 0.026030540466308594 total time spend for step 3 : 4.384968042373657 step4:rle_unique_nms_with_priority Mon Mar 3 12:21:08 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 batch 1 Loaded 115 chid ids of type : 4228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 58 nb_hashtags : 5 time to prepare the origin masks : 1.7631983757019043 time for calcul the mask position with numpy : 0.2647223472595215 nb_pixel_total : 3481003 time to create 1 rle with new method : 0.5809981822967529 time for calcul the mask position with numpy : 0.015033721923828125 nb_pixel_total : 600 time to create 1 rle with old method : 0.0006787776947021484 time for calcul the mask position with numpy : 0.014978408813476562 nb_pixel_total : 387 time to create 1 rle with old method : 0.00045228004455566406 time for calcul the mask position with numpy : 0.014949560165405273 nb_pixel_total : 274 time to create 1 rle with old method : 0.00032520294189453125 time for calcul the mask position with numpy : 0.015070915222167969 nb_pixel_total : 123 time to create 1 rle with old method : 0.00016832351684570312 time for calcul the mask position with numpy : 0.015132904052734375 nb_pixel_total : 304 time to create 1 rle with old method : 0.0003688335418701172 time for calcul the mask position with numpy : 0.015173912048339844 nb_pixel_total : 322 time to create 1 rle with old method : 0.0004124641418457031 time for calcul the mask position with numpy : 0.015069961547851562 nb_pixel_total : 853 time to create 1 rle with old method : 0.001009225845336914 time for calcul the mask position with numpy : 0.015072107315063477 nb_pixel_total : 661 time to create 1 rle with old method : 0.0007963180541992188 time for calcul the mask position with numpy : 0.0152740478515625 nb_pixel_total : 1830 time to create 1 rle with old method : 0.0021295547485351562 time for calcul the mask position with numpy : 0.01507425308227539 nb_pixel_total : 24 time to create 1 rle with old method : 9.059906005859375e-05 time for calcul the mask position with numpy : 0.015579462051391602 nb_pixel_total : 205 time to create 1 rle with old method : 0.00030422210693359375 time for calcul the mask position with numpy : 0.01687765121459961 nb_pixel_total : 168 time to create 1 rle with old method : 0.00020623207092285156 time for calcul the mask position with numpy : 0.01509547233581543 nb_pixel_total : 180 time to create 1 rle with old method : 0.00021529197692871094 time for calcul the mask position with numpy : 0.018926620483398438 nb_pixel_total : 483 time to create 1 rle with old method : 0.0007307529449462891 time for calcul the mask position with numpy : 0.01903390884399414 nb_pixel_total : 126 time to create 1 rle with old method : 0.00019884109497070312 time for calcul the mask position with numpy : 0.01614999771118164 nb_pixel_total : 3836 time to create 1 rle with old method : 0.004121065139770508 time for calcul the mask position with numpy : 0.014874458312988281 nb_pixel_total : 484 time to create 1 rle with old method : 0.0005888938903808594 time for calcul the mask position with numpy : 0.015192031860351562 nb_pixel_total : 68 time to create 1 rle with old method : 0.00012135505676269531 time for calcul the mask position with numpy : 0.01756906509399414 nb_pixel_total : 67 time to create 1 rle with old method : 0.00017714500427246094 time for calcul the mask position with numpy : 0.01475071907043457 nb_pixel_total : 973 time to create 1 rle with old method : 0.0011646747589111328 time for calcul the mask position with numpy : 0.015093088150024414 nb_pixel_total : 2 time to create 1 rle with old method : 1.8358230590820312e-05 time for calcul the mask position with numpy : 0.015097856521606445 nb_pixel_total : 520 time to create 1 rle with old method : 0.0006041526794433594 time for calcul the mask position with numpy : 0.015119314193725586 nb_pixel_total : 475 time to create 1 rle with old method : 0.0006570816040039062 time for calcul the mask position with numpy : 0.015145301818847656 nb_pixel_total : 4037 time to create 1 rle with old method : 0.004720926284790039 time for calcul the mask position with numpy : 0.017343997955322266 nb_pixel_total : 69 time to create 1 rle with old method : 0.00017142295837402344 time for calcul the mask position with numpy : 0.015277624130249023 nb_pixel_total : 514 time to create 1 rle with old method : 0.0006313323974609375 time for calcul the mask position with numpy : 0.01666569709777832 nb_pixel_total : 650 time to create 1 rle with old method : 0.0010657310485839844 time for calcul the mask position with numpy : 0.01530599594116211 nb_pixel_total : 350 time to create 1 rle with old method : 0.0003707408905029297 time for calcul the mask position with numpy : 0.01468515396118164 nb_pixel_total : 240 time to create 1 rle with old method : 0.00028586387634277344 time for calcul the mask position with numpy : 0.014885425567626953 nb_pixel_total : 158 time to create 1 rle with old method : 0.0002048015594482422 time for calcul the mask position with numpy : 0.014992237091064453 nb_pixel_total : 344 time to create 1 rle with old method : 0.0003993511199951172 time for calcul the mask position with numpy : 0.01458430290222168 nb_pixel_total : 5182 time to create 1 rle with old method : 0.005727529525756836 time for calcul the mask position with numpy : 0.014191389083862305 nb_pixel_total : 453 time to create 1 rle with old method : 0.0004966259002685547 time for calcul the mask position with numpy : 0.014787912368774414 nb_pixel_total : 2890 time to create 1 rle with old method : 0.0034401416778564453 time for calcul the mask position with numpy : 0.014447927474975586 nb_pixel_total : 1236 time to create 1 rle with old method : 0.0013966560363769531 time for calcul the mask position with numpy : 0.014484643936157227 nb_pixel_total : 49 time to create 1 rle with old method : 6.723403930664062e-05 time for calcul the mask position with numpy : 0.014899969100952148 nb_pixel_total : 92 time to create 1 rle with old method : 0.00019240379333496094 time for calcul the mask position with numpy : 0.014778375625610352 nb_pixel_total : 3532 time to create 1 rle with old method : 0.0038459300994873047 time for calcul the mask position with numpy : 0.014464855194091797 nb_pixel_total : 505 time to create 1 rle with old method : 0.0005555152893066406 time for calcul the mask position with numpy : 0.014726638793945312 nb_pixel_total : 22011 time to create 1 rle with old method : 0.023983240127563477 time for calcul the mask position with numpy : 0.014552831649780273 nb_pixel_total : 1766 time to create 1 rle with old method : 0.0018913745880126953 time for calcul the mask position with numpy : 0.014854907989501953 nb_pixel_total : 1190 time to create 1 rle with old method : 0.0013310909271240234 time for calcul the mask position with numpy : 0.01444101333618164 nb_pixel_total : 50 time to create 1 rle with old method : 7.987022399902344e-05 time for calcul the mask position with numpy : 0.014731884002685547 nb_pixel_total : 316 time to create 1 rle with old method : 0.0003750324249267578 time for calcul the mask position with numpy : 0.014707088470458984 nb_pixel_total : 137 time to create 1 rle with old method : 0.0003452301025390625 time for calcul the mask position with numpy : 0.014594793319702148 nb_pixel_total : 9491 time to create 1 rle with old method : 0.009965896606445312 time for calcul the mask position with numpy : 0.014759063720703125 nb_pixel_total : 481 time to create 1 rle with old method : 0.0005609989166259766 time for calcul the mask position with numpy : 0.014739751815795898 nb_pixel_total : 719 time to create 1 rle with old method : 0.000835418701171875 time for calcul the mask position with numpy : 0.014886617660522461 nb_pixel_total : 365 time to create 1 rle with old method : 0.0004143714904785156 time for calcul the mask position with numpy : 0.015022516250610352 nb_pixel_total : 3430 time to create 1 rle with old method : 0.0049822330474853516 time for calcul the mask position with numpy : 0.016882896423339844 nb_pixel_total : 168 time to create 1 rle with old method : 0.00022268295288085938 time for calcul the mask position with numpy : 0.014566898345947266 nb_pixel_total : 5487 time to create 1 rle with old method : 0.00619196891784668 time for calcul the mask position with numpy : 0.014780521392822266 nb_pixel_total : 65455 time to create 1 rle with old method : 0.09727191925048828 time for calcul the mask position with numpy : 0.015153169631958008 nb_pixel_total : 58312 time to create 1 rle with old method : 0.0637972354888916 time for calcul the mask position with numpy : 0.014946937561035156 nb_pixel_total : 1031 time to create 1 rle with old method : 0.0012066364288330078 time for calcul the mask position with numpy : 0.014901161193847656 nb_pixel_total : 128 time to create 1 rle with old method : 0.00016164779663085938 time for calcul the mask position with numpy : 0.014904022216796875 nb_pixel_total : 794 time to create 1 rle with old method : 0.0009133815765380859 time for calcul the mask position with numpy : 0.014598608016967773 nb_pixel_total : 800 time to create 1 rle with old method : 0.0008428096771240234 create new chi : 2.0053532123565674 after preparing all the mask , begin to delete the rle from the crop_hashtag_id => VR 28-11-20 : il faut déplacer cela apres le save_crop_hashtag_ids_obj de la ligne 9514 ! we have 0 chi objets contains the rles time to delete rle : 0.015346288681030273 batch 1 Loaded 59 chid ids of type : 4230 Number RLEs to save : 6830 TO DO : save crop sub photo not yet done ! save time : 1.2688462734222412 nb_obj : 56 nb_hashtags : 4 time to prepare the origin masks : 3.0105948448181152 time for calcul the mask position with numpy : 0.06561398506164551 nb_pixel_total : 3445552 time to create 1 rle with new method : 0.8341147899627686 time for calcul the mask position with numpy : 0.02436971664428711 nb_pixel_total : 163 time to create 1 rle with old method : 0.00021982192993164062 time for calcul the mask position with numpy : 0.021152973175048828 nb_pixel_total : 206 time to create 1 rle with old method : 0.00031495094299316406 time for calcul the mask position with numpy : 0.019480466842651367 nb_pixel_total : 222 time to create 1 rle with old method : 0.0002961158752441406 time for calcul the mask position with numpy : 0.026698589324951172 nb_pixel_total : 290 time to create 1 rle with old method : 0.0005497932434082031 time for calcul the mask position with numpy : 0.04894542694091797 nb_pixel_total : 413 time to create 1 rle with old method : 0.0008683204650878906 time for calcul the mask position with numpy : 0.052292585372924805 nb_pixel_total : 63 time to create 1 rle with old method : 0.0005910396575927734 time for calcul the mask position with numpy : 0.03667902946472168 nb_pixel_total : 3319 time to create 1 rle with old method : 0.010242938995361328 time for calcul the mask position with numpy : 0.015513896942138672 nb_pixel_total : 509 time to create 1 rle with old method : 0.0006246566772460938 time for calcul the mask position with numpy : 0.013970613479614258 nb_pixel_total : 511 time to create 1 rle with old method : 0.0006060600280761719 time for calcul the mask position with numpy : 0.015152215957641602 nb_pixel_total : 310 time to create 1 rle with old method : 0.00038695335388183594 time for calcul the mask position with numpy : 0.020014047622680664 nb_pixel_total : 825 time to create 1 rle with old method : 0.0012521743774414062 time for calcul the mask position with numpy : 0.021043777465820312 nb_pixel_total : 217 time to create 1 rle with old method : 0.0002760887145996094 time for calcul the mask position with numpy : 0.021029233932495117 nb_pixel_total : 259 time to create 1 rle with old method : 0.0003514289855957031 time for calcul the mask position with numpy : 0.017751455307006836 nb_pixel_total : 3189 time to create 1 rle with old method : 0.004190206527709961 time for calcul the mask position with numpy : 0.016004562377929688 nb_pixel_total : 265 time to create 1 rle with old method : 0.00034809112548828125 time for calcul the mask position with numpy : 0.015233993530273438 nb_pixel_total : 601 time to create 1 rle with old method : 0.0007004737854003906 time for calcul the mask position with numpy : 0.014346599578857422 nb_pixel_total : 36 time to create 1 rle with old method : 0.00012111663818359375 time for calcul the mask position with numpy : 0.013311147689819336 nb_pixel_total : 114 time to create 1 rle with old method : 0.00021386146545410156 time for calcul the mask position with numpy : 0.013778209686279297 nb_pixel_total : 3653 time to create 1 rle with old method : 0.0042667388916015625 time for calcul the mask position with numpy : 0.013614892959594727 nb_pixel_total : 901 time to create 1 rle with old method : 0.0010442733764648438 time for calcul the mask position with numpy : 0.021770238876342773 nb_pixel_total : 334 time to create 1 rle with old method : 0.0004494190216064453 time for calcul the mask position with numpy : 0.02199101448059082 nb_pixel_total : 1319 time to create 1 rle with old method : 0.0014739036560058594 time for calcul the mask position with numpy : 0.014928579330444336 nb_pixel_total : 3895 time to create 1 rle with old method : 0.004381895065307617 time for calcul the mask position with numpy : 0.013598442077636719 nb_pixel_total : 758 time to create 1 rle with old method : 0.001073598861694336 time for calcul the mask position with numpy : 0.013614892959594727 nb_pixel_total : 3166 time to create 1 rle with old method : 0.0035996437072753906 time for calcul the mask position with numpy : 0.01648569107055664 nb_pixel_total : 616 time to create 1 rle with old method : 0.0007185935974121094 time for calcul the mask position with numpy : 0.01629471778869629 nb_pixel_total : 554 time to create 1 rle with old method : 0.0007038116455078125 time for calcul the mask position with numpy : 0.015766382217407227 nb_pixel_total : 454 time to create 1 rle with old method : 0.000545501708984375 time for calcul the mask position with numpy : 0.017827510833740234 nb_pixel_total : 41427 time to create 1 rle with old method : 0.04556083679199219 time for calcul the mask position with numpy : 0.015233278274536133 nb_pixel_total : 1222 time to create 1 rle with old method : 0.0015501976013183594 time for calcul the mask position with numpy : 0.01527857780456543 nb_pixel_total : 537 time to create 1 rle with old method : 0.0006234645843505859 time for calcul the mask position with numpy : 0.016058921813964844 nb_pixel_total : 2229 time to create 1 rle with old method : 0.0024590492248535156 time for calcul the mask position with numpy : 0.015362024307250977 nb_pixel_total : 723 time to create 1 rle with old method : 0.0008313655853271484 time for calcul the mask position with numpy : 0.014444589614868164 nb_pixel_total : 339 time to create 1 rle with old method : 0.00040268898010253906 time for calcul the mask position with numpy : 0.014902353286743164 nb_pixel_total : 96 time to create 1 rle with old method : 0.0001513957977294922 time for calcul the mask position with numpy : 0.015027284622192383 nb_pixel_total : 263 time to create 1 rle with old method : 0.0003402233123779297 time for calcul the mask position with numpy : 0.01618194580078125 nb_pixel_total : 125 time to create 1 rle with old method : 0.0002658367156982422 time for calcul the mask position with numpy : 0.013887405395507812 nb_pixel_total : 249 time to create 1 rle with old method : 0.00032401084899902344 time for calcul the mask position with numpy : 0.014429807662963867 nb_pixel_total : 680 time to create 1 rle with old method : 0.0008766651153564453 time for calcul the mask position with numpy : 0.014086008071899414 nb_pixel_total : 916 time to create 1 rle with old method : 0.0010693073272705078 time for calcul the mask position with numpy : 0.014812946319580078 nb_pixel_total : 19214 time to create 1 rle with old method : 0.021398305892944336 time for calcul the mask position with numpy : 0.014179229736328125 nb_pixel_total : 1728 time to create 1 rle with old method : 0.0019538402557373047 time for calcul the mask position with numpy : 0.014055728912353516 nb_pixel_total : 1075 time to create 1 rle with old method : 0.0013096332550048828 time for calcul the mask position with numpy : 0.013991355895996094 nb_pixel_total : 9717 time to create 1 rle with old method : 0.01080465316772461 time for calcul the mask position with numpy : 0.013886690139770508 nb_pixel_total : 361 time to create 1 rle with old method : 0.0004744529724121094 time for calcul the mask position with numpy : 0.014623641967773438 nb_pixel_total : 1092 time to create 1 rle with old method : 0.001356363296508789 time for calcul the mask position with numpy : 0.013809442520141602 nb_pixel_total : 646 time to create 1 rle with old method : 0.0008630752563476562 time for calcul the mask position with numpy : 0.015986919403076172 nb_pixel_total : 4571 time to create 1 rle with old method : 0.0053272247314453125 time for calcul the mask position with numpy : 0.0176694393157959 nb_pixel_total : 52574 time to create 1 rle with old method : 0.058341264724731445 time for calcul the mask position with numpy : 0.018019914627075195 nb_pixel_total : 70859 time to create 1 rle with old method : 0.09667611122131348 time for calcul the mask position with numpy : 0.016241788864135742 nb_pixel_total : 1002 time to create 1 rle with old method : 0.0016293525695800781 time for calcul the mask position with numpy : 0.015334844589233398 nb_pixel_total : 116 time to create 1 rle with old method : 0.0001690387725830078 time for calcul the mask position with numpy : 0.014873504638671875 nb_pixel_total : 992 time to create 1 rle with old method : 0.001142740249633789 time for calcul the mask position with numpy : 0.014211416244506836 nb_pixel_total : 92 time to create 1 rle with old method : 0.00014543533325195312 time for calcul the mask position with numpy : 0.014333009719848633 nb_pixel_total : 36 time to create 1 rle with old method : 9.822845458984375e-05 time for calcul the mask position with numpy : 0.013889551162719727 nb_pixel_total : 805 time to create 1 rle with old method : 0.0009407997131347656 create new chi : 2.2074079513549805 after preparing all the mask , begin to delete the rle from the crop_hashtag_id => VR 28-11-20 : il faut déplacer cela apres le save_crop_hashtag_ids_obj de la ligne 9514 ! we have 0 chi objets contains the rles time to delete rle : 0.001313924789428711 batch 1 Loaded 57 chid ids of type : 4230 Number RLEs to save : 7987 TO DO : save crop sub photo not yet done ! save time : 5.572499990463257 map_output_result : {1340611575: (0.0, 'Should be the crop_list due to order', 0.0), 1340610160: (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 [1340611575, 1340610160] Looping around the photos to save general results len do output : 2 /1340611575.Didn't retrieve data . /1340610160.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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.013104438781738281 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.58218240737915 time spend to save output : 0.013636350631713867 total time spend for step 4 : 16.595818758010864 step5:crop_condition Mon Mar 3 12:21:24 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 : 4230 Loading chi in step crop for list_pids : 2 ! batch 1 Loaded 116 chid ids of type : 4230 begin to crop the class : papier param for this class : {'min_score': 0.6} filtre for class : papier hashtag_id of this class : 492668766 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 48 About to insert : list_path_to_insert length 48 new photo from crops ! About to upload 48 photos upload in portfolio : 4869462 init cache_photo without model_param we have 48 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741000887_2075084 we have uploaded 48 photos in the portfolio 4869462 time of upload the photos Elapsed time : 10.738009452819824 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.6} filtre for class : carton hashtag_id of this class : 492774966 Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 4869462 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741000898_2075084 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.7262365818023682 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.6} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.6} filtre for class : pet_clair hashtag_id of this class : 2107755846 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 4869462 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741000900_2075084 we have uploaded 13 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.0352823734283447 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.6} filtre for class : autre hashtag_id of this class : 494826614 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/1741000903_2075084 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5682511329650879 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.6} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.6} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1741000904_2075084 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.5782346725463867 we have finished the crop for the class : pet_fonce delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1340611575, 1340610160] Looping around the photos to save general results len do output : 65 /1340616476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616490Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616491Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616492Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616493Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616494Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616495Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616496Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616497Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616498Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616499Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616500Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616501Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616502Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616503Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616504Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616506Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616507Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616519Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616520Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616521Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616522Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616528Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616536Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340616556Didn'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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 197 time used for this insertion : 0.025851964950561523 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.397327661514282 time spend to save output : 0.02784252166748047 total time spend for step 5 : 19.425170183181763 step6:thcl Mon Mar 3 12:21:44 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 ! we are using the classfication for only one thcl 3237 time to import caffe and check if the image exist : 0.0019268989562988281 time to convert the images to numpy array : 0.005272388458251953 time to import caffe and check if the image exist : 0.00520014762878418 time to convert the images to numpy array : 0.02418208122253418 time to import caffe and check if the image exist : 0.011403083801269531 time to convert the images to numpy array : 0.01898479461669922 time to import caffe and check if the image exist : 0.010860681533813477 time to convert the images to numpy array : 0.01968526840209961 time to import caffe and check if the image exist : 0.006730556488037109 time to convert the images to numpy array : 0.02436971664428711 time to import caffe and check if the image exist : 0.0050313472747802734 time to convert the images to numpy array : 0.02649712562561035 time to import caffe and check if the image exist : 0.009535551071166992 time to convert the images to numpy array : 0.023543834686279297 time to import caffe and check if the image exist : 0.017349958419799805 time to convert the images to numpy array : 0.015839815139770508 time to import caffe and check if the image exist : 0.007387876510620117 time to convert the images to numpy array : 0.026905298233032227 time to import caffe and check if the image exist : 0.0068438053131103516 time to convert the images to numpy array : 0.026790857315063477 total time to convert the images to numpy array : 0.33113837242126465 list photo_ids error: [] list photo_ids correct : [1340616549, 1340616556, 1340616514, 1340616515, 1340616516, 1340616517, 1340616518, 1340616519, 1340616520, 1340616476, 1340616477, 1340616478, 1340616479, 1340616480, 1340616481, 1340616482, 1340616504, 1340616506, 1340616507, 1340616509, 1340616510, 1340616511, 1340616513, 1340616483, 1340616484, 1340616485, 1340616486, 1340616487, 1340616488, 1340616489, 1340616490, 1340616491, 1340616492, 1340616493, 1340616494, 1340616495, 1340616496, 1340616497, 1340616498, 1340616499, 1340616500, 1340616501, 1340616502, 1340616503, 1340616521, 1340616522, 1340616523, 1340616524, 1340616525, 1340616526, 1340616528, 1340616529, 1340616535, 1340616536, 1340616537, 1340616538, 1340616539, 1340616541, 1340616542, 1340616543, 1340616544, 1340616545, 1340616546, 1340616547, 1340616548] number of photos to traite : 65 try to delete the photos incorrect in DB tagging for thcl : 3237 To do loadFromThcl(), then load ParamDescType : thcl3237 thcls : [{'id': 3237, 'mtr_user_id': 31, 'name': 'learn_rubbia_refus_2500', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton,Film_plastique,PEHD,PET_clair,PET_fonce,Papier,Tetrapak,flou,mal_croppe,metal,refus', 'svm_portfolios_learning': '4865689,4865690,4865686,4865684,4865685,4865688,4865691,4865693,4865692,4865687,4865683', 'photo_hashtag_type': 4158, 'photo_desc_type': 5561, 'type_classification': 'caffe', 'hashtag_id_list': '492774966,2107756122,628944319,2107755846,2107755900,492668766,609991870,492777938,2107755527,492628673,538914404'}] thcl {'id': 3237, 'mtr_user_id': 31, 'name': 'learn_rubbia_refus_2500', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton,Film_plastique,PEHD,PET_clair,PET_fonce,Papier,Tetrapak,flou,mal_croppe,metal,refus', 'svm_portfolios_learning': '4865689,4865690,4865686,4865684,4865685,4865688,4865691,4865693,4865692,4865687,4865683', 'photo_hashtag_type': 4158, 'photo_desc_type': 5561, 'type_classification': 'caffe', 'hashtag_id_list': '492774966,2107756122,628944319,2107755846,2107755900,492668766,609991870,492777938,2107755527,492628673,538914404'} Update svm_hashtag_type_desc : 5561 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) To loadFromThcl() : net_5561 begin to check gpu status inside check gpu memory havn't enough memory gpu , need / 2500 l 3632 free memory gpu now : 1992 wait 20 seconds l 3637 free memory gpu now : 1992 max_wait_temp : 1 max_wait : 0 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5561, 'learn_rubbia_refus_2500', 2048, 2048, 'learn_rubbia_refus_2500', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2021, 12, 2, 19, 10, 8), datetime.datetime(2021, 12, 2, 19, 10, 8)) None mean_file_type : mean_file_path : prototxt_file_path : model : learn_rubbia_refus_2500 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_rubbia_refus_2500 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_rubbia_refus_2500 /data/models_weight/learn_rubbia_refus_2500/caffemodel size_local : 94358479 size in s3 : 94358479 create time local : 2021-12-03 18:29:39 create time in s3 : 2021-12-02 17:49:16 caffemodel already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/deploy.prototxt size_local : 32544 size in s3 : 32544 create time local : 2021-12-03 18:29:39 create time in s3 : 2021-12-02 17:49:15 deploy.prototxt already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/mean.npy size_local : 1572992 size in s3 : 1572992 create time local : 2021-12-03 18:29:40 create time in s3 : 2021-12-02 18:09:52 mean.npy already exist and didn't need to update /data/models_weight/learn_rubbia_refus_2500/synset_words.txt size_local : 334 size in s3 : 334 create time local : 2021-12-03 18:29:40 create time in s3 : 2021-12-02 18:10:06 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_rubbia_refus_2500/deploy.prototxt caffemodel_filename : /data/models_weight/learn_rubbia_refus_2500/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 : 2966 max_wait_temp : 1 max_wait : 0 dict_keys(['pool5', 'prob']) time used to do the prepocess of the images : 0.3332064151763916 time used to do the prediction : 1.395904779434204 save descriptor for thcl : 3237 time to traite the descriptors : 0.3818209171295166 Catched exception ! Connect or reconnect ! storage_type for insertDescriptorsMulti : 3 To insert : 1340616549 To insert : 1340616556 To insert : 1340616514 To insert : 1340616515 To insert : 1340616516 To insert : 1340616517 To insert : 1340616518 To insert : 1340616519 To insert : 1340616520 To insert : 1340616476 To insert : 1340616477 To insert : 1340616478 To insert : 1340616479 To insert : 1340616480 To insert : 1340616481 To insert : 1340616482 To insert : 1340616504 To insert : 1340616506 To insert : 1340616507 To insert : 1340616509 To insert : 1340616510 To insert : 1340616511 To insert : 1340616513 To insert : 1340616483 To insert : 1340616484 To insert : 1340616485 To insert : 1340616486 To insert : 1340616487 To insert : 1340616488 To insert : 1340616489 To insert : 1340616490 To insert : 1340616491 To insert : 1340616492 To insert : 1340616493 To insert : 1340616494 To insert : 1340616495 To insert : 1340616496 To insert : 1340616497 To insert : 1340616498 To insert : 1340616499 To insert : 1340616500 To insert : 1340616501 To insert : 1340616502 To insert : 1340616503 To insert : 1340616521 To insert : 1340616522 To insert : 1340616523 To insert : 1340616524 To insert : 1340616525 To insert : 1340616526 To insert : 1340616528 To insert : 1340616529 To insert : 1340616535 To insert : 1340616536 To insert : 1340616537 To insert : 1340616538 To insert : 1340616539 To insert : 1340616541 To insert : 1340616542 To insert : 1340616543 To insert : 1340616544 To insert : 1340616545 To insert : 1340616546 To insert : 1340616547 To insert : 1340616548 time to insert the descriptors : 25.971455097198486 Inside saveOutput : final : False verbose : 0 time used to find the portfolios of the photos SAVE THCL : begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 106 time used for this insertion : 0.020003080368041992 save missing photos in datou_result : time spend for datou_step_exec : 52.53580164909363 time spend to save output : 0.0659334659576416 total time spend for step 6 : 52.60173511505127 step7:ventilate_hashtags_in_portfolio Mon Mar 3 12:22:37 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 ! Iterating over portfolio : 20972824 get user id for portfolio 20972824 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`=20972824 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Film_plastique','Tetrapak','PET_fonce','flou','Carton','autre','environnement','PET_clair','Papier','metal','mal_croppe','refus','PEHD','pet_fonce','carton','pehd','papier','pet_clair')) AND mptpi.`min_score`=0.6 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20972824 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Film_plastique','Tetrapak','PET_fonce','flou','Carton','autre','environnement','PET_clair','Papier','metal','mal_croppe','refus','PEHD','pet_fonce','carton','pehd','papier','pet_clair')) AND mptpi.`min_score`=0.6 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") 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`=20972824 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Film_plastique','Tetrapak','PET_fonce','flou','Carton','autre','environnement','PET_clair','Papier','metal','mal_croppe','refus','PEHD','pet_fonce','carton','pehd','papier','pet_clair')) AND mptpi.`min_score`=0.6 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20972824 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Film_plastique','Tetrapak','PET_fonce','flou','Carton','autre','environnement','PET_clair','Papier','metal','mal_croppe','refus','PEHD','pet_fonce','carton','pehd','papier','pet_clair')) AND mptpi.`min_score`=0.6 To do lien utilise dans velours : https://www.fotonower.com/velours/20974300,20974301,20974313,20974303,20974314,20974305,20974306,20974317,20974316,20974309,20974310,20974311,20974315?tags=film_plastique,tetrapak,pet_fonce,flou,carton,autre,environnement,pet_clair,papier,metal,mal_croppe,refus,pehd&datou_id_consolidate=4235&port_consolidate=20972824 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340611575, 1340610160] Looping around the photos to save general results len do output : 1 /20972824. 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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012638330459594727 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2968335151672363 time spend to save output : 0.012923479080200195 total time spend for step 7 : 2.3097569942474365 step8:final Mon Mar 3 12:22:39 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 : {1340611575: ('0.8981638261669683',), 1340610160: ('0.8981638261669683',)} new output for save of step final : {1340611575: ('0.8981638261669683',), 1340610160: ('0.8981638261669683',)} [1340611575, 1340610160] Looping around the photos to save general results len do output : 2 /1340611575.Didn't retrieve data . /1340610160.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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012692451477050781 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11614656448364258 time spend to save output : 0.012924432754516602 total time spend for step 8 : 0.12907099723815918 step9:velours_tree Mon Mar 3 12:22:39 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 list_portfolios : 20974300,20974301,20974313,20974303,20974314,20974305,20974306,20974317,20974316,20974309,20974310,20974311,20974315 photo desc type : 5561 - Retrieving photos to tag... query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974300 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974301 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974313 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974303 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974314 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974305 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974306 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974317 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974316 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974309 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974310 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974311 ORDER BY ph.size desc query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20974315 ORDER BY ph.size desc - Loading descriptors... Size : 2048 len(descriptors) : 65 Compute structured hierarchical clustering... ward : AgglomerativeClustering(n_clusters=6) ward.labels_ : [1 5 2 1 1 0 2 2 1 0 4 0 0 0 0 0 2 2 2 2 2 2 2 5 1 1 2 2 1 2 1 0 2 0 0 0 2 0 1 2 2 1 2 2 1 2 2 5 2 1 3 1 0 0 0 1 2 3 1 2 4 0 0 1 4] Elapsed time: 0.01760244369506836 graph_id used : 81155 - Beta version, working pretty good on 11-5-16 ! https://www.fotonower.com/velours/20974300,20974301,20974313,20974303,20974314,20974305,20974306,20974317,20974316,20974309,20974310,20974311,20974315?tags=film_plastique,tetrapak,pet_fonce,flou,carton,autre,environnement,pet_clair,papier,metal,mal_croppe,refus,pehd&datou_id_consolidate=4235&port_consolidate=20972824&tree_id=81155 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : velours_tree we use saveGeneral [1340611575, 1340610160] Looping around the photos to save general results len do output : 1 /20972824Didn'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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012651443481445312 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.388551473617554 time spend to save output : 0.012862682342529297 total time spend for step 9 : 4.401414155960083 step10:send_mail_cod Mon Mar 3 12:22:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 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_Qualipapia_P20972824_03-03-2025_12_22_43.pdf 20974281 imagette209742811741000963 20974282 imagette209742821741000963 20974294 change filename to text .imagette209742941741000963 20974284 imagette209742841741000963 20974295 change filename to text .change filename to text .imagette209742951741000963 20974286 change filename to text .imagette209742861741000964 20974298 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 .imagette209742981741000964 20974297 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 .imagette209742971741000964 20974290 imagette209742901741000966 20974291 imagette209742911741000966 20974292 imagette209742921741000966 20974296 imagette209742961741000966 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20972824 and hashtag_type = 4230 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20974300,20974301,20974313,20974303,20974314,20974305,20974306,20974317,20974316,20974309,20974310,20974311,20974315?tags=film_plastique,tetrapak,pet_fonce,flou,carton,autre,environnement,pet_clair,papier,metal,mal_croppe,refus,pehd&datou_id_consolidate=4235&port_consolidate=20972824&tree_id=81155 your option no_mail is active, we will not send the real mail to your client args[1340611575] : ((1340611575, -4.306114280710604, 492609224), (1340611575, 0.6455428302638602, 2107752395), '0.8981638261669683') We are sending mail with results at cod@fotonower.com args[1340610160] : ((1340610160, -3.450631159753251, 492609224), (1340610160, 0.7399390122920328, 2107752395), '0.8981638261669683') We are sending mail with results at cod@fotonower.com refus_total : 0.8981638261669683 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=20972824 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4234','20972824','results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf','pdf','','0.1','0.8981638261669683') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340611575, 1340610160] 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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.012844085693359375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.438210964202881 time spend to save output : 0.013065576553344727 total time spend for step 10 : 3.4512765407562256 step11:split_time_score Mon Mar 3 12:22:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3442, 'mtr_user_id': 31, 'name': 'classifieur_2camions_valcor_021122_v1', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'deux_camions,camion_droite,camion_gauche,pas_de_camion', 'svm_portfolios_learning': '7659379,7659034,7657685,7657114', 'photo_hashtag_type': 4458, 'photo_desc_type': 5723, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107760533,2107760534,2107760535,2107760536'}] 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'}] (('20', 2),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03032025 20972824 Nombre de photos uploadées : 2 / 23040 (0%) 03032025 20972824 Nombre de photos taguées (types de déchets): 0 / 2 (0%) 03032025 20972824 Nombre de photos taguées (volume) : 0 / 2 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ?? elapsed_time : fill_and_build_computed_from_old_data 0.00015425682067871094 elapsed_time : insert_dashboard_record_day_entry 0.022678375244140625 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.8306114841852944 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20958332_03-03-2025_02_04_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20958332 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20958332 AND mptpi.`type`=4230 To do Qualite : 0.7860637886380225 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20958333_03-03-2025_02_00_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20958333 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20958333 AND mptpi.`type`=4230 To do Qualite : 0.7958290525550784 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20958863_03-03-2025_03_16_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20958863 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20958863 AND mptpi.`type`=4230 To do Qualite : 0.8149470979188714 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20959629_03-03-2025_03_59_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20959629 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20959629 AND mptpi.`type`=4230 To do Qualite : 0.7860512433937296 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20961267_03-03-2025_06_04_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20961267 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20961267 AND mptpi.`type`=4230 To do Qualite : 0.8094902536487374 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20963097_03-03-2025_07_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20963097 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20963097 AND mptpi.`type`=4230 To do Qualite : 0.8200226721616566 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20965279_03-03-2025_08_03_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20965279 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20965279 AND mptpi.`type`=4230 To do Qualite : 0.8590098130212904 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20966465_03-03-2025_09_23_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20966465 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20966465 AND mptpi.`type`=4230 To do Qualite : 0.8535215830557841 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20967891_03-03-2025_10_25_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20967891 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20967891 AND mptpi.`type`=4230 To do Qualite : 0.8173737252468178 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20970439_03-03-2025_11_03_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20970439 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20970439 AND mptpi.`type`=4230 To do Qualite : 0.8981638261669683 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20972824_03-03-2025_12_22_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20972824 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 11415 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11419 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11419 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11416 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11417 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11417 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11422 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 : output 0 of step 11416 have datatype=10 whereas input 2 of step 11418 have datatype=6 We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11419 doesn't seem to be define in the database( WARNING : output 1 of step 11415 have datatype=7 whereas input 2 of step 11419 have datatype=None WARNING : type of output 3 of step 11419 doesn't seem to be define in the database( WARNING : type of input 1 of step 11416 doesn't seem to be define in the database( WARNING : type of output 1 of step 11416 doesn't seem to be define in the database( WARNING : type of input 3 of step 11417 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11416 have datatype=10 whereas input 0 of step 11420 have datatype=18 WARNING : type of input 5 of step 11418 doesn't seem to be define in the database( WARNING : output 0 of step 11420 have datatype=11 whereas input 5 of step 11418 have datatype=None WARNING : type of input 2 of step 11416 doesn't seem to be define in the database( WARNING : output 0 of step 11421 have datatype=5 whereas input 2 of step 11416 have datatype=None WARNING : output 0 of step 11418 have datatype=10 whereas input 0 of step 11422 have datatype=18 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`=20972824 AND mptpi.`type`=4230 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03032025': {'nb_upload': 2, '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 [1340611575, 1340610160] Looping around the photos to save general results len do output : 1 /20972824Didn'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 ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340611575', None, None, None, None, None, '2629066') ('4234', None, None, None, None, None, None, None, '2629066') ('4234', '20972824', '1340610160', None, None, None, None, None, '2629066') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012437820434570312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8503189086914062 time spend to save output : 0.01264333724975586 total time spend for step 11 : 0.8629622459411621 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 1 len(input) + len(total_photo_id_missing) : 2 set_done_treatment 37.31user 31.62system 2:23.76elapsed 47%CPU (0avgtext+0avgdata 2392740maxresident)k 855136inputs+7296outputs (1438major+2325704minor)pagefaults 0swaps