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 : 2714563 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 : ['2631699'] with mtr_portfolio_ids : ['21001273'] and first list_photo_ids : [] new path : /proc/2714563/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 1.1029093265533447 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 Tue Mar 4 09:10:29 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 : 10372 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-04 09:10:32.695087: 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-04 09:10:32.723376: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-04 09:10:32.725372: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff6ec000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-04 09:10:32.725467: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-04 09:10:32.729887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-04 09:10:32.878707: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x89a9390 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-04 09:10:32.878782: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-04 09:10:32.880269: 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-04 09:10:32.880795: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-04 09:10:32.884377: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-04 09:10:32.887757: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-04 09:10:32.888328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-04 09:10:32.891698: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-04 09:10:32.893096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-04 09:10:32.899784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-04 09:10:32.902058: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-04 09:10:32.902206: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-04 09:10:32.903104: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-04 09:10:32.903126: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-04 09:10:32.903136: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-04 09:10:32.904632: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9384 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-04 09:10:33.282492: 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-04 09:10:33.282652: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-04 09:10:33.282680: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-04 09:10:33.282703: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-04 09:10:33.282729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-04 09:10:33.282752: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-04 09:10:33.282776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-04 09:10:33.282799: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-04 09:10:33.284670: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-04 09:10:33.287104: 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-04 09:10:33.287289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-04 09:10:33.287349: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-04 09:10:33.287394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-04 09:10:33.287428: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-04 09:10:33.287471: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-04 09:10:33.287508: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-04 09:10:33.287556: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-04 09:10:33.289807: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-04 09:10:33.289890: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-04 09:10:33.289906: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-04 09:10:33.289917: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-04 09:10:33.292091: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9384 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-04 09:10:47.354195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-04 09:10:47.646290: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-04 09:10:49.745273: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:49.745970: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:49.746661: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.744850: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.745328: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-03-04 09:10:50.823914: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.824027: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.825658: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.825693: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.832769: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.832812: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.833601: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.833622: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.882649: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.882757: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.883900: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.883932: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.885164: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.885193: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.886386: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.886415: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.895719: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.895805: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.897162: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.897202: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-03-04 09:10:50.917382: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.918492: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.919586: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.920420: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.925529: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.926500: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.927376: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.928250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.930102: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.930154: 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-04 09:10:50.941453: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.942887: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.953333: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.954202: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.955021: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.955815: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.956652: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-03-04 09:10:50.957472: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 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: 145.10000 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: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 148.35000 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: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 144.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 35 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 3.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 138.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 2.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 145.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 34 Detection mask done ! Trying to reset tf kernel 2715341 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4664 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 5636 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.0009200572967529297 nb_pixel_total : 26483 time to create 1 rle with old method : 0.03145575523376465 length of segment : 194 time for calcul the mask position with numpy : 0.23914241790771484 nb_pixel_total : 371736 time to create 1 rle with new method : 0.03220796585083008 length of segment : 818 time for calcul the mask position with numpy : 0.0004801750183105469 nb_pixel_total : 15881 time to create 1 rle with old method : 0.018621444702148438 length of segment : 196 time for calcul the mask position with numpy : 0.0003714561462402344 nb_pixel_total : 16700 time to create 1 rle with old method : 0.020006656646728516 length of segment : 139 time for calcul the mask position with numpy : 0.00029397010803222656 nb_pixel_total : 10257 time to create 1 rle with old method : 0.012466669082641602 length of segment : 90 time for calcul the mask position with numpy : 0.003318309783935547 nb_pixel_total : 189402 time to create 1 rle with new method : 0.00855255126953125 length of segment : 550 time for calcul the mask position with numpy : 0.004148244857788086 nb_pixel_total : 193257 time to create 1 rle with new method : 0.014969587326049805 length of segment : 876 time for calcul the mask position with numpy : 0.0004277229309082031 nb_pixel_total : 16321 time to create 1 rle with old method : 0.0203554630279541 length of segment : 149 time for calcul the mask position with numpy : 0.0014617443084716797 nb_pixel_total : 83224 time to create 1 rle with old method : 0.09654664993286133 length of segment : 348 time for calcul the mask position with numpy : 0.0015749931335449219 nb_pixel_total : 80071 time to create 1 rle with old method : 0.11497092247009277 length of segment : 360 time for calcul the mask position with numpy : 0.0005970001220703125 nb_pixel_total : 32523 time to create 1 rle with old method : 0.03895974159240723 length of segment : 178 time for calcul the mask position with numpy : 0.00022745132446289062 nb_pixel_total : 9913 time to create 1 rle with old method : 0.011976957321166992 length of segment : 106 time for calcul the mask position with numpy : 0.00037479400634765625 nb_pixel_total : 16837 time to create 1 rle with old method : 0.019509315490722656 length of segment : 230 time for calcul the mask position with numpy : 0.0007843971252441406 nb_pixel_total : 45269 time to create 1 rle with old method : 0.058466196060180664 length of segment : 252 time for calcul the mask position with numpy : 0.0012378692626953125 nb_pixel_total : 76107 time to create 1 rle with old method : 0.0862579345703125 length of segment : 286 time for calcul the mask position with numpy : 0.0007619857788085938 nb_pixel_total : 29641 time to create 1 rle with old method : 0.03802323341369629 length of segment : 256 time for calcul the mask position with numpy : 0.0024061203002929688 nb_pixel_total : 140987 time to create 1 rle with old method : 0.20348167419433594 length of segment : 413 time for calcul the mask position with numpy : 0.001745462417602539 nb_pixel_total : 84950 time to create 1 rle with old method : 0.11959123611450195 length of segment : 396 time for calcul the mask position with numpy : 0.0011396408081054688 nb_pixel_total : 66607 time to create 1 rle with old method : 0.08147263526916504 length of segment : 310 time for calcul the mask position with numpy : 0.0016438961029052734 nb_pixel_total : 51324 time to create 1 rle with old method : 0.06121397018432617 length of segment : 314 time for calcul the mask position with numpy : 0.0015952587127685547 nb_pixel_total : 56409 time to create 1 rle with old method : 0.07929730415344238 length of segment : 228 time for calcul the mask position with numpy : 0.002532958984375 nb_pixel_total : 45603 time to create 1 rle with old method : 0.05364346504211426 length of segment : 360 time for calcul the mask position with numpy : 0.004030466079711914 nb_pixel_total : 128763 time to create 1 rle with old method : 0.16438841819763184 length of segment : 389 time for calcul the mask position with numpy : 0.0010623931884765625 nb_pixel_total : 20827 time to create 1 rle with old method : 0.025338172912597656 length of segment : 184 time for calcul the mask position with numpy : 0.0011734962463378906 nb_pixel_total : 15033 time to create 1 rle with old method : 0.0188748836517334 length of segment : 175 time for calcul the mask position with numpy : 0.0007874965667724609 nb_pixel_total : 17549 time to create 1 rle with old method : 0.023026704788208008 length of segment : 137 time for calcul the mask position with numpy : 0.002727508544921875 nb_pixel_total : 47335 time to create 1 rle with old method : 0.056131601333618164 length of segment : 343 time for calcul the mask position with numpy : 0.002558469772338867 nb_pixel_total : 121851 time to create 1 rle with old method : 0.13710856437683105 length of segment : 384 time for calcul the mask position with numpy : 0.006867647171020508 nb_pixel_total : 169699 time to create 1 rle with new method : 0.013931035995483398 length of segment : 478 time for calcul the mask position with numpy : 0.0030057430267333984 nb_pixel_total : 60362 time to create 1 rle with old method : 0.07452845573425293 length of segment : 271 time for calcul the mask position with numpy : 0.00402522087097168 nb_pixel_total : 75290 time to create 1 rle with old method : 0.09590291976928711 length of segment : 448 time for calcul the mask position with numpy : 0.0012822151184082031 nb_pixel_total : 32793 time to create 1 rle with old method : 0.04270601272583008 length of segment : 269 time for calcul the mask position with numpy : 0.0004329681396484375 nb_pixel_total : 7255 time to create 1 rle with old method : 0.009207010269165039 length of segment : 104 time for calcul the mask position with numpy : 0.0011019706726074219 nb_pixel_total : 23929 time to create 1 rle with old method : 0.029114484786987305 length of segment : 189 time for calcul the mask position with numpy : 0.005544185638427734 nb_pixel_total : 181740 time to create 1 rle with new method : 0.011477947235107422 length of segment : 427 time for calcul the mask position with numpy : 0.03219342231750488 nb_pixel_total : 486448 time to create 1 rle with new method : 0.3234572410583496 length of segment : 782 time for calcul the mask position with numpy : 0.0015048980712890625 nb_pixel_total : 34838 time to create 1 rle with old method : 0.040935516357421875 length of segment : 225 time for calcul the mask position with numpy : 0.001828908920288086 nb_pixel_total : 46615 time to create 1 rle with old method : 0.05465102195739746 length of segment : 304 time for calcul the mask position with numpy : 0.002311229705810547 nb_pixel_total : 57471 time to create 1 rle with old method : 0.06768226623535156 length of segment : 247 time for calcul the mask position with numpy : 0.00439000129699707 nb_pixel_total : 165103 time to create 1 rle with new method : 0.0070607662200927734 length of segment : 448 time for calcul the mask position with numpy : 0.0038712024688720703 nb_pixel_total : 105201 time to create 1 rle with old method : 0.12005305290222168 length of segment : 389 time for calcul the mask position with numpy : 0.0029594898223876953 nb_pixel_total : 180412 time to create 1 rle with new method : 0.00794672966003418 length of segment : 411 time for calcul the mask position with numpy : 0.0011086463928222656 nb_pixel_total : 24245 time to create 1 rle with old method : 0.0292661190032959 length of segment : 213 time for calcul the mask position with numpy : 0.0016546249389648438 nb_pixel_total : 41945 time to create 1 rle with old method : 0.052857160568237305 length of segment : 316 time for calcul the mask position with numpy : 0.0007810592651367188 nb_pixel_total : 20028 time to create 1 rle with old method : 0.02480792999267578 length of segment : 142 time for calcul the mask position with numpy : 0.0006964206695556641 nb_pixel_total : 20080 time to create 1 rle with old method : 0.027022361755371094 length of segment : 131 time for calcul the mask position with numpy : 0.000362396240234375 nb_pixel_total : 9126 time to create 1 rle with old method : 0.011140823364257812 length of segment : 104 time for calcul the mask position with numpy : 0.0003643035888671875 nb_pixel_total : 9538 time to create 1 rle with old method : 0.013203144073486328 length of segment : 109 time for calcul the mask position with numpy : 0.002151966094970703 nb_pixel_total : 74985 time to create 1 rle with old method : 0.08583593368530273 length of segment : 301 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 13555 time to create 1 rle with old method : 0.01640796661376953 length of segment : 113 time for calcul the mask position with numpy : 0.0025107860565185547 nb_pixel_total : 105404 time to create 1 rle with old method : 0.12013864517211914 length of segment : 511 time for calcul the mask position with numpy : 0.0010628700256347656 nb_pixel_total : 28654 time to create 1 rle with old method : 0.03515195846557617 length of segment : 256 time for calcul the mask position with numpy : 0.002154111862182617 nb_pixel_total : 65720 time to create 1 rle with old method : 0.07444930076599121 length of segment : 289 time for calcul the mask position with numpy : 0.0005974769592285156 nb_pixel_total : 12771 time to create 1 rle with old method : 0.015565156936645508 length of segment : 145 time for calcul the mask position with numpy : 0.001466512680053711 nb_pixel_total : 39796 time to create 1 rle with old method : 0.060727596282958984 length of segment : 235 time for calcul the mask position with numpy : 0.0012562274932861328 nb_pixel_total : 21740 time to create 1 rle with old method : 0.026753902435302734 length of segment : 160 time for calcul the mask position with numpy : 0.004211902618408203 nb_pixel_total : 102964 time to create 1 rle with old method : 0.11908745765686035 length of segment : 395 time for calcul the mask position with numpy : 0.003361940383911133 nb_pixel_total : 92757 time to create 1 rle with old method : 0.1311347484588623 length of segment : 364 time for calcul the mask position with numpy : 0.001804351806640625 nb_pixel_total : 54937 time to create 1 rle with old method : 0.06717634201049805 length of segment : 219 time for calcul the mask position with numpy : 0.0005185604095458984 nb_pixel_total : 13375 time to create 1 rle with old method : 0.01663041114807129 length of segment : 130 time for calcul the mask position with numpy : 0.0006711483001708984 nb_pixel_total : 14373 time to create 1 rle with old method : 0.017205238342285156 length of segment : 124 time for calcul the mask position with numpy : 0.0016667842864990234 nb_pixel_total : 45065 time to create 1 rle with old method : 0.05196356773376465 length of segment : 241 time for calcul the mask position with numpy : 0.0032143592834472656 nb_pixel_total : 48886 time to create 1 rle with old method : 0.05809664726257324 length of segment : 260 time for calcul the mask position with numpy : 0.0012316703796386719 nb_pixel_total : 21878 time to create 1 rle with old method : 0.029854297637939453 length of segment : 184 time for calcul the mask position with numpy : 0.0008769035339355469 nb_pixel_total : 24559 time to create 1 rle with old method : 0.029796600341796875 length of segment : 187 time for calcul the mask position with numpy : 0.005240201950073242 nb_pixel_total : 135975 time to create 1 rle with old method : 0.17983174324035645 length of segment : 690 time for calcul the mask position with numpy : 0.002405405044555664 nb_pixel_total : 91599 time to create 1 rle with old method : 0.10344934463500977 length of segment : 316 time for calcul the mask position with numpy : 0.0011539459228515625 nb_pixel_total : 32427 time to create 1 rle with old method : 0.03922152519226074 length of segment : 297 time for calcul the mask position with numpy : 0.0006074905395507812 nb_pixel_total : 21300 time to create 1 rle with old method : 0.026204347610473633 length of segment : 180 time for calcul the mask position with numpy : 0.0005559921264648438 nb_pixel_total : 18280 time to create 1 rle with old method : 0.022606849670410156 length of segment : 162 time for calcul the mask position with numpy : 0.0020952224731445312 nb_pixel_total : 54934 time to create 1 rle with old method : 0.06349897384643555 length of segment : 224 time for calcul the mask position with numpy : 0.0076656341552734375 nb_pixel_total : 279027 time to create 1 rle with new method : 0.013609170913696289 length of segment : 540 time for calcul the mask position with numpy : 0.0004076957702636719 nb_pixel_total : 9338 time to create 1 rle with old method : 0.01193690299987793 length of segment : 175 time for calcul the mask position with numpy : 0.0014886856079101562 nb_pixel_total : 43927 time to create 1 rle with old method : 0.05251765251159668 length of segment : 208 time spent for convertir_results : 8.136170387268066 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 74 chid ids of type : 3594 Number RLEs to save : 21574 save missing photos in datou_result : time spend for datou_step_exec : 61.35190749168396 time spend to save output : 2.077928304672241 total time spend for step 1 : 63.4298357963562 step2:crop_condition Tue Mar 4 09:11:33 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 : 5 ! batch 1 Loaded 74 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 ! map_result returned by crop_photo_return_map_crop : length : 37 About to insert : list_path_to_insert length 37 new photo from crops ! About to upload 37 photos upload in portfolio : 3736932 init cache_photo without model_param we have 37 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075903_2714563 we have uploaded 37 photos in the portfolio 3736932 time of upload the photos Elapsed time : 10.539504528045654 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075916_2714563 we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8977768421173096 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075919_2714563 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.930971622467041 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 ! map_result returned by crop_photo_return_map_crop : length : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075933_2714563 we have uploaded 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.73917031288147 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 ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075941_2714563 we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0900986194610596 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741075945_2714563 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.726015567779541 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] Looping around the photos to save general results len do output : 74 /1340768343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768347Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768348Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768376Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768377Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768378Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768379Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768380Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768385Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768386Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768387Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768388Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768389Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768415Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768416Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768417Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768418Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768419Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768420Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768421Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1340768426Didn'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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 227 time used for this insertion : 0.02666473388671875 save_final save missing photos in datou_result : time spend for datou_step_exec : 52.66893148422241 time spend to save output : 0.028920888900756836 total time spend for step 2 : 52.69785237312317 step3:rle_unique_nms_with_priority Tue Mar 4 09:12:25 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 74 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 16 nb_hashtags : 4 time to prepare the origin masks : 8.100417852401733 time for calcul the mask position with numpy : 0.9019565582275391 nb_pixel_total : 7080778 time to create 1 rle with new method : 0.759103536605835 time for calcul the mask position with numpy : 0.0438694953918457 nb_pixel_total : 29641 time to create 1 rle with old method : 0.056774139404296875 time for calcul the mask position with numpy : 0.05269217491149902 nb_pixel_total : 76107 time to create 1 rle with old method : 0.10027647018432617 time for calcul the mask position with numpy : 0.05182957649230957 nb_pixel_total : 45269 time to create 1 rle with old method : 0.050546884536743164 time for calcul the mask position with numpy : 0.04425311088562012 nb_pixel_total : 16837 time to create 1 rle with old method : 0.020835399627685547 time for calcul the mask position with numpy : 0.04780864715576172 nb_pixel_total : 9913 time to create 1 rle with old method : 0.015928030014038086 time for calcul the mask position with numpy : 0.05544471740722656 nb_pixel_total : 32523 time to create 1 rle with old method : 0.039374351501464844 time for calcul the mask position with numpy : 0.04621171951293945 nb_pixel_total : 80071 time to create 1 rle with old method : 0.11693453788757324 time for calcul the mask position with numpy : 0.044686079025268555 nb_pixel_total : 83224 time to create 1 rle with old method : 0.10076546669006348 time for calcul the mask position with numpy : 0.04513692855834961 nb_pixel_total : 16321 time to create 1 rle with old method : 0.019223928451538086 time for calcul the mask position with numpy : 0.04461240768432617 nb_pixel_total : 193257 time to create 1 rle with new method : 0.7510108947753906 time for calcul the mask position with numpy : 0.05338335037231445 nb_pixel_total : 189402 time to create 1 rle with new method : 0.8484222888946533 time for calcul the mask position with numpy : 0.04042649269104004 nb_pixel_total : 10257 time to create 1 rle with old method : 0.011887073516845703 time for calcul the mask position with numpy : 0.03850555419921875 nb_pixel_total : 16700 time to create 1 rle with old method : 0.022037506103515625 time for calcul the mask position with numpy : 0.054619789123535156 nb_pixel_total : 15881 time to create 1 rle with old method : 0.02065277099609375 time for calcul the mask position with numpy : 0.05607104301452637 nb_pixel_total : 371736 time to create 1 rle with new method : 0.8725495338439941 time for calcul the mask position with numpy : 0.04349493980407715 nb_pixel_total : 26483 time to create 1 rle with old method : 0.031868934631347656 create new chi : 5.64819598197937 time to delete rle : 0.01897573471069336 batch 1 Loaded 33 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 12216 TO DO : save crop sub photo not yet done ! save time : 0.7404341697692871 nb_obj : 14 nb_hashtags : 5 time to prepare the origin masks : 8.58102822303772 time for calcul the mask position with numpy : 0.968111515045166 nb_pixel_total : 7388722 time to create 1 rle with new method : 0.8687975406646729 time for calcul the mask position with numpy : 0.059602975845336914 nb_pixel_total : 60362 time to create 1 rle with old method : 0.07964086532592773 time for calcul the mask position with numpy : 0.04965686798095703 nb_pixel_total : 169507 time to create 1 rle with new method : 0.8641917705535889 time for calcul the mask position with numpy : 0.04286336898803711 nb_pixel_total : 422 time to create 1 rle with old method : 0.0007011890411376953 time for calcul the mask position with numpy : 0.04074454307556152 nb_pixel_total : 47335 time to create 1 rle with old method : 0.052930593490600586 time for calcul the mask position with numpy : 0.04957890510559082 nb_pixel_total : 17549 time to create 1 rle with old method : 0.020711898803710938 time for calcul the mask position with numpy : 0.04306387901306152 nb_pixel_total : 15033 time to create 1 rle with old method : 0.016480445861816406 time for calcul the mask position with numpy : 0.0415804386138916 nb_pixel_total : 20827 time to create 1 rle with old method : 0.022519350051879883 time for calcul the mask position with numpy : 0.0415339469909668 nb_pixel_total : 128763 time to create 1 rle with old method : 0.14260387420654297 time for calcul the mask position with numpy : 0.04331350326538086 nb_pixel_total : 45603 time to create 1 rle with old method : 0.051950931549072266 time for calcul the mask position with numpy : 0.042772769927978516 nb_pixel_total : 56409 time to create 1 rle with old method : 0.06823325157165527 time for calcul the mask position with numpy : 0.04454374313354492 nb_pixel_total : 51324 time to create 1 rle with old method : 0.05855560302734375 time for calcul the mask position with numpy : 0.04311776161193848 nb_pixel_total : 66607 time to create 1 rle with old method : 0.07329154014587402 time for calcul the mask position with numpy : 0.04279208183288574 nb_pixel_total : 84950 time to create 1 rle with old method : 0.1032872200012207 time for calcul the mask position with numpy : 0.05076742172241211 nb_pixel_total : 140987 time to create 1 rle with old method : 0.16050171852111816 create new chi : 4.269992113113403 time to delete rle : 0.0027027130126953125 batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++Number RLEs to save : 10196 TO DO : save crop sub photo not yet done ! save time : 0.6106009483337402 nb_obj : 15 nb_hashtags : 3 time to prepare the origin masks : 7.636606693267822 time for calcul the mask position with numpy : 0.7436439990997314 nb_pixel_total : 7002166 time to create 1 rle with new method : 0.9692580699920654 time for calcul the mask position with numpy : 0.04161858558654785 nb_pixel_total : 20028 time to create 1 rle with old method : 0.022673845291137695 time for calcul the mask position with numpy : 0.043250083923339844 nb_pixel_total : 41945 time to create 1 rle with old method : 0.054674625396728516 time for calcul the mask position with numpy : 0.04183530807495117 nb_pixel_total : 24245 time to create 1 rle with old method : 0.03180074691772461 time for calcul the mask position with numpy : 0.04264950752258301 nb_pixel_total : 3689 time to create 1 rle with old method : 0.005248069763183594 time for calcul the mask position with numpy : 0.04264259338378906 nb_pixel_total : 105201 time to create 1 rle with old method : 0.12203121185302734 time for calcul the mask position with numpy : 0.04208254814147949 nb_pixel_total : 165103 time to create 1 rle with new method : 0.7210743427276611 time for calcul the mask position with numpy : 0.04417228698730469 nb_pixel_total : 57471 time to create 1 rle with old method : 0.06980252265930176 time for calcul the mask position with numpy : 0.049193620681762695 nb_pixel_total : 46615 time to create 1 rle with old method : 0.0538477897644043 time for calcul the mask position with numpy : 0.027651071548461914 nb_pixel_total : 34838 time to create 1 rle with old method : 0.04249072074890137 time for calcul the mask position with numpy : 0.0346527099609375 nb_pixel_total : 472092 time to create 1 rle with new method : 0.7794175148010254 time for calcul the mask position with numpy : 0.027779102325439453 nb_pixel_total : 181740 time to create 1 rle with new method : 0.8345811367034912 time for calcul the mask position with numpy : 0.026894330978393555 nb_pixel_total : 23929 time to create 1 rle with old method : 0.027068138122558594 time for calcul the mask position with numpy : 0.02642202377319336 nb_pixel_total : 7255 time to create 1 rle with old method : 0.008406877517700195 time for calcul the mask position with numpy : 0.026915788650512695 nb_pixel_total : 32793 time to create 1 rle with old method : 0.03828287124633789 time for calcul the mask position with numpy : 0.02738809585571289 nb_pixel_total : 75290 time to create 1 rle with old method : 0.08550262451171875 create new chi : 5.293196201324463 time to delete rle : 0.0018353462219238281 batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 11334 TO DO : save crop sub photo not yet done ! save time : 0.7006223201751709 nb_obj : 9 nb_hashtags : 5 time to prepare the origin masks : 6.209991216659546 time for calcul the mask position with numpy : 0.7956078052520752 nb_pixel_total : 7954567 time to create 1 rle with new method : 0.8178677558898926 time for calcul the mask position with numpy : 0.041173696517944336 nb_pixel_total : 12771 time to create 1 rle with old method : 0.014180183410644531 time for calcul the mask position with numpy : 0.03744935989379883 nb_pixel_total : 65720 time to create 1 rle with old method : 0.07280397415161133 time for calcul the mask position with numpy : 0.026645421981811523 nb_pixel_total : 28654 time to create 1 rle with old method : 0.04207181930541992 time for calcul the mask position with numpy : 0.025543689727783203 nb_pixel_total : 105404 time to create 1 rle with old method : 0.12274956703186035 time for calcul the mask position with numpy : 0.02408599853515625 nb_pixel_total : 13555 time to create 1 rle with old method : 0.014866828918457031 time for calcul the mask position with numpy : 0.027318477630615234 nb_pixel_total : 74985 time to create 1 rle with old method : 0.08814239501953125 time for calcul the mask position with numpy : 0.028719663619995117 nb_pixel_total : 9538 time to create 1 rle with old method : 0.012237071990966797 time for calcul the mask position with numpy : 0.024557828903198242 nb_pixel_total : 9126 time to create 1 rle with old method : 0.010461091995239258 time for calcul the mask position with numpy : 0.026117324829101562 nb_pixel_total : 20080 time to create 1 rle with old method : 0.0223233699798584 create new chi : 2.3239641189575195 time to delete rle : 0.0009520053863525391 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 6078 TO DO : save crop sub photo not yet done ! save time : 0.39841699600219727 nb_obj : 20 nb_hashtags : 5 time to prepare the origin masks : 10.444869995117188 time for calcul the mask position with numpy : 0.7913923263549805 nb_pixel_total : 7133058 time to create 1 rle with new method : 0.649578332901001 time for calcul the mask position with numpy : 0.04164934158325195 nb_pixel_total : 43927 time to create 1 rle with old method : 0.049126625061035156 time for calcul the mask position with numpy : 0.0479130744934082 nb_pixel_total : 3650 time to create 1 rle with old method : 0.004838228225708008 time for calcul the mask position with numpy : 0.04785037040710449 nb_pixel_total : 278920 time to create 1 rle with new method : 0.7481458187103271 time for calcul the mask position with numpy : 0.04035377502441406 nb_pixel_total : 54934 time to create 1 rle with old method : 0.059389352798461914 time for calcul the mask position with numpy : 0.0394587516784668 nb_pixel_total : 18280 time to create 1 rle with old method : 0.01958012580871582 time for calcul the mask position with numpy : 0.040352582931518555 nb_pixel_total : 21300 time to create 1 rle with old method : 0.02292943000793457 time for calcul the mask position with numpy : 0.0410919189453125 nb_pixel_total : 32427 time to create 1 rle with old method : 0.03564858436584473 time for calcul the mask position with numpy : 0.04133296012878418 nb_pixel_total : 91599 time to create 1 rle with old method : 0.09855365753173828 time for calcul the mask position with numpy : 0.04044747352600098 nb_pixel_total : 135975 time to create 1 rle with old method : 0.15736103057861328 time for calcul the mask position with numpy : 0.04205489158630371 nb_pixel_total : 24559 time to create 1 rle with old method : 0.026731491088867188 time for calcul the mask position with numpy : 0.04349088668823242 nb_pixel_total : 21878 time to create 1 rle with old method : 0.025196313858032227 time for calcul the mask position with numpy : 0.031223773956298828 nb_pixel_total : 48886 time to create 1 rle with old method : 0.05278182029724121 time for calcul the mask position with numpy : 0.0333099365234375 nb_pixel_total : 45065 time to create 1 rle with old method : 0.04908275604248047 time for calcul the mask position with numpy : 0.02567148208618164 nb_pixel_total : 14373 time to create 1 rle with old method : 0.015687227249145508 time for calcul the mask position with numpy : 0.026042938232421875 nb_pixel_total : 13375 time to create 1 rle with old method : 0.014748334884643555 time for calcul the mask position with numpy : 0.026143789291381836 nb_pixel_total : 54937 time to create 1 rle with old method : 0.06084251403808594 time for calcul the mask position with numpy : 0.030462265014648438 nb_pixel_total : 92757 time to create 1 rle with old method : 0.10719656944274902 time for calcul the mask position with numpy : 0.03024435043334961 nb_pixel_total : 102964 time to create 1 rle with old method : 0.11275458335876465 time for calcul the mask position with numpy : 0.030354738235473633 nb_pixel_total : 21740 time to create 1 rle with old method : 0.029029130935668945 time for calcul the mask position with numpy : 0.02859783172607422 nb_pixel_total : 39796 time to create 1 rle with old method : 0.046440839767456055 create new chi : 3.991133689880371 time to delete rle : 0.0026526451110839844 batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++Number RLEs to save : 12578 TO DO : save crop sub photo not yet done ! save time : 1.000119924545288 map_output_result : {1334188005: (0.0, 'Should be the crop_list due to order', 0), 1334187981: (0.0, 'Should be the crop_list due to order', 0), 1334187977: (0.0, 'Should be the crop_list due to order', 0), 1334187933: (0.0, 'Should be the crop_list due to order', 0), 1334187832: (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 [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] Looping around the photos to save general results len do output : 5 /1334188005.Didn't retrieve data . /1334187981.Didn't retrieve data . /1334187977.Didn't retrieve data . /1334187933.Didn't retrieve data . /1334187832.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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012334823608398438 save_final save missing photos in datou_result : time spend for datou_step_exec : 67.14435148239136 time spend to save output : 0.012712240219116211 total time spend for step 3 : 67.15706372261047 step4:ventilate_hashtags_in_portfolio Tue Mar 4 09:13:32 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 : 21001273 get user id for portfolio 21001273 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`=21001273 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pehd','metal','mal_croppe','autre','carton','pet_fonce','background','flou','pet_clair','papier')) 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`=21001273 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pehd','metal','mal_croppe','autre','carton','pet_fonce','background','flou','pet_clair','papier')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=21001273 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pehd','metal','mal_croppe','autre','carton','pet_fonce','background','flou','pet_clair','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21001647,21001648,21001649,21001650,21001651,21001652,21001653,21001654,21001655,21001656,21001657?tags=environnement,pehd,metal,mal_croppe,autre,carton,pet_fonce,background,flou,pet_clair,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] Looping around the photos to save general results len do output : 1 /21001273. 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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012567281723022461 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.437201499938965 time spend to save output : 0.012799501419067383 total time spend for step 4 : 4.450001001358032 step5:final Tue Mar 4 09:13:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1334188005: ('0.11845845389660496',), 1334187981: ('0.11845845389660496',), 1334187977: ('0.11845845389660496',), 1334187933: ('0.11845845389660496',), 1334187832: ('0.11845845389660496',)} new output for save of step final : {1334188005: ('0.11845845389660496',), 1334187981: ('0.11845845389660496',), 1334187977: ('0.11845845389660496',), 1334187933: ('0.11845845389660496',), 1334187832: ('0.11845845389660496',)} [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] Looping around the photos to save general results len do output : 5 /1334188005.Didn't retrieve data . /1334187981.Didn't retrieve data . /1334187977.Didn't retrieve data . /1334187933.Didn't retrieve data . /1334187832.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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01247262954711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1127009391784668 time spend to save output : 0.013019323348999023 total time spend for step 5 : 0.12572026252746582 step6:blur_detection Tue Mar 4 09:13:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 : 5 time used for this insertion : 0.007869482040405273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 5 time used for this insertion : 0.007942676544189453 save missing photos in datou_result : time spend for datou_step_exec : 0.29165172576904297 time spend to save output : 0.020428895950317383 total time spend for step 6 : 0.31208062171936035 step7:brightness Tue Mar 4 09:13:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 : 5 time used for this insertion : 0.00795125961303711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 5 time used for this insertion : 0.007823944091796875 save missing photos in datou_result : time spend for datou_step_exec : 0.025407791137695312 time spend to save output : 0.020642995834350586 total time spend for step 7 : 0.0460507869720459 step8:velours_tree Tue Mar 4 09:13:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.13582134246826172 time spend to save output : 3.814697265625e-05 total time spend for step 8 : 0.13585948944091797 step9:send_mail_cod Tue Mar 4 09:13:38 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_P21001273_04-03-2025_09_13_38.pdf 21001648 imagette210016481741076018 21001649 change filename to text .change filename to text .imagette210016491741076018 21001650 imagette210016501741076018 21001651 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 .imagette210016511741076018 21001652 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette210016521741076018 21001653 change filename to text .change filename to text .imagette210016531741076019 21001654 imagette210016541741076019 21001655 imagette210016551741076019 21001656 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 .imagette210016561741076019 21001657 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 .imagette210016571741076020 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21001273 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21001647,21001648,21001649,21001650,21001651,21001652,21001653,21001654,21001655,21001656,21001657?tags=environnement,pehd,metal,mal_croppe,autre,carton,pet_fonce,background,flou,pet_clair,papier args[1334188005] : ((1334188005, -5.142760456249264, 492609224), (1334188005, -0.493166084888135, 501862349), '0.11845845389660496') We are sending mail with results at report@fotonower.com args[1334187981] : ((1334187981, -5.12433587479044, 492609224), (1334187981, -0.8078331164739094, 501862349), '0.11845845389660496') We are sending mail with results at report@fotonower.com args[1334187977] : ((1334187977, -5.2305986772593736, 492609224), (1334187977, -0.37985032561987025, 496442774), '0.11845845389660496') We are sending mail with results at report@fotonower.com args[1334187933] : ((1334187933, -2.9861418341582042, 492609224), (1334187933, -2.1884128680687507, 501862349), '0.11845845389660496') We are sending mail with results at report@fotonower.com args[1334187832] : ((1334187832, -5.469594342558155, 492609224), (1334187832, -0.5434730219187593, 501862349), '0.11845845389660496') We are sending mail with results at report@fotonower.com refus_total : 0.11845845389660496 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=21001273 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_P21001273_04-03-2025_09_13_38.pdf results_Auto_P21001273_04-03-2025_09_13_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001273_04-03-2025_09_13_38.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','21001273','results_Auto_P21001273_04-03-2025_09_13_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001273_04-03-2025_09_13_38.pdf','pdf','','0.79','0.11845845389660496') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21001273

https://www.fotonower.com/image?json=false&list_photos_id=1334188005
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1334187981
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1334187977
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1334187933
La photo est trop sombre, merci de reprendre une photo.(avec le score = -2.1884128680687507,le score doit entre -2 et 2)
https://www.fotonower.com/image?json=false&list_photos_id=1334187832
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/21001649?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/21001651?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/21001652?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/21001653?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/21001656?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/21001657?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001273_04-03-2025_09_13_38.pdf.

Lien vers velours :https://www.fotonower.com/velours/21001647,21001648,21001649,21001650,21001651,21001652,21001653,21001654,21001655,21001656,21001657?tags=environnement,pehd,metal,mal_croppe,autre,carton,pet_fonce,background,flou,pet_clair,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 04 Mar 2025 08:13:44 GMT Content-Length: 0 Connection: close X-Message-Id: uhxFCKM0QZ23jsdlF89jKw 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 [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] 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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.14325976371765137 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.635284662246704 time spend to save output : 0.14349889755249023 total time spend for step 9 : 6.778783559799194 step10:split_time_score Tue Mar 4 09:13:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('13', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03022025 21001273 Nombre de photos uploadées : 5 / 23040 (0%) 03022025 21001273 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 03022025 21001273 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003464221954345703 elapsed_time : insert_dashboard_record_day_entry 0.024161100387573242 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.021748578599110682 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001228_04-03-2025_09_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21001228 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`=21001228 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21001262 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21001267 order by id desc limit 1 Qualite : 0.11845845389660496 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001273_04-03-2025_09_13_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21001273 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`=21001273 AND mptpi.`type`=3594 To do Qualite : 0.04425722099928955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21001276_04-03-2025_09_13_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21001276 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`=21001276 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 5, '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 [1334188005, 1334187981, 1334187977, 1334187933, 1334187832] Looping around the photos to save general results len do output : 1 /21001273Didn'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, '2631699') ('3318', '21001273', '1334188005', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187981', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187977', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187933', None, None, None, None, None, '2631699') ('3318', None, None, None, None, None, None, None, '2631699') ('3318', '21001273', '1334187832', None, None, None, None, None, '2631699') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015251398086547852 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.085527181625366 time spend to save output : 0.015410423278808594 total time spend for step 10 : 2.100937604904175 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 70.56user 90.15system 3:22.21elapsed 79%CPU (0avgtext+0avgdata 4069156maxresident)k 534864inputs+109672outputs (806major+9081151minor)pagefaults 0swaps