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 : 31385 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 : ['2652060'] with mtr_portfolio_ids : ['21177725'] and first list_photo_ids : [] new path : /proc/31385/ 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 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.983814001083374 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 11:40:36 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 : 2721 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-08 11:40:40.547307: 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 11:40:40.564352: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-08 11:40:40.565936: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5aec000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-08 11:40:40.565960: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-08 11:40:40.571066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-08 11:40:40.830706: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x16fe6480 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-08 11:40:40.830769: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-08 11:40:40.831646: 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 11:40:40.832019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 11:40:40.834073: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 11:40:40.853881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 11:40:40.854675: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 11:40:40.885172: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 11:40:40.889486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 11:40:40.935958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 11:40:40.939470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 11:40:40.939618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 11:40:40.940314: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 11:40:40.940334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 11:40:40.940347: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 11:40:40.943163: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2257 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 11:40:41.293536: 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 11:40:41.293736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 11:40:41.293763: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 11:40:41.293787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 11:40:41.293808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 11:40:41.293830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 11:40:41.293850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 11:40:41.293872: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 11:40:41.295004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 11:40:41.296529: 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 11:40:41.296615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-08 11:40:41.296637: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 11:40:41.296657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-08 11:40:41.296677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-08 11:40:41.296696: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-08 11:40:41.296715: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-08 11:40:41.296736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 11:40:41.298179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-08 11:40:41.298235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-08 11:40:41.298246: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-08 11:40:41.298257: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-08 11:40:41.300325: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2257 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 11:40:51.356257: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-08 11:40:51.515047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-08 11:40:52.901924: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.901992: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.908901: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.908937: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.916156: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:52.916199: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.916749: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:52.916774: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.949237: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.949285: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.955343: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:52.955387: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.955962: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:52.955986: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-08 11:40:52.997843: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:52.998384: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 512.00M (536870912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.046430: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.047000: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.081208: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.081691: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.083374: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.083904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.090560: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.091108: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.092981: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.093508: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.100734: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.101262: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.103252: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.103790: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.138477: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.139044: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.139629: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.140135: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.143771: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.144316: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.162585: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.163132: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.163654: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.164174: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.176714: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.177246: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.177750: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.178388: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.182797: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.183339: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.188003: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.188528: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.202542: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.203101: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.207339: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.207898: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.208587: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.209093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.221237: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.221765: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.222304: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.222841: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.223367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.223856: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.271099: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.271253: 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 11:40:53.272312: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.273353: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.280920: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.281551: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.293947: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.294972: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.314401: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.315397: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.316000: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.316507: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.321275: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.321833: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.322324: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.322823: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.324173: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.335035: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.335637: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.346496: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.347075: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.347637: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.348169: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.348696: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-08 11:40:53.349201: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.71G (1831731200 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 : 10 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 : 30 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 140.35000 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: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 139.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 19 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: 148.60000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 24 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: 142.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 25 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 4.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 : 25 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: 141.35000 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: 1.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 34 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 10.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 13.00000 max: 254.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 141.60000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 27 Detection mask done ! Trying to reset tf kernel 33265 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1528 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 2721 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.0019464492797851562 nb_pixel_total : 79193 time to create 1 rle with old method : 0.09165358543395996 length of segment : 382 time for calcul the mask position with numpy : 0.0058252811431884766 nb_pixel_total : 228137 time to create 1 rle with new method : 0.016459226608276367 length of segment : 717 time for calcul the mask position with numpy : 0.0002665519714355469 nb_pixel_total : 12269 time to create 1 rle with old method : 0.015225887298583984 length of segment : 147 time for calcul the mask position with numpy : 0.0003001689910888672 nb_pixel_total : 17156 time to create 1 rle with old method : 0.021497488021850586 length of segment : 110 time for calcul the mask position with numpy : 0.0004661083221435547 nb_pixel_total : 24366 time to create 1 rle with old method : 0.029437780380249023 length of segment : 251 time for calcul the mask position with numpy : 0.0009407997131347656 nb_pixel_total : 61764 time to create 1 rle with old method : 0.07363700866699219 length of segment : 279 time for calcul the mask position with numpy : 0.0002751350402832031 nb_pixel_total : 13278 time to create 1 rle with old method : 0.016102075576782227 length of segment : 128 time for calcul the mask position with numpy : 0.0008661746978759766 nb_pixel_total : 44893 time to create 1 rle with old method : 0.058112144470214844 length of segment : 176 time for calcul the mask position with numpy : 0.0012459754943847656 nb_pixel_total : 55740 time to create 1 rle with old method : 0.062255859375 length of segment : 395 time for calcul the mask position with numpy : 0.0010418891906738281 nb_pixel_total : 45816 time to create 1 rle with old method : 0.052124738693237305 length of segment : 373 time for calcul the mask position with numpy : 0.0008413791656494141 nb_pixel_total : 47230 time to create 1 rle with old method : 0.055672645568847656 length of segment : 233 time for calcul the mask position with numpy : 0.002691030502319336 nb_pixel_total : 131907 time to create 1 rle with old method : 0.14157700538635254 length of segment : 347 time for calcul the mask position with numpy : 0.00047969818115234375 nb_pixel_total : 20893 time to create 1 rle with old method : 0.026401519775390625 length of segment : 148 time for calcul the mask position with numpy : 0.0008001327514648438 nb_pixel_total : 36656 time to create 1 rle with old method : 0.0485684871673584 length of segment : 274 time for calcul the mask position with numpy : 0.001215219497680664 nb_pixel_total : 47504 time to create 1 rle with old method : 0.07270121574401855 length of segment : 246 time for calcul the mask position with numpy : 0.0026764869689941406 nb_pixel_total : 141754 time to create 1 rle with old method : 0.19741439819335938 length of segment : 367 time for calcul the mask position with numpy : 0.00051116943359375 nb_pixel_total : 18742 time to create 1 rle with old method : 0.023768186569213867 length of segment : 141 time for calcul the mask position with numpy : 0.002062559127807617 nb_pixel_total : 66441 time to create 1 rle with old method : 0.08787894248962402 length of segment : 361 time for calcul the mask position with numpy : 0.0003943443298339844 nb_pixel_total : 18566 time to create 1 rle with old method : 0.030431270599365234 length of segment : 141 time for calcul the mask position with numpy : 0.0006206035614013672 nb_pixel_total : 23046 time to create 1 rle with old method : 0.030987262725830078 length of segment : 204 time for calcul the mask position with numpy : 0.003515481948852539 nb_pixel_total : 163487 time to create 1 rle with new method : 0.013798952102661133 length of segment : 618 time for calcul the mask position with numpy : 0.0005872249603271484 nb_pixel_total : 35598 time to create 1 rle with old method : 0.04704928398132324 length of segment : 196 time for calcul the mask position with numpy : 0.0008041858673095703 nb_pixel_total : 23382 time to create 1 rle with old method : 0.03310894966125488 length of segment : 363 time for calcul the mask position with numpy : 0.0012562274932861328 nb_pixel_total : 64900 time to create 1 rle with old method : 0.08284878730773926 length of segment : 317 time for calcul the mask position with numpy : 0.0013802051544189453 nb_pixel_total : 76314 time to create 1 rle with old method : 0.09402775764465332 length of segment : 350 time for calcul the mask position with numpy : 0.0012292861938476562 nb_pixel_total : 81888 time to create 1 rle with old method : 0.08890461921691895 length of segment : 580 time for calcul the mask position with numpy : 0.0010845661163330078 nb_pixel_total : 59620 time to create 1 rle with old method : 0.0722506046295166 length of segment : 240 time for calcul the mask position with numpy : 0.0008227825164794922 nb_pixel_total : 50071 time to create 1 rle with old method : 0.06000018119812012 length of segment : 243 time for calcul the mask position with numpy : 0.0009031295776367188 nb_pixel_total : 22618 time to create 1 rle with old method : 0.0334320068359375 length of segment : 302 time for calcul the mask position with numpy : 0.004061222076416016 nb_pixel_total : 115147 time to create 1 rle with old method : 0.1453719139099121 length of segment : 360 time for calcul the mask position with numpy : 0.0012073516845703125 nb_pixel_total : 19271 time to create 1 rle with old method : 0.03301048278808594 length of segment : 155 time for calcul the mask position with numpy : 0.0009062290191650391 nb_pixel_total : 18847 time to create 1 rle with old method : 0.0236356258392334 length of segment : 152 time for calcul the mask position with numpy : 0.0011296272277832031 nb_pixel_total : 21405 time to create 1 rle with old method : 0.02852630615234375 length of segment : 197 time for calcul the mask position with numpy : 0.004567146301269531 nb_pixel_total : 103242 time to create 1 rle with old method : 0.12659931182861328 length of segment : 518 time for calcul the mask position with numpy : 0.0011546611785888672 nb_pixel_total : 28154 time to create 1 rle with old method : 0.0343470573425293 length of segment : 254 time for calcul the mask position with numpy : 0.0015308856964111328 nb_pixel_total : 59734 time to create 1 rle with old method : 0.06919550895690918 length of segment : 307 time for calcul the mask position with numpy : 0.0004184246063232422 nb_pixel_total : 24905 time to create 1 rle with old method : 0.030838489532470703 length of segment : 97 time for calcul the mask position with numpy : 0.0008344650268554688 nb_pixel_total : 46356 time to create 1 rle with old method : 0.055297136306762695 length of segment : 171 time for calcul the mask position with numpy : 0.00469660758972168 nb_pixel_total : 126621 time to create 1 rle with old method : 0.1560070514678955 length of segment : 397 time for calcul the mask position with numpy : 0.005258083343505859 nb_pixel_total : 142302 time to create 1 rle with old method : 0.16773176193237305 length of segment : 653 time for calcul the mask position with numpy : 0.0009191036224365234 nb_pixel_total : 22621 time to create 1 rle with old method : 0.029796600341796875 length of segment : 155 time for calcul the mask position with numpy : 0.0027756690979003906 nb_pixel_total : 81046 time to create 1 rle with old method : 0.12502336502075195 length of segment : 423 time for calcul the mask position with numpy : 0.0040400028228759766 nb_pixel_total : 133860 time to create 1 rle with old method : 0.15601754188537598 length of segment : 637 time for calcul the mask position with numpy : 0.0010166168212890625 nb_pixel_total : 32292 time to create 1 rle with old method : 0.04522538185119629 length of segment : 189 time for calcul the mask position with numpy : 0.001409292221069336 nb_pixel_total : 44531 time to create 1 rle with old method : 0.05087137222290039 length of segment : 392 time for calcul the mask position with numpy : 0.0008533000946044922 nb_pixel_total : 32309 time to create 1 rle with old method : 0.04014110565185547 length of segment : 272 time for calcul the mask position with numpy : 0.002523183822631836 nb_pixel_total : 72598 time to create 1 rle with old method : 0.08932352066040039 length of segment : 315 time for calcul the mask position with numpy : 0.0020096302032470703 nb_pixel_total : 95652 time to create 1 rle with old method : 0.10991168022155762 length of segment : 420 time for calcul the mask position with numpy : 0.002350330352783203 nb_pixel_total : 73493 time to create 1 rle with old method : 0.08660149574279785 length of segment : 448 time for calcul the mask position with numpy : 0.0008082389831542969 nb_pixel_total : 21976 time to create 1 rle with old method : 0.02717423439025879 length of segment : 206 time for calcul the mask position with numpy : 0.0003337860107421875 nb_pixel_total : 9481 time to create 1 rle with old method : 0.011876821517944336 length of segment : 89 time for calcul the mask position with numpy : 0.0028100013732910156 nb_pixel_total : 111901 time to create 1 rle with old method : 0.13295793533325195 length of segment : 369 time for calcul the mask position with numpy : 0.002514362335205078 nb_pixel_total : 92040 time to create 1 rle with old method : 0.10584330558776855 length of segment : 280 time for calcul the mask position with numpy : 0.005111217498779297 nb_pixel_total : 210092 time to create 1 rle with new method : 0.011852741241455078 length of segment : 331 time for calcul the mask position with numpy : 0.0006687641143798828 nb_pixel_total : 13893 time to create 1 rle with old method : 0.017985820770263672 length of segment : 165 time for calcul the mask position with numpy : 0.0011420249938964844 nb_pixel_total : 23585 time to create 1 rle with old method : 0.03029322624206543 length of segment : 189 time for calcul the mask position with numpy : 0.0011720657348632812 nb_pixel_total : 37523 time to create 1 rle with old method : 0.04815077781677246 length of segment : 224 time for calcul the mask position with numpy : 0.004186391830444336 nb_pixel_total : 130843 time to create 1 rle with old method : 0.15660953521728516 length of segment : 506 time for calcul the mask position with numpy : 0.0010344982147216797 nb_pixel_total : 42532 time to create 1 rle with old method : 0.05173230171203613 length of segment : 245 time for calcul the mask position with numpy : 0.000705718994140625 nb_pixel_total : 24962 time to create 1 rle with old method : 0.02852630615234375 length of segment : 204 time for calcul the mask position with numpy : 0.00046539306640625 nb_pixel_total : 14066 time to create 1 rle with old method : 0.017382144927978516 length of segment : 144 time for calcul the mask position with numpy : 0.0015838146209716797 nb_pixel_total : 63010 time to create 1 rle with old method : 0.07549834251403809 length of segment : 401 time for calcul the mask position with numpy : 0.0005023479461669922 nb_pixel_total : 12735 time to create 1 rle with old method : 0.015744686126708984 length of segment : 141 time for calcul the mask position with numpy : 0.0004239082336425781 nb_pixel_total : 10963 time to create 1 rle with old method : 0.013823509216308594 length of segment : 163 time for calcul the mask position with numpy : 0.0005517005920410156 nb_pixel_total : 17227 time to create 1 rle with old method : 0.0208590030670166 length of segment : 107 time for calcul the mask position with numpy : 0.0064220428466796875 nb_pixel_total : 204830 time to create 1 rle with new method : 0.015469074249267578 length of segment : 280 time for calcul the mask position with numpy : 0.0017185211181640625 nb_pixel_total : 35490 time to create 1 rle with old method : 0.05920147895812988 length of segment : 248 time for calcul the mask position with numpy : 0.0013790130615234375 nb_pixel_total : 43602 time to create 1 rle with old method : 0.050942182540893555 length of segment : 214 time for calcul the mask position with numpy : 0.0009102821350097656 nb_pixel_total : 30866 time to create 1 rle with old method : 0.037203073501586914 length of segment : 168 time for calcul the mask position with numpy : 0.0008714199066162109 nb_pixel_total : 20481 time to create 1 rle with old method : 0.025040388107299805 length of segment : 203 time for calcul the mask position with numpy : 0.004675626754760742 nb_pixel_total : 167294 time to create 1 rle with new method : 0.00921487808227539 length of segment : 478 time for calcul the mask position with numpy : 0.0005993843078613281 nb_pixel_total : 21543 time to create 1 rle with old method : 0.026799440383911133 length of segment : 162 time for calcul the mask position with numpy : 0.0022885799407958984 nb_pixel_total : 79148 time to create 1 rle with old method : 0.09373831748962402 length of segment : 407 time for calcul the mask position with numpy : 0.005426883697509766 nb_pixel_total : 173313 time to create 1 rle with new method : 0.014881610870361328 length of segment : 818 time for calcul the mask position with numpy : 0.0003974437713623047 nb_pixel_total : 15975 time to create 1 rle with old method : 0.01941847801208496 length of segment : 143 time for calcul the mask position with numpy : 0.006013393402099609 nb_pixel_total : 192911 time to create 1 rle with new method : 0.010897397994995117 length of segment : 679 time for calcul the mask position with numpy : 0.00471043586730957 nb_pixel_total : 176606 time to create 1 rle with new method : 0.010093450546264648 length of segment : 497 time for calcul the mask position with numpy : 0.00516963005065918 nb_pixel_total : 178630 time to create 1 rle with new method : 0.010396480560302734 length of segment : 439 time for calcul the mask position with numpy : 0.003687620162963867 nb_pixel_total : 117676 time to create 1 rle with old method : 0.15186643600463867 length of segment : 411 time for calcul the mask position with numpy : 0.0006499290466308594 nb_pixel_total : 15463 time to create 1 rle with old method : 0.019035816192626953 length of segment : 134 time for calcul the mask position with numpy : 0.003512144088745117 nb_pixel_total : 94558 time to create 1 rle with old method : 0.10821056365966797 length of segment : 476 time for calcul the mask position with numpy : 0.001050710678100586 nb_pixel_total : 40177 time to create 1 rle with old method : 0.04975533485412598 length of segment : 180 time for calcul the mask position with numpy : 0.004148960113525391 nb_pixel_total : 72672 time to create 1 rle with old method : 0.10774827003479004 length of segment : 389 time for calcul the mask position with numpy : 0.0012359619140625 nb_pixel_total : 27029 time to create 1 rle with old method : 0.03419137001037598 length of segment : 110 time for calcul the mask position with numpy : 0.001020669937133789 nb_pixel_total : 14744 time to create 1 rle with old method : 0.01812148094177246 length of segment : 216 time for calcul the mask position with numpy : 0.0005772113800048828 nb_pixel_total : 17188 time to create 1 rle with old method : 0.021128177642822266 length of segment : 134 time for calcul the mask position with numpy : 0.0007548332214355469 nb_pixel_total : 20895 time to create 1 rle with old method : 0.02632927894592285 length of segment : 177 time for calcul the mask position with numpy : 0.0019414424896240234 nb_pixel_total : 47713 time to create 1 rle with old method : 0.056073904037475586 length of segment : 230 time for calcul the mask position with numpy : 0.0013589859008789062 nb_pixel_total : 44294 time to create 1 rle with old method : 0.05186915397644043 length of segment : 235 time for calcul the mask position with numpy : 0.0005729198455810547 nb_pixel_total : 9010 time to create 1 rle with old method : 0.011315107345581055 length of segment : 136 time for calcul the mask position with numpy : 0.0054705142974853516 nb_pixel_total : 177635 time to create 1 rle with new method : 0.010915756225585938 length of segment : 400 time for calcul the mask position with numpy : 0.0012748241424560547 nb_pixel_total : 16444 time to create 1 rle with old method : 0.019492149353027344 length of segment : 256 time for calcul the mask position with numpy : 0.0021207332611083984 nb_pixel_total : 58533 time to create 1 rle with old method : 0.09495329856872559 length of segment : 326 time for calcul the mask position with numpy : 0.0010864734649658203 nb_pixel_total : 29796 time to create 1 rle with old method : 0.03834080696105957 length of segment : 341 time for calcul the mask position with numpy : 0.0013260841369628906 nb_pixel_total : 37099 time to create 1 rle with old method : 0.04688549041748047 length of segment : 232 time for calcul the mask position with numpy : 0.0002872943878173828 nb_pixel_total : 7792 time to create 1 rle with old method : 0.010226011276245117 length of segment : 107 time for calcul the mask position with numpy : 0.0006744861602783203 nb_pixel_total : 16442 time to create 1 rle with old method : 0.021512269973754883 length of segment : 116 time for calcul the mask position with numpy : 0.005393505096435547 nb_pixel_total : 175079 time to create 1 rle with new method : 0.010647773742675781 length of segment : 421 time for calcul the mask position with numpy : 0.0030372142791748047 nb_pixel_total : 209410 time to create 1 rle with new method : 0.010969161987304688 length of segment : 710 time for calcul the mask position with numpy : 0.0031943321228027344 nb_pixel_total : 192913 time to create 1 rle with new method : 0.010738372802734375 length of segment : 518 time for calcul the mask position with numpy : 0.00038886070251464844 nb_pixel_total : 6940 time to create 1 rle with old method : 0.008712530136108398 length of segment : 101 time for calcul the mask position with numpy : 0.00048279762268066406 nb_pixel_total : 8069 time to create 1 rle with old method : 0.009965181350708008 length of segment : 159 time for calcul the mask position with numpy : 0.0009942054748535156 nb_pixel_total : 47138 time to create 1 rle with old method : 0.056708335876464844 length of segment : 218 time for calcul the mask position with numpy : 0.0005052089691162109 nb_pixel_total : 21284 time to create 1 rle with old method : 0.026423215866088867 length of segment : 186 time for calcul the mask position with numpy : 0.0010085105895996094 nb_pixel_total : 40973 time to create 1 rle with old method : 0.04886054992675781 length of segment : 323 time for calcul the mask position with numpy : 0.0024144649505615234 nb_pixel_total : 118903 time to create 1 rle with old method : 0.14149737358093262 length of segment : 382 time for calcul the mask position with numpy : 0.0015206336975097656 nb_pixel_total : 65629 time to create 1 rle with old method : 0.08065152168273926 length of segment : 219 time for calcul the mask position with numpy : 0.0022208690643310547 nb_pixel_total : 151720 time to create 1 rle with new method : 0.00732421875 length of segment : 582 time for calcul the mask position with numpy : 0.0005724430084228516 nb_pixel_total : 33075 time to create 1 rle with old method : 0.03971242904663086 length of segment : 150 time for calcul the mask position with numpy : 0.0007996559143066406 nb_pixel_total : 18829 time to create 1 rle with old method : 0.022893905639648438 length of segment : 141 time for calcul the mask position with numpy : 0.0007989406585693359 nb_pixel_total : 25967 time to create 1 rle with old method : 0.032143592834472656 length of segment : 171 time for calcul the mask position with numpy : 0.0006487369537353516 nb_pixel_total : 20899 time to create 1 rle with old method : 0.025307655334472656 length of segment : 167 time for calcul the mask position with numpy : 0.00045943260192871094 nb_pixel_total : 10964 time to create 1 rle with old method : 0.01367807388305664 length of segment : 119 time for calcul the mask position with numpy : 0.001196146011352539 nb_pixel_total : 28968 time to create 1 rle with old method : 0.03583264350891113 length of segment : 205 time for calcul the mask position with numpy : 0.0022661685943603516 nb_pixel_total : 52999 time to create 1 rle with old method : 0.06234121322631836 length of segment : 388 time for calcul the mask position with numpy : 0.000522613525390625 nb_pixel_total : 20354 time to create 1 rle with old method : 0.025453567504882812 length of segment : 113 time for calcul the mask position with numpy : 0.002461671829223633 nb_pixel_total : 54143 time to create 1 rle with old method : 0.06514978408813477 length of segment : 303 time for calcul the mask position with numpy : 0.00037097930908203125 nb_pixel_total : 12080 time to create 1 rle with old method : 0.01526784896850586 length of segment : 113 time for calcul the mask position with numpy : 0.0034601688385009766 nb_pixel_total : 112702 time to create 1 rle with old method : 0.13136720657348633 length of segment : 427 time for calcul the mask position with numpy : 0.0008702278137207031 nb_pixel_total : 34787 time to create 1 rle with old method : 0.042000770568847656 length of segment : 230 time spent for convertir_results : 11.85850214958191 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 120 chid ids of type : 3594 Number RLEs to save : 34593 save missing photos in datou_result : time spend for datou_step_exec : 85.76976656913757 time spend to save output : 51.19143509864807 total time spend for step 1 : 136.96120166778564 step2:crop_condition Sat Mar 8 11:42:53 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 : 10 ! batch 1 Loaded 120 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 ! 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 : 61 About to insert : list_path_to_insert length 61 new photo from crops ! About to upload 61 photos upload in portfolio : 3736932 init cache_photo without model_param we have 61 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741430587_31385 we have uploaded 61 photos in the portfolio 3736932 time of upload the photos Elapsed time : 17.736582279205322 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 ! 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 : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741430610_31385 we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.321685314178467 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/1741430615_31385 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9625372886657715 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 ! 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 : 39 About to insert : list_path_to_insert length 39 new photo from crops ! About to upload 39 photos upload in portfolio : 3736932 init cache_photo without model_param we have 39 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741430635_31385 we have uploaded 39 photos in the portfolio 3736932 time of upload the photos Elapsed time : 13.165635347366333 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 ! 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/1741430652_31385 we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.937000513076782 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 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741430658_31385 Catched exception ! Connect or reconnect ! File "/home/admin/workarea/git/Velours/python/mtr/utils/upload_batch.py", line 63, in upload_batch map_result_insert, list_errors = storage_photo.upload_photos_by_python(context, list_path_to_insert, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/CachePhotoData_queries.py", line 296, in upload_photos_by_python map_path_photo_id, list_photo_ids = self.save_photo_infos_in_sql(context , map_local_s3_path, File "/home/admin/workarea/git/Velours/python/mtr/database_queries/CachePhotoData_queries.py", line 282, in save_photo_infos_in_sql context.pq.insert_photo_in_port_by_batch( mtr_portfolio_id ,list_photo_ids, batch_size = 300, mtr_user_id=mtr_user_id, verbose=verbose) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/portfolio_queries.py", line 323, in insert_photo_in_port_by_batch nb = self.gq.insert(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 112, in insert number = cursor.execute(query, args) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 209, in execute res = self._query(query) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/cursors.py", line 315, in _query db.query(q) File "/usr/local/lib/python3.8/dist-packages/MySQLdb/connections.py", line 239, in query _mysql.connection.query(self, query) (1205, 'Lock wait timeout exceeded; try restarting transaction') Globalization failed since we didn't found path {} in map_result_inserttemp/1741430435_31385_1331987059_b0bf56ba0879e4f7f9ec941134d488d2_rle_crop_3699484723_0.png CONSIDER SERIOUSLY ! we have finished the crop for the class : pehd 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 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 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 [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] Looping around the photos to save general results len do output : 119 /1341833677Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833678Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833692Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833874Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833875Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341833917Didn'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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 367 time used for this insertion : 5.269280195236206 save_final save missing photos in datou_result : time spend for datou_step_exec : 187.47048592567444 time spend to save output : 5.2858898639678955 total time spend for step 2 : 192.75637578964233 step3:rle_unique_nms_with_priority Sat Mar 8 11:46: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 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 120 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 16 nb_hashtags : 3 time to prepare the origin masks : 6.160714149475098 time for calcul the mask position with numpy : 0.34598875045776367 nb_pixel_total : 7415339 time to create 1 rle with new method : 1.7981469631195068 time for calcul the mask position with numpy : 0.03519701957702637 nb_pixel_total : 12259 time to create 1 rle with old method : 0.013643264770507812 time for calcul the mask position with numpy : 0.035508155822753906 nb_pixel_total : 47504 time to create 1 rle with old method : 0.05219244956970215 time for calcul the mask position with numpy : 0.0396270751953125 nb_pixel_total : 36656 time to create 1 rle with old method : 0.04075169563293457 time for calcul the mask position with numpy : 0.03964996337890625 nb_pixel_total : 20893 time to create 1 rle with old method : 0.023358583450317383 time for calcul the mask position with numpy : 0.04007220268249512 nb_pixel_total : 131907 time to create 1 rle with old method : 0.1454000473022461 time for calcul the mask position with numpy : 0.03845095634460449 nb_pixel_total : 47230 time to create 1 rle with old method : 0.05132699012756348 time for calcul the mask position with numpy : 0.04199481010437012 nb_pixel_total : 45816 time to create 1 rle with old method : 0.05089116096496582 time for calcul the mask position with numpy : 0.03995704650878906 nb_pixel_total : 55740 time to create 1 rle with old method : 0.06200003623962402 time for calcul the mask position with numpy : 0.039754390716552734 nb_pixel_total : 44893 time to create 1 rle with old method : 0.05023550987243652 time for calcul the mask position with numpy : 0.04046440124511719 nb_pixel_total : 13278 time to create 1 rle with old method : 0.014962196350097656 time for calcul the mask position with numpy : 0.039302825927734375 nb_pixel_total : 61764 time to create 1 rle with old method : 0.06710100173950195 time for calcul the mask position with numpy : 0.04070854187011719 nb_pixel_total : 24366 time to create 1 rle with old method : 0.02646946907043457 time for calcul the mask position with numpy : 0.030304908752441406 nb_pixel_total : 17156 time to create 1 rle with old method : 0.018161535263061523 time for calcul the mask position with numpy : 0.024515867233276367 nb_pixel_total : 12269 time to create 1 rle with old method : 0.013678312301635742 time for calcul the mask position with numpy : 0.02555108070373535 nb_pixel_total : 228137 time to create 1 rle with new method : 0.9341444969177246 time for calcul the mask position with numpy : 0.02633213996887207 nb_pixel_total : 79193 time to create 1 rle with old method : 0.08859038352966309 create new chi : 4.437286615371704 time to delete rle : 0.022016048431396484 batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 11000 TO DO : save crop sub photo not yet done ! save time : 12.303303718566895 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 8.942809820175171 time for calcul the mask position with numpy : 0.46239566802978516 nb_pixel_total : 7605306 time to create 1 rle with new method : 0.53851318359375 time for calcul the mask position with numpy : 0.04926276206970215 nb_pixel_total : 15765 time to create 1 rle with old method : 0.027599811553955078 time for calcul the mask position with numpy : 0.05240678787231445 nb_pixel_total : 50071 time to create 1 rle with old method : 0.06415247917175293 time for calcul the mask position with numpy : 0.0439605712890625 nb_pixel_total : 59620 time to create 1 rle with old method : 0.06892251968383789 time for calcul the mask position with numpy : 0.0443263053894043 nb_pixel_total : 73162 time to create 1 rle with old method : 0.08283686637878418 time for calcul the mask position with numpy : 0.04215812683105469 nb_pixel_total : 76314 time to create 1 rle with old method : 0.0920250415802002 time for calcul the mask position with numpy : 0.042623281478881836 nb_pixel_total : 64900 time to create 1 rle with old method : 0.0758657455444336 time for calcul the mask position with numpy : 0.05001378059387207 nb_pixel_total : 23382 time to create 1 rle with old method : 0.027872800827026367 time for calcul the mask position with numpy : 0.054492950439453125 nb_pixel_total : 35598 time to create 1 rle with old method : 0.04108071327209473 time for calcul the mask position with numpy : 0.05931830406188965 nb_pixel_total : 163487 time to create 1 rle with new method : 0.4383220672607422 time for calcul the mask position with numpy : 0.04947638511657715 nb_pixel_total : 23046 time to create 1 rle with old method : 0.026166915893554688 time for calcul the mask position with numpy : 0.05705523490905762 nb_pixel_total : 18566 time to create 1 rle with old method : 0.021416902542114258 time for calcul the mask position with numpy : 0.04969072341918945 nb_pixel_total : 66441 time to create 1 rle with old method : 0.07671952247619629 time for calcul the mask position with numpy : 0.04150271415710449 nb_pixel_total : 18742 time to create 1 rle with old method : 0.022270679473876953 create new chi : 2.7758991718292236 time to delete rle : 0.0017113685607910156 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 9510 TO DO : save crop sub photo not yet done ! save time : 11.48363184928894 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 4.4582788944244385 time for calcul the mask position with numpy : 0.7618887424468994 nb_pixel_total : 7988334 time to create 1 rle with new method : 0.37440991401672363 time for calcul the mask position with numpy : 0.04392433166503906 nb_pixel_total : 28154 time to create 1 rle with old method : 0.03203320503234863 time for calcul the mask position with numpy : 0.0458836555480957 nb_pixel_total : 103242 time to create 1 rle with old method : 0.11893844604492188 time for calcul the mask position with numpy : 0.042070865631103516 nb_pixel_total : 21405 time to create 1 rle with old method : 0.07543015480041504 time for calcul the mask position with numpy : 0.03944587707519531 nb_pixel_total : 18847 time to create 1 rle with old method : 0.02172255516052246 time for calcul the mask position with numpy : 0.04207563400268555 nb_pixel_total : 19271 time to create 1 rle with old method : 0.02258133888244629 time for calcul the mask position with numpy : 0.0400850772857666 nb_pixel_total : 115147 time to create 1 rle with old method : 0.13061881065368652 create new chi : 1.8434562683105469 time to delete rle : 0.0010366439819335938 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 5432 TO DO : save crop sub photo not yet done ! save time : 6.829859495162964 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.5479366779327393 time for calcul the mask position with numpy : 0.903984785079956 nb_pixel_total : 7871861 time to create 1 rle with new method : 1.0104200839996338 time for calcul the mask position with numpy : 0.05048179626464844 nb_pixel_total : 22621 time to create 1 rle with old method : 0.027727127075195312 time for calcul the mask position with numpy : 0.030810832977294922 nb_pixel_total : 142302 time to create 1 rle with old method : 0.16839051246643066 time for calcul the mask position with numpy : 0.02740478515625 nb_pixel_total : 126621 time to create 1 rle with old method : 0.14911198616027832 time for calcul the mask position with numpy : 0.04535102844238281 nb_pixel_total : 46356 time to create 1 rle with old method : 0.05514335632324219 time for calcul the mask position with numpy : 0.04128003120422363 nb_pixel_total : 24905 time to create 1 rle with old method : 0.0287172794342041 time for calcul the mask position with numpy : 0.04852294921875 nb_pixel_total : 59734 time to create 1 rle with old method : 0.07157182693481445 create new chi : 2.7159159183502197 time to delete rle : 0.0019860267639160156 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 5720 TO DO : save crop sub photo not yet done ! save time : 3.3175036907196045 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 4.534384250640869 time for calcul the mask position with numpy : 0.5311689376831055 nb_pixel_total : 7585261 time to create 1 rle with new method : 0.8763201236724854 time for calcul the mask position with numpy : 0.02757430076599121 nb_pixel_total : 111901 time to create 1 rle with old method : 0.1315314769744873 time for calcul the mask position with numpy : 0.038580894470214844 nb_pixel_total : 9481 time to create 1 rle with old method : 0.012204647064208984 time for calcul the mask position with numpy : 0.05341529846191406 nb_pixel_total : 21976 time to create 1 rle with old method : 0.027201175689697266 time for calcul the mask position with numpy : 0.04705023765563965 nb_pixel_total : 73493 time to create 1 rle with old method : 0.0900874137878418 time for calcul the mask position with numpy : 0.044695377349853516 nb_pixel_total : 95652 time to create 1 rle with old method : 0.12588024139404297 time for calcul the mask position with numpy : 0.04300880432128906 nb_pixel_total : 72598 time to create 1 rle with old method : 0.08496594429016113 time for calcul the mask position with numpy : 0.033257246017456055 nb_pixel_total : 32309 time to create 1 rle with old method : 0.037369489669799805 time for calcul the mask position with numpy : 0.031838417053222656 nb_pixel_total : 44531 time to create 1 rle with old method : 0.05047941207885742 time for calcul the mask position with numpy : 0.027474403381347656 nb_pixel_total : 32292 time to create 1 rle with old method : 0.03782343864440918 time for calcul the mask position with numpy : 0.03345155715942383 nb_pixel_total : 133860 time to create 1 rle with old method : 0.18398571014404297 time for calcul the mask position with numpy : 0.028426647186279297 nb_pixel_total : 81046 time to create 1 rle with old method : 0.09850049018859863 create new chi : 2.749849796295166 time to delete rle : 0.0027816295623779297 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 9680 TO DO : save crop sub photo not yet done ! save time : 11.331947565078735 nb_obj : 10 nb_hashtags : 3 time to prepare the origin masks : 7.710663795471191 time for calcul the mask position with numpy : 1.2887561321258545 nb_pixel_total : 7642077 time to create 1 rle with new method : 1.0336213111877441 time for calcul the mask position with numpy : 0.06486105918884277 nb_pixel_total : 63010 time to create 1 rle with old method : 0.07866954803466797 time for calcul the mask position with numpy : 0.0639033317565918 nb_pixel_total : 14066 time to create 1 rle with old method : 0.016429424285888672 time for calcul the mask position with numpy : 0.06066536903381348 nb_pixel_total : 24962 time to create 1 rle with old method : 0.03440046310424805 time for calcul the mask position with numpy : 0.05047869682312012 nb_pixel_total : 42309 time to create 1 rle with old method : 0.04978585243225098 time for calcul the mask position with numpy : 0.05657958984375 nb_pixel_total : 130843 time to create 1 rle with old method : 0.1557760238647461 time for calcul the mask position with numpy : 0.05857658386230469 nb_pixel_total : 37523 time to create 1 rle with old method : 0.07259750366210938 time for calcul the mask position with numpy : 0.09057450294494629 nb_pixel_total : 23585 time to create 1 rle with old method : 0.049454689025878906 time for calcul the mask position with numpy : 0.06078767776489258 nb_pixel_total : 13893 time to create 1 rle with old method : 0.02344799041748047 time for calcul the mask position with numpy : 0.05256056785583496 nb_pixel_total : 210092 time to create 1 rle with new method : 0.7806539535522461 time for calcul the mask position with numpy : 0.044449806213378906 nb_pixel_total : 92040 time to create 1 rle with old method : 0.10770082473754883 create new chi : 4.397796154022217 time to delete rle : 0.0022008419036865234 batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 7499 TO DO : save crop sub photo not yet done ! save time : 5.079188108444214 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 8.299078226089478 time for calcul the mask position with numpy : 0.733522891998291 nb_pixel_total : 7460933 time to create 1 rle with new method : 0.6515967845916748 time for calcul the mask position with numpy : 0.04256296157836914 nb_pixel_total : 15975 time to create 1 rle with old method : 0.020029067993164062 time for calcul the mask position with numpy : 0.0450596809387207 nb_pixel_total : 173313 time to create 1 rle with new method : 0.7838976383209229 time for calcul the mask position with numpy : 0.041181087493896484 nb_pixel_total : 79148 time to create 1 rle with old method : 0.0901646614074707 time for calcul the mask position with numpy : 0.04358029365539551 nb_pixel_total : 21543 time to create 1 rle with old method : 0.024595022201538086 time for calcul the mask position with numpy : 0.04294705390930176 nb_pixel_total : 167294 time to create 1 rle with new method : 0.5016446113586426 time for calcul the mask position with numpy : 0.04080820083618164 nb_pixel_total : 20481 time to create 1 rle with old method : 0.0228574275970459 time for calcul the mask position with numpy : 0.04103589057922363 nb_pixel_total : 30866 time to create 1 rle with old method : 0.036269187927246094 time for calcul the mask position with numpy : 0.04639387130737305 nb_pixel_total : 43602 time to create 1 rle with old method : 0.050872802734375 time for calcul the mask position with numpy : 0.04950904846191406 nb_pixel_total : 35490 time to create 1 rle with old method : 0.04221057891845703 time for calcul the mask position with numpy : 0.027139902114868164 nb_pixel_total : 204830 time to create 1 rle with new method : 0.6125490665435791 time for calcul the mask position with numpy : 0.04271292686462402 nb_pixel_total : 17227 time to create 1 rle with old method : 0.02210545539855957 time for calcul the mask position with numpy : 0.04140162467956543 nb_pixel_total : 10963 time to create 1 rle with old method : 0.021085739135742188 time for calcul the mask position with numpy : 0.04178333282470703 nb_pixel_total : 12735 time to create 1 rle with old method : 0.014621496200561523 create new chi : 4.306769132614136 time to delete rle : 0.0016832351684570312 batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 9224 TO DO : save crop sub photo not yet done ! save time : 3.462961435317993 nb_obj : 21 nb_hashtags : 4 time to prepare the origin masks : 9.994839668273926 time for calcul the mask position with numpy : 0.7742550373077393 nb_pixel_total : 6910611 time to create 1 rle with new method : 0.5326337814331055 time for calcul the mask position with numpy : 0.027265310287475586 nb_pixel_total : 24 time to create 1 rle with old method : 0.000102996826171875 time for calcul the mask position with numpy : 0.02843761444091797 nb_pixel_total : 37099 time to create 1 rle with old method : 0.04355263710021973 time for calcul the mask position with numpy : 0.029206275939941406 nb_pixel_total : 29796 time to create 1 rle with old method : 0.03393292427062988 time for calcul the mask position with numpy : 0.02824687957763672 nb_pixel_total : 58533 time to create 1 rle with old method : 0.06635332107543945 time for calcul the mask position with numpy : 0.027264118194580078 nb_pixel_total : 16444 time to create 1 rle with old method : 0.019032001495361328 time for calcul the mask position with numpy : 0.028952836990356445 nb_pixel_total : 177635 time to create 1 rle with new method : 0.5591747760772705 time for calcul the mask position with numpy : 0.029029130935668945 nb_pixel_total : 9010 time to create 1 rle with old method : 0.010762453079223633 time for calcul the mask position with numpy : 0.03196549415588379 nb_pixel_total : 44294 time to create 1 rle with old method : 0.05033063888549805 time for calcul the mask position with numpy : 0.02682185173034668 nb_pixel_total : 47713 time to create 1 rle with old method : 0.05410432815551758 time for calcul the mask position with numpy : 0.03400874137878418 nb_pixel_total : 20895 time to create 1 rle with old method : 0.02375197410583496 time for calcul the mask position with numpy : 0.04430890083312988 nb_pixel_total : 17188 time to create 1 rle with old method : 0.01979994773864746 time for calcul the mask position with numpy : 0.0439610481262207 nb_pixel_total : 14744 time to create 1 rle with old method : 0.0170443058013916 time for calcul the mask position with numpy : 0.042830467224121094 nb_pixel_total : 27029 time to create 1 rle with old method : 0.031001567840576172 time for calcul the mask position with numpy : 0.03919196128845215 nb_pixel_total : 72672 time to create 1 rle with old method : 0.0833437442779541 time for calcul the mask position with numpy : 0.03484606742858887 nb_pixel_total : 40177 time to create 1 rle with old method : 0.04580211639404297 time for calcul the mask position with numpy : 0.02873706817626953 nb_pixel_total : 94558 time to create 1 rle with old method : 0.11119461059570312 time for calcul the mask position with numpy : 0.029361486434936523 nb_pixel_total : 15463 time to create 1 rle with old method : 0.018965959548950195 time for calcul the mask position with numpy : 0.028572797775268555 nb_pixel_total : 117676 time to create 1 rle with old method : 0.13841795921325684 time for calcul the mask position with numpy : 0.028046846389770508 nb_pixel_total : 178630 time to create 1 rle with new method : 0.9028093814849854 time for calcul the mask position with numpy : 0.03052067756652832 nb_pixel_total : 171298 time to create 1 rle with new method : 0.576561689376831 time for calcul the mask position with numpy : 0.03188514709472656 nb_pixel_total : 192911 time to create 1 rle with new method : 2.037919282913208 create new chi : 7.004068374633789 time to delete rle : 0.005057811737060547 batch 1 Loaded 43 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++Number RLEs to save : 14089 TO DO : save crop sub photo not yet done ! save time : 5.394415616989136 nb_obj : 13 nb_hashtags : 4 time to prepare the origin masks : 5.708104610443115 time for calcul the mask position with numpy : 0.6138715744018555 nb_pixel_total : 7207192 time to create 1 rle with new method : 1.1088356971740723 time for calcul the mask position with numpy : 0.04419207572937012 nb_pixel_total : 33075 time to create 1 rle with old method : 0.0395350456237793 time for calcul the mask position with numpy : 0.04647183418273926 nb_pixel_total : 151720 time to create 1 rle with new method : 1.0139999389648438 time for calcul the mask position with numpy : 0.03854823112487793 nb_pixel_total : 65629 time to create 1 rle with old method : 0.07819628715515137 time for calcul the mask position with numpy : 0.03230786323547363 nb_pixel_total : 118903 time to create 1 rle with old method : 0.1396791934967041 time for calcul the mask position with numpy : 0.04962158203125 nb_pixel_total : 40606 time to create 1 rle with old method : 0.04938554763793945 time for calcul the mask position with numpy : 0.05039620399475098 nb_pixel_total : 21284 time to create 1 rle with old method : 0.027124881744384766 time for calcul the mask position with numpy : 0.050618886947631836 nb_pixel_total : 47138 time to create 1 rle with old method : 0.05797839164733887 time for calcul the mask position with numpy : 0.0505366325378418 nb_pixel_total : 8069 time to create 1 rle with old method : 0.010241031646728516 time for calcul the mask position with numpy : 0.052597761154174805 nb_pixel_total : 6940 time to create 1 rle with old method : 0.008822441101074219 time for calcul the mask position with numpy : 0.04748868942260742 nb_pixel_total : 192913 time to create 1 rle with new method : 1.5200226306915283 time for calcul the mask position with numpy : 0.035803794860839844 nb_pixel_total : 209410 time to create 1 rle with new method : 0.570990800857544 time for calcul the mask position with numpy : 0.03871440887451172 nb_pixel_total : 175079 time to create 1 rle with new method : 1.3264548778533936 time for calcul the mask position with numpy : 0.036890268325805664 nb_pixel_total : 16442 time to create 1 rle with old method : 0.0192568302154541 create new chi : 7.346729755401611 time to delete rle : 0.003423452377319336 batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 10238 TO DO : save crop sub photo not yet done ! save time : 2.6358883380889893 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 6.481212854385376 time for calcul the mask position with numpy : 1.1188008785247803 nb_pixel_total : 7901708 time to create 1 rle with new method : 0.9553191661834717 time for calcul the mask position with numpy : 0.04781985282897949 nb_pixel_total : 34787 time to create 1 rle with old method : 0.04253244400024414 time for calcul the mask position with numpy : 0.04535174369812012 nb_pixel_total : 112702 time to create 1 rle with old method : 0.14060449600219727 time for calcul the mask position with numpy : 0.0498194694519043 nb_pixel_total : 12080 time to create 1 rle with old method : 0.016712427139282227 time for calcul the mask position with numpy : 0.04810953140258789 nb_pixel_total : 54143 time to create 1 rle with old method : 0.06489968299865723 time for calcul the mask position with numpy : 0.04853391647338867 nb_pixel_total : 20354 time to create 1 rle with old method : 0.027704715728759766 time for calcul the mask position with numpy : 0.05536365509033203 nb_pixel_total : 52999 time to create 1 rle with old method : 0.06216168403625488 time for calcul the mask position with numpy : 0.04086804389953613 nb_pixel_total : 28968 time to create 1 rle with old method : 0.03791451454162598 time for calcul the mask position with numpy : 0.04663538932800293 nb_pixel_total : 10964 time to create 1 rle with old method : 0.012960433959960938 time for calcul the mask position with numpy : 0.041564226150512695 nb_pixel_total : 20899 time to create 1 rle with old method : 0.024740219116210938 time for calcul the mask position with numpy : 0.04229092597961426 nb_pixel_total : 25967 time to create 1 rle with old method : 0.029699087142944336 time for calcul the mask position with numpy : 0.0525965690612793 nb_pixel_total : 18829 time to create 1 rle with old method : 0.02289557456970215 create new chi : 3.14792537689209 time to delete rle : 0.0017964839935302734 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 6914 TO DO : save crop sub photo not yet done ! save time : 5.910938262939453 map_output_result : {1331987316: (0.0, 'Should be the crop_list due to order', 0), 1331987303: (0.0, 'Should be the crop_list due to order', 0), 1331987203: (0.0, 'Should be the crop_list due to order', 0), 1331987162: (0.0, 'Should be the crop_list due to order', 0), 1331987137: (0.0, 'Should be the crop_list due to order', 0), 1331987129: (0.0, 'Should be the crop_list due to order', 0), 1331987105: (0.0, 'Should be the crop_list due to order', 0), 1331987100: (0.0, 'Should be the crop_list due to order', 0), 1331987091: (0.0, 'Should be the crop_list due to order', 0), 1331987059: (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 [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] Looping around the photos to save general results len do output : 10 /1331987316.Didn't retrieve data . /1331987303.Didn't retrieve data . /1331987203.Didn't retrieve data . /1331987162.Didn't retrieve data . /1331987137.Didn't retrieve data . /1331987129.Didn't retrieve data . /1331987105.Didn't retrieve data . /1331987100.Didn't retrieve data . /1331987091.Didn't retrieve data . /1331987059.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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.06881427764892578 save_final save missing photos in datou_result : time spend for datou_step_exec : 177.485111951828 time spend to save output : 0.07689380645751953 total time spend for step 3 : 177.56200575828552 step4:ventilate_hashtags_in_portfolio Sat Mar 8 11:49:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 21177725 get user id for portfolio 21177725 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','flou','pehd','pet_clair','environnement','metal','pet_fonce','carton','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`=21177725 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','flou','pehd','pet_clair','environnement','metal','pet_fonce','carton','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`=21177725 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','autre','background','flou','pehd','pet_clair','environnement','metal','pet_fonce','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21178125,21178126,21178127,21178128,21178129,21178130,21178131,21178132,21178133,21178134,21178135?tags=papier,autre,background,flou,pehd,pet_clair,environnement,metal,pet_fonce,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] Looping around the photos to save general results len do output : 1 /21177725. 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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.11491703987121582 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5363636016845703 time spend to save output : 0.11534643173217773 total time spend for step 4 : 3.651710033416748 step5:final Sat Mar 8 11:49: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 ! 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 : {1331987316: ('0.08867884355709874',), 1331987303: ('0.08867884355709874',), 1331987203: ('0.08867884355709874',), 1331987162: ('0.08867884355709874',), 1331987137: ('0.08867884355709874',), 1331987129: ('0.08867884355709874',), 1331987105: ('0.08867884355709874',), 1331987100: ('0.08867884355709874',), 1331987091: ('0.08867884355709874',), 1331987059: ('0.08867884355709874',)} new output for save of step final : {1331987316: ('0.08867884355709874',), 1331987303: ('0.08867884355709874',), 1331987203: ('0.08867884355709874',), 1331987162: ('0.08867884355709874',), 1331987137: ('0.08867884355709874',), 1331987129: ('0.08867884355709874',), 1331987105: ('0.08867884355709874',), 1331987100: ('0.08867884355709874',), 1331987091: ('0.08867884355709874',), 1331987059: ('0.08867884355709874',)} [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] Looping around the photos to save general results len do output : 10 /1331987316.Didn't retrieve data . /1331987303.Didn't retrieve data . /1331987203.Didn't retrieve data . /1331987162.Didn't retrieve data . /1331987137.Didn't retrieve data . /1331987129.Didn't retrieve data . /1331987105.Didn't retrieve data . /1331987100.Didn't retrieve data . /1331987091.Didn't retrieve data . /1331987059.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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.013059377670288086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14991378784179688 time spend to save output : 0.0138702392578125 total time spend for step 5 : 0.16378402709960938 step6:blur_detection Sat Mar 8 11:49:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 10 time used for this insertion : 0.009503364562988281 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.008955240249633789 save missing photos in datou_result : time spend for datou_step_exec : 0.39565157890319824 time spend to save output : 0.024081707000732422 total time spend for step 6 : 0.41973328590393066 step7:brightness Sat Mar 8 11:49:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 10 time used for this insertion : 0.008956432342529297 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.009038686752319336 save missing photos in datou_result : time spend for datou_step_exec : 0.02676224708557129 time spend to save output : 0.022282838821411133 total time spend for step 7 : 0.04904508590698242 step8:velours_tree Sat Mar 8 11:49:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure 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.5210022926330566 time spend to save output : 4.649162292480469e-05 total time spend for step 8 : 0.5210487842559814 step9:send_mail_cod Sat Mar 8 11:49:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P21177725_08-03-2025_11_49_09.pdf 21178125 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 .imagette211781251741430949 21178126 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211781261741430950 21178127 imagette211781271741430950 21178128 imagette211781281741430950 21178129 imagette211781291741430950 21178130 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 .imagette211781301741430950 21178132 change filename to text .change filename to text .change filename to text .imagette211781321741430952 21178133 imagette211781331741430952 21178134 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 .imagette211781341741430952 21178135 imagette211781351741430953 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21177725 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21178125,21178126,21178127,21178128,21178129,21178130,21178131,21178132,21178133,21178134,21178135?tags=papier,autre,background,flou,pehd,pet_clair,environnement,metal,pet_fonce,carton,mal_croppe args[1331987316] : ((1331987316, -5.341774571444875, 492609224), (1331987316, 0.10241023826159673, 2107752395), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987303] : ((1331987303, -3.336703219273614, 492609224), (1331987303, -1.226606454125453, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987203] : ((1331987203, -3.3279144699726704, 492609224), (1331987203, -1.5960239878263862, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987162] : ((1331987162, -3.4383957661822, 492609224), (1331987162, -1.2992702869763648, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987137] : ((1331987137, -3.6518039939342213, 492609224), (1331987137, -0.9457133644438082, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987129] : ((1331987129, -4.584464550640316, 492609224), (1331987129, -0.8686207065731949, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987105] : ((1331987105, -5.071749706031989, 492609224), (1331987105, -0.8804925400897738, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987100] : ((1331987100, -5.240848239186578, 492609224), (1331987100, -0.3853841242531256, 496442774), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987091] : ((1331987091, -3.2378207357716997, 492609224), (1331987091, -1.2574495769618053, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com args[1331987059] : ((1331987059, -3.618708048402797, 492609224), (1331987059, -1.405513769522054, 501862349), '0.08867884355709874') We are sending mail with results at report@fotonower.com refus_total : 0.08867884355709874 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=21177725 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_P21177725_08-03-2025_11_49_09.pdf results_Auto_P21177725_08-03-2025_11_49_09.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177725_08-03-2025_11_49_09.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','21177725','results_Auto_P21177725_08-03-2025_11_49_09.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177725_08-03-2025_11_49_09.pdf','pdf','','0.81','0.08867884355709874') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21177725

https://www.fotonower.com/image?json=false&list_photos_id=1331987316
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987303
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987203
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987162
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987137
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987129
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987105
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987100
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987091
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1331987059
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/21178125?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/21178126?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/21178130?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/21178132?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/21178134?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21177725_08-03-2025_11_49_09.pdf.

Lien vers velours :https://www.fotonower.com/velours/21178125,21178126,21178127,21178128,21178129,21178130,21178131,21178132,21178133,21178134,21178135?tags=papier,autre,background,flou,pehd,pet_clair,environnement,metal,pet_fonce,carton,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 08 Mar 2025 10:49:17 GMT Content-Length: 0 Connection: close X-Message-Id: nCrszuhhRiW2vEecp20Xyw 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 [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] 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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.09075164794921875 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.545940160751343 time spend to save output : 0.09106707572937012 total time spend for step 9 : 8.637007236480713 step10:split_time_score Sat Mar 8 11:49:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('15', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27012025 21177725 Nombre de photos uploadées : 10 / 23040 (0%) 27012025 21177725 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 27012025 21177725 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004794597625732422 elapsed_time : insert_dashboard_record_day_entry 0.0231778621673584 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177656 order by id desc limit 1 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_46_06.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 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21177717 order by id desc limit 1 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': 10, '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 [1331987316, 1331987303, 1331987203, 1331987162, 1331987137, 1331987129, 1331987105, 1331987100, 1331987091, 1331987059] Looping around the photos to save general results len do output : 1 /21177725Didn'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, '2652060') ('3318', '21177725', '1331987316', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987303', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987203', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987162', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987137', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987129', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987105', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987100', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987091', None, None, None, None, None, '2652060') ('3318', None, None, None, None, None, None, None, '2652060') ('3318', '21177725', '1331987059', None, None, None, None, None, '2652060') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013678550720214844 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.324449300765991 time spend to save output : 0.013914346694946289 total time spend for step 10 : 4.3383636474609375 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 101.27user 147.33system 8:57.17elapsed 46%CPU (0avgtext+0avgdata 4952612maxresident)k 1388072inputs+133248outputs (21104major+15378051minor)pagefaults 0swaps