python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 3318 ' -s datou_3318 -M 0 -S 0 -U 95,95,120 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 : 472041 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? 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 ? 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 ? 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 ? 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)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 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 : 3318, datou_cur_ids : ['2652053'] with mtr_portfolio_ids : ['21177716'] and first list_photo_ids : [] new path : /proc/472041/ 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 ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 3 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.3152387142181396 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 : 10 step1:mask_detect Sat Mar 8 13:30:35 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 : 10149 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 13:30:39.069896: 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-08 13:30:39.103138: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 13:30:39.104860: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc848000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 13:30:39.104900: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 13:30:39.108300: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 13:30:39.393834: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x44210f30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 13:30:39.393883: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 13:30:39.395031: 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-08 13:30:39.395373: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:30:39.398949: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:30:39.423143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:30:39.423887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:30:39.458229: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:30:39.463617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:30:39.521555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:30:39.525796: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:30:39.526556: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:30:39.528450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 13:30:39.528476: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 13:30:39.528487: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 13:30:39.532069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9256 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-08 13:30:39.948269: 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-08 13:30:39.948537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:30:39.948647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:30:39.948684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:30:39.948820: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:30:39.948972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:30:39.949007: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:30:39.949066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:30:39.953384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:30:39.955930: 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-08 13:30:39.956117: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 13:30:39.956159: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:30:39.956196: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 13:30:39.956232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 13:30:39.956271: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 13:30:39.956303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 13:30:39.956333: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:30:39.962738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 13:30:39.962820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 13:30:39.962836: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 13:30:39.962850: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 13:30:39.966732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9256 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-08 13:30:52.413992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 13:30:52.598584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 13:30:54.364377: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:54.365055: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:54.365678: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.302025: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.302106: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-03-08 13:30:56.370740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.370865: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.372332: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.372368: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.379781: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.379840: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.380828: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.380848: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.429281: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.429355: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.429973: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.429988: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.430608: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.430624: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.431282: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.431300: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.439350: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.439374: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.440022: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.440040: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 13:30:56.457962: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.458665: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.459347: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.459990: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.464204: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.464883: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.465524: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.466193: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.467486: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.467510: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-03-08 13:30:56.477813: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.478497: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.487910: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.488597: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.489256: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.489896: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.490546: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 13:30:56.491195: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 147.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 36 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 27 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 3.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 145.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 44 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 142.60000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 46 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 8.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 23 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 148.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 24 Detection mask done ! Trying to reset tf kernel 472882 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2695 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 9398 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! 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 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.002290010452270508 nb_pixel_total : 41992 time to create 1 rle with old method : 0.04808974266052246 length of segment : 377 time for calcul the mask position with numpy : 0.004965066909790039 nb_pixel_total : 88306 time to create 1 rle with old method : 0.10804486274719238 length of segment : 377 time for calcul the mask position with numpy : 0.005812644958496094 nb_pixel_total : 155361 time to create 1 rle with new method : 0.011492490768432617 length of segment : 628 time for calcul the mask position with numpy : 0.0006062984466552734 nb_pixel_total : 22802 time to create 1 rle with old method : 0.027495384216308594 length of segment : 212 time for calcul the mask position with numpy : 0.0018062591552734375 nb_pixel_total : 57818 time to create 1 rle with old method : 0.0723733901977539 length of segment : 317 time for calcul the mask position with numpy : 0.0034546852111816406 nb_pixel_total : 99419 time to create 1 rle with old method : 0.18705344200134277 length of segment : 321 time for calcul the mask position with numpy : 0.002019166946411133 nb_pixel_total : 83929 time to create 1 rle with old method : 0.09905552864074707 length of segment : 323 time for calcul the mask position with numpy : 0.0030820369720458984 nb_pixel_total : 108249 time to create 1 rle with old method : 0.13478422164916992 length of segment : 470 time for calcul the mask position with numpy : 0.004432201385498047 nb_pixel_total : 96115 time to create 1 rle with old method : 0.11699700355529785 length of segment : 635 time for calcul the mask position with numpy : 0.0006611347198486328 nb_pixel_total : 24427 time to create 1 rle with old method : 0.03275465965270996 length of segment : 267 time for calcul the mask position with numpy : 0.0006716251373291016 nb_pixel_total : 18053 time to create 1 rle with old method : 0.021199464797973633 length of segment : 276 time for calcul the mask position with numpy : 0.0031566619873046875 nb_pixel_total : 108839 time to create 1 rle with old method : 0.13030433654785156 length of segment : 260 time for calcul the mask position with numpy : 0.0014417171478271484 nb_pixel_total : 77770 time to create 1 rle with old method : 0.1002194881439209 length of segment : 255 time for calcul the mask position with numpy : 0.0006577968597412109 nb_pixel_total : 14412 time to create 1 rle with old method : 0.017993450164794922 length of segment : 111 time for calcul the mask position with numpy : 0.0011572837829589844 nb_pixel_total : 16093 time to create 1 rle with old method : 0.026810884475708008 length of segment : 237 time for calcul the mask position with numpy : 0.0019593238830566406 nb_pixel_total : 52593 time to create 1 rle with old method : 0.0693514347076416 length of segment : 291 time for calcul the mask position with numpy : 0.0007598400115966797 nb_pixel_total : 18120 time to create 1 rle with old method : 0.02133464813232422 length of segment : 164 time for calcul the mask position with numpy : 0.0026671886444091797 nb_pixel_total : 73767 time to create 1 rle with old method : 0.08334088325500488 length of segment : 591 time for calcul the mask position with numpy : 0.0011136531829833984 nb_pixel_total : 32775 time to create 1 rle with old method : 0.037932634353637695 length of segment : 160 time for calcul the mask position with numpy : 0.00030732154846191406 nb_pixel_total : 6940 time to create 1 rle with old method : 0.008436203002929688 length of segment : 81 time for calcul the mask position with numpy : 0.0010342597961425781 nb_pixel_total : 24745 time to create 1 rle with old method : 0.029260635375976562 length of segment : 192 time for calcul the mask position with numpy : 0.0025894641876220703 nb_pixel_total : 68056 time to create 1 rle with old method : 0.08896422386169434 length of segment : 458 time for calcul the mask position with numpy : 0.0016481876373291016 nb_pixel_total : 55561 time to create 1 rle with old method : 0.07722115516662598 length of segment : 484 time for calcul the mask position with numpy : 0.00118255615234375 nb_pixel_total : 33482 time to create 1 rle with old method : 0.03857874870300293 length of segment : 284 time for calcul the mask position with numpy : 0.005099773406982422 nb_pixel_total : 81066 time to create 1 rle with old method : 0.09437322616577148 length of segment : 379 time for calcul the mask position with numpy : 0.004090309143066406 nb_pixel_total : 106350 time to create 1 rle with old method : 0.13293051719665527 length of segment : 743 time for calcul the mask position with numpy : 0.0008189678192138672 nb_pixel_total : 18143 time to create 1 rle with old method : 0.02092766761779785 length of segment : 141 time for calcul the mask position with numpy : 0.001432180404663086 nb_pixel_total : 32194 time to create 1 rle with old method : 0.037624359130859375 length of segment : 249 time for calcul the mask position with numpy : 0.002022266387939453 nb_pixel_total : 40323 time to create 1 rle with old method : 0.04708218574523926 length of segment : 289 time for calcul the mask position with numpy : 0.0014157295227050781 nb_pixel_total : 22875 time to create 1 rle with old method : 0.027362585067749023 length of segment : 195 time for calcul the mask position with numpy : 0.00035262107849121094 nb_pixel_total : 6819 time to create 1 rle with old method : 0.008999109268188477 length of segment : 65 time for calcul the mask position with numpy : 0.0046694278717041016 nb_pixel_total : 147692 time to create 1 rle with old method : 0.17219090461730957 length of segment : 445 time for calcul the mask position with numpy : 0.0025751590728759766 nb_pixel_total : 62995 time to create 1 rle with old method : 0.07138299942016602 length of segment : 330 time for calcul the mask position with numpy : 0.0017464160919189453 nb_pixel_total : 46000 time to create 1 rle with old method : 0.051973819732666016 length of segment : 282 time for calcul the mask position with numpy : 0.0020623207092285156 nb_pixel_total : 34744 time to create 1 rle with old method : 0.04007577896118164 length of segment : 252 time for calcul the mask position with numpy : 0.0046956539154052734 nb_pixel_total : 120686 time to create 1 rle with old method : 0.13726520538330078 length of segment : 308 time for calcul the mask position with numpy : 0.0016760826110839844 nb_pixel_total : 34987 time to create 1 rle with old method : 0.03979611396789551 length of segment : 198 time for calcul the mask position with numpy : 0.0012001991271972656 nb_pixel_total : 48101 time to create 1 rle with old method : 0.05601167678833008 length of segment : 297 time for calcul the mask position with numpy : 0.0012977123260498047 nb_pixel_total : 26842 time to create 1 rle with old method : 0.03138136863708496 length of segment : 160 time for calcul the mask position with numpy : 0.0022711753845214844 nb_pixel_total : 53911 time to create 1 rle with old method : 0.061922550201416016 length of segment : 203 time for calcul the mask position with numpy : 0.0024080276489257812 nb_pixel_total : 54317 time to create 1 rle with old method : 0.07342004776000977 length of segment : 288 time for calcul the mask position with numpy : 0.0007026195526123047 nb_pixel_total : 14652 time to create 1 rle with old method : 0.01776719093322754 length of segment : 138 time for calcul the mask position with numpy : 0.0026121139526367188 nb_pixel_total : 67508 time to create 1 rle with old method : 0.07500529289245605 length of segment : 422 time for calcul the mask position with numpy : 0.0033266544342041016 nb_pixel_total : 112590 time to create 1 rle with old method : 0.12801241874694824 length of segment : 389 time for calcul the mask position with numpy : 0.0018305778503417969 nb_pixel_total : 29902 time to create 1 rle with old method : 0.03473806381225586 length of segment : 225 time for calcul the mask position with numpy : 0.0004839897155761719 nb_pixel_total : 12271 time to create 1 rle with old method : 0.014217853546142578 length of segment : 114 time for calcul the mask position with numpy : 0.001117706298828125 nb_pixel_total : 25692 time to create 1 rle with old method : 0.02950596809387207 length of segment : 160 time for calcul the mask position with numpy : 0.0065419673919677734 nb_pixel_total : 138583 time to create 1 rle with old method : 0.15568947792053223 length of segment : 539 time for calcul the mask position with numpy : 0.0018405914306640625 nb_pixel_total : 25327 time to create 1 rle with old method : 0.029256582260131836 length of segment : 281 time for calcul the mask position with numpy : 0.0002760887145996094 nb_pixel_total : 8928 time to create 1 rle with old method : 0.010687589645385742 length of segment : 154 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 9362 time to create 1 rle with old method : 0.010900259017944336 length of segment : 153 time for calcul the mask position with numpy : 0.0004775524139404297 nb_pixel_total : 10608 time to create 1 rle with old method : 0.012425661087036133 length of segment : 132 time for calcul the mask position with numpy : 0.0020036697387695312 nb_pixel_total : 40518 time to create 1 rle with old method : 0.0648500919342041 length of segment : 217 time for calcul the mask position with numpy : 0.0011429786682128906 nb_pixel_total : 36019 time to create 1 rle with old method : 0.04158520698547363 length of segment : 214 time for calcul the mask position with numpy : 0.0008385181427001953 nb_pixel_total : 19934 time to create 1 rle with old method : 0.02278590202331543 length of segment : 198 time for calcul the mask position with numpy : 0.0027244091033935547 nb_pixel_total : 63295 time to create 1 rle with old method : 0.07214188575744629 length of segment : 404 time for calcul the mask position with numpy : 0.0015866756439208984 nb_pixel_total : 34143 time to create 1 rle with old method : 0.039029836654663086 length of segment : 286 time for calcul the mask position with numpy : 0.0024170875549316406 nb_pixel_total : 43425 time to create 1 rle with old method : 0.04960179328918457 length of segment : 336 time for calcul the mask position with numpy : 0.006328105926513672 nb_pixel_total : 102269 time to create 1 rle with old method : 0.1321852207183838 length of segment : 614 time for calcul the mask position with numpy : 0.012480497360229492 nb_pixel_total : 217159 time to create 1 rle with new method : 0.020095348358154297 length of segment : 707 time for calcul the mask position with numpy : 0.0027120113372802734 nb_pixel_total : 43925 time to create 1 rle with old method : 0.05122232437133789 length of segment : 252 time for calcul the mask position with numpy : 0.0036003589630126953 nb_pixel_total : 47245 time to create 1 rle with old method : 0.060445547103881836 length of segment : 287 time for calcul the mask position with numpy : 0.11258697509765625 nb_pixel_total : 425830 time to create 1 rle with new method : 0.057090044021606445 length of segment : 878 time for calcul the mask position with numpy : 0.0003943443298339844 nb_pixel_total : 10385 time to create 1 rle with old method : 0.012278318405151367 length of segment : 80 time for calcul the mask position with numpy : 0.0009131431579589844 nb_pixel_total : 31906 time to create 1 rle with old method : 0.036893367767333984 length of segment : 171 time for calcul the mask position with numpy : 0.0007181167602539062 nb_pixel_total : 24466 time to create 1 rle with old method : 0.028380870819091797 length of segment : 158 time for calcul the mask position with numpy : 0.0006070137023925781 nb_pixel_total : 20383 time to create 1 rle with old method : 0.02375030517578125 length of segment : 121 time for calcul the mask position with numpy : 0.0007956027984619141 nb_pixel_total : 28371 time to create 1 rle with old method : 0.03291749954223633 length of segment : 157 time for calcul the mask position with numpy : 0.0004088878631591797 nb_pixel_total : 9560 time to create 1 rle with old method : 0.011840343475341797 length of segment : 108 time for calcul the mask position with numpy : 0.010297775268554688 nb_pixel_total : 150040 time to create 1 rle with new method : 0.014899730682373047 length of segment : 1649 time for calcul the mask position with numpy : 0.0018019676208496094 nb_pixel_total : 51295 time to create 1 rle with old method : 0.06173849105834961 length of segment : 296 time for calcul the mask position with numpy : 0.0021486282348632812 nb_pixel_total : 78341 time to create 1 rle with old method : 0.08816885948181152 length of segment : 419 time for calcul the mask position with numpy : 0.0021975040435791016 nb_pixel_total : 62745 time to create 1 rle with old method : 0.07169461250305176 length of segment : 320 time for calcul the mask position with numpy : 0.0017476081848144531 nb_pixel_total : 52970 time to create 1 rle with old method : 0.060735464096069336 length of segment : 294 time for calcul the mask position with numpy : 0.000396728515625 nb_pixel_total : 5322 time to create 1 rle with old method : 0.006264209747314453 length of segment : 139 time for calcul the mask position with numpy : 0.0005249977111816406 nb_pixel_total : 13923 time to create 1 rle with old method : 0.016593456268310547 length of segment : 190 time for calcul the mask position with numpy : 0.001268625259399414 nb_pixel_total : 35756 time to create 1 rle with old method : 0.04244732856750488 length of segment : 219 time for calcul the mask position with numpy : 0.0005178451538085938 nb_pixel_total : 17394 time to create 1 rle with old method : 0.020588159561157227 length of segment : 188 time for calcul the mask position with numpy : 0.0010509490966796875 nb_pixel_total : 31280 time to create 1 rle with old method : 0.036316871643066406 length of segment : 212 time for calcul the mask position with numpy : 0.0002067089080810547 nb_pixel_total : 4816 time to create 1 rle with old method : 0.005794525146484375 length of segment : 92 time for calcul the mask position with numpy : 0.0022971630096435547 nb_pixel_total : 72988 time to create 1 rle with old method : 0.0828709602355957 length of segment : 308 time for calcul the mask position with numpy : 0.0032835006713867188 nb_pixel_total : 63424 time to create 1 rle with old method : 0.07311296463012695 length of segment : 622 time for calcul the mask position with numpy : 0.001817464828491211 nb_pixel_total : 49516 time to create 1 rle with old method : 0.05876302719116211 length of segment : 239 time for calcul the mask position with numpy : 0.005795001983642578 nb_pixel_total : 73339 time to create 1 rle with old method : 0.08449721336364746 length of segment : 977 time spent for convertir_results : 9.743068933486938 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 84 chid ids of type : 3594 Number RLEs to save : 26654 save missing photos in datou_result : time spend for datou_step_exec : 71.23889064788818 time spend to save output : 21.5442214012146 total time spend for step 1 : 92.78311204910278 step2:crop_condition Sat Mar 8 13:32:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 6 ! batch 1 Loaded 84 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 50 About to insert : list_path_to_insert length 50 new photo from crops ! About to upload 50 photos upload in portfolio : 3736932 init cache_photo without model_param we have 50 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437142_472041 we have uploaded 50 photos in the portfolio 3736932 time of upload the photos Elapsed time : 15.35137391090393 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437161_472041 we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.7941458225250244 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437165_472041 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2370505332946777 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437174_472041 we have uploaded 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.813743352890015 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437181_472041 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0702486038208008 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741437184_472041 we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.14235258102417 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] Looping around the photos to save general results len do output : 84 /1341867595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867601Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867608Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867612Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867658Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867661Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867665Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867668Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867670Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867674Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867680Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867820Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341867868Didn'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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 258 time used for this insertion : 0.09832310676574707 save_final save missing photos in datou_result : time spend for datou_step_exec : 58.755595445632935 time spend to save output : 0.10207796096801758 total time spend for step 2 : 58.85767340660095 step3:rle_unique_nms_with_priority Sat Mar 8 13:33:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 84 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 15 nb_hashtags : 4 time to prepare the origin masks : 7.016422510147095 time for calcul the mask position with numpy : 0.44565892219543457 nb_pixel_total : 7357058 time to create 1 rle with new method : 0.5040295124053955 time for calcul the mask position with numpy : 0.029107332229614258 nb_pixel_total : 16093 time to create 1 rle with old method : 0.017673492431640625 time for calcul the mask position with numpy : 0.026679039001464844 nb_pixel_total : 14412 time to create 1 rle with old method : 0.015996217727661133 time for calcul the mask position with numpy : 0.04021334648132324 nb_pixel_total : 1527 time to create 1 rle with old method : 0.0021178722381591797 time for calcul the mask position with numpy : 0.04112887382507324 nb_pixel_total : 108839 time to create 1 rle with old method : 0.12105154991149902 time for calcul the mask position with numpy : 0.04093456268310547 nb_pixel_total : 18053 time to create 1 rle with old method : 0.020461559295654297 time for calcul the mask position with numpy : 0.04111790657043457 nb_pixel_total : 24427 time to create 1 rle with old method : 0.02753138542175293 time for calcul the mask position with numpy : 0.04593014717102051 nb_pixel_total : 96115 time to create 1 rle with old method : 0.11160635948181152 time for calcul the mask position with numpy : 0.04246163368225098 nb_pixel_total : 108249 time to create 1 rle with old method : 0.14524507522583008 time for calcul the mask position with numpy : 0.041863203048706055 nb_pixel_total : 83929 time to create 1 rle with old method : 0.09805941581726074 time for calcul the mask position with numpy : 0.04621458053588867 nb_pixel_total : 99419 time to create 1 rle with old method : 0.11585354804992676 time for calcul the mask position with numpy : 0.04585123062133789 nb_pixel_total : 57818 time to create 1 rle with old method : 0.06518411636352539 time for calcul the mask position with numpy : 0.04445457458496094 nb_pixel_total : 22802 time to create 1 rle with old method : 0.027750015258789062 time for calcul the mask position with numpy : 0.042905569076538086 nb_pixel_total : 155361 time to create 1 rle with new method : 0.6825644969940186 time for calcul the mask position with numpy : 0.025841474533081055 nb_pixel_total : 88306 time to create 1 rle with old method : 0.10059428215026855 time for calcul the mask position with numpy : 0.042420148849487305 nb_pixel_total : 41992 time to create 1 rle with old method : 0.0490574836730957 create new chi : 3.2154595851898193 time to delete rle : 0.018800020217895508 batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 11997 TO DO : save crop sub photo not yet done ! save time : 15.410811185836792 nb_obj : 12 nb_hashtags : 3 time to prepare the origin masks : 6.304818868637085 time for calcul the mask position with numpy : 1.530203104019165 nb_pixel_total : 7722802 time to create 1 rle with new method : 1.1990909576416016 time for calcul the mask position with numpy : 0.04797244071960449 nb_pixel_total : 18143 time to create 1 rle with old method : 0.02770829200744629 time for calcul the mask position with numpy : 0.048943281173706055 nb_pixel_total : 106350 time to create 1 rle with old method : 0.12294197082519531 time for calcul the mask position with numpy : 0.04203319549560547 nb_pixel_total : 81066 time to create 1 rle with old method : 0.09539604187011719 time for calcul the mask position with numpy : 0.04151439666748047 nb_pixel_total : 33482 time to create 1 rle with old method : 0.042726993560791016 time for calcul the mask position with numpy : 0.044660329818725586 nb_pixel_total : 55561 time to create 1 rle with old method : 0.06124258041381836 time for calcul the mask position with numpy : 0.04116320610046387 nb_pixel_total : 68056 time to create 1 rle with old method : 0.0799262523651123 time for calcul the mask position with numpy : 0.03454399108886719 nb_pixel_total : 24745 time to create 1 rle with old method : 0.027734041213989258 time for calcul the mask position with numpy : 0.02718830108642578 nb_pixel_total : 6940 time to create 1 rle with old method : 0.007668495178222656 time for calcul the mask position with numpy : 0.02667856216430664 nb_pixel_total : 32775 time to create 1 rle with old method : 0.03587174415588379 time for calcul the mask position with numpy : 0.025855541229248047 nb_pixel_total : 73767 time to create 1 rle with old method : 0.08169054985046387 time for calcul the mask position with numpy : 0.03331184387207031 nb_pixel_total : 18120 time to create 1 rle with old method : 0.020195722579956055 time for calcul the mask position with numpy : 0.04156136512756348 nb_pixel_total : 52593 time to create 1 rle with old method : 0.05729532241821289 create new chi : 3.8945422172546387 time to delete rle : 0.0015103816986083984 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 10096 TO DO : save crop sub photo not yet done ! save time : 12.417561054229736 nb_obj : 19 nb_hashtags : 6 time to prepare the origin masks : 10.692594289779663 time for calcul the mask position with numpy : 2.0036563873291016 nb_pixel_total : 7370495 time to create 1 rle with new method : 0.6699604988098145 time for calcul the mask position with numpy : 0.02690577507019043 nb_pixel_total : 12271 time to create 1 rle with old method : 0.014251708984375 time for calcul the mask position with numpy : 0.025226116180419922 nb_pixel_total : 29902 time to create 1 rle with old method : 0.033391714096069336 time for calcul the mask position with numpy : 0.02550816535949707 nb_pixel_total : 112590 time to create 1 rle with old method : 0.12707138061523438 time for calcul the mask position with numpy : 0.024459362030029297 nb_pixel_total : 67508 time to create 1 rle with old method : 0.09399151802062988 time for calcul the mask position with numpy : 0.025898456573486328 nb_pixel_total : 14652 time to create 1 rle with old method : 0.016239404678344727 time for calcul the mask position with numpy : 0.026035785675048828 nb_pixel_total : 54317 time to create 1 rle with old method : 0.06122469902038574 time for calcul the mask position with numpy : 0.0269467830657959 nb_pixel_total : 53911 time to create 1 rle with old method : 0.06109619140625 time for calcul the mask position with numpy : 0.026442527770996094 nb_pixel_total : 26842 time to create 1 rle with old method : 0.03105020523071289 time for calcul the mask position with numpy : 0.025553464889526367 nb_pixel_total : 2597 time to create 1 rle with old method : 0.0031080245971679688 time for calcul the mask position with numpy : 0.02651190757751465 nb_pixel_total : 34987 time to create 1 rle with old method : 0.03877735137939453 time for calcul the mask position with numpy : 0.02550959587097168 nb_pixel_total : 120686 time to create 1 rle with old method : 0.13332176208496094 time for calcul the mask position with numpy : 0.027303457260131836 nb_pixel_total : 34744 time to create 1 rle with old method : 0.03860926628112793 time for calcul the mask position with numpy : 0.03135323524475098 nb_pixel_total : 46000 time to create 1 rle with old method : 0.05244851112365723 time for calcul the mask position with numpy : 0.025801658630371094 nb_pixel_total : 62995 time to create 1 rle with old method : 0.07075667381286621 time for calcul the mask position with numpy : 0.027278661727905273 nb_pixel_total : 147692 time to create 1 rle with old method : 0.16867351531982422 time for calcul the mask position with numpy : 0.02792191505432129 nb_pixel_total : 6819 time to create 1 rle with old method : 0.008469104766845703 time for calcul the mask position with numpy : 0.03128218650817871 nb_pixel_total : 22875 time to create 1 rle with old method : 0.02830672264099121 time for calcul the mask position with numpy : 0.02698230743408203 nb_pixel_total : 40323 time to create 1 rle with old method : 0.04719066619873047 time for calcul the mask position with numpy : 0.03492426872253418 nb_pixel_total : 32194 time to create 1 rle with old method : 0.037482261657714844 create new chi : 4.302781105041504 time to delete rle : 0.0017948150634765625 batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 11597 TO DO : save crop sub photo not yet done ! save time : 17.35320520401001 nb_obj : 17 nb_hashtags : 4 time to prepare the origin masks : 13.224104166030884 time for calcul the mask position with numpy : 1.1315052509307861 nb_pixel_total : 7046117 time to create 1 rle with new method : 0.8640327453613281 time for calcul the mask position with numpy : 0.0606846809387207 nb_pixel_total : 382405 time to create 1 rle with new method : 0.9672801494598389 time for calcul the mask position with numpy : 0.04558444023132324 nb_pixel_total : 47245 time to create 1 rle with old method : 0.05338096618652344 time for calcul the mask position with numpy : 0.044559478759765625 nb_pixel_total : 43925 time to create 1 rle with old method : 0.04945850372314453 time for calcul the mask position with numpy : 0.044681549072265625 nb_pixel_total : 217159 time to create 1 rle with new method : 0.4607100486755371 time for calcul the mask position with numpy : 0.04095149040222168 nb_pixel_total : 102269 time to create 1 rle with old method : 0.11557197570800781 time for calcul the mask position with numpy : 0.040602684020996094 nb_pixel_total : 43425 time to create 1 rle with old method : 0.04941892623901367 time for calcul the mask position with numpy : 0.04394102096557617 nb_pixel_total : 34143 time to create 1 rle with old method : 0.03798866271972656 time for calcul the mask position with numpy : 0.04181551933288574 nb_pixel_total : 63295 time to create 1 rle with old method : 0.07021784782409668 time for calcul the mask position with numpy : 0.04051709175109863 nb_pixel_total : 19934 time to create 1 rle with old method : 0.021930694580078125 time for calcul the mask position with numpy : 0.04608440399169922 nb_pixel_total : 36019 time to create 1 rle with old method : 0.04351043701171875 time for calcul the mask position with numpy : 0.04596734046936035 nb_pixel_total : 40518 time to create 1 rle with old method : 0.046948909759521484 time for calcul the mask position with numpy : 0.055387258529663086 nb_pixel_total : 10608 time to create 1 rle with old method : 0.012309551239013672 time for calcul the mask position with numpy : 0.04341721534729004 nb_pixel_total : 9362 time to create 1 rle with old method : 0.010464191436767578 time for calcul the mask position with numpy : 0.04957914352416992 nb_pixel_total : 8374 time to create 1 rle with old method : 0.009713411331176758 time for calcul the mask position with numpy : 0.04281926155090332 nb_pixel_total : 25327 time to create 1 rle with old method : 0.029018878936767578 time for calcul the mask position with numpy : 0.044606685638427734 nb_pixel_total : 138583 time to create 1 rle with old method : 0.15819454193115234 time for calcul the mask position with numpy : 0.04420065879821777 nb_pixel_total : 25692 time to create 1 rle with old method : 0.028438091278076172 create new chi : 5.0463316440582275 time to delete rle : 0.003053426742553711 batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 13675 TO DO : save crop sub photo not yet done ! save time : 14.744195461273193 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 8.56986689567566 time for calcul the mask position with numpy : 0.897829532623291 nb_pixel_total : 7889653 time to create 1 rle with new method : 0.40912818908691406 time for calcul the mask position with numpy : 0.043784379959106445 nb_pixel_total : 78341 time to create 1 rle with old method : 0.09263396263122559 time for calcul the mask position with numpy : 0.0467984676361084 nb_pixel_total : 51295 time to create 1 rle with old method : 0.06536006927490234 time for calcul the mask position with numpy : 0.044341325759887695 nb_pixel_total : 150040 time to create 1 rle with new method : 0.9242312908172607 time for calcul the mask position with numpy : 0.028240203857421875 nb_pixel_total : 9560 time to create 1 rle with old method : 0.010939359664916992 time for calcul the mask position with numpy : 0.029217958450317383 nb_pixel_total : 28371 time to create 1 rle with old method : 0.032232046127319336 time for calcul the mask position with numpy : 0.030413389205932617 nb_pixel_total : 20383 time to create 1 rle with old method : 0.028401851654052734 time for calcul the mask position with numpy : 0.03439450263977051 nb_pixel_total : 24466 time to create 1 rle with old method : 0.03227639198303223 time for calcul the mask position with numpy : 0.03594851493835449 nb_pixel_total : 31906 time to create 1 rle with old method : 0.045314788818359375 time for calcul the mask position with numpy : 0.03851675987243652 nb_pixel_total : 10385 time to create 1 rle with old method : 0.013350248336791992 create new chi : 2.9640181064605713 time to delete rle : 0.0018703937530517578 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++++Number RLEs to save : 8478 TO DO : save crop sub photo not yet done ! save time : 7.436690092086792 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 6.003475189208984 time for calcul the mask position with numpy : 0.8603527545928955 nb_pixel_total : 7817607 time to create 1 rle with new method : 0.7318117618560791 time for calcul the mask position with numpy : 0.04455065727233887 nb_pixel_total : 69458 time to create 1 rle with old method : 0.08732891082763672 time for calcul the mask position with numpy : 0.030013561248779297 nb_pixel_total : 49516 time to create 1 rle with old method : 0.08332991600036621 time for calcul the mask position with numpy : 0.03252363204956055 nb_pixel_total : 63424 time to create 1 rle with old method : 0.07445311546325684 time for calcul the mask position with numpy : 0.027438640594482422 nb_pixel_total : 72988 time to create 1 rle with old method : 0.0864553451538086 time for calcul the mask position with numpy : 0.02799844741821289 nb_pixel_total : 4792 time to create 1 rle with old method : 0.006090879440307617 time for calcul the mask position with numpy : 0.027920961380004883 nb_pixel_total : 31280 time to create 1 rle with old method : 0.04020047187805176 time for calcul the mask position with numpy : 0.02741217613220215 nb_pixel_total : 14906 time to create 1 rle with old method : 0.018705368041992188 time for calcul the mask position with numpy : 0.035692453384399414 nb_pixel_total : 35756 time to create 1 rle with old method : 0.26838183403015137 time for calcul the mask position with numpy : 0.040892601013183594 nb_pixel_total : 13636 time to create 1 rle with old method : 0.01577472686767578 time for calcul the mask position with numpy : 0.03736472129821777 nb_pixel_total : 5322 time to create 1 rle with old method : 0.0060274600982666016 time for calcul the mask position with numpy : 0.029345273971557617 nb_pixel_total : 52970 time to create 1 rle with old method : 0.05957794189453125 time for calcul the mask position with numpy : 0.026397705078125 nb_pixel_total : 62745 time to create 1 rle with old method : 0.0702219009399414 create new chi : 2.853863000869751 time to delete rle : 0.0016741752624511719 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 9355 TO DO : save crop sub photo not yet done ! save time : 11.61906886100769 map_output_result : {1331979104: (0.0, 'Should be the crop_list due to order', 0), 1331979100: (0.0, 'Should be the crop_list due to order', 0), 1331979097: (0.0, 'Should be the crop_list due to order', 0), 1331979094: (0.0, 'Should be the crop_list due to order', 0), 1331979092: (0.0, 'Should be the crop_list due to order', 0), 1331979088: (0.0, 'Should be the crop_list due to order', 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 [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] Looping around the photos to save general results len do output : 6 /1331979104.Didn't retrieve data . /1331979100.Didn't retrieve data . /1331979097.Didn't retrieve data . /1331979094.Didn't retrieve data . /1331979092.Didn't retrieve data . /1331979088.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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014868974685668945 save_final save missing photos in datou_result : time spend for datou_step_exec : 159.05484127998352 time spend to save output : 0.018071651458740234 total time spend for step 3 : 159.07291293144226 step4:ventilate_hashtags_in_portfolio Sat Mar 8 13:35:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 21177716 get user id for portfolio 21177716 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`=21177716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','background','pet_clair','flou','carton','environnement','papier','metal','autre','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 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`=21177716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','background','pet_clair','flou','carton','environnement','papier','metal','autre','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177716 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','background','pet_clair','flou','carton','environnement','papier','metal','autre','pet_fonce','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21180983,21180984,21180985,21180986,21180987,21180988,21180989,21180990,21180991,21180992,21180993?tags=pehd,background,pet_clair,flou,carton,environnement,papier,metal,autre,pet_fonce,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] Looping around the photos to save general results len do output : 1 /21177716. 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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.020336151123046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8051891326904297 time spend to save output : 0.020795345306396484 total time spend for step 4 : 1.8259844779968262 step5:final Sat Mar 8 13:35:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1331979104: ('0.09168169688786008',), 1331979100: ('0.09168169688786008',), 1331979097: ('0.09168169688786008',), 1331979094: ('0.09168169688786008',), 1331979092: ('0.09168169688786008',), 1331979088: ('0.09168169688786008',)} new output for save of step final : {1331979104: ('0.09168169688786008',), 1331979100: ('0.09168169688786008',), 1331979097: ('0.09168169688786008',), 1331979094: ('0.09168169688786008',), 1331979092: ('0.09168169688786008',), 1331979088: ('0.09168169688786008',)} [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] Looping around the photos to save general results len do output : 6 /1331979104.Didn't retrieve data . /1331979100.Didn't retrieve data . /1331979097.Didn't retrieve data . /1331979094.Didn't retrieve data . /1331979092.Didn't retrieve data . /1331979088.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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015174150466918945 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14529705047607422 time spend to save output : 0.015657663345336914 total time spend for step 5 : 0.16095471382141113 step6:blur_detection Sat Mar 8 13:35:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs 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 : 6 time used for this insertion : 0.1180732250213623 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.00985407829284668 save missing photos in datou_result : time spend for datou_step_exec : 0.26209115982055664 time spend to save output : 0.13240671157836914 total time spend for step 6 : 0.3944978713989258 step7:brightness Sat Mar 8 13:35:48 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 inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs 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 : 6 time used for this insertion : 0.01789712905883789 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.008513689041137695 save missing photos in datou_result : time spend for datou_step_exec : 0.027228593826293945 time spend to save output : 0.031385183334350586 total time spend for step 7 : 0.05861377716064453 step8:velours_tree Sat Mar 8 13:35:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.3611330986022949 time spend to save output : 6.818771362304688e-05 total time spend for step 8 : 0.36120128631591797 step9:send_mail_cod Sat Mar 8 13:35:48 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 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P21177716_08-03-2025_13_35_48.pdf 21180983 imagette211809831741437348 21180984 imagette211809841741437348 21180985 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 .imagette211809851741437348 21180986 imagette211809861741437349 21180987 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 .imagette211809871741437349 21180989 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 .imagette211809891741437350 21180990 change filename to text .change filename to text .change filename to text .imagette211809901741437351 21180991 change filename to text .change filename to text .imagette211809911741437351 21180992 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211809921741437351 21180993 imagette211809931741437352 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21177716 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21180983,21180984,21180985,21180986,21180987,21180988,21180989,21180990,21180991,21180992,21180993?tags=pehd,background,pet_clair,flou,carton,environnement,papier,metal,autre,pet_fonce,mal_croppe args[1331979104] : ((1331979104, -5.292254374154691, 492609224), (1331979104, -0.0977133255188927, 496442774), '0.09168169688786008') We are sending mail with results at report@fotonower.com args[1331979100] : ((1331979100, -5.221598659819577, 492609224), (1331979100, 0.13825477994448698, 2107752395), '0.09168169688786008') We are sending mail with results at report@fotonower.com args[1331979097] : ((1331979097, -5.243152986019947, 492609224), (1331979097, -0.185562314339998, 496442774), '0.09168169688786008') We are sending mail with results at report@fotonower.com args[1331979094] : ((1331979094, -5.444991136951865, 492609224), (1331979094, -0.32283623309191806, 496442774), '0.09168169688786008') We are sending mail with results at report@fotonower.com args[1331979092] : ((1331979092, -3.923961713732748, 492609224), (1331979092, -0.9818956805201318, 501862349), '0.09168169688786008') We are sending mail with results at report@fotonower.com args[1331979088] : ((1331979088, -5.2495932682944755, 492609224), (1331979088, -0.3474785320529986, 496442774), '0.09168169688786008') We are sending mail with results at report@fotonower.com refus_total : 0.09168169688786008 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=21177716 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_Auto_P21177716_08-03-2025_13_35_48.pdf results_Auto_P21177716_08-03-2025_13_35_48.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177716_08-03-2025_13_35_48.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','21177716','results_Auto_P21177716_08-03-2025_13_35_48.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177716_08-03-2025_13_35_48.pdf','pdf','','0.69','0.09168169688786008') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21177716

https://www.fotonower.com/image?json=false&list_photos_id=1331979104
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979100
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979097
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979094
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979092
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331979088
Bravo, la photo est bien prise.

Dans ces conditions,le taux de refus est: 9.17%
Veuillez trouver les photos des contaminants.

exemples de contaminants: pet_clair: https://www.fotonower.com/view/21180985?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/21180987?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/21180989?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/21180990?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/21180991?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/21180992?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177716_08-03-2025_13_35_48.pdf.

Lien vers velours :https://www.fotonower.com/velours/21180983,21180984,21180985,21180986,21180987,21180988,21180989,21180990,21180991,21180992,21180993?tags=pehd,background,pet_clair,flou,carton,environnement,papier,metal,autre,pet_fonce,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 08 Mar 2025 12:35:55 GMT Content-Length: 0 Connection: close X-Message-Id: 6eV8RC2lQT225c1TC-GpCg Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] 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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014930248260498047 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.296029090881348 time spend to save output : 0.015166997909545898 total time spend for step 9 : 7.3111960887908936 step10:split_time_score Sat Mar 8 13:35:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('14', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27012025 21177716 Nombre de photos uploadées : 6 / 23040 (0%) 27012025 21177716 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 27012025 21177716 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.0004012584686279297 elapsed_time : insert_dashboard_record_day_entry 7.026557922363281 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.1649695698302469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177656_08-03-2025_12_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177656 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177656 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177659 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177671 order by id desc limit 1 Qualite : 0.028533669356422656 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177680_08-03-2025_11_42_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177680 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177680 AND mptpi.`type`=3726 To do Qualite : 0.01355141906818977 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177715_08-03-2025_11_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177715 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177715 AND mptpi.`type`=3726 To do Qualite : 0.09168169688786008 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177716_08-03-2025_13_35_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177716 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177716 AND mptpi.`type`=3594 To do Qualite : 0.1187846705522487 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177717_08-03-2025_13_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177717 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177717 AND mptpi.`type`=3594 To do Qualite : 0.08867884355709874 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177725_08-03-2025_11_49_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177725 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21177725 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27012025': {'nb_upload': 6, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1331979104, 1331979100, 1331979097, 1331979094, 1331979092, 1331979088] Looping around the photos to save general results len do output : 1 /21177716Didn'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 ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979104', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979100', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979097', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979094', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979092', None, None, None, None, None, '2652053') ('3318', None, None, None, None, None, None, None, '2652053') ('3318', '21177716', '1331979088', None, None, None, None, None, '2652053') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.012525320053100586 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.775288105010986 time spend to save output : 0.012842178344726562 total time spend for step 10 : 9.788130283355713 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 76.51user 106.27system 5:41.72elapsed 53%CPU (0avgtext+0avgdata 4177712maxresident)k 1561600inputs+96896outputs (27888major+10662550minor)pagefaults 0swaps