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 : 2316184 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 : ['2629305'] with mtr_portfolio_ids : ['20975770'] and first list_photo_ids : [] new path : /proc/2316184/ 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.22393035888671875 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 11 step1:mask_detect Mon Mar 3 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 : 10147 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-03 13:20:31.715308: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-03-03 13:20:31.743368: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-03 13:20:31.744862: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4bc8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-03 13:20:31.744883: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-03 13:20:31.747711: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-03 13:20:31.979841: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x335aee80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-03 13:20:31.979889: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-03 13:20:31.980661: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-03 13:20:31.981013: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 13:20:31.984318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 13:20:31.993764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 13:20:31.994526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 13:20:32.007504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 13:20:32.010834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 13:20:32.034416: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 13:20:32.036953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 13:20:32.037099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 13:20:32.037903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-03 13:20:32.037923: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-03 13:20:32.037935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-03 13:20:32.039281: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9396 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-03-03 13:20:32.348099: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-03 13:20:32.348192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 13:20:32.348211: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 13:20:32.348229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 13:20:32.348246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 13:20:32.348262: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 13:20:32.348278: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 13:20:32.348295: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 13:20:32.349570: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 13:20:32.350864: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-03-03 13:20:32.350928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-03 13:20:32.350951: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 13:20:32.350966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-03 13:20:32.350980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-03 13:20:32.350995: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-03 13:20:32.351008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-03 13:20:32.351023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-03 13:20:32.352281: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-03 13:20:32.352315: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-03 13:20:32.352324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-03 13:20:32.352332: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-03 13:20:32.353647: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9396 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-03-03 13:20:42.631465: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-03 13:20:42.833537: 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.02813 max: 148.06484 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.00011849403381347656 nb_pixel_total : 518 time to create 1 rle with old method : 0.00841379165649414 length of segment : 27 time for calcul the mask position with numpy : 6.866455078125e-05 nb_pixel_total : 676 time to create 1 rle with old method : 0.0013306140899658203 length of segment : 67 time for calcul the mask position with numpy : 7.319450378417969e-05 nb_pixel_total : 189 time to create 1 rle with old method : 0.0004584789276123047 length of segment : 34 time for calcul the mask position with numpy : 6.866455078125e-05 nb_pixel_total : 134 time to create 1 rle with old method : 0.00033473968505859375 length of segment : 25 time for calcul the mask position with numpy : 8.726119995117188e-05 nb_pixel_total : 741 time to create 1 rle with old method : 0.001741170883178711 length of segment : 62 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 353 time to create 1 rle with old method : 0.0006277561187744141 length of segment : 41 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 87 time to create 1 rle with old method : 0.00016021728515625 length of segment : 18 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -118.65703 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 2 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 982 time to create 1 rle with old method : 0.0017590522766113281 length of segment : 33 time for calcul the mask position with numpy : 8.20159912109375e-05 nb_pixel_total : 2382 time to create 1 rle with old method : 0.004134416580200195 length of segment : 44 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -98.97344 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.67572021484375e-05 nb_pixel_total : 1950 time to create 1 rle with old method : 0.0025510787963867188 length of segment : 30 time for calcul the mask position with numpy : 5.507469177246094e-05 nb_pixel_total : 551 time to create 1 rle with old method : 0.0007717609405517578 length of segment : 23 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 644 time to create 1 rle with old method : 0.0010650157928466797 length of segment : 18 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -121.19219 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 1179 time to create 1 rle with old method : 0.002952098846435547 length of segment : 60 time for calcul the mask position with numpy : 7.557868957519531e-05 nb_pixel_total : 644 time to create 1 rle with old method : 0.0014469623565673828 length of segment : 34 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 3316 time to create 1 rle with old method : 0.006787776947021484 length of segment : 93 time for calcul the mask position with numpy : 7.033348083496094e-05 nb_pixel_total : 207 time to create 1 rle with old method : 0.0004894733428955078 length of segment : 19 time for calcul the mask position with numpy : 0.0001437664031982422 nb_pixel_total : 7241 time to create 1 rle with old method : 0.00940561294555664 length of segment : 108 time for calcul the mask position with numpy : 6.079673767089844e-05 nb_pixel_total : 247 time to create 1 rle with old method : 0.0003902912139892578 length of segment : 19 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: 148.33828 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.649162292480469e-05 nb_pixel_total : 490 time to create 1 rle with old method : 0.0006532669067382812 length of segment : 27 time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 535 time to create 1 rle with old method : 0.0009145736694335938 length of segment : 18 time for calcul the mask position with numpy : 8.7738037109375e-05 nb_pixel_total : 2213 time to create 1 rle with old method : 0.003813028335571289 length of segment : 57 time for calcul the mask position with numpy : 0.00010013580322265625 nb_pixel_total : 549 time to create 1 rle with old method : 0.0014758110046386719 length of segment : 19 time for calcul the mask position with numpy : 0.002108335494995117 nb_pixel_total : 46474 time to create 1 rle with old method : 0.06722164154052734 length of segment : 247 time for calcul the mask position with numpy : 0.0001232624053955078 nb_pixel_total : 1996 time to create 1 rle with old method : 0.003129243850708008 length of segment : 130 time for calcul the mask position with numpy : 0.0007545948028564453 nb_pixel_total : 54904 time to create 1 rle with old method : 0.09117865562438965 length of segment : 238 Processing 1 images image shape: (400, 400, 3) min: 1.00000 max: 185.00000 molded_images shape: (1, 640, 640, 3) min: -99.37578 max: 60.68047 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: 252.00000 molded_images shape: (1, 640, 640, 3) min: -119.89922 max: 139.66641 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 5.364418029785156e-05 nb_pixel_total : 221 time to create 1 rle with old method : 0.0003478527069091797 length of segment : 15 time for calcul the mask position with numpy : 4.887580871582031e-05 nb_pixel_total : 253 time to create 1 rle with old method : 0.00037026405334472656 length of segment : 26 time for calcul the mask position with numpy : 6.4849853515625e-05 nb_pixel_total : 729 time to create 1 rle with old method : 0.0009202957153320312 length of segment : 40 time for calcul the mask position with numpy : 0.00023031234741210938 nb_pixel_total : 9695 time to create 1 rle with old method : 0.01153564453125 length of segment : 143 time for calcul the mask position with numpy : 9.512901306152344e-05 nb_pixel_total : 815 time to create 1 rle with old method : 0.0011353492736816406 length of segment : 35 time for calcul the mask position with numpy : 6.0558319091796875e-05 nb_pixel_total : 1235 time to create 1 rle with old method : 0.0017108917236328125 length of segment : 36 time for calcul the mask position with numpy : 5.626678466796875e-05 nb_pixel_total : 875 time to create 1 rle with old method : 0.0011820793151855469 length of segment : 36 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -112.07109 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 6 time for calcul the mask position with numpy : 3.9577484130859375e-05 nb_pixel_total : 108 time to create 1 rle with old method : 0.00019979476928710938 length of segment : 10 time for calcul the mask position with numpy : 5.221366882324219e-05 nb_pixel_total : 484 time to create 1 rle with old method : 0.0007290840148925781 length of segment : 50 time for calcul the mask position with numpy : 5.14984130859375e-05 nb_pixel_total : 511 time to create 1 rle with old method : 0.0006716251373291016 length of segment : 44 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 175 time to create 1 rle with old method : 0.0002675056457519531 length of segment : 21 time for calcul the mask position with numpy : 4.553794860839844e-05 nb_pixel_total : 447 time to create 1 rle with old method : 0.0006663799285888672 length of segment : 29 time for calcul the mask position with numpy : 4.8160552978515625e-05 nb_pixel_total : 150 time to create 1 rle with old method : 0.0002636909484863281 length of segment : 13 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -120.52031 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 : 5.793571472167969e-05 nb_pixel_total : 678 time to create 1 rle with old method : 0.0009286403656005859 length of segment : 41 time for calcul the mask position with numpy : 5.1021575927734375e-05 nb_pixel_total : 1385 time to create 1 rle with old method : 0.0016658306121826172 length of segment : 43 time for calcul the mask position with numpy : 0.00012946128845214844 nb_pixel_total : 3615 time to create 1 rle with old method : 0.005565643310546875 length of segment : 150 time for calcul the mask position with numpy : 5.221366882324219e-05 nb_pixel_total : 432 time to create 1 rle with old method : 0.0006363391876220703 length of segment : 17 time for calcul the mask position with numpy : 8.845329284667969e-05 nb_pixel_total : 4128 time to create 1 rle with old method : 0.005101203918457031 length of segment : 103 time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 797 time to create 1 rle with old method : 0.0009944438934326172 length of segment : 72 time for calcul the mask position with numpy : 6.103515625e-05 nb_pixel_total : 2138 time to create 1 rle with old method : 0.0028183460235595703 length of segment : 33 time for calcul the mask position with numpy : 0.0003857612609863281 nb_pixel_total : 12333 time to create 1 rle with old method : 0.0144805908203125 length of segment : 343 time for calcul the mask position with numpy : 0.0003578662872314453 nb_pixel_total : 4849 time to create 1 rle with old method : 0.006117105484008789 length of segment : 138 time for calcul the mask position with numpy : 0.00017118453979492188 nb_pixel_total : 1854 time to create 1 rle with old method : 0.0027282238006591797 length of segment : 93 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: 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 : 5.7697296142578125e-05 nb_pixel_total : 499 time to create 1 rle with old method : 0.0008225440979003906 length of segment : 38 time for calcul the mask position with numpy : 0.00031280517578125 nb_pixel_total : 4780 time to create 1 rle with old method : 0.0063991546630859375 length of segment : 222 time for calcul the mask position with numpy : 9.822845458984375e-05 nb_pixel_total : 253 time to create 1 rle with old method : 0.0006201267242431641 length of segment : 20 time for calcul the mask position with numpy : 8.344650268554688e-05 nb_pixel_total : 499 time to create 1 rle with old method : 0.0009982585906982422 length of segment : 52 time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 562 time to create 1 rle with old method : 0.0008068084716796875 length of segment : 58 time for calcul the mask position with numpy : 0.00020122528076171875 nb_pixel_total : 3483 time to create 1 rle with old method : 0.004576921463012695 length of segment : 189 time for calcul the mask position with numpy : 0.0003414154052734375 nb_pixel_total : 4905 time to create 1 rle with old method : 0.007979393005371094 length of segment : 231 time for calcul the mask position with numpy : 7.033348083496094e-05 nb_pixel_total : 280 time to create 1 rle with old method : 0.00044274330139160156 length of segment : 22 Processing 1 images image shape: (280, 400, 3) min: 4.00000 max: 173.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 45.47500 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.0009598731994628906 nb_pixel_total : 103669 time to create 1 rle with old method : 0.1335289478302002 length of segment : 282 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 254.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 134.39297 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 10 time for calcul the mask position with numpy : 7.653236389160156e-05 nb_pixel_total : 2349 time to create 1 rle with old method : 0.003400087356567383 length of segment : 46 time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 169 time to create 1 rle with old method : 0.0003490447998046875 length of segment : 13 time for calcul the mask position with numpy : 9.107589721679688e-05 nb_pixel_total : 301 time to create 1 rle with old method : 0.0005202293395996094 length of segment : 30 time for calcul the mask position with numpy : 3.719329833984375e-05 nb_pixel_total : 97 time to create 1 rle with old method : 0.00016617774963378906 length of segment : 11 time for calcul the mask position with numpy : 6.151199340820312e-05 nb_pixel_total : 1148 time to create 1 rle with old method : 0.0015475749969482422 length of segment : 36 time for calcul the mask position with numpy : 3.814697265625e-05 nb_pixel_total : 59 time to create 1 rle with old method : 0.0001361370086669922 length of segment : 5 time for calcul the mask position with numpy : 5.459785461425781e-05 nb_pixel_total : 983 time to create 1 rle with old method : 0.0012035369873046875 length of segment : 59 time for calcul the mask position with numpy : 0.0004284381866455078 nb_pixel_total : 27806 time to create 1 rle with old method : 0.0364224910736084 length of segment : 175 time for calcul the mask position with numpy : 0.00012993812561035156 nb_pixel_total : 4887 time to create 1 rle with old method : 0.005921602249145508 length of segment : 76 time for calcul the mask position with numpy : 0.00013828277587890625 nb_pixel_total : 5413 time to create 1 rle with old method : 0.006569862365722656 length of segment : 82 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: 121.47500 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 19 time for calcul the mask position with numpy : 4.7206878662109375e-05 nb_pixel_total : 237 time to create 1 rle with old method : 0.00035953521728515625 length of segment : 19 time for calcul the mask position with numpy : 3.4332275390625e-05 nb_pixel_total : 184 time to create 1 rle with old method : 0.0003724098205566406 length of segment : 14 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 171 time to create 1 rle with old method : 0.0002772808074951172 length of segment : 19 time for calcul the mask position with numpy : 4.863739013671875e-05 nb_pixel_total : 919 time to create 1 rle with old method : 0.0011649131774902344 length of segment : 42 time for calcul the mask position with numpy : 5.030632019042969e-05 nb_pixel_total : 585 time to create 1 rle with old method : 0.0008273124694824219 length of segment : 70 time for calcul the mask position with numpy : 3.4809112548828125e-05 nb_pixel_total : 79 time to create 1 rle with old method : 0.0001575946807861328 length of segment : 9 time for calcul the mask position with numpy : 3.790855407714844e-05 nb_pixel_total : 367 time to create 1 rle with old method : 0.0005199909210205078 length of segment : 24 time for calcul the mask position with numpy : 3.24249267578125e-05 nb_pixel_total : 170 time to create 1 rle with old method : 0.00026345252990722656 length of segment : 16 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 333 time to create 1 rle with old method : 0.00045013427734375 length of segment : 31 time for calcul the mask position with numpy : 3.123283386230469e-05 nb_pixel_total : 112 time to create 1 rle with old method : 0.00016832351684570312 length of segment : 16 time for calcul the mask position with numpy : 4.076957702636719e-05 nb_pixel_total : 514 time to create 1 rle with old method : 0.0006983280181884766 length of segment : 30 time for calcul the mask position with numpy : 3.600120544433594e-05 nb_pixel_total : 137 time to create 1 rle with old method : 0.00022268295288085938 length of segment : 20 time for calcul the mask position with numpy : 3.170967102050781e-05 nb_pixel_total : 169 time to create 1 rle with old method : 0.00024318695068359375 length of segment : 16 time for calcul the mask position with numpy : 3.6716461181640625e-05 nb_pixel_total : 360 time to create 1 rle with old method : 0.0005135536193847656 length of segment : 22 time for calcul the mask position with numpy : 2.956390380859375e-05 nb_pixel_total : 49 time to create 1 rle with old method : 8.96453857421875e-05 length of segment : 10 time for calcul the mask position with numpy : 4.673004150390625e-05 nb_pixel_total : 780 time to create 1 rle with old method : 0.0010271072387695312 length of segment : 33 time for calcul the mask position with numpy : 4.220008850097656e-05 nb_pixel_total : 746 time to create 1 rle with old method : 0.001003265380859375 length of segment : 34 time for calcul the mask position with numpy : 4.1961669921875e-05 nb_pixel_total : 792 time to create 1 rle with old method : 0.001043558120727539 length of segment : 34 time for calcul the mask position with numpy : 3.6716461181640625e-05 nb_pixel_total : 375 time to create 1 rle with old method : 0.0005431175231933594 length of segment : 24 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.20547 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.6253204345703125e-05 nb_pixel_total : 353 time to create 1 rle with old method : 0.0007073879241943359 length of segment : 18 time for calcul the mask position with numpy : 5.3882598876953125e-05 nb_pixel_total : 250 time to create 1 rle with old method : 0.0004487037658691406 length of segment : 16 time for calcul the mask position with numpy : 4.506111145019531e-05 nb_pixel_total : 214 time to create 1 rle with old method : 0.0003330707550048828 length of segment : 46 time for calcul the mask position with numpy : 3.528594970703125e-05 nb_pixel_total : 145 time to create 1 rle with old method : 0.0002288818359375 length of segment : 18 time for calcul the mask position with numpy : 7.295608520507812e-05 nb_pixel_total : 1440 time to create 1 rle with old method : 0.002024412155151367 length of segment : 86 time for calcul the mask position with numpy : 5.2928924560546875e-05 nb_pixel_total : 395 time to create 1 rle with old method : 0.0043790340423583984 length of segment : 28 time for calcul the mask position with numpy : 4.9114227294921875e-05 nb_pixel_total : 441 time to create 1 rle with old method : 0.0008003711700439453 length of segment : 29 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: 135.22500 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.556510925292969e-05 nb_pixel_total : 1308 time to create 1 rle with old method : 0.0016345977783203125 length of segment : 143 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.35234 max: 150.64297 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 7.224082946777344e-05 nb_pixel_total : 732 time to create 1 rle with old method : 0.0011372566223144531 length of segment : 60 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 356 time to create 1 rle with old method : 0.0005939006805419922 length of segment : 25 time for calcul the mask position with numpy : 4.57763671875e-05 nb_pixel_total : 631 time to create 1 rle with old method : 0.0008881092071533203 length of segment : 51 time for calcul the mask position with numpy : 5.340576171875e-05 nb_pixel_total : 118 time to create 1 rle with old method : 0.0002601146697998047 length of segment : 26 time for calcul the mask position with numpy : 4.124641418457031e-05 nb_pixel_total : 234 time to create 1 rle with old method : 0.0003993511199951172 length of segment : 32 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -118.41875 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 3.933906555175781e-05 nb_pixel_total : 287 time to create 1 rle with old method : 0.0003910064697265625 length of segment : 22 time for calcul the mask position with numpy : 6.127357482910156e-05 nb_pixel_total : 2267 time to create 1 rle with old method : 0.0029249191284179688 length of segment : 45 time for calcul the mask position with numpy : 5.3882598876953125e-05 nb_pixel_total : 1383 time to create 1 rle with old method : 0.0017731189727783203 length of segment : 44 time for calcul the mask position with numpy : 5.221366882324219e-05 nb_pixel_total : 99 time to create 1 rle with old method : 0.00017523765563964844 length of segment : 24 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 2529 time to create 1 rle with old method : 0.003121614456176758 length of segment : 46 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -99.07500 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 : 7.081031799316406e-05 nb_pixel_total : 2001 time to create 1 rle with old method : 0.0026433467864990234 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: -122.98906 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 7.319450378417969e-05 nb_pixel_total : 648 time to create 1 rle with old method : 0.0015115737915039062 length of segment : 34 time for calcul the mask position with numpy : 0.00010132789611816406 nb_pixel_total : 1251 time to create 1 rle with old method : 0.002792835235595703 length of segment : 61 time for calcul the mask position with numpy : 6.747245788574219e-05 nb_pixel_total : 94 time to create 1 rle with old method : 0.00037860870361328125 length of segment : 21 time for calcul the mask position with numpy : 8.106231689453125e-05 nb_pixel_total : 413 time to create 1 rle with old method : 0.0011699199676513672 length of segment : 20 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 2831 time to create 1 rle with old method : 0.00566411018371582 length of segment : 51 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: 149.35781 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 5 time for calcul the mask position with numpy : 7.486343383789062e-05 nb_pixel_total : 527 time to create 1 rle with old method : 0.0010728836059570312 length of segment : 18 time for calcul the mask position with numpy : 5.7697296142578125e-05 nb_pixel_total : 762 time to create 1 rle with old method : 0.003787517547607422 length of segment : 38 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 476 time to create 1 rle with old method : 0.0006556510925292969 length of segment : 30 time for calcul the mask position with numpy : 4.506111145019531e-05 nb_pixel_total : 398 time to create 1 rle with old method : 0.0004985332489013672 length of segment : 45 time for calcul the mask position with numpy : 0.0005955696105957031 nb_pixel_total : 51118 time to create 1 rle with old method : 0.058817386627197266 length of segment : 276 Processing 1 images image shape: (400, 400, 3) min: 13.00000 max: 185.00000 molded_images shape: (1, 640, 640, 3) min: -94.90703 max: 62.52187 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: 230.00000 molded_images shape: (1, 640, 640, 3) min: -118.88359 max: 106.95156 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 : 519 time to create 1 rle with old method : 0.0006628036499023438 length of segment : 32 time for calcul the mask position with numpy : 5.8650970458984375e-05 nb_pixel_total : 2099 time to create 1 rle with old method : 0.0025746822357177734 length of segment : 61 time for calcul the mask position with numpy : 0.0003657341003417969 nb_pixel_total : 22044 time to create 1 rle with old method : 0.030615568161010742 length of segment : 212 time for calcul the mask position with numpy : 6.151199340820312e-05 nb_pixel_total : 709 time to create 1 rle with old method : 0.0009253025054931641 length of segment : 39 time for calcul the mask position with numpy : 6.031990051269531e-05 nb_pixel_total : 1358 time to create 1 rle with old method : 0.0017292499542236328 length of segment : 38 time for calcul the mask position with numpy : 0.00016427040100097656 nb_pixel_total : 5341 time to create 1 rle with old method : 0.0067021846771240234 length of segment : 159 time for calcul the mask position with numpy : 6.222724914550781e-05 nb_pixel_total : 710 time to create 1 rle with old method : 0.0009920597076416016 length of segment : 42 time for calcul the mask position with numpy : 4.839897155761719e-05 nb_pixel_total : 738 time to create 1 rle with old method : 0.0009810924530029297 length of segment : 40 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -116.84453 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 12 time for calcul the mask position with numpy : 7.176399230957031e-05 nb_pixel_total : 261 time to create 1 rle with old method : 0.0004553794860839844 length of segment : 19 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 352 time to create 1 rle with old method : 0.0004978179931640625 length of segment : 47 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 126 time to create 1 rle with old method : 0.00022745132446289062 length of segment : 10 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 280 time to create 1 rle with old method : 0.0004322528839111328 length of segment : 19 time for calcul the mask position with numpy : 4.0531158447265625e-05 nb_pixel_total : 473 time to create 1 rle with old method : 0.004937171936035156 length of segment : 29 time for calcul the mask position with numpy : 6.365776062011719e-05 nb_pixel_total : 187 time to create 1 rle with old method : 0.0005335807800292969 length of segment : 13 time for calcul the mask position with numpy : 3.123283386230469e-05 nb_pixel_total : 171 time to create 1 rle with old method : 0.0002803802490234375 length of segment : 9 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 223 time to create 1 rle with old method : 0.00031304359436035156 length of segment : 15 time for calcul the mask position with numpy : 3.218650817871094e-05 nb_pixel_total : 92 time to create 1 rle with old method : 0.00014901161193847656 length of segment : 22 time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 530 time to create 1 rle with old method : 0.0006468296051025391 length of segment : 89 time for calcul the mask position with numpy : 3.170967102050781e-05 nb_pixel_total : 90 time to create 1 rle with old method : 0.00016641616821289062 length of segment : 8 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 231 time to create 1 rle with old method : 0.0003826618194580078 length of segment : 15 Processing 1 images image shape: (400, 400, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -118.98906 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.841255187988281e-05 nb_pixel_total : 1542 time to create 1 rle with old method : 0.0020246505737304688 length of segment : 60 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 447 time to create 1 rle with old method : 0.0006289482116699219 length of segment : 28 time for calcul the mask position with numpy : 3.337860107421875e-05 nb_pixel_total : 212 time to create 1 rle with old method : 0.00030922889709472656 length of segment : 21 time for calcul the mask position with numpy : 4.8160552978515625e-05 nb_pixel_total : 1401 time to create 1 rle with old method : 0.0017056465148925781 length of segment : 45 time for calcul the mask position with numpy : 9.775161743164062e-05 nb_pixel_total : 4235 time to create 1 rle with old method : 0.0050449371337890625 length of segment : 101 time for calcul the mask position with numpy : 5.936622619628906e-05 nb_pixel_total : 1709 time to create 1 rle with old method : 0.0023097991943359375 length of segment : 32 time for calcul the mask position with numpy : 0.00042939186096191406 nb_pixel_total : 19004 time to create 1 rle with old method : 0.02204275131225586 length of segment : 371 time for calcul the mask position with numpy : 0.00010776519775390625 nb_pixel_total : 3679 time to create 1 rle with old method : 0.004437685012817383 length of segment : 107 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 1716 time to create 1 rle with old method : 0.0020928382873535156 length of segment : 117 time for calcul the mask position with numpy : 4.172325134277344e-05 nb_pixel_total : 358 time to create 1 rle with old method : 0.0005369186401367188 length of segment : 19 time for calcul the mask position with numpy : 3.695487976074219e-05 nb_pixel_total : 344 time to create 1 rle with old method : 0.0005078315734863281 length of segment : 18 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: 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.38690185546875e-05 nb_pixel_total : 465 time to create 1 rle with old method : 0.00061798095703125 length of segment : 33 time for calcul the mask position with numpy : 0.00027823448181152344 nb_pixel_total : 4761 time to create 1 rle with old method : 0.007099628448486328 length of segment : 231 time for calcul the mask position with numpy : 5.459785461425781e-05 nb_pixel_total : 494 time to create 1 rle with old method : 0.0006723403930664062 length of segment : 51 time for calcul the mask position with numpy : 3.3855438232421875e-05 nb_pixel_total : 262 time to create 1 rle with old method : 0.000400543212890625 length of segment : 20 time for calcul the mask position with numpy : 0.00016760826110839844 nb_pixel_total : 4829 time to create 1 rle with old method : 0.005761623382568359 length of segment : 226 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 3474 time to create 1 rle with old method : 0.0059967041015625 length of segment : 186 time for calcul the mask position with numpy : 7.510185241699219e-05 nb_pixel_total : 175 time to create 1 rle with old method : 0.00024962425231933594 length of segment : 18 Processing 1 images image shape: (280, 400, 3) min: 5.00000 max: 171.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 41.93594 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.0010068416595458984 nb_pixel_total : 104429 time to create 1 rle with old method : 0.12822818756103516 length of segment : 284 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 253.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 135.54922 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 12 time for calcul the mask position with numpy : 7.939338684082031e-05 nb_pixel_total : 2311 time to create 1 rle with old method : 0.0028908252716064453 length of segment : 53 time for calcul the mask position with numpy : 0.0001049041748046875 nb_pixel_total : 4981 time to create 1 rle with old method : 0.006014108657836914 length of segment : 79 time for calcul the mask position with numpy : 0.0003483295440673828 nb_pixel_total : 25194 time to create 1 rle with old method : 0.034462690353393555 length of segment : 214 time for calcul the mask position with numpy : 4.267692565917969e-05 nb_pixel_total : 88 time to create 1 rle with old method : 0.00016808509826660156 length of segment : 10 time for calcul the mask position with numpy : 0.00015115737915039062 nb_pixel_total : 5494 time to create 1 rle with old method : 0.006995677947998047 length of segment : 84 time for calcul the mask position with numpy : 6.198883056640625e-05 nb_pixel_total : 1014 time to create 1 rle with old method : 0.0013911724090576172 length of segment : 29 time for calcul the mask position with numpy : 3.457069396972656e-05 nb_pixel_total : 162 time to create 1 rle with old method : 0.0002589225769042969 length of segment : 11 time for calcul the mask position with numpy : 3.361701965332031e-05 nb_pixel_total : 196 time to create 1 rle with old method : 0.00028443336486816406 length of segment : 16 time for calcul the mask position with numpy : 0.00010442733764648438 nb_pixel_total : 4371 time to create 1 rle with old method : 0.005101203918457031 length of segment : 114 time for calcul the mask position with numpy : 0.0003559589385986328 nb_pixel_total : 25045 time to create 1 rle with old method : 0.034177541732788086 length of segment : 222 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 567 time to create 1 rle with old method : 0.0008754730224609375 length of segment : 43 time for calcul the mask position with numpy : 0.0001537799835205078 nb_pixel_total : 5430 time to create 1 rle with old method : 0.0064239501953125 length of segment : 84 Processing 1 images image shape: (280, 400, 3) min: 0.00000 max: 238.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 120.13516 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 15 time for calcul the mask position with numpy : 4.363059997558594e-05 nb_pixel_total : 264 time to create 1 rle with old method : 0.0003771781921386719 length of segment : 20 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 665 time to create 1 rle with old method : 0.0008845329284667969 length of segment : 32 time for calcul the mask position with numpy : 4.1484832763671875e-05 nb_pixel_total : 477 time to create 1 rle with old method : 0.0006246566772460938 length of segment : 24 time for calcul the mask position with numpy : 3.7670135498046875e-05 nb_pixel_total : 335 time to create 1 rle with old method : 0.00047850608825683594 length of segment : 23 time for calcul the mask position with numpy : 4.315376281738281e-05 nb_pixel_total : 461 time to create 1 rle with old method : 0.0006222724914550781 length of segment : 74 time for calcul the mask position with numpy : 4.1961669921875e-05 nb_pixel_total : 388 time to create 1 rle with old method : 0.0005433559417724609 length of segment : 21 time for calcul the mask position with numpy : 4.00543212890625e-05 nb_pixel_total : 182 time to create 1 rle with old method : 0.0003314018249511719 length of segment : 17 time for calcul the mask position with numpy : 6.437301635742188e-05 nb_pixel_total : 545 time to create 1 rle with old method : 0.0010955333709716797 length of segment : 30 time for calcul the mask position with numpy : 4.9114227294921875e-05 nb_pixel_total : 165 time to create 1 rle with old method : 0.00036025047302246094 length of segment : 16 time for calcul the mask position with numpy : 4.982948303222656e-05 nb_pixel_total : 107 time to create 1 rle with old method : 0.0002689361572265625 length of segment : 12 time for calcul the mask position with numpy : 3.0994415283203125e-05 nb_pixel_total : 175 time to create 1 rle with old method : 0.0002465248107910156 length of segment : 16 time for calcul the mask position with numpy : 6.580352783203125e-05 nb_pixel_total : 359 time to create 1 rle with old method : 0.0005650520324707031 length of segment : 25 time for calcul the mask position with numpy : 3.314018249511719e-05 nb_pixel_total : 128 time to create 1 rle with old method : 0.00019598007202148438 length of segment : 15 time for calcul the mask position with numpy : 2.9325485229492188e-05 nb_pixel_total : 66 time to create 1 rle with old method : 0.000110626220703125 length of segment : 10 time for calcul the mask position with numpy : 5.984306335449219e-05 nb_pixel_total : 771 time to create 1 rle with old method : 0.00141143798828125 length of segment : 31 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: 144.91250 image_metas shape: (1, 17) min: 0.00000 max: 640.00000 nb d'objets trouves : 7 time for calcul the mask position with numpy : 5.269050598144531e-05 nb_pixel_total : 330 time to create 1 rle with old method : 0.0006639957427978516 length of segment : 19 time for calcul the mask position with numpy : 4.601478576660156e-05 nb_pixel_total : 274 time to create 1 rle with old method : 0.0004763603210449219 length of segment : 20 time for calcul the mask position with numpy : 7.653236389160156e-05 nb_pixel_total : 954 time to create 1 rle with old method : 0.0016632080078125 length of segment : 115 time for calcul the mask position with numpy : 4.935264587402344e-05 nb_pixel_total : 411 time to create 1 rle with old method : 0.0005428791046142578 length of segment : 30 time for calcul the mask position with numpy : 4.792213439941406e-05 nb_pixel_total : 265 time to create 1 rle with old method : 0.0003807544708251953 length of segment : 46 time for calcul the mask position with numpy : 3.24249267578125e-05 nb_pixel_total : 109 time to create 1 rle with old method : 0.00016808509826660156 length of segment : 15 time for calcul the mask position with numpy : 3.147125244140625e-05 nb_pixel_total : 116 time to create 1 rle with old method : 0.00019311904907226562 length of segment : 11 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: 129.22500 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.0004513263702392578 nb_pixel_total : 37581 time to create 1 rle with old method : 0.042128562927246094 length of segment : 216 time for calcul the mask position with numpy : 8.249282836914062e-05 nb_pixel_total : 962 time to create 1 rle with old method : 0.0012290477752685547 length of segment : 88 Detection mask done ! Trying to reset tf kernel 2316890 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4059 tf kernel not reseted sub process len(results) : 190 len(list_Values) 190 None max_time_sub_proc : 3600 parent process len(results) : 0 len(list_Values) 190 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 : 9348 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 190 chid ids of type : 4228 Number RLEs to save : 11304 save missing photos in datou_result : time spend for datou_step_exec : 27.970157623291016 time spend to save output : 0.8976550102233887 total time spend for step 1 : 28.867812633514404 step2:brightness Mon Mar 3 13:20:57 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/1741004428_2316184_1340620230_fcd72247fe249a53dd7dbb46513b284e.jpg treat image : temp/1741004428_2316184_1340620227_1fce80584bf4fbc91df71c04d6c01c48.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.10286498069763184 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.012943506240844727 save missing photos in datou_result : time spend for datou_step_exec : 0.5218937397003174 time spend to save output : 0.12076711654663086 total time spend for step 2 : 0.6426608562469482 step3:blur_detection Mon Mar 3 13:20:58 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/1741004428_2316184_1340620230_fcd72247fe249a53dd7dbb46513b284e.jpg resize: (1080, 1920) 1340620230 -7.574230459063801 treat image : temp/1741004428_2316184_1340620227_1fce80584bf4fbc91df71c04d6c01c48.jpg resize: (1080, 1920) 1340620227 -7.559947618783277 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.011568546295166016 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.011059999465942383 save missing photos in datou_result : time spend for datou_step_exec : 1.9996912479400635 time spend to save output : 0.026931285858154297 total time spend for step 3 : 2.0266225337982178 step4:rle_unique_nms_with_priority Mon Mar 3 13:21:00 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 190 chid ids of type : 4228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 93 nb_hashtags : 7 time to prepare the origin masks : 1.1747817993164062 time for calcul the mask position with numpy : 0.09238719940185547 nb_pixel_total : 1797545 time to create 1 rle with new method : 0.09831738471984863 time for calcul the mask position with numpy : 0.008526086807250977 nb_pixel_total : 1996 time to create 1 rle with old method : 0.0023195743560791016 time for calcul the mask position with numpy : 0.00946497917175293 nb_pixel_total : 176 time to create 1 rle with old method : 0.0002448558807373047 time for calcul the mask position with numpy : 0.00840616226196289 nb_pixel_total : 676 time to create 1 rle with old method : 0.000789642333984375 time for calcul the mask position with numpy : 0.008382558822631836 nb_pixel_total : 43 time to create 1 rle with old method : 7.62939453125e-05 time for calcul the mask position with numpy : 0.008422613143920898 nb_pixel_total : 189 time to create 1 rle with old method : 0.0002257823944091797 time for calcul the mask position with numpy : 0.008362054824829102 nb_pixel_total : 982 time to create 1 rle with old method : 0.0011129379272460938 time for calcul the mask position with numpy : 0.008297443389892578 nb_pixel_total : 10840 time to create 1 rle with old method : 0.012197732925415039 time for calcul the mask position with numpy : 0.00842428207397461 nb_pixel_total : 518 time to create 1 rle with old method : 0.0005848407745361328 time for calcul the mask position with numpy : 0.008553504943847656 nb_pixel_total : 60 time to create 1 rle with old method : 8.034706115722656e-05 time for calcul the mask position with numpy : 0.008424520492553711 nb_pixel_total : 3 time to create 1 rle with old method : 1.2159347534179688e-05 time for calcul the mask position with numpy : 0.008485078811645508 nb_pixel_total : 44280 time to create 1 rle with old method : 0.04983711242675781 time for calcul the mask position with numpy : 0.008724689483642578 nb_pixel_total : 2382 time to create 1 rle with old method : 0.0027434825897216797 time for calcul the mask position with numpy : 0.008664369583129883 nb_pixel_total : 207 time to create 1 rle with old method : 0.0002551078796386719 time for calcul the mask position with numpy : 0.008455514907836914 nb_pixel_total : 1179 time to create 1 rle with old method : 0.0013170242309570312 time for calcul the mask position with numpy : 0.008531332015991211 nb_pixel_total : 247 time to create 1 rle with old method : 0.00027942657470703125 time for calcul the mask position with numpy : 0.008766889572143555 nb_pixel_total : 644 time to create 1 rle with old method : 0.001111745834350586 time for calcul the mask position with numpy : 0.008522272109985352 nb_pixel_total : 551 time to create 1 rle with old method : 0.0006206035614013672 time for calcul the mask position with numpy : 0.008379936218261719 nb_pixel_total : 644 time to create 1 rle with old method : 0.0007143020629882812 time for calcul the mask position with numpy : 0.008403301239013672 nb_pixel_total : 1950 time to create 1 rle with old method : 0.0022444725036621094 time for calcul the mask position with numpy : 0.008450746536254883 nb_pixel_total : 2213 time to create 1 rle with old method : 0.0024755001068115234 time for calcul the mask position with numpy : 0.008452415466308594 nb_pixel_total : 3316 time to create 1 rle with old method : 0.0037543773651123047 time for calcul the mask position with numpy : 0.008457422256469727 nb_pixel_total : 4132 time to create 1 rle with old method : 0.004967451095581055 time for calcul the mask position with numpy : 0.008676528930664062 nb_pixel_total : 490 time to create 1 rle with old method : 0.0005941390991210938 time for calcul the mask position with numpy : 0.008579492568969727 nb_pixel_total : 535 time to create 1 rle with old method : 0.0006558895111083984 time for calcul the mask position with numpy : 0.008874654769897461 nb_pixel_total : 41 time to create 1 rle with old method : 8.177757263183594e-05 time for calcul the mask position with numpy : 0.009047269821166992 nb_pixel_total : 2138 time to create 1 rle with old method : 0.002585172653198242 time for calcul the mask position with numpy : 0.008623600006103516 nb_pixel_total : 1854 time to create 1 rle with old method : 0.002102375030517578 time for calcul the mask position with numpy : 0.008491754531860352 nb_pixel_total : 845 time to create 1 rle with old method : 0.0010585784912109375 time for calcul the mask position with numpy : 0.00840616226196289 nb_pixel_total : 3615 time to create 1 rle with old method : 0.0040378570556640625 time for calcul the mask position with numpy : 0.009499073028564453 nb_pixel_total : 511 time to create 1 rle with old method : 0.0005898475646972656 time for calcul the mask position with numpy : 0.008348703384399414 nb_pixel_total : 484 time to create 1 rle with old method : 0.0005664825439453125 time for calcul the mask position with numpy : 0.008355140686035156 nb_pixel_total : 4849 time to create 1 rle with old method : 0.005522251129150391 time for calcul the mask position with numpy : 0.008411884307861328 nb_pixel_total : 150 time to create 1 rle with old method : 0.00018548965454101562 time for calcul the mask position with numpy : 0.00837254524230957 nb_pixel_total : 797 time to create 1 rle with old method : 0.0009069442749023438 time for calcul the mask position with numpy : 0.009871244430541992 nb_pixel_total : 678 time to create 1 rle with old method : 0.0008151531219482422 time for calcul the mask position with numpy : 0.010185480117797852 nb_pixel_total : 875 time to create 1 rle with old method : 0.0010364055633544922 time for calcul the mask position with numpy : 0.008425235748291016 nb_pixel_total : 447 time to create 1 rle with old method : 0.0005276203155517578 time for calcul the mask position with numpy : 0.008388996124267578 nb_pixel_total : 1385 time to create 1 rle with old method : 0.0015454292297363281 time for calcul the mask position with numpy : 0.008344411849975586 nb_pixel_total : 12333 time to create 1 rle with old method : 0.013756990432739258 time for calcul the mask position with numpy : 0.008411884307861328 nb_pixel_total : 9695 time to create 1 rle with old method : 0.010812044143676758 time for calcul the mask position with numpy : 0.008397340774536133 nb_pixel_total : 499 time to create 1 rle with old method : 0.0005631446838378906 time for calcul the mask position with numpy : 0.008372306823730469 nb_pixel_total : 429 time to create 1 rle with old method : 0.0005204677581787109 time for calcul the mask position with numpy : 0.008388996124267578 nb_pixel_total : 815 time to create 1 rle with old method : 0.0009260177612304688 time for calcul the mask position with numpy : 0.008368492126464844 nb_pixel_total : 176 time to create 1 rle with old method : 0.0003387928009033203 time for calcul the mask position with numpy : 0.008328914642333984 nb_pixel_total : 170 time to create 1 rle with old method : 0.00026154518127441406 time for calcul the mask position with numpy : 0.008275747299194336 nb_pixel_total : 4780 time to create 1 rle with old method : 0.005336761474609375 time for calcul the mask position with numpy : 0.008339643478393555 nb_pixel_total : 138 time to create 1 rle with old method : 0.00017905235290527344 time for calcul the mask position with numpy : 0.008386373519897461 nb_pixel_total : 432 time to create 1 rle with old method : 0.0005018711090087891 time for calcul the mask position with numpy : 0.008405685424804688 nb_pixel_total : 499 time to create 1 rle with old method : 0.0005702972412109375 time for calcul the mask position with numpy : 0.008410453796386719 nb_pixel_total : 36 time to create 1 rle with old method : 5.984306335449219e-05 time for calcul the mask position with numpy : 0.008414268493652344 nb_pixel_total : 253 time to create 1 rle with old method : 0.0002961158752441406 time for calcul the mask position with numpy : 0.008713722229003906 nb_pixel_total : 108 time to create 1 rle with old method : 0.00015115737915039062 time for calcul the mask position with numpy : 0.008417367935180664 nb_pixel_total : 175 time to create 1 rle with old method : 0.0002129077911376953 time for calcul the mask position with numpy : 0.009445667266845703 nb_pixel_total : 221 time to create 1 rle with old method : 0.00026535987854003906 time for calcul the mask position with numpy : 0.00841665267944336 nb_pixel_total : 729 time to create 1 rle with old method : 0.0008068084716796875 time for calcul the mask position with numpy : 0.008392572402954102 nb_pixel_total : 253 time to create 1 rle with old method : 0.0002944469451904297 time for calcul the mask position with numpy : 0.009375333786010742 nb_pixel_total : 103669 time to create 1 rle with old method : 0.11322689056396484 time for calcul the mask position with numpy : 0.008421897888183594 nb_pixel_total : 1308 time to create 1 rle with old method : 0.0015065670013427734 time for calcul the mask position with numpy : 0.008449077606201172 nb_pixel_total : 23865 time to create 1 rle with old method : 0.027910709381103516 time for calcul the mask position with numpy : 0.008420944213867188 nb_pixel_total : 59 time to create 1 rle with old method : 8.177757263183594e-05 time for calcul the mask position with numpy : 0.00847315788269043 nb_pixel_total : 1148 time to create 1 rle with old method : 0.0013022422790527344 time for calcul the mask position with numpy : 0.008444070816040039 nb_pixel_total : 184 time to create 1 rle with old method : 0.00022792816162109375 time for calcul the mask position with numpy : 0.008550643920898438 nb_pixel_total : 353 time to create 1 rle with old method : 0.00043129920959472656 time for calcul the mask position with numpy : 0.008479595184326172 nb_pixel_total : 169 time to create 1 rle with old method : 0.00020623207092285156 time for calcul the mask position with numpy : 0.008495807647705078 nb_pixel_total : 301 time to create 1 rle with old method : 0.000347137451171875 time for calcul the mask position with numpy : 0.008416175842285156 nb_pixel_total : 2349 time to create 1 rle with old method : 0.002652883529663086 time for calcul the mask position with numpy : 0.008511543273925781 nb_pixel_total : 49 time to create 1 rle with old method : 6.29425048828125e-05 time for calcul the mask position with numpy : 0.008368253707885742 nb_pixel_total : 137 time to create 1 rle with old method : 0.00016450881958007812 time for calcul the mask position with numpy : 0.008365869522094727 nb_pixel_total : 97 time to create 1 rle with old method : 0.00041937828063964844 time for calcul the mask position with numpy : 0.00834965705871582 nb_pixel_total : 214 time to create 1 rle with old method : 0.0002598762512207031 time for calcul the mask position with numpy : 0.008514165878295898 nb_pixel_total : 983 time to create 1 rle with old method : 0.001130819320678711 time for calcul the mask position with numpy : 0.008643388748168945 nb_pixel_total : 250 time to create 1 rle with old method : 0.00031280517578125 time for calcul the mask position with numpy : 0.008486032485961914 nb_pixel_total : 170 time to create 1 rle with old method : 0.00019550323486328125 time for calcul the mask position with numpy : 0.008416175842285156 nb_pixel_total : 84 time to create 1 rle with old method : 0.00012540817260742188 time for calcul the mask position with numpy : 0.008449077606201172 nb_pixel_total : 395 time to create 1 rle with old method : 0.0005092620849609375 time for calcul the mask position with numpy : 0.010885953903198242 nb_pixel_total : 169 time to create 1 rle with old method : 0.0003466606140136719 time for calcul the mask position with numpy : 0.009281396865844727 nb_pixel_total : 112 time to create 1 rle with old method : 0.0001392364501953125 time for calcul the mask position with numpy : 0.008507728576660156 nb_pixel_total : 22 time to create 1 rle with old method : 4.029273986816406e-05 time for calcul the mask position with numpy : 0.010796308517456055 nb_pixel_total : 919 time to create 1 rle with old method : 0.0010716915130615234 time for calcul the mask position with numpy : 0.008396148681640625 nb_pixel_total : 5413 time to create 1 rle with old method : 0.005991697311401367 time for calcul the mask position with numpy : 0.008411169052124023 nb_pixel_total : 237 time to create 1 rle with old method : 0.00028443336486816406 time for calcul the mask position with numpy : 0.008426904678344727 nb_pixel_total : 1440 time to create 1 rle with old method : 0.0016596317291259766 time for calcul the mask position with numpy : 0.008393049240112305 nb_pixel_total : 333 time to create 1 rle with old method : 0.00038504600524902344 time for calcul the mask position with numpy : 0.008446455001831055 nb_pixel_total : 585 time to create 1 rle with old method : 0.0007417201995849609 time for calcul the mask position with numpy : 0.008495330810546875 nb_pixel_total : 145 time to create 1 rle with old method : 0.00018787384033203125 time for calcul the mask position with numpy : 0.008455514907836914 nb_pixel_total : 23 time to create 1 rle with old method : 5.841255187988281e-05 time for calcul the mask position with numpy : 0.00849151611328125 nb_pixel_total : 360 time to create 1 rle with old method : 0.0004189014434814453 time for calcul the mask position with numpy : 0.00865316390991211 nb_pixel_total : 514 time to create 1 rle with old method : 0.000614166259765625 time for calcul the mask position with numpy : 0.008664131164550781 nb_pixel_total : 171 time to create 1 rle with old method : 0.0002028942108154297 time for calcul the mask position with numpy : 0.008723735809326172 nb_pixel_total : 16 time to create 1 rle with old method : 4.291534423828125e-05 time for calcul the mask position with numpy : 0.008495807647705078 nb_pixel_total : 780 time to create 1 rle with old method : 0.0009055137634277344 time for calcul the mask position with numpy : 0.008412837982177734 nb_pixel_total : 2 time to create 1 rle with old method : 1.239776611328125e-05 time for calcul the mask position with numpy : 0.008439779281616211 nb_pixel_total : 367 time to create 1 rle with old method : 0.0004372596740722656 create new chi : 1.3145782947540283 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.01018524169921875 batch 1 Loaded 94 chid ids of type : 4230 Number RLEs to save : 10723 TO DO : save crop sub photo not yet done ! save time : 0.801983118057251 nb_obj : 93 nb_hashtags : 8 time to prepare the origin masks : 2.272324562072754 time for calcul the mask position with numpy : 0.11184167861938477 nb_pixel_total : 1752698 time to create 1 rle with new method : 0.12787818908691406 time for calcul the mask position with numpy : 0.008430004119873047 nb_pixel_total : 287 time to create 1 rle with old method : 0.0004839897155761719 time for calcul the mask position with numpy : 0.009168148040771484 nb_pixel_total : 51118 time to create 1 rle with old method : 0.07346200942993164 time for calcul the mask position with numpy : 0.00944209098815918 nb_pixel_total : 1383 time to create 1 rle with old method : 0.0021605491638183594 time for calcul the mask position with numpy : 0.009243249893188477 nb_pixel_total : 79 time to create 1 rle with old method : 0.00014472007751464844 time for calcul the mask position with numpy : 0.007830619812011719 nb_pixel_total : 732 time to create 1 rle with old method : 0.0009744167327880859 time for calcul the mask position with numpy : 0.008069276809692383 nb_pixel_total : 631 time to create 1 rle with old method : 0.0008456707000732422 time for calcul the mask position with numpy : 0.00868082046508789 nb_pixel_total : 23 time to create 1 rle with old method : 6.628036499023438e-05 time for calcul the mask position with numpy : 0.008217334747314453 nb_pixel_total : 265 time to create 1 rle with old method : 0.0004150867462158203 time for calcul the mask position with numpy : 0.009174585342407227 nb_pixel_total : 2267 time to create 1 rle with old method : 0.0038895606994628906 time for calcul the mask position with numpy : 0.008408784866333008 nb_pixel_total : 99 time to create 1 rle with old method : 0.00020074844360351562 time for calcul the mask position with numpy : 0.00840616226196289 nb_pixel_total : 94 time to create 1 rle with old method : 0.0001785755157470703 time for calcul the mask position with numpy : 0.008995294570922852 nb_pixel_total : 1251 time to create 1 rle with old method : 0.0015981197357177734 time for calcul the mask position with numpy : 0.007653474807739258 nb_pixel_total : 413 time to create 1 rle with old method : 0.0005860328674316406 time for calcul the mask position with numpy : 0.007788419723510742 nb_pixel_total : 398 time to create 1 rle with old method : 0.0005662441253662109 time for calcul the mask position with numpy : 0.009897708892822266 nb_pixel_total : 648 time to create 1 rle with old method : 0.0007812976837158203 time for calcul the mask position with numpy : 0.009062528610229492 nb_pixel_total : 2001 time to create 1 rle with old method : 0.0025382041931152344 time for calcul the mask position with numpy : 0.007399559020996094 nb_pixel_total : 762 time to create 1 rle with old method : 0.0009407997131347656 time for calcul the mask position with numpy : 0.007657289505004883 nb_pixel_total : 240 time to create 1 rle with old method : 0.0004088878631591797 time for calcul the mask position with numpy : 0.009345531463623047 nb_pixel_total : 2831 time to create 1 rle with old method : 0.0037755966186523438 time for calcul the mask position with numpy : 0.007675647735595703 nb_pixel_total : 527 time to create 1 rle with old method : 0.0007293224334716797 time for calcul the mask position with numpy : 0.012848615646362305 nb_pixel_total : 530 time to create 1 rle with old method : 0.0006937980651855469 time for calcul the mask position with numpy : 0.013310909271240234 nb_pixel_total : 1709 time to create 1 rle with old method : 0.0022933483123779297 time for calcul the mask position with numpy : 0.013218402862548828 nb_pixel_total : 90 time to create 1 rle with old method : 0.00015664100646972656 time for calcul the mask position with numpy : 0.011727094650268555 nb_pixel_total : 280 time to create 1 rle with old method : 0.0003943443298339844 time for calcul the mask position with numpy : 0.012673616409301758 nb_pixel_total : 23 time to create 1 rle with old method : 6.008148193359375e-05 time for calcul the mask position with numpy : 0.014008760452270508 nb_pixel_total : 12 time to create 1 rle with old method : 4.887580871582031e-05 time for calcul the mask position with numpy : 0.011983633041381836 nb_pixel_total : 4235 time to create 1 rle with old method : 0.005753040313720703 time for calcul the mask position with numpy : 0.008656501770019531 nb_pixel_total : 352 time to create 1 rle with old method : 0.0004215240478515625 time for calcul the mask position with numpy : 0.008686065673828125 nb_pixel_total : 261 time to create 1 rle with old method : 0.00039386749267578125 time for calcul the mask position with numpy : 0.010396003723144531 nb_pixel_total : 187 time to create 1 rle with old method : 0.0002911090850830078 time for calcul the mask position with numpy : 0.013025522232055664 nb_pixel_total : 447 time to create 1 rle with old method : 0.0006792545318603516 time for calcul the mask position with numpy : 0.01592540740966797 nb_pixel_total : 1401 time to create 1 rle with old method : 0.003622293472290039 time for calcul the mask position with numpy : 0.008739471435546875 nb_pixel_total : 473 time to create 1 rle with old method : 0.000812530517578125 time for calcul the mask position with numpy : 0.009075164794921875 nb_pixel_total : 22044 time to create 1 rle with old method : 0.03802609443664551 time for calcul the mask position with numpy : 0.009905815124511719 nb_pixel_total : 19004 time to create 1 rle with old method : 0.027032136917114258 time for calcul the mask position with numpy : 0.008433103561401367 nb_pixel_total : 465 time to create 1 rle with old method : 0.0005939006805419922 time for calcul the mask position with numpy : 0.009206295013427734 nb_pixel_total : 91 time to create 1 rle with old method : 0.00025010108947753906 time for calcul the mask position with numpy : 0.007588863372802734 nb_pixel_total : 223 time to create 1 rle with old method : 0.0003540515899658203 time for calcul the mask position with numpy : 0.008388280868530273 nb_pixel_total : 205 time to create 1 rle with old method : 0.00024819374084472656 time for calcul the mask position with numpy : 0.008243799209594727 nb_pixel_total : 457 time to create 1 rle with old method : 0.0009374618530273438 time for calcul the mask position with numpy : 0.00831151008605957 nb_pixel_total : 4761 time to create 1 rle with old method : 0.0063626766204833984 time for calcul the mask position with numpy : 0.0078105926513671875 nb_pixel_total : 1542 time to create 1 rle with old method : 0.002054452896118164 time for calcul the mask position with numpy : 0.007659435272216797 nb_pixel_total : 494 time to create 1 rle with old method : 0.0005898475646972656 time for calcul the mask position with numpy : 0.007930755615234375 nb_pixel_total : 358 time to create 1 rle with old method : 0.0004458427429199219 time for calcul the mask position with numpy : 0.009611129760742188 nb_pixel_total : 113 time to create 1 rle with old method : 0.00022482872009277344 time for calcul the mask position with numpy : 0.007182598114013672 nb_pixel_total : 262 time to create 1 rle with old method : 0.0003230571746826172 time for calcul the mask position with numpy : 0.0068264007568359375 nb_pixel_total : 18 time to create 1 rle with old method : 0.0001628398895263672 time for calcul the mask position with numpy : 0.007900476455688477 nb_pixel_total : 175 time to create 1 rle with old method : 0.0002200603485107422 time for calcul the mask position with numpy : 0.007873296737670898 nb_pixel_total : 126 time to create 1 rle with old method : 0.0001678466796875 time for calcul the mask position with numpy : 0.006886959075927734 nb_pixel_total : 92 time to create 1 rle with old method : 0.00012540817260742188 time for calcul the mask position with numpy : 0.010323524475097656 nb_pixel_total : 1654 time to create 1 rle with old method : 0.001958608627319336 time for calcul the mask position with numpy : 0.007194042205810547 nb_pixel_total : 171 time to create 1 rle with old method : 0.0002315044403076172 time for calcul the mask position with numpy : 0.00766301155090332 nb_pixel_total : 519 time to create 1 rle with old method : 0.0006835460662841797 time for calcul the mask position with numpy : 0.007367372512817383 nb_pixel_total : 134 time to create 1 rle with old method : 0.0002913475036621094 time for calcul the mask position with numpy : 0.007215738296508789 nb_pixel_total : 2099 time to create 1 rle with old method : 0.0024123191833496094 time for calcul the mask position with numpy : 0.007797718048095703 nb_pixel_total : 710 time to create 1 rle with old method : 0.0012660026550292969 time for calcul the mask position with numpy : 0.007807493209838867 nb_pixel_total : 80 time to create 1 rle with old method : 0.0001544952392578125 time for calcul the mask position with numpy : 0.007017374038696289 nb_pixel_total : 709 time to create 1 rle with old method : 0.00130462646484375 time for calcul the mask position with numpy : 0.008219480514526367 nb_pixel_total : 104429 time to create 1 rle with old method : 0.13248634338378906 time for calcul the mask position with numpy : 0.007949113845825195 nb_pixel_total : 1092 time to create 1 rle with old method : 0.0016734600067138672 time for calcul the mask position with numpy : 0.008880615234375 nb_pixel_total : 18703 time to create 1 rle with old method : 0.02677607536315918 time for calcul the mask position with numpy : 0.015232086181640625 nb_pixel_total : 962 time to create 1 rle with old method : 0.0012812614440917969 time for calcul the mask position with numpy : 0.011910438537597656 nb_pixel_total : 116 time to create 1 rle with old method : 0.0001544952392578125 time for calcul the mask position with numpy : 0.010319232940673828 nb_pixel_total : 359 time to create 1 rle with old method : 0.0004792213439941406 time for calcul the mask position with numpy : 0.013381004333496094 nb_pixel_total : 37581 time to create 1 rle with old method : 0.05042743682861328 time for calcul the mask position with numpy : 0.011258602142333984 nb_pixel_total : 330 time to create 1 rle with old method : 0.0004134178161621094 time for calcul the mask position with numpy : 0.012700319290161133 nb_pixel_total : 2311 time to create 1 rle with old method : 0.0027115345001220703 time for calcul the mask position with numpy : 0.015093088150024414 nb_pixel_total : 66 time to create 1 rle with old method : 0.00010991096496582031 time for calcul the mask position with numpy : 0.011291980743408203 nb_pixel_total : 4981 time to create 1 rle with old method : 0.006749391555786133 time for calcul the mask position with numpy : 0.010662555694580078 nb_pixel_total : 477 time to create 1 rle with old method : 0.0005590915679931641 time for calcul the mask position with numpy : 0.01044607162475586 nb_pixel_total : 88 time to create 1 rle with old method : 0.00013327598571777344 time for calcul the mask position with numpy : 0.012994050979614258 nb_pixel_total : 264 time to create 1 rle with old method : 0.0003287792205810547 time for calcul the mask position with numpy : 0.010453224182128906 nb_pixel_total : 519 time to create 1 rle with old method : 0.0006990432739257812 time for calcul the mask position with numpy : 0.011153221130371094 nb_pixel_total : 196 time to create 1 rle with old method : 0.00025916099548339844 time for calcul the mask position with numpy : 0.012120246887207031 nb_pixel_total : 4371 time to create 1 rle with old method : 0.00504755973815918 time for calcul the mask position with numpy : 0.009661674499511719 nb_pixel_total : 274 time to create 1 rle with old method : 0.0003707408905029297 time for calcul the mask position with numpy : 0.010141611099243164 nb_pixel_total : 175 time to create 1 rle with old method : 0.00021886825561523438 time for calcul the mask position with numpy : 0.008671283721923828 nb_pixel_total : 182 time to create 1 rle with old method : 0.00023221969604492188 time for calcul the mask position with numpy : 0.011494159698486328 nb_pixel_total : 165 time to create 1 rle with old method : 0.0002658367156982422 time for calcul the mask position with numpy : 0.0115509033203125 nb_pixel_total : 411 time to create 1 rle with old method : 0.0005450248718261719 time for calcul the mask position with numpy : 0.013590812683105469 nb_pixel_total : 107 time to create 1 rle with old method : 0.0001442432403564453 time for calcul the mask position with numpy : 0.010987997055053711 nb_pixel_total : 74 time to create 1 rle with old method : 0.00022149085998535156 time for calcul the mask position with numpy : 0.014397382736206055 nb_pixel_total : 5494 time to create 1 rle with old method : 0.0073299407958984375 time for calcul the mask position with numpy : 0.010739564895629883 nb_pixel_total : 264 time to create 1 rle with old method : 0.0004448890686035156 time for calcul the mask position with numpy : 0.011966705322265625 nb_pixel_total : 665 time to create 1 rle with old method : 0.0007841587066650391 time for calcul the mask position with numpy : 0.010772466659545898 nb_pixel_total : 954 time to create 1 rle with old method : 0.0011839866638183594 time for calcul the mask position with numpy : 0.010782241821289062 nb_pixel_total : 461 time to create 1 rle with old method : 0.0005843639373779297 time for calcul the mask position with numpy : 0.011304616928100586 nb_pixel_total : 109 time to create 1 rle with old method : 0.00016379356384277344 time for calcul the mask position with numpy : 0.01286768913269043 nb_pixel_total : 128 time to create 1 rle with old method : 0.0001804828643798828 time for calcul the mask position with numpy : 0.01440286636352539 nb_pixel_total : 545 time to create 1 rle with old method : 0.00089263916015625 time for calcul the mask position with numpy : 0.01244664192199707 nb_pixel_total : 388 time to create 1 rle with old method : 0.0004525184631347656 time for calcul the mask position with numpy : 0.012166976928710938 nb_pixel_total : 771 time to create 1 rle with old method : 0.0009236335754394531 time for calcul the mask position with numpy : 0.008589029312133789 nb_pixel_total : 335 time to create 1 rle with old method : 0.0004420280456542969 create new chi : 1.626734733581543 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.002286195755004883 batch 1 Loaded 94 chid ids of type : 4230 Number RLEs to save : 10575 TO DO : save crop sub photo not yet done ! save time : 0.9501831531524658 map_output_result : {1340620230: (0.0, 'Should be the crop_list due to order', 0.0), 1340620227: (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 [1340620230, 1340620227] Looping around the photos to save general results len do output : 2 /1340620230.Didn't retrieve data . /1340620227.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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.19294977188110352 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.561115741729736 time spend to save output : 0.19351482391357422 total time spend for step 4 : 8.75463056564331 step5:crop_condition Mon Mar 3 13:21:09 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 188 chid ids of type : 4230 begin to crop the class : papier param for this class : {'min_score': 0.6} filtre for class : papier hashtag_id of this class : 492668766 Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! Next one ! 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 : 64 About to insert : list_path_to_insert length 64 new photo from crops ! About to upload 64 photos upload in portfolio : 4869462 init cache_photo without model_param we have 64 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741004470_2316184 we have uploaded 64 photos in the portfolio 4869462 time of upload the photos Elapsed time : 14.943861722946167 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/1741004486_2316184 we have uploaded 15 photos in the portfolio 4869462 time of upload the photos Elapsed time : 3.8116936683654785 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 ! Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 4869462 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741004490_2316184 we have uploaded 3 photos in the portfolio 4869462 time of upload the photos Elapsed time : 1.0748636722564697 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 4869462 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741004491_2316184 we have uploaded 10 photos in the portfolio 4869462 time of upload the photos Elapsed time : 2.661295175552368 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 ! Next one ! Next one ! Next one ! Next one ! map_result returned by crop_photo_return_map_crop : length : 24 About to insert : list_path_to_insert length 24 new photo from crops ! About to upload 24 photos upload in portfolio : 4869462 init cache_photo without model_param we have 24 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741004494_2316184 we have uploaded 24 photos in the portfolio 4869462 time of upload the photos Elapsed time : 6.332843780517578 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.6} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.6} filtre for class : pet_fonce hashtag_id of this class : 2107755900 Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 4869462 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741004500_2316184 we have uploaded 1 photos in the portfolio 4869462 time of upload the photos Elapsed time : 0.6247923374176025 we have finished the crop for the class : pet_fonce delete rles for these photos Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1340620230, 1340620227] Looping around the photos to save general results len do output : 117 /1340622675Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622676Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622679Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340622818Didn'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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 353 time used for this insertion : 0.029445409774780273 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.26281809806824 time spend to save output : 0.03284597396850586 total time spend for step 5 : 32.29566407203674 step6:thcl Mon Mar 3 13:21:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.006230831146240234 time to convert the images to numpy array : 0.031206607818603516 time to import caffe and check if the image exist : 0.011580228805541992 time to convert the images to numpy array : 0.028126001358032227 time to import caffe and check if the image exist : 0.00629115104675293 time to convert the images to numpy array : 0.03766465187072754 time to import caffe and check if the image exist : 0.014985084533691406 time to convert the images to numpy array : 0.029324769973754883 time to import caffe and check if the image exist : 0.019789457321166992 time to convert the images to numpy array : 0.02846360206604004 time to import caffe and check if the image exist : 0.01588582992553711 time to convert the images to numpy array : 0.034947872161865234 time to import caffe and check if the image exist : 0.014317989349365234 time to convert the images to numpy array : 0.037425994873046875 time to import caffe and check if the image exist : 0.019704818725585938 time to convert the images to numpy array : 0.03273916244506836 time to import caffe and check if the image exist : 0.009020805358886719 time to convert the images to numpy array : 0.04543018341064453 time to import caffe and check if the image exist : 0.009597539901733398 time to convert the images to numpy array : 0.04510664939880371 total time to convert the images to numpy array : 0.3781924247741699 list photo_ids error: [] list photo_ids correct : [1340622726, 1340622727, 1340622728, 1340622729, 1340622730, 1340622731, 1340622732, 1340622733, 1340622734, 1340622735, 1340622737, 1340622740, 1340622759, 1340622760, 1340622761, 1340622762, 1340622763, 1340622764, 1340622765, 1340622766, 1340622767, 1340622768, 1340622774, 1340622775, 1340622702, 1340622703, 1340622704, 1340622705, 1340622706, 1340622707, 1340622708, 1340622709, 1340622710, 1340622711, 1340622712, 1340622713, 1340622808, 1340622809, 1340622810, 1340622811, 1340622812, 1340622813, 1340622814, 1340622815, 1340622818, 1340622688, 1340622689, 1340622690, 1340622691, 1340622692, 1340622694, 1340622695, 1340622697, 1340622698, 1340622699, 1340622700, 1340622701, 1340622776, 1340622777, 1340622778, 1340622779, 1340622780, 1340622781, 1340622782, 1340622783, 1340622792, 1340622793, 1340622794, 1340622795, 1340622741, 1340622742, 1340622743, 1340622744, 1340622751, 1340622752, 1340622753, 1340622754, 1340622755, 1340622756, 1340622757, 1340622758, 1340622796, 1340622797, 1340622798, 1340622799, 1340622800, 1340622801, 1340622802, 1340622803, 1340622804, 1340622805, 1340622806, 1340622807, 1340622675, 1340622676, 1340622677, 1340622678, 1340622679, 1340622680, 1340622681, 1340622682, 1340622683, 1340622684, 1340622686, 1340622687, 1340622714, 1340622715, 1340622716, 1340622717, 1340622718, 1340622719, 1340622720, 1340622721, 1340622722, 1340622723, 1340622724, 1340622725] number of photos to traite : 117 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 : 5058 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 : 4839 max_wait_temp : 1 max_wait : 0 dict_keys(['prob', 'pool5']) time used to do the prepocess of the images : 0.6532621383666992 time used to do the prediction : 0.6088564395904541 save descriptor for thcl : 3237 time to traite the descriptors : 0.7331154346466064 Catched exception ! Connect or reconnect ! storage_type for insertDescriptorsMulti : 3 To insert : 1340622726 To insert : 1340622727 To insert : 1340622728 To insert : 1340622729 To insert : 1340622730 To insert : 1340622731 To insert : 1340622732 To insert : 1340622733 To insert : 1340622734 To insert : 1340622735 To insert : 1340622737 To insert : 1340622740 To insert : 1340622759 To insert : 1340622760 To insert : 1340622761 To insert : 1340622762 To insert : 1340622763 To insert : 1340622764 To insert : 1340622765 To insert : 1340622766 To insert : 1340622767 To insert : 1340622768 To insert : 1340622774 To insert : 1340622775 To insert : 1340622702 To insert : 1340622703 To insert : 1340622704 To insert : 1340622705 To insert : 1340622706 To insert : 1340622707 To insert : 1340622708 To insert : 1340622709 To insert : 1340622710 To insert : 1340622711 To insert : 1340622712 To insert : 1340622713 To insert : 1340622808 To insert : 1340622809 To insert : 1340622810 To insert : 1340622811 To insert : 1340622812 To insert : 1340622813 To insert : 1340622814 To insert : 1340622815 To insert : 1340622818 To insert : 1340622688 To insert : 1340622689 To insert : 1340622690 To insert : 1340622691 To insert : 1340622692 To insert : 1340622694 To insert : 1340622695 To insert : 1340622697 To insert : 1340622698 To insert : 1340622699 To insert : 1340622700 To insert : 1340622701 To insert : 1340622776 To insert : 1340622777 To insert : 1340622778 To insert : 1340622779 To insert : 1340622780 To insert : 1340622781 To insert : 1340622782 To insert : 1340622783 To insert : 1340622792 To insert : 1340622793 To insert : 1340622794 To insert : 1340622795 To insert : 1340622741 To insert : 1340622742 To insert : 1340622743 To insert : 1340622744 To insert : 1340622751 To insert : 1340622752 To insert : 1340622753 To insert : 1340622754 To insert : 1340622755 To insert : 1340622756 To insert : 1340622757 To insert : 1340622758 To insert : 1340622796 To insert : 1340622797 To insert : 1340622798 To insert : 1340622799 To insert : 1340622800 To insert : 1340622801 To insert : 1340622802 To insert : 1340622803 To insert : 1340622804 To insert : 1340622805 To insert : 1340622806 To insert : 1340622807 To insert : 1340622675 To insert : 1340622676 To insert : 1340622677 To insert : 1340622678 To insert : 1340622679 To insert : 1340622680 To insert : 1340622681 To insert : 1340622682 To insert : 1340622683 To insert : 1340622684 To insert : 1340622686 To insert : 1340622687 To insert : 1340622714 To insert : 1340622715 To insert : 1340622716 To insert : 1340622717 To insert : 1340622718 To insert : 1340622719 To insert : 1340622720 To insert : 1340622721 To insert : 1340622722 To insert : 1340622723 To insert : 1340622724 To insert : 1340622725 time to insert the descriptors : 21.260597229003906 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 : 182 time used for this insertion : 0.0205228328704834 save missing photos in datou_result : time spend for datou_step_exec : 27.603578567504883 time spend to save output : 0.06620049476623535 total time spend for step 6 : 27.669779062271118 step7:ventilate_hashtags_in_portfolio Mon Mar 3 13:22:09 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 : 20975770 get user id for portfolio 20975770 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`=20975770 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Film_plastique','pet_clair','metal','pehd','PET_fonce','Papier','autre','carton','environnement','refus','pet_fonce','PET_clair','Tetrapak','PEHD','Carton','mal_croppe')) 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`=20975770 AND mptpi.`type`=4230 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Film_plastique','pet_clair','metal','pehd','PET_fonce','Papier','autre','carton','environnement','refus','pet_fonce','PET_clair','Tetrapak','PEHD','Carton','mal_croppe')) 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`=20975770 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Film_plastique','pet_clair','metal','pehd','PET_fonce','Papier','autre','carton','environnement','refus','pet_fonce','PET_clair','Tetrapak','PEHD','Carton','mal_croppe')) 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`=20975770 AND mptpi.`type`=4231 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','Film_plastique','pet_clair','metal','pehd','PET_fonce','Papier','autre','carton','environnement','refus','pet_fonce','PET_clair','Tetrapak','PEHD','Carton','mal_croppe')) AND mptpi.`min_score`=0.6 To do lien utilise dans velours : https://www.fotonower.com/velours/20976487,20976481,20976482,20976493,20976484,20976495,20976492,20976488,20976496,20976490,20976491,20976494,20976497?tags=papier,flou,film_plastique,pet_clair,metal,pehd,pet_fonce,autre,carton,environnement,refus,tetrapak,mal_croppe&datou_id_consolidate=4235&port_consolidate=20975770 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340620230, 1340620227] Looping around the photos to save general results len do output : 1 /20975770. 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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012552261352539062 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.255932569503784 time spend to save output : 0.012836694717407227 total time spend for step 7 : 2.2687692642211914 step8:final Mon Mar 3 13:22:11 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 : {1340620230: ('0.22744153111913654',), 1340620227: ('0.22744153111913654',)} new output for save of step final : {1340620230: ('0.22744153111913654',), 1340620227: ('0.22744153111913654',)} [1340620230, 1340620227] Looping around the photos to save general results len do output : 2 /1340620230.Didn't retrieve data . /1340620227.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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012656927108764648 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11319804191589355 time spend to save output : 0.012891054153442383 total time spend for step 8 : 0.12608909606933594 step9:velours_tree Mon Mar 3 13:22:11 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 : 20976487,20976481,20976482,20976493,20976484,20976495,20976492,20976488,20976496,20976490,20976491,20976494,20976497 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=20976487 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=20976481 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=20976482 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=20976493 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=20976484 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=20976495 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=20976492 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=20976488 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=20976496 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=20976490 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=20976491 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=20976494 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=20976497 ORDER BY ph.size desc - Loading descriptors... Size : 2048 len(descriptors) : 117 Compute structured hierarchical clustering... ward : AgglomerativeClustering(n_clusters=6) ward.labels_ : [4 0 3 4 2 0 2 1 0 2 1 3 0 0 1 5 0 5 0 0 1 0 0 0 0 0 0 0 3 1 3 1 1 1 0 1 1 1 1 0 1 2 1 2 1 2 1 5 0 1 1 5 1 0 0 0 3 3 1 1 1 1 0 1 0 0 1 1 1 0 0 2 0 3 1 0 1 4 1 3 1 3 3 1 1 1 3 2 1 1 1 1 4 4 2 0 0 1 0 2 1 1 4 4 1 2 2 3 0 0 1 0 1 1 2 1 0] Elapsed time: 0.024026155471801758 graph_id used : 81161 - Beta version, working pretty good on 11-5-16 ! https://www.fotonower.com/velours/20976487,20976481,20976482,20976493,20976484,20976495,20976492,20976488,20976496,20976490,20976491,20976494,20976497?tags=papier,flou,film_plastique,pet_clair,metal,pehd,pet_fonce,autre,carton,environnement,refus,tetrapak,mal_croppe&datou_id_consolidate=4235&port_consolidate=20975770&tree_id=81161 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : velours_tree we use saveGeneral [1340620230, 1340620227] Looping around the photos to save general results len do output : 1 /20975770Didn'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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.01272130012512207 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.828852891921997 time spend to save output : 0.012907743453979492 total time spend for step 9 : 6.841760635375977 step10:send_mail_cod Mon Mar 3 13:22:18 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_P20975770_03-03-2025_13_22_18.pdf 20976469 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 .imagette209764691741004538 20976463 imagette209764631741004539 20976464 imagette209764641741004539 20976475 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 .imagette209764751741004539 20976466 change filename to text .change filename to text .change filename to text .imagette209764661741004539 20976477 imagette209764771741004539 20976474 change filename to text .imagette209764741741004539 20976470 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 .imagette209764701741004540 20976478 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 .imagette209764781741004540 20976473 imagette209764731741004541 20976476 imagette209764761741004541 20976479 imagette209764791741004541 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20975770 and hashtag_type = 4230 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20976487,20976481,20976482,20976493,20976484,20976495,20976492,20976488,20976496,20976490,20976491,20976494,20976497?tags=papier,flou,film_plastique,pet_clair,metal,pehd,pet_fonce,autre,carton,environnement,refus,tetrapak,mal_croppe&datou_id_consolidate=4235&port_consolidate=20975770&tree_id=81161 your option no_mail is active, we will not send the real mail to your client args[1340620230] : ((1340620230, -7.574230459063801, 492609224), (1340620230, -0.4970147149758417, 501862349), '0.22744153111913654') We are sending mail with results at cod@fotonower.com args[1340620227] : ((1340620227, -7.559947618783277, 492609224), (1340620227, -0.47564954001592646, 496442774), '0.22744153111913654') We are sending mail with results at cod@fotonower.com refus_total : 0.22744153111913654 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=20975770 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_P20975770_03-03-2025_13_22_18.pdf results_Qualipapia_P20975770_03-03-2025_13_22_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20975770_03-03-2025_13_22_18.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','20975770','results_Qualipapia_P20975770_03-03-2025_13_22_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20975770_03-03-2025_13_22_18.pdf','pdf','','0.15','0.22744153111913654') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340620230, 1340620227] 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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.012628793716430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.465883731842041 time spend to save output : 0.012859344482421875 total time spend for step 10 : 4.478743076324463 step11:split_time_score Mon Mar 3 13:22:22 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 {} 03032025 20975770 Nombre de photos uploadées : 2 / 23040 (0%) 03032025 20975770 Nombre de photos taguées (types de déchets): 2 / 2 (100%) 03032025 20975770 Nombre de photos taguées (volume) : 0 / 2 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.4543533325195312e-05 ?? elapsed_time : fill_and_build_computed_from_old_data 0.0003139972686767578 elapsed_time : insert_dashboard_record_day_entry 0.024336814880371094 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 = 20971642 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971645 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971648 order by id desc limit 1 Qualite : 0.24990580864323264 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20971650_03-03-2025_11_49_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971650 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`=20971650 AND mptpi.`type`=4230 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971653 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20971655 order by id desc limit 1 Qualite : 0.23600992442472474 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20973187_03-03-2025_12_18_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20973187 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`=20973187 AND mptpi.`type`=4230 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20974581 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975749 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975751 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975753 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975755 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975757 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975760 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975762 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975764 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975766 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975768 order by id desc limit 1 Qualite : 0.22744153111913654 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20975770_03-03-2025_13_22_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975770 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`=20975770 AND mptpi.`type`=4230 To do Qualite : 0.24755054747535168 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Qualipapia_P20975772_03-03-2025_13_17_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20975772 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`=20975772 AND mptpi.`type`=4230 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03032025': {'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 [1340620230, 1340620227] Looping around the photos to save general results len do output : 1 /20975770Didn'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, '2629305') ('4234', '20975770', '1340620230', None, None, None, None, None, '2629305') ('4234', None, None, None, None, None, None, None, '2629305') ('4234', '20975770', '1340620227', None, None, None, None, None, '2629305') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.012081623077392578 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.386418104171753 time spend to save output : 0.012355327606201172 total time spend for step 11 : 12.398773431777954 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 33.60user 24.29system 2:09.71elapsed 44%CPU (0avgtext+0avgdata 2468832maxresident)k 1010736inputs+10616outputs (4362major+2122724minor)pagefaults 0swaps