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 : 2770647 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 : ['2539927'] with mtr_portfolio_ids : ['20177148'] and first list_photo_ids : [] new path : /proc/2770647/ 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.24256515502929688 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 Feb 3 13:20:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 9579 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-02-03 13:20:32.913049: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-02-03 13:20:32.947713: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493020000 Hz 2025-02-03 13:20:32.950261: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f60a4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-02-03 13:20:32.950291: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-02-03 13:20:32.956246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-02-03 13:20:33.204689: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xc03a450 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-02-03 13:20:33.204749: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-02-03 13:20:33.206512: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 13:20:33.207977: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 13:20:33.216185: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 13:20:33.239060: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 13:20:33.241426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 13:20:33.276908: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 13:20:33.282367: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 13:20:33.345048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 13:20:33.346867: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 13:20:33.347388: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 13:20:33.348666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 13:20:33.348686: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 13:20:33.348697: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 13:20:33.350723: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9069 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-02-03 13:20:33.989603: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 13:20:33.989725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 13:20:33.989751: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 13:20:33.989775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 13:20:33.989796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 13:20:33.989817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 13:20:33.989839: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 13:20:33.989862: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 13:20:33.991408: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 13:20:33.998288: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-02-03 13:20:33.998394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-02-03 13:20:33.998419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 13:20:33.998442: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-02-03 13:20:33.998463: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-02-03 13:20:33.998484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-02-03 13:20:33.998505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-02-03 13:20:33.998528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-02-03 13:20:34.000074: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-02-03 13:20:34.000122: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-02-03 13:20:34.000135: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-02-03 13:20:34.000145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-02-03 13:20:34.001752: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9069 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-02-03 13:20:40.547523: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 51380224 exceeds 10% of free system memory. 2025-02-03 13:20:44.015675: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-02-03 13:20:45.021831: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -117.38750 max: 148.41250 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 9.918212890625e-05 nb_pixel_total : 456 time to create 1 rle with old method : 0.0035867691040039062 length of segment : 28 time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 59 time to create 1 rle with old method : 0.00020956993103027344 length of segment : 16 time for calcul the mask position with numpy : 5.507469177246094e-05 nb_pixel_total : 897 time to create 1 rle with old method : 0.0015714168548583984 length of segment : 33 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -116.36797 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 6.341934204101562e-05 nb_pixel_total : 2191 time to create 1 rle with old method : 0.002646207809448242 length of segment : 51 time for calcul the mask position with numpy : 4.3392181396484375e-05 nb_pixel_total : 589 time to create 1 rle with old method : 0.0008168220520019531 length of segment : 35 time for calcul the mask position with numpy : 3.886222839355469e-05 nb_pixel_total : 625 time to create 1 rle with old method : 0.0008988380432128906 length of segment : 32 Processing 1 images image shape: (400, 400, 3) min: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -95.73906 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 0.0001423358917236328 nb_pixel_total : 6867 time to create 1 rle with old method : 0.008764505386352539 length of segment : 106 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 830 time to create 1 rle with old method : 0.001300811767578125 length of segment : 24 time for calcul the mask position with numpy : 6.222724914550781e-05 nb_pixel_total : 1537 time to create 1 rle with old method : 0.0022268295288085938 length of segment : 28 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -121.99688 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 4.744529724121094e-05 nb_pixel_total : 946 time to create 1 rle with old method : 0.0011141300201416016 length of segment : 52 time for calcul the mask position with numpy : 0.00014328956604003906 nb_pixel_total : 7615 time to create 1 rle with old method : 0.009551763534545898 length of segment : 142 time for calcul the mask position with numpy : 3.8623809814453125e-05 nb_pixel_total : 304 time to create 1 rle with old method : 0.0004267692565917969 length of segment : 21 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 239 time to create 1 rle with old method : 0.00033926963806152344 length of segment : 22 time for calcul the mask position with numpy : 3.123283386230469e-05 nb_pixel_total : 109 time to create 1 rle with old method : 0.00019621849060058594 length of segment : 9 time for calcul the mask position with numpy : 0.00026869773864746094 nb_pixel_total : 8022 time to create 1 rle with old method : 0.009433269500732422 length of segment : 287 time for calcul the mask position with numpy : 0.00021386146545410156 nb_pixel_total : 6236 time to create 1 rle with old method : 0.007203102111816406 length of segment : 229 time for calcul the mask position with numpy : 0.00023031234741210938 nb_pixel_total : 8319 time to create 1 rle with old method : 0.010665178298950195 length of segment : 283 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 144.87734 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.5789947509765625e-05 nb_pixel_total : 505 time to create 1 rle with old method : 0.0009865760803222656 length of segment : 18 time for calcul the mask position with numpy : 9.918212890625e-05 nb_pixel_total : 3426 time to create 1 rle with old method : 0.005878925323486328 length of segment : 64 time for calcul the mask position with numpy : 6.0558319091796875e-05 nb_pixel_total : 837 time to create 1 rle with old method : 0.0015840530395507812 length of segment : 43 Processing 1 images image shape: (400, 400, 3) min: 18.00000 max: 213.00000 molded_images shape: (1, 640, 640, 3) min: -83.68438 max: 87.02578 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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -114.25078 max: 151.10000 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.0001609325408935547 nb_pixel_total : 9838 time to create 1 rle with old method : 0.010551929473876953 length of segment : 158 time for calcul the mask position with numpy : 6.461143493652344e-05 nb_pixel_total : 843 time to create 1 rle with old method : 0.0009412765502929688 length of segment : 83 time for calcul the mask position with numpy : 3.147125244140625e-05 nb_pixel_total : 218 time to create 1 rle with old method : 0.0003056526184082031 length of segment : 16 time for calcul the mask position with numpy : 5.0067901611328125e-05 nb_pixel_total : 1093 time to create 1 rle with old method : 0.0012788772583007812 length of segment : 63 time for calcul the mask position with numpy : 5.412101745605469e-05 nb_pixel_total : 1381 time to create 1 rle with old method : 0.0016405582427978516 length of segment : 45 time for calcul the mask position with numpy : 3.2901763916015625e-05 nb_pixel_total : 473 time to create 1 rle with old method : 0.0006074905395507812 length of segment : 30 time for calcul the mask position with numpy : 3.4332275390625e-05 nb_pixel_total : 381 time to create 1 rle with old method : 0.0005788803100585938 length of segment : 17 time for calcul the mask position with numpy : 6.651878356933594e-05 nb_pixel_total : 1429 time to create 1 rle with old method : 0.0017809867858886719 length of segment : 102 time for calcul the mask position with numpy : 6.532669067382812e-05 nb_pixel_total : 643 time to create 1 rle with old method : 0.0008699893951416016 length of segment : 40 time for calcul the mask position with numpy : 7.414817810058594e-05 nb_pixel_total : 1513 time to create 1 rle with old method : 0.0019114017486572266 length of segment : 104 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -112.87969 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 : 4.887580871582031e-05 nb_pixel_total : 1027 time to create 1 rle with old method : 0.3119168281555176 length of segment : 26 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 238 time to create 1 rle with old method : 0.0006449222564697266 length of segment : 17 time for calcul the mask position with numpy : 0.00044345855712890625 nb_pixel_total : 18515 time to create 1 rle with old method : 0.023715496063232422 length of segment : 225 time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 1611 time to create 1 rle with old method : 0.0021369457244873047 length of segment : 42 time for calcul the mask position with numpy : 7.390975952148438e-05 nb_pixel_total : 2249 time to create 1 rle with old method : 0.0029916763305664062 length of segment : 64 time for calcul the mask position with numpy : 6.103515625e-05 nb_pixel_total : 802 time to create 1 rle with old method : 0.001180410385131836 length of segment : 34 time for calcul the mask position with numpy : 0.00035762786865234375 nb_pixel_total : 22706 time to create 1 rle with old method : 0.025530099868774414 length of segment : 226 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.65703 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 : 0.00033402442932128906 nb_pixel_total : 21239 time to create 1 rle with old method : 0.02377152442932129 length of segment : 428 time for calcul the mask position with numpy : 0.00013136863708496094 nb_pixel_total : 3937 time to create 1 rle with old method : 0.0050356388092041016 length of segment : 73 time for calcul the mask position with numpy : 3.743171691894531e-05 nb_pixel_total : 160 time to create 1 rle with old method : 0.0002384185791015625 length of segment : 29 time for calcul the mask position with numpy : 0.00011229515075683594 nb_pixel_total : 3307 time to create 1 rle with old method : 0.00410771369934082 length of segment : 146 time for calcul the mask position with numpy : 8.249282836914062e-05 nb_pixel_total : 1474 time to create 1 rle with old method : 0.0020072460174560547 length of segment : 50 time for calcul the mask position with numpy : 3.600120544433594e-05 nb_pixel_total : 294 time to create 1 rle with old method : 0.00048065185546875 length of segment : 12 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 3467 time to create 1 rle with old method : 0.004410982131958008 length of segment : 85 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 137.58047 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 6.270408630371094e-05 nb_pixel_total : 357 time to create 1 rle with old method : 0.0006611347198486328 length of segment : 33 time for calcul the mask position with numpy : 8.702278137207031e-05 nb_pixel_total : 1728 time to create 1 rle with old method : 0.0028367042541503906 length of segment : 84 time for calcul the mask position with numpy : 6.818771362304688e-05 nb_pixel_total : 1176 time to create 1 rle with old method : 0.0019469261169433594 length of segment : 50 time for calcul the mask position with numpy : 6.031990051269531e-05 nb_pixel_total : 419 time to create 1 rle with old method : 0.0007965564727783203 length of segment : 36 time for calcul the mask position with numpy : 6.67572021484375e-05 nb_pixel_total : 776 time to create 1 rle with old method : 0.0013358592987060547 length of segment : 45 time for calcul the mask position with numpy : 0.00033593177795410156 nb_pixel_total : 4892 time to create 1 rle with old method : 0.008129596710205078 length of segment : 234 time for calcul the mask position with numpy : 0.0002532005310058594 nb_pixel_total : 4347 time to create 1 rle with old method : 0.005143165588378906 length of segment : 211 Processing 1 images image shape: (280, 400, 3) min: 17.00000 max: 191.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 67.19375 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.0009734630584716797 nb_pixel_total : 106173 time to create 1 rle with old method : 0.11779356002807617 length of segment : 279 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.17812 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 5.91278076171875e-05 nb_pixel_total : 1064 time to create 1 rle with old method : 0.0013232231140136719 length of segment : 68 time for calcul the mask position with numpy : 3.886222839355469e-05 nb_pixel_total : 283 time to create 1 rle with old method : 0.0004267692565917969 length of segment : 24 time for calcul the mask position with numpy : 3.528594970703125e-05 nb_pixel_total : 61 time to create 1 rle with old method : 0.00016188621520996094 length of segment : 20 time for calcul the mask position with numpy : 5.650520324707031e-05 nb_pixel_total : 1201 time to create 1 rle with old method : 0.001589059829711914 length of segment : 75 time for calcul the mask position with numpy : 6.127357482910156e-05 nb_pixel_total : 1051 time to create 1 rle with old method : 0.0013780593872070312 length of segment : 70 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.66641 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 11 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 342 time to create 1 rle with old method : 0.0004868507385253906 length of segment : 25 time for calcul the mask position with numpy : 4.3392181396484375e-05 nb_pixel_total : 144 time to create 1 rle with old method : 0.00031447410583496094 length of segment : 11 time for calcul the mask position with numpy : 3.600120544433594e-05 nb_pixel_total : 232 time to create 1 rle with old method : 0.0003218650817871094 length of segment : 29 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 316 time to create 1 rle with old method : 0.00044727325439453125 length of segment : 29 time for calcul the mask position with numpy : 3.0040740966796875e-05 nb_pixel_total : 65 time to create 1 rle with old method : 0.00012445449829101562 length of segment : 8 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 371 time to create 1 rle with old method : 0.0005154609680175781 length of segment : 29 time for calcul the mask position with numpy : 3.3855438232421875e-05 nb_pixel_total : 306 time to create 1 rle with old method : 0.00043892860412597656 length of segment : 29 time for calcul the mask position with numpy : 4.4345855712890625e-05 nb_pixel_total : 901 time to create 1 rle with old method : 0.0011892318725585938 length of segment : 36 time for calcul the mask position with numpy : 3.552436828613281e-05 nb_pixel_total : 311 time to create 1 rle with old method : 0.00043463706970214844 length of segment : 24 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 259 time to create 1 rle with old method : 0.0004334449768066406 length of segment : 17 time for calcul the mask position with numpy : 3.218650817871094e-05 nb_pixel_total : 259 time to create 1 rle with old method : 0.0003695487976074219 length of segment : 21 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 149.88516 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 4.506111145019531e-05 nb_pixel_total : 98 time to create 1 rle with old method : 0.0001938343048095703 length of segment : 36 time for calcul the mask position with numpy : 8.463859558105469e-05 nb_pixel_total : 900 time to create 1 rle with old method : 0.0013124942779541016 length of segment : 90 time for calcul the mask position with numpy : 3.719329833984375e-05 nb_pixel_total : 189 time to create 1 rle with old method : 0.00028395652770996094 length of segment : 23 time for calcul the mask position with numpy : 3.457069396972656e-05 nb_pixel_total : 261 time to create 1 rle with old method : 0.0003845691680908203 length of segment : 26 time for calcul the mask position with numpy : 3.170967102050781e-05 nb_pixel_total : 78 time to create 1 rle with old method : 0.00012946128845214844 length of segment : 13 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 500 time to create 1 rle with old method : 0.0006840229034423828 length of segment : 26 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 1789 time to create 1 rle with old method : 0.0024504661560058594 length of segment : 57 time for calcul the mask position with numpy : 6.842613220214844e-05 nb_pixel_total : 1899 time to create 1 rle with old method : 0.0023956298828125 length of segment : 61 Processing 1 images image shape: (280, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 131.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 1 time for calcul the mask position with numpy : 6.937980651855469e-05 nb_pixel_total : 102 time to create 1 rle with old method : 0.0002777576446533203 length of segment : 56 NEW PHOTO pour l'instant on ne peut pas sauvegarder la photo dans les tile Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -117.38750 max: 147.76406 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.38690185546875e-05 nb_pixel_total : 892 time to create 1 rle with old method : 0.0010805130004882812 length of segment : 32 time for calcul the mask position with numpy : 3.266334533691406e-05 nb_pixel_total : 88 time to create 1 rle with old method : 0.0001747608184814453 length of segment : 25 time for calcul the mask position with numpy : 3.314018249511719e-05 nb_pixel_total : 477 time to create 1 rle with old method : 0.0006554126739501953 length of segment : 28 time for calcul the mask position with numpy : 4.029273986816406e-05 nb_pixel_total : 935 time to create 1 rle with old method : 0.0012769699096679688 length of segment : 39 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -117.78984 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 3 time for calcul the mask position with numpy : 0.00010395050048828125 nb_pixel_total : 2374 time to create 1 rle with old method : 0.0036079883575439453 length of segment : 51 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 698 time to create 1 rle with old method : 0.001024484634399414 length of segment : 40 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 701 time to create 1 rle with old method : 0.0010395050048828125 length of segment : 33 Processing 1 images image shape: (400, 400, 3) min: 13.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -100.55547 max: 151.10000 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.00017213821411132812 nb_pixel_total : 6470 time to create 1 rle with old method : 0.010509490966796875 length of segment : 106 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -120.43828 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 : 0.00014352798461914062 nb_pixel_total : 8257 time to create 1 rle with old method : 0.009724617004394531 length of segment : 143 time for calcul the mask position with numpy : 6.532669067382812e-05 nb_pixel_total : 933 time to create 1 rle with old method : 0.0011358261108398438 length of segment : 50 time for calcul the mask position with numpy : 3.2901763916015625e-05 nb_pixel_total : 238 time to create 1 rle with old method : 0.0003361701965332031 length of segment : 23 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 256 time to create 1 rle with old method : 0.0004150867462158203 length of segment : 20 time for calcul the mask position with numpy : 0.0002448558807373047 nb_pixel_total : 6247 time to create 1 rle with old method : 0.007421970367431641 length of segment : 228 time for calcul the mask position with numpy : 4.100799560546875e-05 nb_pixel_total : 110 time to create 1 rle with old method : 0.00019216537475585938 length of segment : 10 time for calcul the mask position with numpy : 0.00028514862060546875 nb_pixel_total : 8338 time to create 1 rle with old method : 0.010403633117675781 length of segment : 326 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 137.57266 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.839897155761719e-05 nb_pixel_total : 460 time to create 1 rle with old method : 0.0008893013000488281 length of segment : 17 time for calcul the mask position with numpy : 3.170967102050781e-05 nb_pixel_total : 133 time to create 1 rle with old method : 0.00023603439331054688 length of segment : 14 Processing 1 images image shape: (400, 400, 3) min: 21.00000 max: 215.00000 molded_images shape: (1, 640, 640, 3) min: -85.76641 max: 88.39687 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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -116.52031 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 11 time for calcul the mask position with numpy : 5.078315734863281e-05 nb_pixel_total : 798 time to create 1 rle with old method : 0.0009942054748535156 length of segment : 33 time for calcul the mask position with numpy : 0.00018310546875 nb_pixel_total : 12230 time to create 1 rle with old method : 0.014594554901123047 length of segment : 145 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 957 time to create 1 rle with old method : 0.001211404800415039 length of segment : 93 time for calcul the mask position with numpy : 4.0531158447265625e-05 nb_pixel_total : 465 time to create 1 rle with old method : 0.0007407665252685547 length of segment : 18 time for calcul the mask position with numpy : 4.100799560546875e-05 nb_pixel_total : 450 time to create 1 rle with old method : 0.0006229877471923828 length of segment : 32 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 247 time to create 1 rle with old method : 0.0003733634948730469 length of segment : 17 time for calcul the mask position with numpy : 6.604194641113281e-05 nb_pixel_total : 1291 time to create 1 rle with old method : 0.0017046928405761719 length of segment : 100 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 605 time to create 1 rle with old method : 0.0007677078247070312 length of segment : 38 time for calcul the mask position with numpy : 3.218650817871094e-05 nb_pixel_total : 167 time to create 1 rle with old method : 0.0002617835998535156 length of segment : 16 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 833 time to create 1 rle with old method : 0.0011425018310546875 length of segment : 54 time for calcul the mask position with numpy : 3.886222839355469e-05 nb_pixel_total : 382 time to create 1 rle with old method : 0.0006122589111328125 length of segment : 37 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -112.74297 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 14 time for calcul the mask position with numpy : 6.771087646484375e-05 nb_pixel_total : 1032 time to create 1 rle with old method : 0.0016570091247558594 length of segment : 26 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 205 time to create 1 rle with old method : 0.0003101825714111328 length of segment : 16 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 799 time to create 1 rle with old method : 0.0014352798461914062 length of segment : 35 time for calcul the mask position with numpy : 0.00028705596923828125 nb_pixel_total : 5603 time to create 1 rle with old method : 0.010089635848999023 length of segment : 179 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 94 time to create 1 rle with old method : 0.0001747608184814453 length of segment : 9 time for calcul the mask position with numpy : 0.0003955364227294922 nb_pixel_total : 20488 time to create 1 rle with old method : 0.02538156509399414 length of segment : 273 time for calcul the mask position with numpy : 8.511543273925781e-05 nb_pixel_total : 1098 time to create 1 rle with old method : 0.0018198490142822266 length of segment : 71 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 832 time to create 1 rle with old method : 0.0009703636169433594 length of segment : 57 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 276 time to create 1 rle with old method : 0.0005335807800292969 length of segment : 21 time for calcul the mask position with numpy : 6.389617919921875e-05 nb_pixel_total : 1206 time to create 1 rle with old method : 0.001596689224243164 length of segment : 34 time for calcul the mask position with numpy : 3.314018249511719e-05 nb_pixel_total : 240 time to create 1 rle with old method : 0.0003604888916015625 length of segment : 19 time for calcul the mask position with numpy : 4.982948303222656e-05 nb_pixel_total : 1275 time to create 1 rle with old method : 0.0016674995422363281 length of segment : 37 time for calcul the mask position with numpy : 5.340576171875e-05 nb_pixel_total : 1427 time to create 1 rle with old method : 0.0019822120666503906 length of segment : 40 time for calcul the mask position with numpy : 6.103515625e-05 nb_pixel_total : 2141 time to create 1 rle with old method : 0.002681255340576172 length of segment : 64 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -122.21953 max: 151.10000 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.0001087188720703125 nb_pixel_total : 3609 time to create 1 rle with old method : 0.004489898681640625 length of segment : 113 time for calcul the mask position with numpy : 0.0004258155822753906 nb_pixel_total : 28961 time to create 1 rle with old method : 0.034964561462402344 length of segment : 370 time for calcul the mask position with numpy : 0.00014162063598632812 nb_pixel_total : 4709 time to create 1 rle with old method : 0.006354808807373047 length of segment : 72 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 123 time to create 1 rle with old method : 0.00019168853759765625 length of segment : 33 time for calcul the mask position with numpy : 3.647804260253906e-05 nb_pixel_total : 259 time to create 1 rle with old method : 0.0003631114959716797 length of segment : 36 time for calcul the mask position with numpy : 0.00011754035949707031 nb_pixel_total : 2139 time to create 1 rle with old method : 0.003107309341430664 length of segment : 77 time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 1987 time to create 1 rle with old method : 0.0029320716857910156 length of segment : 53 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 4127 time to create 1 rle with old method : 0.007031679153442383 length of segment : 164 time for calcul the mask position with numpy : 0.0004825592041015625 nb_pixel_total : 24483 time to create 1 rle with old method : 0.029186248779296875 length of segment : 298 time for calcul the mask position with numpy : 0.0006103515625 nb_pixel_total : 34979 time to create 1 rle with old method : 0.03920102119445801 length of segment : 292 Processing 1 images image shape: (400, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 137.09219 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 4.458427429199219e-05 nb_pixel_total : 414 time to create 1 rle with old method : 0.0005712509155273438 length of segment : 33 time for calcul the mask position with numpy : 4.696846008300781e-05 nb_pixel_total : 347 time to create 1 rle with old method : 0.0006077289581298828 length of segment : 34 time for calcul the mask position with numpy : 4.5299530029296875e-05 nb_pixel_total : 866 time to create 1 rle with old method : 0.0012576580047607422 length of segment : 51 time for calcul the mask position with numpy : 6.818771362304688e-05 nb_pixel_total : 1649 time to create 1 rle with old method : 0.0024967193603515625 length of segment : 82 time for calcul the mask position with numpy : 6.747245788574219e-05 nb_pixel_total : 1345 time to create 1 rle with old method : 0.0022208690643310547 length of segment : 58 time for calcul the mask position with numpy : 0.00017952919006347656 nb_pixel_total : 4669 time to create 1 rle with old method : 0.006358146667480469 length of segment : 250 time for calcul the mask position with numpy : 4.220008850097656e-05 nb_pixel_total : 528 time to create 1 rle with old method : 0.0006773471832275391 length of segment : 46 time for calcul the mask position with numpy : 3.170967102050781e-05 nb_pixel_total : 166 time to create 1 rle with old method : 0.00030303001403808594 length of segment : 10 Processing 1 images image shape: (280, 400, 3) min: 14.00000 max: 191.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 73.29141 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.001001596450805664 nb_pixel_total : 106003 time to create 1 rle with old method : 0.11855959892272949 length of segment : 281 time for calcul the mask position with numpy : 5.984306335449219e-05 nb_pixel_total : 541 time to create 1 rle with old method : 0.000759124755859375 length of segment : 57 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.00234 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 5.221366882324219e-05 nb_pixel_total : 903 time to create 1 rle with old method : 0.001157999038696289 length of segment : 63 time for calcul the mask position with numpy : 0.00024127960205078125 nb_pixel_total : 7860 time to create 1 rle with old method : 0.00954127311706543 length of segment : 250 time for calcul the mask position with numpy : 3.5762786865234375e-05 nb_pixel_total : 224 time to create 1 rle with old method : 0.0003364086151123047 length of segment : 18 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 257 time to create 1 rle with old method : 0.00037670135498046875 length of segment : 22 time for calcul the mask position with numpy : 5.459785461425781e-05 nb_pixel_total : 1154 time to create 1 rle with old method : 0.0015292167663574219 length of segment : 67 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.67422 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 175 time to create 1 rle with old method : 0.0002799034118652344 length of segment : 14 time for calcul the mask position with numpy : 3.552436828613281e-05 nb_pixel_total : 350 time to create 1 rle with old method : 0.0005128383636474609 length of segment : 28 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 331 time to create 1 rle with old method : 0.00045943260192871094 length of segment : 27 time for calcul the mask position with numpy : 3.266334533691406e-05 nb_pixel_total : 269 time to create 1 rle with old method : 0.0004260540008544922 length of segment : 20 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 319 time to create 1 rle with old method : 0.0004506111145019531 length of segment : 22 time for calcul the mask position with numpy : 3.147125244140625e-05 nb_pixel_total : 246 time to create 1 rle with old method : 0.000370025634765625 length of segment : 22 time for calcul the mask position with numpy : 2.956390380859375e-05 nb_pixel_total : 81 time to create 1 rle with old method : 0.0001494884490966797 length of segment : 9 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 149.81094 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 8 time for calcul the mask position with numpy : 0.00010728836059570312 nb_pixel_total : 2001 time to create 1 rle with old method : 0.0036954879760742188 length of segment : 59 time for calcul the mask position with numpy : 4.267692565917969e-05 nb_pixel_total : 206 time to create 1 rle with old method : 0.0003952980041503906 length of segment : 16 time for calcul the mask position with numpy : 0.00010848045349121094 nb_pixel_total : 881 time to create 1 rle with old method : 0.0014426708221435547 length of segment : 48 time for calcul the mask position with numpy : 4.3392181396484375e-05 nb_pixel_total : 44 time to create 1 rle with old method : 9.059906005859375e-05 length of segment : 17 time for calcul the mask position with numpy : 3.62396240234375e-05 nb_pixel_total : 426 time to create 1 rle with old method : 0.0005974769592285156 length of segment : 46 time for calcul the mask position with numpy : 4.839897155761719e-05 nb_pixel_total : 109 time to create 1 rle with old method : 0.0002396106719970703 length of segment : 31 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 232 time to create 1 rle with old method : 0.0003254413604736328 length of segment : 24 time for calcul the mask position with numpy : 2.8848648071289062e-05 nb_pixel_total : 51 time to create 1 rle with old method : 0.00012445449829101562 length of segment : 5 Processing 1 images image shape: (280, 320, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 134.35000 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.7697296142578125e-05 nb_pixel_total : 333 time to create 1 rle with old method : 0.0005459785461425781 length of segment : 76 time for calcul the mask position with numpy : 0.00045752525329589844 nb_pixel_total : 35396 time to create 1 rle with old method : 0.04233813285827637 length of segment : 243 Detection mask done ! Trying to reset tf kernel 2771194 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4511 tf kernel not reseted sub process len(results) : 161 len(list_Values) 161 None max_time_sub_proc : 3600 parent process len(results) : 0 len(list_Values) 161 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 : 9800 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 161 chid ids of type : 4228 Number RLEs to save : 11699 save missing photos in datou_result : time spend for datou_step_exec : 31.712273359298706 time spend to save output : 0.8661320209503174 total time spend for step 1 : 32.57840538024902 step2:brightness Mon Feb 3 13:21:01 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/1738585228_2770647_1334177299_64e5e28bbcb6843da9a41d74b94145c4.jpg treat image : temp/1738585228_2770647_1334177295_b92b00a9fb29a02617e123292872ed6b.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.012677192687988281 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.010985374450683594 save missing photos in datou_result : time spend for datou_step_exec : 0.5965991020202637 time spend to save output : 0.02891254425048828 total time spend for step 2 : 0.625511646270752 step3:blur_detection Mon Feb 3 13:21:01 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/1738585228_2770647_1334177299_64e5e28bbcb6843da9a41d74b94145c4.jpg resize: (1080, 1920) 1334177299 -7.846210574413348 treat image : temp/1738585228_2770647_1334177295_b92b00a9fb29a02617e123292872ed6b.jpg resize: (1080, 1920) 1334177295 -7.8375751693021805 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.012883424758911133 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.010992288589477539 save missing photos in datou_result : time spend for datou_step_exec : 1.790522575378418 time spend to save output : 0.029430150985717773 total time spend for step 3 : 1.8199527263641357 step4:rle_unique_nms_with_priority Mon Feb 3 13:21:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 161 chid ids of type : 4228 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 77 nb_hashtags : 6 time to prepare the origin masks : 1.0482861995697021 time for calcul the mask position with numpy : 0.07358813285827637 nb_pixel_total : 1835181 time to create 1 rle with new method : 0.10647034645080566 time for calcul the mask position with numpy : 0.008437871932983398 nb_pixel_total : 103 time to create 1 rle with old method : 0.00016617774963378906 time for calcul the mask position with numpy : 0.008302450180053711 nb_pixel_total : 456 time to create 1 rle with old method : 0.000499725341796875 time for calcul the mask position with numpy : 0.008220911026000977 nb_pixel_total : 589 time to create 1 rle with old method : 0.0006666183471679688 time for calcul the mask position with numpy : 0.008139371871948242 nb_pixel_total : 897 time to create 1 rle with old method : 0.0009839534759521484 time for calcul the mask position with numpy : 0.00837850570678711 nb_pixel_total : 59 time to create 1 rle with old method : 8.273124694824219e-05 time for calcul the mask position with numpy : 0.008451461791992188 nb_pixel_total : 2191 time to create 1 rle with old method : 0.0025548934936523438 time for calcul the mask position with numpy : 0.008444070816040039 nb_pixel_total : 1195 time to create 1 rle with old method : 0.0014519691467285156 time for calcul the mask position with numpy : 0.008387565612792969 nb_pixel_total : 629 time to create 1 rle with old method : 0.0007998943328857422 time for calcul the mask position with numpy : 0.008318901062011719 nb_pixel_total : 8022 time to create 1 rle with old method : 0.008751869201660156 time for calcul the mask position with numpy : 0.008625030517578125 nb_pixel_total : 946 time to create 1 rle with old method : 0.0010523796081542969 time for calcul the mask position with numpy : 0.008479118347167969 nb_pixel_total : 239 time to create 1 rle with old method : 0.00026988983154296875 time for calcul the mask position with numpy : 0.00845646858215332 nb_pixel_total : 216 time to create 1 rle with old method : 0.0002529621124267578 time for calcul the mask position with numpy : 0.00849151611328125 nb_pixel_total : 725 time to create 1 rle with old method : 0.0009360313415527344 time for calcul the mask position with numpy : 0.008463859558105469 nb_pixel_total : 830 time to create 1 rle with old method : 0.0009686946868896484 time for calcul the mask position with numpy : 0.008438587188720703 nb_pixel_total : 3426 time to create 1 rle with old method : 0.003751516342163086 time for calcul the mask position with numpy : 0.0084381103515625 nb_pixel_total : 6867 time to create 1 rle with old method : 0.007491350173950195 time for calcul the mask position with numpy : 0.00847482681274414 nb_pixel_total : 7615 time to create 1 rle with old method : 0.008269309997558594 time for calcul the mask position with numpy : 0.008497238159179688 nb_pixel_total : 109 time to create 1 rle with old method : 0.00013065338134765625 time for calcul the mask position with numpy : 0.008444547653198242 nb_pixel_total : 332 time to create 1 rle with old method : 0.00038933753967285156 time for calcul the mask position with numpy : 0.008479833602905273 nb_pixel_total : 505 time to create 1 rle with old method : 0.0005726814270019531 time for calcul the mask position with numpy : 0.00847315788269043 nb_pixel_total : 294 time to create 1 rle with old method : 0.0003476142883300781 time for calcul the mask position with numpy : 0.008489370346069336 nb_pixel_total : 3467 time to create 1 rle with old method : 0.0038275718688964844 time for calcul the mask position with numpy : 0.00850224494934082 nb_pixel_total : 3937 time to create 1 rle with old method : 0.004306316375732422 time for calcul the mask position with numpy : 0.008450508117675781 nb_pixel_total : 53 time to create 1 rle with old method : 0.0001239776611328125 time for calcul the mask position with numpy : 0.008494138717651367 nb_pixel_total : 160 time to create 1 rle with old method : 0.0001842975616455078 time for calcul the mask position with numpy : 0.008485555648803711 nb_pixel_total : 18515 time to create 1 rle with old method : 0.019997119903564453 time for calcul the mask position with numpy : 0.008391618728637695 nb_pixel_total : 21239 time to create 1 rle with old method : 0.023104190826416016 time for calcul the mask position with numpy : 0.008311033248901367 nb_pixel_total : 4718 time to create 1 rle with old method : 0.005331754684448242 time for calcul the mask position with numpy : 0.00846242904663086 nb_pixel_total : 776 time to create 1 rle with old method : 0.0007948875427246094 time for calcul the mask position with numpy : 0.008437156677246094 nb_pixel_total : 238 time to create 1 rle with old method : 0.0002675056457519531 time for calcul the mask position with numpy : 0.008437633514404297 nb_pixel_total : 357 time to create 1 rle with old method : 0.0004169940948486328 time for calcul the mask position with numpy : 0.008404016494750977 nb_pixel_total : 9838 time to create 1 rle with old method : 0.010745763778686523 time for calcul the mask position with numpy : 0.008445262908935547 nb_pixel_total : 3307 time to create 1 rle with old method : 0.0036449432373046875 time for calcul the mask position with numpy : 0.008467912673950195 nb_pixel_total : 419 time to create 1 rle with old method : 0.0005242824554443359 time for calcul the mask position with numpy : 0.008349895477294922 nb_pixel_total : 4892 time to create 1 rle with old method : 0.005364418029785156 time for calcul the mask position with numpy : 0.008420228958129883 nb_pixel_total : 93 time to create 1 rle with old method : 0.0001614093780517578 time for calcul the mask position with numpy : 0.00842428207397461 nb_pixel_total : 1176 time to create 1 rle with old method : 0.001363515853881836 time for calcul the mask position with numpy : 0.008469104766845703 nb_pixel_total : 1027 time to create 1 rle with old method : 0.001184701919555664 time for calcul the mask position with numpy : 0.008359909057617188 nb_pixel_total : 1611 time to create 1 rle with old method : 0.0017735958099365234 time for calcul the mask position with numpy : 0.008456230163574219 nb_pixel_total : 381 time to create 1 rle with old method : 0.0004341602325439453 time for calcul the mask position with numpy : 0.008368492126464844 nb_pixel_total : 1093 time to create 1 rle with old method : 0.0012097358703613281 time for calcul the mask position with numpy : 0.008379697799682617 nb_pixel_total : 704 time to create 1 rle with old method : 0.0007998943328857422 time for calcul the mask position with numpy : 0.008407115936279297 nb_pixel_total : 201 time to create 1 rle with old method : 0.00023293495178222656 time for calcul the mask position with numpy : 0.008448123931884766 nb_pixel_total : 218 time to create 1 rle with old method : 0.0003113746643066406 time for calcul the mask position with numpy : 0.008440017700195312 nb_pixel_total : 107 time to create 1 rle with old method : 0.00015544891357421875 time for calcul the mask position with numpy : 0.008242368698120117 nb_pixel_total : 1429 time to create 1 rle with old method : 0.0016024112701416016 time for calcul the mask position with numpy : 0.008387327194213867 nb_pixel_total : 2249 time to create 1 rle with old method : 0.0024852752685546875 time for calcul the mask position with numpy : 0.008433103561401367 nb_pixel_total : 473 time to create 1 rle with old method : 0.0005249977111816406 time for calcul the mask position with numpy : 0.008424520492553711 nb_pixel_total : 843 time to create 1 rle with old method : 0.0009756088256835938 time for calcul the mask position with numpy : 0.008466243743896484 nb_pixel_total : 1728 time to create 1 rle with old method : 0.0019235610961914062 time for calcul the mask position with numpy : 0.008436203002929688 nb_pixel_total : 1381 time to create 1 rle with old method : 0.0015916824340820312 time for calcul the mask position with numpy : 0.008704185485839844 nb_pixel_total : 106173 time to create 1 rle with old method : 0.1147758960723877 time for calcul the mask position with numpy : 0.008524179458618164 nb_pixel_total : 102 time to create 1 rle with old method : 0.00016236305236816406 time for calcul the mask position with numpy : 0.008463859558105469 nb_pixel_total : 283 time to create 1 rle with old method : 0.0003256797790527344 time for calcul the mask position with numpy : 0.008457183837890625 nb_pixel_total : 61 time to create 1 rle with old method : 8.749961853027344e-05 time for calcul the mask position with numpy : 0.008480310440063477 nb_pixel_total : 371 time to create 1 rle with old method : 0.00043320655822753906 time for calcul the mask position with numpy : 0.008496761322021484 nb_pixel_total : 2 time to create 1 rle with old method : 1.0013580322265625e-05 time for calcul the mask position with numpy : 0.008472442626953125 nb_pixel_total : 1201 time to create 1 rle with old method : 0.0013437271118164062 time for calcul the mask position with numpy : 0.008440971374511719 nb_pixel_total : 98 time to create 1 rle with old method : 0.00012946128845214844 time for calcul the mask position with numpy : 0.008498907089233398 nb_pixel_total : 126 time to create 1 rle with old method : 0.00021076202392578125 time for calcul the mask position with numpy : 0.008446455001831055 nb_pixel_total : 1467 time to create 1 rle with old method : 0.0016558170318603516 time for calcul the mask position with numpy : 0.00844717025756836 nb_pixel_total : 311 time to create 1 rle with old method : 0.00034999847412109375 time for calcul the mask position with numpy : 0.008475542068481445 nb_pixel_total : 65 time to create 1 rle with old method : 8.177757263183594e-05 time for calcul the mask position with numpy : 0.008402109146118164 nb_pixel_total : 900 time to create 1 rle with old method : 0.0010349750518798828 time for calcul the mask position with numpy : 0.008394002914428711 nb_pixel_total : 232 time to create 1 rle with old method : 0.00026035308837890625 time for calcul the mask position with numpy : 0.00844717025756836 nb_pixel_total : 259 time to create 1 rle with old method : 0.0002892017364501953 time for calcul the mask position with numpy : 0.008461713790893555 nb_pixel_total : 144 time to create 1 rle with old method : 0.00016570091247558594 time for calcul the mask position with numpy : 0.008486032485961914 nb_pixel_total : 316 time to create 1 rle with old method : 0.0003521442413330078 time for calcul the mask position with numpy : 0.008461713790893555 nb_pixel_total : 261 time to create 1 rle with old method : 0.000293731689453125 time for calcul the mask position with numpy : 0.008504390716552734 nb_pixel_total : 189 time to create 1 rle with old method : 0.00021386146545410156 time for calcul the mask position with numpy : 0.008481502532958984 nb_pixel_total : 78 time to create 1 rle with old method : 9.512901306152344e-05 time for calcul the mask position with numpy : 0.008521318435668945 nb_pixel_total : 42 time to create 1 rle with old method : 7.081031799316406e-05 time for calcul the mask position with numpy : 0.008472442626953125 nb_pixel_total : 1064 time to create 1 rle with old method : 0.0011751651763916016 time for calcul the mask position with numpy : 0.00845479965209961 nb_pixel_total : 342 time to create 1 rle with old method : 0.0003845691680908203 time for calcul the mask position with numpy : 0.008449077606201172 nb_pixel_total : 297 time to create 1 rle with old method : 0.0003304481506347656 time for calcul the mask position with numpy : 0.008468389511108398 nb_pixel_total : 259 time to create 1 rle with old method : 0.0002951622009277344 time for calcul the mask position with numpy : 0.008446455001831055 nb_pixel_total : 901 time to create 1 rle with old method : 0.0010406970977783203 create new chi : 1.102135181427002 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.010083198547363281 batch 1 Loaded 78 chid ids of type : 4230 Number RLEs to save : 10417 TO DO : save crop sub photo not yet done ! save time : 0.7927439212799072 nb_obj : 84 nb_hashtags : 7 time to prepare the origin masks : 2.664700508117676 time for calcul the mask position with numpy : 0.4817318916320801 nb_pixel_total : 1774833 time to create 1 rle with new method : 0.3512232303619385 time for calcul the mask position with numpy : 0.006434917449951172 nb_pixel_total : 477 time to create 1 rle with old method : 0.0005657672882080078 time for calcul the mask position with numpy : 0.006308555603027344 nb_pixel_total : 698 time to create 1 rle with old method : 0.0008275508880615234 time for calcul the mask position with numpy : 0.006257057189941406 nb_pixel_total : 74 time to create 1 rle with old method : 0.0001354217529296875 time for calcul the mask position with numpy : 0.006253719329833984 nb_pixel_total : 892 time to create 1 rle with old method : 0.0010340213775634766 time for calcul the mask position with numpy : 0.006586313247680664 nb_pixel_total : 44 time to create 1 rle with old method : 0.00010538101196289062 time for calcul the mask position with numpy : 0.006094932556152344 nb_pixel_total : 88 time to create 1 rle with old method : 0.00012087821960449219 time for calcul the mask position with numpy : 0.006182432174682617 nb_pixel_total : 2374 time to create 1 rle with old method : 0.0026683807373046875 time for calcul the mask position with numpy : 0.006346464157104492 nb_pixel_total : 6247 time to create 1 rle with old method : 0.006710052490234375 time for calcul the mask position with numpy : 0.006204843521118164 nb_pixel_total : 2853 time to create 1 rle with old method : 0.0032765865325927734 time for calcul the mask position with numpy : 0.006270885467529297 nb_pixel_total : 933 time to create 1 rle with old method : 0.00103759765625 time for calcul the mask position with numpy : 0.006418704986572266 nb_pixel_total : 238 time to create 1 rle with old method : 0.00028443336486816406 time for calcul the mask position with numpy : 0.006194353103637695 nb_pixel_total : 231 time to create 1 rle with old method : 0.00027632713317871094 time for calcul the mask position with numpy : 0.006194114685058594 nb_pixel_total : 6470 time to create 1 rle with old method : 0.007039546966552734 time for calcul the mask position with numpy : 0.006481170654296875 nb_pixel_total : 8257 time to create 1 rle with old method : 0.00905919075012207 time for calcul the mask position with numpy : 0.006195068359375 nb_pixel_total : 133 time to create 1 rle with old method : 0.0001671314239501953 time for calcul the mask position with numpy : 0.00622868537902832 nb_pixel_total : 110 time to create 1 rle with old method : 0.00015473365783691406 time for calcul the mask position with numpy : 0.006074190139770508 nb_pixel_total : 460 time to create 1 rle with old method : 0.0005288124084472656 time for calcul the mask position with numpy : 0.0061032772064208984 nb_pixel_total : 2139 time to create 1 rle with old method : 0.00274658203125 time for calcul the mask position with numpy : 0.007460355758666992 nb_pixel_total : 374 time to create 1 rle with old method : 0.0005178451538085938 time for calcul the mask position with numpy : 0.0061414241790771484 nb_pixel_total : 94 time to create 1 rle with old method : 0.00014281272888183594 time for calcul the mask position with numpy : 0.006344318389892578 nb_pixel_total : 4709 time to create 1 rle with old method : 0.00525212287902832 time for calcul the mask position with numpy : 0.006246328353881836 nb_pixel_total : 3957 time to create 1 rle with old method : 0.004848957061767578 time for calcul the mask position with numpy : 0.006364345550537109 nb_pixel_total : 123 time to create 1 rle with old method : 0.0001590251922607422 time for calcul the mask position with numpy : 0.006443977355957031 nb_pixel_total : 19848 time to create 1 rle with old method : 0.021976947784423828 time for calcul the mask position with numpy : 0.006272554397583008 nb_pixel_total : 259 time to create 1 rle with old method : 0.0003237724304199219 time for calcul the mask position with numpy : 0.0064697265625 nb_pixel_total : 28961 time to create 1 rle with old method : 0.032289743423461914 time for calcul the mask position with numpy : 0.006303310394287109 nb_pixel_total : 124 time to create 1 rle with old method : 0.0001614093780517578 time for calcul the mask position with numpy : 0.006267547607421875 nb_pixel_total : 4113 time to create 1 rle with old method : 0.004456520080566406 time for calcul the mask position with numpy : 0.006073951721191406 nb_pixel_total : 205 time to create 1 rle with old method : 0.0002503395080566406 time for calcul the mask position with numpy : 0.006063938140869141 nb_pixel_total : 866 time to create 1 rle with old method : 0.000989675521850586 time for calcul the mask position with numpy : 0.006182193756103516 nb_pixel_total : 1206 time to create 1 rle with old method : 0.0013394355773925781 time for calcul the mask position with numpy : 0.005967617034912109 nb_pixel_total : 347 time to create 1 rle with old method : 0.00047206878662109375 time for calcul the mask position with numpy : 0.0060956478118896484 nb_pixel_total : 240 time to create 1 rle with old method : 0.000324249267578125 time for calcul the mask position with numpy : 0.006118059158325195 nb_pixel_total : 798 time to create 1 rle with old method : 0.0009219646453857422 time for calcul the mask position with numpy : 0.0061588287353515625 nb_pixel_total : 2860 time to create 1 rle with old method : 0.0033092498779296875 time for calcul the mask position with numpy : 0.006453514099121094 nb_pixel_total : 11564 time to create 1 rle with old method : 0.012798070907592773 time for calcul the mask position with numpy : 0.00626063346862793 nb_pixel_total : 3609 time to create 1 rle with old method : 0.0038263797760009766 time for calcul the mask position with numpy : 0.006005287170410156 nb_pixel_total : 414 time to create 1 rle with old method : 0.00048232078552246094 time for calcul the mask position with numpy : 0.00620579719543457 nb_pixel_total : 4454 time to create 1 rle with old method : 0.004925727844238281 time for calcul the mask position with numpy : 0.005949735641479492 nb_pixel_total : 166 time to create 1 rle with old method : 0.00020933151245117188 time for calcul the mask position with numpy : 0.006021738052368164 nb_pixel_total : 1345 time to create 1 rle with old method : 0.0014982223510742188 time for calcul the mask position with numpy : 0.010565757751464844 nb_pixel_total : 1032 time to create 1 rle with old method : 0.0011453628540039062 time for calcul the mask position with numpy : 0.006132364273071289 nb_pixel_total : 167 time to create 1 rle with old method : 0.00020766258239746094 time for calcul the mask position with numpy : 0.006020307540893555 nb_pixel_total : 552 time to create 1 rle with old method : 0.0006999969482421875 time for calcul the mask position with numpy : 0.006277799606323242 nb_pixel_total : 4963 time to create 1 rle with old method : 0.005697488784790039 time for calcul the mask position with numpy : 0.006134033203125 nb_pixel_total : 139 time to create 1 rle with old method : 0.00020766258239746094 time for calcul the mask position with numpy : 0.007047891616821289 nb_pixel_total : 1162 time to create 1 rle with old method : 0.0020036697387695312 time for calcul the mask position with numpy : 0.007429361343383789 nb_pixel_total : 373 time to create 1 rle with old method : 0.0005583763122558594 time for calcul the mask position with numpy : 0.006518840789794922 nb_pixel_total : 833 time to create 1 rle with old method : 0.0009183883666992188 time for calcul the mask position with numpy : 0.006540775299072266 nb_pixel_total : 465 time to create 1 rle with old method : 0.0005314350128173828 time for calcul the mask position with numpy : 0.006107807159423828 nb_pixel_total : 799 time to create 1 rle with old method : 0.0009047985076904297 time for calcul the mask position with numpy : 0.006109952926635742 nb_pixel_total : 792 time to create 1 rle with old method : 0.000896453857421875 time for calcul the mask position with numpy : 0.006246805191040039 nb_pixel_total : 185 time to create 1 rle with old method : 0.00024199485778808594 time for calcul the mask position with numpy : 0.0061643123626708984 nb_pixel_total : 2116 time to create 1 rle with old method : 0.0023539066314697266 time for calcul the mask position with numpy : 0.005934715270996094 nb_pixel_total : 247 time to create 1 rle with old method : 0.00029850006103515625 time for calcul the mask position with numpy : 0.007910490036010742 nb_pixel_total : 1291 time to create 1 rle with old method : 0.001375436782836914 time for calcul the mask position with numpy : 0.006096601486206055 nb_pixel_total : 528 time to create 1 rle with old method : 0.0005841255187988281 time for calcul the mask position with numpy : 0.006041526794433594 nb_pixel_total : 450 time to create 1 rle with old method : 0.0005245208740234375 time for calcul the mask position with numpy : 0.0059354305267333984 nb_pixel_total : 957 time to create 1 rle with old method : 0.0010843276977539062 time for calcul the mask position with numpy : 0.006044149398803711 nb_pixel_total : 1649 time to create 1 rle with old method : 0.0018091201782226562 time for calcul the mask position with numpy : 0.006680727005004883 nb_pixel_total : 106003 time to create 1 rle with old method : 0.11174392700195312 time for calcul the mask position with numpy : 0.006034374237060547 nb_pixel_total : 333 time to create 1 rle with old method : 0.00042724609375 time for calcul the mask position with numpy : 0.00589299201965332 nb_pixel_total : 7860 time to create 1 rle with old method : 0.008826732635498047 time for calcul the mask position with numpy : 0.006071329116821289 nb_pixel_total : 257 time to create 1 rle with old method : 0.0003113746643066406 time for calcul the mask position with numpy : 0.006057024002075195 nb_pixel_total : 224 time to create 1 rle with old method : 0.00026917457580566406 time for calcul the mask position with numpy : 0.006107330322265625 nb_pixel_total : 26 time to create 1 rle with old method : 5.8650970458984375e-05 time for calcul the mask position with numpy : 0.005903959274291992 nb_pixel_total : 350 time to create 1 rle with old method : 0.0004096031188964844 time for calcul the mask position with numpy : 0.006279945373535156 nb_pixel_total : 35396 time to create 1 rle with old method : 0.038555145263671875 time for calcul the mask position with numpy : 0.006174802780151367 nb_pixel_total : 1154 time to create 1 rle with old method : 0.0013699531555175781 time for calcul the mask position with numpy : 0.006026029586791992 nb_pixel_total : 44 time to create 1 rle with old method : 6.556510925292969e-05 time for calcul the mask position with numpy : 0.006342649459838867 nb_pixel_total : 2001 time to create 1 rle with old method : 0.0021212100982666016 time for calcul the mask position with numpy : 0.0060617923736572266 nb_pixel_total : 81 time to create 1 rle with old method : 0.0001747608184814453 time for calcul the mask position with numpy : 0.006007194519042969 nb_pixel_total : 33 time to create 1 rle with old method : 0.00011110305786132812 time for calcul the mask position with numpy : 0.006095170974731445 nb_pixel_total : 246 time to create 1 rle with old method : 0.00030994415283203125 time for calcul the mask position with numpy : 0.006499767303466797 nb_pixel_total : 175 time to create 1 rle with old method : 0.00023126602172851562 time for calcul the mask position with numpy : 0.006241798400878906 nb_pixel_total : 51 time to create 1 rle with old method : 9.107589721679688e-05 time for calcul the mask position with numpy : 0.008710145950317383 nb_pixel_total : 232 time to create 1 rle with old method : 0.0002803802490234375 time for calcul the mask position with numpy : 0.008606195449829102 nb_pixel_total : 903 time to create 1 rle with old method : 0.0014448165893554688 time for calcul the mask position with numpy : 0.009865522384643555 nb_pixel_total : 319 time to create 1 rle with old method : 0.0005331039428710938 time for calcul the mask position with numpy : 0.009697437286376953 nb_pixel_total : 109 time to create 1 rle with old method : 0.00021195411682128906 time for calcul the mask position with numpy : 0.009735345840454102 nb_pixel_total : 15 time to create 1 rle with old method : 3.4809112548828125e-05 time for calcul the mask position with numpy : 0.009706974029541016 nb_pixel_total : 269 time to create 1 rle with old method : 0.00045037269592285156 time for calcul the mask position with numpy : 0.009664297103881836 nb_pixel_total : 426 time to create 1 rle with old method : 0.0007090568542480469 time for calcul the mask position with numpy : 0.009653806686401367 nb_pixel_total : 206 time to create 1 rle with old method : 0.0003466606140136719 create new chi : 1.7342863082885742 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.0019268989562988281 batch 1 Loaded 85 chid ids of type : 4230 Number RLEs to save : 11968 TO DO : save crop sub photo not yet done ! save time : 3.2964072227478027 map_output_result : {1334177299: (0.0, 'Should be the crop_list due to order', 0.0), 1334177295: (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 [1334177299, 1334177295] Looping around the photos to save general results len do output : 2 /1334177299.Didn't retrieve data . /1334177295.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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.10771942138671875 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.489486932754517 time spend to save output : 0.10799980163574219 total time spend for step 4 : 11.597486734390259 step5:crop_condition Mon Feb 3 13:21:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 163 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 ! map_result returned by crop_photo_return_map_crop : length : 45 About to insert : list_path_to_insert length 45 new photo from crops ! About to upload 45 photos upload in portfolio : 4869462 init cache_photo without model_param we have 45 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738585276_2770647 we have uploaded 45 photos in the portfolio 4869462 time of upload the photos Elapsed time : 10.266756534576416 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 ! 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 : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 4869462 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738585287_2770647 we have uploaded 15 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.34503436088562 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 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/1738585290_2770647 we have uploaded 2 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0220091342926025 we have finished the crop for the class : metal 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 4869462 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738585292_2770647 we have uploaded 11 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.387303590774536 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 ! 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 : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 4869462 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1738585295_2770647 we have uploaded 20 photos in the portfolio 4869462 time of upload the photos Elapsed time : 4.617481231689453 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 delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334177299, 1334177295] Looping around the photos to save general results len do output : 93 /1334186331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186332Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186335Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186337Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186381Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186382Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186383Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186384Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186390Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186391Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186434Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1334186435Didn'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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 281 time used for this insertion : 0.02618861198425293 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.26901125907898 time spend to save output : 0.09310269355773926 total time spend for step 5 : 24.36211395263672 step6:thcl Mon Feb 3 13:21: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 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.001905679702758789 time to convert the images to numpy array : 0.006803750991821289 time to import caffe and check if the image exist : 0.007464408874511719 time to convert the images to numpy array : 0.023711442947387695 time to import caffe and check if the image exist : 0.008445501327514648 time to convert the images to numpy array : 0.03261995315551758 time to import caffe and check if the image exist : 0.01110529899597168 time to convert the images to numpy array : 0.030631065368652344 time to import caffe and check if the image exist : 0.013179540634155273 time to convert the images to numpy array : 0.03391885757446289 time to import caffe and check if the image exist : 0.015987157821655273 time to convert the images to numpy array : 0.032968759536743164 time to import caffe and check if the image exist : 0.01394200325012207 time to convert the images to numpy array : 0.036138057708740234 time to import caffe and check if the image exist : 0.013498067855834961 time to convert the images to numpy array : 0.03653144836425781 time to import caffe and check if the image exist : 0.014341592788696289 time to convert the images to numpy array : 0.035826683044433594 time to import caffe and check if the image exist : 0.013258695602416992 time to convert the images to numpy array : 0.03798699378967285 total time to convert the images to numpy array : 0.7937064170837402 list photo_ids error: [] list photo_ids correct : [1334186433, 1334186434, 1334186435, 1334186331, 1334186332, 1334186333, 1334186334, 1334186335, 1334186336, 1334186337, 1334186338, 1334186339, 1334186340, 1334186409, 1334186410, 1334186411, 1334186416, 1334186417, 1334186418, 1334186419, 1334186420, 1334186421, 1334186422, 1334186395, 1334186396, 1334186401, 1334186402, 1334186403, 1334186404, 1334186405, 1334186406, 1334186407, 1334186408, 1334186341, 1334186342, 1334186343, 1334186344, 1334186345, 1334186346, 1334186347, 1334186348, 1334186349, 1334186350, 1334186385, 1334186386, 1334186387, 1334186388, 1334186389, 1334186390, 1334186391, 1334186392, 1334186393, 1334186394, 1334186371, 1334186372, 1334186373, 1334186374, 1334186375, 1334186380, 1334186381, 1334186382, 1334186383, 1334186384, 1334186423, 1334186424, 1334186425, 1334186426, 1334186427, 1334186428, 1334186429, 1334186430, 1334186431, 1334186432, 1334186351, 1334186352, 1334186353, 1334186354, 1334186355, 1334186356, 1334186357, 1334186358, 1334186359, 1334186360, 1334186361, 1334186362, 1334186363, 1334186364, 1334186365, 1334186366, 1334186367, 1334186368, 1334186369, 1334186370] number of photos to traite : 93 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 l 3637 free memory gpu now : 9800 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 : 9581 max_wait_temp : 1 max_wait : 0 dict_keys(['pool5', 'prob']) time used to do the prepocess of the images : 0.5142800807952881 time used to do the prediction : 0.56634521484375 save descriptor for thcl : 3237 time to traite the descriptors : 0.5714366436004639 Catched exception ! Connect or reconnect ! storage_type for insertDescriptorsMulti : 3 To insert : 1334186433 To insert : 1334186434 To insert : 1334186435 To insert : 1334186331 To insert : 1334186332 To insert : 1334186333 To insert : 1334186334 To insert : 1334186335 To insert : 1334186336 To insert : 1334186337 To insert : 1334186338 To insert : 1334186339 To insert : 1334186340 To insert : 1334186409 To insert : 1334186410 To insert : 1334186411 To insert : 1334186416 To insert : 1334186417 To insert : 1334186418 To insert : 1334186419 To insert : 1334186420 To insert : 1334186421 To insert : 1334186422 To insert : 1334186395 To insert : 1334186396 To insert : 1334186401 To insert : 1334186402 To insert : 1334186403 To insert : 1334186404 To insert : 1334186405 To insert : 1334186406 To insert : 1334186407 To insert : 1334186408 To insert : 1334186341 To insert : 1334186342 To insert : 1334186343 To insert : 1334186344 To insert : 1334186345 To insert : 1334186346 To insert : 1334186347 To insert : 1334186348 To insert : 1334186349 To insert : 1334186350 To insert : 1334186385 To insert : 1334186386 To insert : 1334186387 To insert : 1334186388 To insert : 1334186389 To insert : 1334186390 To insert : 1334186391 To insert : 1334186392 To insert : 1334186393 To insert : 1334186394 To insert : 1334186371 To insert : 1334186372 To insert : 1334186373 To insert : 1334186374 To insert : 1334186375 To insert : 1334186380 To insert : 1334186381 To insert : 1334186382 To insert : 1334186383 To insert : 1334186384 To insert : 1334186423 To insert : 1334186424 To insert : 1334186425 To insert : 1334186426 To insert : 1334186427 To insert : 1334186428 To insert : 1334186429 To insert : 1334186430 To insert : 1334186431 To insert : 1334186432 To insert : 1334186351 To insert : 1334186352 To insert : 1334186353 To insert : 1334186354 To insert : 1334186355 To insert : 1334186356 To insert : 1334186357 To insert : 1334186358 To insert : 1334186359 To insert : 1334186360 To insert : 1334186361 To insert : 1334186362 To insert : 1334186363 To insert : 1334186364 To insert : 1334186365 To insert : 1334186366 To insert : 1334186367 To insert : 1334186368 To insert : 1334186369 To insert : 1334186370 time to insert the descriptors : 15.603944301605225 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 : 156 time used for this insertion : 0.018841266632080078 save missing photos in datou_result : time spend for datou_step_exec : 23.301570177078247 time spend to save output : 0.07307243347167969 total time spend for step 6 : 23.374642610549927 step7:ventilate_hashtags_in_portfolio Mon Feb 3 13:22: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 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 : 20177148 get user id for portfolio 20177148 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`=20177148 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('refus','Papier','carton','Tetrapak','papier','metal','mal_croppe','pet_clair','Carton','PET_fonce','pet_fonce','flou','PEHD','PET_clair','autre','Film_plastique','environnement','pehd')) 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`=20177148 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('refus','Papier','carton','Tetrapak','papier','metal','mal_croppe','pet_clair','Carton','PET_fonce','pet_fonce','flou','PEHD','PET_clair','autre','Film_plastique','environnement','pehd')) 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`=20177148 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('refus','Papier','carton','Tetrapak','papier','metal','mal_croppe','pet_clair','Carton','PET_fonce','pet_fonce','flou','PEHD','PET_clair','autre','Film_plastique','environnement','pehd')) 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`=20177148 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('refus','Papier','carton','Tetrapak','papier','metal','mal_croppe','pet_clair','Carton','PET_fonce','pet_fonce','flou','PEHD','PET_clair','autre','Film_plastique','environnement','pehd')) AND mptpi.`min_score`=0.6 To do lien utilise dans velours : https://www.fotonower.com/velours/20177374,20177378,20177382,20177377,20177379,20177380,20177387,20177384,20177385,20177391,20177388,20177389,20177390?tags=refus,papier,carton,tetrapak,metal,mal_croppe,pet_clair,pet_fonce,flou,pehd,autre,film_plastique,environnement&datou_id_consolidate=4235&port_consolidate=20177148 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334177299, 1334177295] Looping around the photos to save general results len do output : 1 /20177148. 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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.011640310287475586 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.209913730621338 time spend to save output : 0.011913061141967773 total time spend for step 7 : 2.2218267917633057 step8:final Mon Feb 3 13:22:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334177299: ('0.19451837294234825',), 1334177295: ('0.19451837294234825',)} new output for save of step final : {1334177299: ('0.19451837294234825',), 1334177295: ('0.19451837294234825',)} [1334177299, 1334177295] Looping around the photos to save general results len do output : 2 /1334177299.Didn't retrieve data . /1334177295.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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01175689697265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11114931106567383 time spend to save output : 0.011954545974731445 total time spend for step 8 : 0.12310385704040527 step9:velours_tree Mon Feb 3 13:22:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure list_portfolios : 20177374,20177378,20177382,20177377,20177379,20177380,20177387,20177384,20177385,20177391,20177388,20177389,20177390 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=20177374 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=20177378 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=20177382 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=20177377 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=20177379 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=20177380 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=20177387 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=20177384 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=20177385 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=20177391 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=20177388 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=20177389 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=20177390 ORDER BY ph.size desc - Loading descriptors... Size : 2048 len(descriptors) : 93 Compute structured hierarchical clustering... ward : AgglomerativeClustering(n_clusters=6) ward.labels_ : [1 0 0 2 2 2 3 2 2 2 0 1 2 4 2 4 2 2 2 0 2 1 0 0 2 2 2 1 3 2 1 3 0 2 1 4 1 3 2 4 2 2 2 2 2 5 4 2 0 0 4 1 5 5 2 0 4 1 0 2 3 2 0 2 3 4 0 4 2 2 2 4 3 5 1 5 4 2 2 1 1 1 1 4 5 1 4 2 4 4 2 2 1] Elapsed time: 0.018654346466064453 graph_id used : 75729 - Beta version, working pretty good on 11-5-16 ! https://www.fotonower.com/velours/20177374,20177378,20177382,20177377,20177379,20177380,20177387,20177384,20177385,20177391,20177388,20177389,20177390?tags=refus,papier,carton,tetrapak,metal,mal_croppe,pet_clair,pet_fonce,flou,pehd,autre,film_plastique,environnement&datou_id_consolidate=4235&port_consolidate=20177148&tree_id=75729 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : velours_tree we use saveGeneral [1334177299, 1334177295] Looping around the photos to save general results len do output : 1 /20177148Didn'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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01247549057006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.76723575592041 time spend to save output : 0.01275944709777832 total time spend for step 9 : 6.7799952030181885 step10:send_mail_cod Mon Feb 3 13:22:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P20177148_03-02-2025_13_22_12.pdf 20177356 imagette201773561738585332 20177360 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 .imagette201773601738585332 20177364 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 .imagette201773641738585333 20177359 imagette201773591738585333 20177361 change filename to text .change filename to text .imagette201773611738585333 20177362 imagette201773621738585333 20177369 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 .imagette201773691738585333 20177366 imagette201773661738585334 20177367 imagette201773671738585334 20177373 imagette201773731738585334 20177370 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 .imagette201773701738585334 20177371 imagette201773711738585335 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20177148 and hashtag_type = 4230 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20177374,20177378,20177382,20177377,20177379,20177380,20177387,20177384,20177385,20177391,20177388,20177389,20177390?tags=refus,papier,carton,tetrapak,metal,mal_croppe,pet_clair,pet_fonce,flou,pehd,autre,film_plastique,environnement&datou_id_consolidate=4235&port_consolidate=20177148&tree_id=75729 your option no_mail is active, we will not send the real mail to your client args[1334177299] : ((1334177299, -7.846210574413348, 492609224), (1334177299, -0.41517410770172425, 496442774), '0.19451837294234825') We are sending mail with results at cod@fotonower.com args[1334177295] : ((1334177295, -7.8375751693021805, 492609224), (1334177295, -0.4249192737407087, 496442774), '0.19451837294234825') We are sending mail with results at cod@fotonower.com refus_total : 0.19451837294234825 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=20177148 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_P20177148_03-02-2025_13_22_12.pdf results_Qualipapia_P20177148_03-02-2025_13_22_12.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20177148_03-02-2025_13_22_12.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4234','20177148','results_Qualipapia_P20177148_03-02-2025_13_22_12.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20177148_03-02-2025_13_22_12.pdf','pdf','','0.14','0.19451837294234825') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334177299, 1334177295] 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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.012890100479125977 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.390308618545532 time spend to save output : 0.013043880462646484 total time spend for step 10 : 4.403352499008179 step11:split_time_score Mon Feb 3 13:22:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We 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'}] (('10', 2),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03022025 20177148 Nombre de photos uploadées : 2 / 23040 (0%) 03022025 20177148 Nombre de photos taguées (types de déchets): 2 / 2 (100%) 03022025 20177148 Nombre de photos taguées (volume) : 0 / 2 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?? elapsed_time : fill_and_build_computed_from_old_data 0.00019288063049316406 elapsed_time : insert_dashboard_record_day_entry 0.02355027198791504 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176367 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176369 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176371 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176372 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20176373 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177132 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177134 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177136 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177137 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177139 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177141 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177143 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177145 order by id desc limit 1 Qualite : 0.2424867140556751 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20177147_03-02-2025_13_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177147 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`=20177147 AND mptpi.`type`=4230 To do Qualite : 0.19451837294234825 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20177148_03-02-2025_13_22_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20177148 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`=20177148 AND mptpi.`type`=4230 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 2, 'nb_taggue_class': 2, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334177299, 1334177295] Looping around the photos to save general results len do output : 1 /20177148Didn'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, '2539927') ('4234', '20177148', '1334177299', None, None, None, None, None, '2539927') ('4234', None, None, None, None, None, None, None, '2539927') ('4234', '20177148', '1334177295', None, None, None, None, None, '2539927') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012331724166870117 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.769593954086304 time spend to save output : 0.012508392333984375 total time spend for step 11 : 9.782102346420288 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 30.88user 25.09system 2:01.17elapsed 46%CPU (0avgtext+0avgdata 2112940maxresident)k 3217464inputs+10352outputs (12315major+1911200minor)pagefaults 0swaps