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 : 3179838 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 : ['2645011'] with mtr_portfolio_ids : ['21124054'] and first list_photo_ids : [] new path : /proc/3179838/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.485351800918579 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 Thu Mar 6 19:40:30 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 : 10814 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-03-06 19:40:33.856602: 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-06 19:40:33.864958: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-03-06 19:40:33.866365: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1d98000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-03-06 19:40:33.866419: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-03-06 19:40:33.869529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-03-06 19:40:34.019211: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x120d7f90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-03-06 19:40:34.019306: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-03-06 19:40:34.020503: 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-06 19:40:34.020861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 19:40:34.023032: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 19:40:34.025594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 19:40:34.026201: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 19:40:34.028680: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 19:40:34.029988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 19:40:34.035489: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 19:40:34.037339: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 19:40:34.037466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 19:40:34.038324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-06 19:40:34.038345: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-06 19:40:34.038354: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-06 19:40:34.039841: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9864 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-06 19:40:34.353820: 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-06 19:40:34.353996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 19:40:34.354021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 19:40:34.354043: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 19:40:34.354065: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 19:40:34.354086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 19:40:34.354106: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 19:40:34.354128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 19:40:34.356176: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 19:40:34.358007: 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-06 19:40:34.358110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-03-06 19:40:34.358132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 19:40:34.358152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-03-06 19:40:34.358171: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-03-06 19:40:34.358190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-03-06 19:40:34.358209: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-03-06 19:40:34.358228: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 19:40:34.359894: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-03-06 19:40:34.359949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-03-06 19:40:34.359962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-03-06 19:40:34.359972: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-03-06 19:40:34.361948: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9864 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-06 19:40:48.173177: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-03-06 19:40:48.418042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-03-06 19:40:49.590709: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-06 19:40:49.596988: E tensorflow/stream_executor/cuda/cuda_dnn.cc:329] Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 2025-03-06 19:40:54.040147: 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-06 19:40:54.040876: 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-06 19:40:54.041633: 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-06 19:40:54.897385: 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-06 19:40:54.897489: 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-06 19:40:54.967782: 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-06 19:40:54.967879: 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-06 19:40:54.968808: 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-06 19:40:54.968832: 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-06 19:40:54.976185: 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-06 19:40:54.976264: 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-06 19:40:54.976977: 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-06 19:40:54.977020: 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-06 19:40:55.008442: 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-06 19:40:55.008530: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB 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-06 19:40:55.008543: 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-06 19:40:55.009263: 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-06 19:40:55.009283: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB 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-06 19:40:55.009993: 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-06 19:40:55.010015: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB 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-06 19:40:55.018138: 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-06 19:40:55.018186: 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-06 19:40:55.018873: 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-06 19:40:55.018892: 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-06 19:40:55.019723: 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-06 19:40:55.019744: 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-06 19:40:55.020449: 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-06 19:40:55.029690: 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-06 19:40:55.030473: 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-06 19:40:55.050672: 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-06 19:40:55.051492: 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-06 19:40:55.052263: 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-06 19:40:55.053027: 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-06 19:40:55.057690: 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-06 19:40:55.058363: 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-06 19:40:55.059052: 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-06 19:40:55.059735: 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-06 19:40:55.060924: 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-06 19:40:55.071758: 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-06 19:40:55.072484: 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-06 19:40:55.082600: 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-06 19:40:55.083322: 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-06 19:40:55.084019: 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-06 19:40:55.084703: 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-06 19:40:55.085408: 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-06 19:40:55.086183: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 149.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 error in detect the image : temp/1741286429_3179838_1338852348_946257c3ba5d32d3022651d92056da6e.jpg 2 root error(s) found. (0) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] [[ROI/strided_slice_20/_22]] (1) Unknown: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above. [[node conv1/convolution (defined at /usr/local/lib/python3.8/dist-packages/keras/backend/tensorflow_backend.py:3007) ]] 0 successful operations. 0 derived errors ignored. [Op:__inference_keras_scratch_graph_13584] Function call stack: keras_scratch_graph -> keras_scratch_graph NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 146.85000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 44 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 49 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: 150.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 44 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 150.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 28 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 147.35000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 48 Detection mask done ! Trying to reset tf kernel 3180395 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3636 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 : 5083 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.0007884502410888672 nb_pixel_total : 12019 time to create 1 rle with old method : 0.01659989356994629 length of segment : 123 time for calcul the mask position with numpy : 0.002208232879638672 nb_pixel_total : 52437 time to create 1 rle with old method : 0.0642240047454834 length of segment : 254 time for calcul the mask position with numpy : 0.0027396678924560547 nb_pixel_total : 57676 time to create 1 rle with old method : 0.08796215057373047 length of segment : 320 time for calcul the mask position with numpy : 0.002740144729614258 nb_pixel_total : 76951 time to create 1 rle with old method : 0.09112143516540527 length of segment : 332 time for calcul the mask position with numpy : 0.0008342266082763672 nb_pixel_total : 13362 time to create 1 rle with old method : 0.01587367057800293 length of segment : 206 time for calcul the mask position with numpy : 0.0024509429931640625 nb_pixel_total : 48962 time to create 1 rle with old method : 0.05655336380004883 length of segment : 287 time for calcul the mask position with numpy : 0.0009007453918457031 nb_pixel_total : 24729 time to create 1 rle with old method : 0.03136181831359863 length of segment : 190 time for calcul the mask position with numpy : 0.0026216506958007812 nb_pixel_total : 47637 time to create 1 rle with old method : 0.058339595794677734 length of segment : 321 time for calcul the mask position with numpy : 0.0011227130889892578 nb_pixel_total : 30403 time to create 1 rle with old method : 0.035860538482666016 length of segment : 154 time for calcul the mask position with numpy : 0.0033464431762695312 nb_pixel_total : 69258 time to create 1 rle with old method : 0.07966279983520508 length of segment : 467 time for calcul the mask position with numpy : 0.0009341239929199219 nb_pixel_total : 13199 time to create 1 rle with old method : 0.015398025512695312 length of segment : 176 time for calcul the mask position with numpy : 0.0011973381042480469 nb_pixel_total : 19639 time to create 1 rle with old method : 0.023856401443481445 length of segment : 212 time for calcul the mask position with numpy : 0.0003333091735839844 nb_pixel_total : 6207 time to create 1 rle with old method : 0.007463216781616211 length of segment : 96 time for calcul the mask position with numpy : 0.001020669937133789 nb_pixel_total : 30191 time to create 1 rle with old method : 0.036512136459350586 length of segment : 266 time for calcul the mask position with numpy : 0.0014581680297851562 nb_pixel_total : 43430 time to create 1 rle with old method : 0.05155229568481445 length of segment : 330 time for calcul the mask position with numpy : 0.0004756450653076172 nb_pixel_total : 11330 time to create 1 rle with old method : 0.026938676834106445 length of segment : 161 time for calcul the mask position with numpy : 0.005147457122802734 nb_pixel_total : 72738 time to create 1 rle with old method : 0.09591817855834961 length of segment : 533 time for calcul the mask position with numpy : 0.0010001659393310547 nb_pixel_total : 13400 time to create 1 rle with old method : 0.01620197296142578 length of segment : 171 time for calcul the mask position with numpy : 0.0010573863983154297 nb_pixel_total : 33614 time to create 1 rle with old method : 0.03865408897399902 length of segment : 217 time for calcul the mask position with numpy : 0.0007865428924560547 nb_pixel_total : 13009 time to create 1 rle with old method : 0.017757892608642578 length of segment : 121 time for calcul the mask position with numpy : 0.0006315708160400391 nb_pixel_total : 6115 time to create 1 rle with old method : 0.007822990417480469 length of segment : 115 time for calcul the mask position with numpy : 0.00906515121459961 nb_pixel_total : 176771 time to create 1 rle with new method : 0.01446843147277832 length of segment : 489 time for calcul the mask position with numpy : 0.000873565673828125 nb_pixel_total : 17577 time to create 1 rle with old method : 0.020891666412353516 length of segment : 244 time for calcul the mask position with numpy : 0.009309530258178711 nb_pixel_total : 86615 time to create 1 rle with old method : 0.10849928855895996 length of segment : 495 time for calcul the mask position with numpy : 0.0006527900695800781 nb_pixel_total : 18186 time to create 1 rle with old method : 0.02144908905029297 length of segment : 145 time for calcul the mask position with numpy : 0.0011873245239257812 nb_pixel_total : 20807 time to create 1 rle with old method : 0.023854494094848633 length of segment : 377 time for calcul the mask position with numpy : 0.0005514621734619141 nb_pixel_total : 10065 time to create 1 rle with old method : 0.01203608512878418 length of segment : 291 time for calcul the mask position with numpy : 0.00022840499877929688 nb_pixel_total : 2338 time to create 1 rle with old method : 0.0029306411743164062 length of segment : 60 time for calcul the mask position with numpy : 0.00014138221740722656 nb_pixel_total : 2090 time to create 1 rle with old method : 0.0026133060455322266 length of segment : 47 time for calcul the mask position with numpy : 0.0023097991943359375 nb_pixel_total : 51605 time to create 1 rle with old method : 0.06532692909240723 length of segment : 343 time for calcul the mask position with numpy : 0.0009839534759521484 nb_pixel_total : 13624 time to create 1 rle with old method : 0.017583847045898438 length of segment : 227 time for calcul the mask position with numpy : 0.0023581981658935547 nb_pixel_total : 37646 time to create 1 rle with old method : 0.049338579177856445 length of segment : 373 time for calcul the mask position with numpy : 0.002061605453491211 nb_pixel_total : 54552 time to create 1 rle with old method : 0.0641946792602539 length of segment : 253 time for calcul the mask position with numpy : 0.0007984638214111328 nb_pixel_total : 7155 time to create 1 rle with old method : 0.00942087173461914 length of segment : 371 time for calcul the mask position with numpy : 0.001199960708618164 nb_pixel_total : 25719 time to create 1 rle with old method : 0.031699180603027344 length of segment : 193 time for calcul the mask position with numpy : 0.0011172294616699219 nb_pixel_total : 31108 time to create 1 rle with old method : 0.038362979888916016 length of segment : 213 time for calcul the mask position with numpy : 0.002059459686279297 nb_pixel_total : 48778 time to create 1 rle with old method : 0.05658292770385742 length of segment : 291 time for calcul the mask position with numpy : 0.00031113624572753906 nb_pixel_total : 6119 time to create 1 rle with old method : 0.0072994232177734375 length of segment : 78 time for calcul the mask position with numpy : 0.00353240966796875 nb_pixel_total : 120753 time to create 1 rle with old method : 0.13680315017700195 length of segment : 498 time for calcul the mask position with numpy : 0.0008075237274169922 nb_pixel_total : 16676 time to create 1 rle with old method : 0.020604848861694336 length of segment : 187 time for calcul the mask position with numpy : 0.002902984619140625 nb_pixel_total : 49271 time to create 1 rle with old method : 0.05719780921936035 length of segment : 434 time for calcul the mask position with numpy : 0.0066983699798583984 nb_pixel_total : 118912 time to create 1 rle with old method : 0.14107918739318848 length of segment : 661 time for calcul the mask position with numpy : 0.0015048980712890625 nb_pixel_total : 30401 time to create 1 rle with old method : 0.034151554107666016 length of segment : 219 time for calcul the mask position with numpy : 0.0012090206146240234 nb_pixel_total : 25280 time to create 1 rle with old method : 0.030384063720703125 length of segment : 205 time for calcul the mask position with numpy : 0.0034160614013671875 nb_pixel_total : 83209 time to create 1 rle with old method : 0.11943268775939941 length of segment : 352 time for calcul the mask position with numpy : 0.0012180805206298828 nb_pixel_total : 21430 time to create 1 rle with old method : 0.025396347045898438 length of segment : 184 time for calcul the mask position with numpy : 0.0022666454315185547 nb_pixel_total : 53661 time to create 1 rle with old method : 0.06426239013671875 length of segment : 275 time for calcul the mask position with numpy : 0.0012912750244140625 nb_pixel_total : 19794 time to create 1 rle with old method : 0.0342869758605957 length of segment : 188 time for calcul the mask position with numpy : 0.0015759468078613281 nb_pixel_total : 35706 time to create 1 rle with old method : 0.04421734809875488 length of segment : 248 time for calcul the mask position with numpy : 0.0012288093566894531 nb_pixel_total : 20963 time to create 1 rle with old method : 0.02393317222595215 length of segment : 156 time for calcul the mask position with numpy : 0.0005381107330322266 nb_pixel_total : 8303 time to create 1 rle with old method : 0.0101470947265625 length of segment : 176 time for calcul the mask position with numpy : 0.005994558334350586 nb_pixel_total : 142064 time to create 1 rle with old method : 0.16190314292907715 length of segment : 502 time for calcul the mask position with numpy : 0.002321481704711914 nb_pixel_total : 33752 time to create 1 rle with old method : 0.03951692581176758 length of segment : 248 time for calcul the mask position with numpy : 0.0016903877258300781 nb_pixel_total : 28762 time to create 1 rle with old method : 0.0346834659576416 length of segment : 250 time for calcul the mask position with numpy : 0.0006203651428222656 nb_pixel_total : 10404 time to create 1 rle with old method : 0.012498855590820312 length of segment : 104 time for calcul the mask position with numpy : 0.005761861801147461 nb_pixel_total : 108819 time to create 1 rle with old method : 0.12768816947937012 length of segment : 522 time for calcul the mask position with numpy : 0.0014276504516601562 nb_pixel_total : 31983 time to create 1 rle with old method : 0.03696417808532715 length of segment : 232 time for calcul the mask position with numpy : 0.0009245872497558594 nb_pixel_total : 16382 time to create 1 rle with old method : 0.018926620483398438 length of segment : 197 time for calcul the mask position with numpy : 0.0017323493957519531 nb_pixel_total : 41164 time to create 1 rle with old method : 0.04444432258605957 length of segment : 244 time for calcul the mask position with numpy : 0.001775503158569336 nb_pixel_total : 53773 time to create 1 rle with old method : 0.06174778938293457 length of segment : 199 time for calcul the mask position with numpy : 0.0029540061950683594 nb_pixel_total : 44782 time to create 1 rle with old method : 0.06493330001831055 length of segment : 496 time for calcul the mask position with numpy : 0.0008218288421630859 nb_pixel_total : 15677 time to create 1 rle with old method : 0.018429279327392578 length of segment : 123 time for calcul the mask position with numpy : 0.0010883808135986328 nb_pixel_total : 27671 time to create 1 rle with old method : 0.03204917907714844 length of segment : 166 time for calcul the mask position with numpy : 0.0014035701751708984 nb_pixel_total : 36535 time to create 1 rle with old method : 0.042207956314086914 length of segment : 227 time for calcul the mask position with numpy : 0.001222848892211914 nb_pixel_total : 39777 time to create 1 rle with old method : 0.04619908332824707 length of segment : 293 time for calcul the mask position with numpy : 0.0002243518829345703 nb_pixel_total : 3906 time to create 1 rle with old method : 0.004926443099975586 length of segment : 47 time for calcul the mask position with numpy : 0.0016033649444580078 nb_pixel_total : 45212 time to create 1 rle with old method : 0.05185842514038086 length of segment : 192 time for calcul the mask position with numpy : 0.0008647441864013672 nb_pixel_total : 20085 time to create 1 rle with old method : 0.023311376571655273 length of segment : 211 time for calcul the mask position with numpy : 0.0014581680297851562 nb_pixel_total : 30560 time to create 1 rle with old method : 0.035491228103637695 length of segment : 235 time for calcul the mask position with numpy : 0.00026226043701171875 nb_pixel_total : 2576 time to create 1 rle with old method : 0.0033156871795654297 length of segment : 264 time for calcul the mask position with numpy : 0.0023546218872070312 nb_pixel_total : 54529 time to create 1 rle with old method : 0.06298470497131348 length of segment : 476 time for calcul the mask position with numpy : 0.0008172988891601562 nb_pixel_total : 22023 time to create 1 rle with old method : 0.02585625648498535 length of segment : 171 time for calcul the mask position with numpy : 0.0013365745544433594 nb_pixel_total : 16500 time to create 1 rle with old method : 0.01933455467224121 length of segment : 180 time for calcul the mask position with numpy : 0.0002734661102294922 nb_pixel_total : 5045 time to create 1 rle with old method : 0.0060770511627197266 length of segment : 89 time for calcul the mask position with numpy : 0.0013778209686279297 nb_pixel_total : 41128 time to create 1 rle with old method : 0.06196713447570801 length of segment : 272 time for calcul the mask position with numpy : 0.0016388893127441406 nb_pixel_total : 38303 time to create 1 rle with old method : 0.04398488998413086 length of segment : 275 time for calcul the mask position with numpy : 0.0017466545104980469 nb_pixel_total : 50352 time to create 1 rle with old method : 0.058771371841430664 length of segment : 278 time for calcul the mask position with numpy : 0.0004937648773193359 nb_pixel_total : 7284 time to create 1 rle with old method : 0.009569168090820312 length of segment : 121 time for calcul the mask position with numpy : 0.0021483898162841797 nb_pixel_total : 43205 time to create 1 rle with old method : 0.05493450164794922 length of segment : 348 time for calcul the mask position with numpy : 0.0008759498596191406 nb_pixel_total : 15139 time to create 1 rle with old method : 0.020058631896972656 length of segment : 260 time for calcul the mask position with numpy : 0.00046825408935546875 nb_pixel_total : 2446 time to create 1 rle with old method : 0.006839752197265625 length of segment : 56 time for calcul the mask position with numpy : 0.0015952587127685547 nb_pixel_total : 42670 time to create 1 rle with old method : 0.06680917739868164 length of segment : 211 time for calcul the mask position with numpy : 0.0002434253692626953 nb_pixel_total : 5068 time to create 1 rle with old method : 0.006244659423828125 length of segment : 72 time for calcul the mask position with numpy : 0.003469228744506836 nb_pixel_total : 92803 time to create 1 rle with old method : 0.10994744300842285 length of segment : 303 time for calcul the mask position with numpy : 0.0022253990173339844 nb_pixel_total : 57543 time to create 1 rle with old method : 0.06576943397521973 length of segment : 274 time for calcul the mask position with numpy : 0.004297733306884766 nb_pixel_total : 111165 time to create 1 rle with old method : 0.13088583946228027 length of segment : 446 time for calcul the mask position with numpy : 0.0005471706390380859 nb_pixel_total : 6675 time to create 1 rle with old method : 0.008366823196411133 length of segment : 98 time for calcul the mask position with numpy : 0.005335330963134766 nb_pixel_total : 142413 time to create 1 rle with old method : 0.19714879989624023 length of segment : 574 time for calcul the mask position with numpy : 0.0011897087097167969 nb_pixel_total : 30505 time to create 1 rle with old method : 0.03611636161804199 length of segment : 204 time for calcul the mask position with numpy : 0.0006401538848876953 nb_pixel_total : 13302 time to create 1 rle with old method : 0.016490697860717773 length of segment : 125 time for calcul the mask position with numpy : 0.0007574558258056641 nb_pixel_total : 15972 time to create 1 rle with old method : 0.018964052200317383 length of segment : 153 time for calcul the mask position with numpy : 0.0012974739074707031 nb_pixel_total : 37372 time to create 1 rle with old method : 0.04639148712158203 length of segment : 215 time for calcul the mask position with numpy : 0.0004520416259765625 nb_pixel_total : 11087 time to create 1 rle with old method : 0.013424396514892578 length of segment : 123 time for calcul the mask position with numpy : 0.0012433528900146484 nb_pixel_total : 20922 time to create 1 rle with old method : 0.025761842727661133 length of segment : 201 time for calcul the mask position with numpy : 0.00164031982421875 nb_pixel_total : 22614 time to create 1 rle with old method : 0.029200315475463867 length of segment : 250 time for calcul the mask position with numpy : 0.0008666515350341797 nb_pixel_total : 22988 time to create 1 rle with old method : 0.028604745864868164 length of segment : 129 time for calcul the mask position with numpy : 0.00038695335388183594 nb_pixel_total : 6325 time to create 1 rle with old method : 0.009375572204589844 length of segment : 164 time for calcul the mask position with numpy : 0.0014333724975585938 nb_pixel_total : 45297 time to create 1 rle with old method : 0.05469918251037598 length of segment : 221 time for calcul the mask position with numpy : 0.0007724761962890625 nb_pixel_total : 16621 time to create 1 rle with old method : 0.021195411682128906 length of segment : 171 time for calcul the mask position with numpy : 0.0010204315185546875 nb_pixel_total : 26869 time to create 1 rle with old method : 0.0323033332824707 length of segment : 225 time for calcul the mask position with numpy : 0.0019030570983886719 nb_pixel_total : 75389 time to create 1 rle with old method : 0.08988142013549805 length of segment : 325 time for calcul the mask position with numpy : 0.0010671615600585938 nb_pixel_total : 26163 time to create 1 rle with old method : 0.030672788619995117 length of segment : 223 time for calcul the mask position with numpy : 0.0025246143341064453 nb_pixel_total : 57386 time to create 1 rle with old method : 0.08619141578674316 length of segment : 382 time for calcul the mask position with numpy : 0.0006968975067138672 nb_pixel_total : 17332 time to create 1 rle with old method : 0.020973920822143555 length of segment : 174 time for calcul the mask position with numpy : 0.0014455318450927734 nb_pixel_total : 35846 time to create 1 rle with old method : 0.050653934478759766 length of segment : 207 time for calcul the mask position with numpy : 0.0014505386352539062 nb_pixel_total : 41176 time to create 1 rle with old method : 0.05280733108520508 length of segment : 300 time for calcul the mask position with numpy : 0.0009684562683105469 nb_pixel_total : 43293 time to create 1 rle with old method : 0.04973864555358887 length of segment : 322 time for calcul the mask position with numpy : 0.0013515949249267578 nb_pixel_total : 36747 time to create 1 rle with old method : 0.04241132736206055 length of segment : 211 time for calcul the mask position with numpy : 0.003101825714111328 nb_pixel_total : 78964 time to create 1 rle with old method : 0.0906827449798584 length of segment : 456 time spent for convertir_results : 10.029613018035889 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 109 chid ids of type : 3594 Number RLEs to save : 27362 save missing photos in datou_result : time spend for datou_step_exec : 74.71859121322632 time spend to save output : 2.123875141143799 total time spend for step 1 : 76.84246635437012 step2:crop_condition Thu Mar 6 19:41:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 6 ! batch 1 Loaded 109 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 81 About to insert : list_path_to_insert length 81 new photo from crops ! About to upload 81 photos upload in portfolio : 3736932 init cache_photo without model_param we have 81 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741286526_3179838 we have uploaded 81 photos in the portfolio 3736932 time of upload the photos Elapsed time : 22.40261435508728 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741286553_3179838 we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.956496238708496 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/1741286558_3179838 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.239732265472412 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 ! 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/1741286564_3179838 we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3290903568267822 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741286568_3179838 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4911761283874512 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1741286571_3179838 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9548275470733643 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 [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] Looping around the photos to save general results len do output : 109 /1341289706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289729Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289760Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289864Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289867Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1341289876Didn'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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 333 time used for this insertion : 0.1388256549835205 save_final save missing photos in datou_result : time spend for datou_step_exec : 64.3752601146698 time spend to save output : 0.14348769187927246 total time spend for step 2 : 64.51874780654907 step3:rle_unique_nms_with_priority Thu Mar 6 19:42:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 109 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1338852348 nb_obj : 17 nb_hashtags : 3 time to prepare the origin masks : 8.163947582244873 time for calcul the mask position with numpy : 0.7060565948486328 nb_pixel_total : 7664232 time to create 1 rle with new method : 1.3068509101867676 time for calcul the mask position with numpy : 0.04243183135986328 nb_pixel_total : 72738 time to create 1 rle with old method : 0.08621382713317871 time for calcul the mask position with numpy : 0.03597593307495117 nb_pixel_total : 11330 time to create 1 rle with old method : 0.012595653533935547 time for calcul the mask position with numpy : 0.02511143684387207 nb_pixel_total : 43430 time to create 1 rle with old method : 0.05135631561279297 time for calcul the mask position with numpy : 0.027862071990966797 nb_pixel_total : 30191 time to create 1 rle with old method : 0.035385847091674805 time for calcul the mask position with numpy : 0.02762460708618164 nb_pixel_total : 6207 time to create 1 rle with old method : 0.007516384124755859 time for calcul the mask position with numpy : 0.02903604507446289 nb_pixel_total : 19639 time to create 1 rle with old method : 0.02192091941833496 time for calcul the mask position with numpy : 0.025240182876586914 nb_pixel_total : 13199 time to create 1 rle with old method : 0.014864206314086914 time for calcul the mask position with numpy : 0.03371620178222656 nb_pixel_total : 69258 time to create 1 rle with old method : 0.07680726051330566 time for calcul the mask position with numpy : 0.02790045738220215 nb_pixel_total : 30403 time to create 1 rle with old method : 0.03386878967285156 time for calcul the mask position with numpy : 0.025572776794433594 nb_pixel_total : 47637 time to create 1 rle with old method : 0.053560495376586914 time for calcul the mask position with numpy : 0.024703264236450195 nb_pixel_total : 24729 time to create 1 rle with old method : 0.029143095016479492 time for calcul the mask position with numpy : 0.027702808380126953 nb_pixel_total : 48962 time to create 1 rle with old method : 0.055177927017211914 time for calcul the mask position with numpy : 0.032518863677978516 nb_pixel_total : 13362 time to create 1 rle with old method : 0.015613317489624023 time for calcul the mask position with numpy : 0.02643728256225586 nb_pixel_total : 76951 time to create 1 rle with old method : 0.09545755386352539 time for calcul the mask position with numpy : 0.02739429473876953 nb_pixel_total : 57676 time to create 1 rle with old method : 0.062042236328125 time for calcul the mask position with numpy : 0.025938749313354492 nb_pixel_total : 52437 time to create 1 rle with old method : 0.06963038444519043 time for calcul the mask position with numpy : 0.026089191436767578 nb_pixel_total : 12019 time to create 1 rle with old method : 0.014002323150634766 create new chi : 3.279524326324463 time to delete rle : 0.018810272216796875 batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++Number RLEs to save : 11016 TO DO : save crop sub photo not yet done ! save time : 0.6960196495056152 nb_obj : 29 nb_hashtags : 3 time to prepare the origin masks : 4.531226634979248 time for calcul the mask position with numpy : 1.1917686462402344 nb_pixel_total : 7151707 time to create 1 rle with new method : 1.0317559242248535 time for calcul the mask position with numpy : 0.03422403335571289 nb_pixel_total : 176771 time to create 1 rle with new method : 0.8108296394348145 time for calcul the mask position with numpy : 0.03416609764099121 nb_pixel_total : 86615 time to create 1 rle with old method : 0.09461641311645508 time for calcul the mask position with numpy : 0.0341649055480957 nb_pixel_total : 37646 time to create 1 rle with old method : 0.04404640197753906 time for calcul the mask position with numpy : 0.03442025184631348 nb_pixel_total : 20807 time to create 1 rle with old method : 0.024278879165649414 time for calcul the mask position with numpy : 0.034036874771118164 nb_pixel_total : 49271 time to create 1 rle with old method : 0.0563204288482666 time for calcul the mask position with numpy : 0.033681631088256836 nb_pixel_total : 21430 time to create 1 rle with old method : 0.024142742156982422 time for calcul the mask position with numpy : 0.033034563064575195 nb_pixel_total : 13624 time to create 1 rle with old method : 0.014853239059448242 time for calcul the mask position with numpy : 0.03429055213928223 nb_pixel_total : 83209 time to create 1 rle with old method : 0.0911104679107666 time for calcul the mask position with numpy : 0.03364872932434082 nb_pixel_total : 25280 time to create 1 rle with old method : 0.026800155639648438 time for calcul the mask position with numpy : 0.03224587440490723 nb_pixel_total : 25719 time to create 1 rle with old method : 0.02880549430847168 time for calcul the mask position with numpy : 0.03345131874084473 nb_pixel_total : 54552 time to create 1 rle with old method : 0.0588839054107666 time for calcul the mask position with numpy : 0.0330350399017334 nb_pixel_total : 30401 time to create 1 rle with old method : 0.03470897674560547 time for calcul the mask position with numpy : 0.03369927406311035 nb_pixel_total : 118912 time to create 1 rle with old method : 0.13451170921325684 time for calcul the mask position with numpy : 0.032811641693115234 nb_pixel_total : 51605 time to create 1 rle with old method : 0.055824995040893555 time for calcul the mask position with numpy : 0.03284597396850586 nb_pixel_total : 31108 time to create 1 rle with old method : 0.03281402587890625 time for calcul the mask position with numpy : 0.03216838836669922 nb_pixel_total : 10065 time to create 1 rle with old method : 0.011607885360717773 time for calcul the mask position with numpy : 0.03402280807495117 nb_pixel_total : 120753 time to create 1 rle with old method : 0.1351609230041504 time for calcul the mask position with numpy : 0.03301858901977539 nb_pixel_total : 13009 time to create 1 rle with old method : 0.01440286636352539 time for calcul the mask position with numpy : 0.03279376029968262 nb_pixel_total : 18186 time to create 1 rle with old method : 0.020396709442138672 time for calcul the mask position with numpy : 0.03315591812133789 nb_pixel_total : 17577 time to create 1 rle with old method : 0.019182205200195312 time for calcul the mask position with numpy : 0.03393840789794922 nb_pixel_total : 6115 time to create 1 rle with old method : 0.006815671920776367 time for calcul the mask position with numpy : 0.033637285232543945 nb_pixel_total : 33614 time to create 1 rle with old method : 0.038733482360839844 time for calcul the mask position with numpy : 0.03297591209411621 nb_pixel_total : 48778 time to create 1 rle with old method : 0.053534507751464844 time for calcul the mask position with numpy : 0.035570621490478516 nb_pixel_total : 2090 time to create 1 rle with old method : 0.0022678375244140625 time for calcul the mask position with numpy : 0.03278160095214844 nb_pixel_total : 13400 time to create 1 rle with old method : 0.014413833618164062 time for calcul the mask position with numpy : 0.0327610969543457 nb_pixel_total : 7023 time to create 1 rle with old method : 0.007768869400024414 time for calcul the mask position with numpy : 0.03287935256958008 nb_pixel_total : 16676 time to create 1 rle with old method : 0.017978191375732422 time for calcul the mask position with numpy : 0.03322291374206543 nb_pixel_total : 6119 time to create 1 rle with old method : 0.006824493408203125 time for calcul the mask position with numpy : 0.03323030471801758 nb_pixel_total : 2338 time to create 1 rle with old method : 0.002782583236694336 create new chi : 5.145695924758911 time to delete rle : 0.0038797855377197266 batch 1 Loaded 59 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 17822 TO DO : save crop sub photo not yet done ! save time : 1.031073808670044 nb_obj : 25 nb_hashtags : 3 time to prepare the origin masks : 12.195661306381226 time for calcul the mask position with numpy : 0.5116186141967773 nb_pixel_total : 7368279 time to create 1 rle with new method : 1.8265974521636963 time for calcul the mask position with numpy : 0.02618241310119629 nb_pixel_total : 54529 time to create 1 rle with old method : 0.061385393142700195 time for calcul the mask position with numpy : 0.0259249210357666 nb_pixel_total : 1857 time to create 1 rle with old method : 0.002346515655517578 time for calcul the mask position with numpy : 0.028051137924194336 nb_pixel_total : 30560 time to create 1 rle with old method : 0.03708004951477051 time for calcul the mask position with numpy : 0.02511739730834961 nb_pixel_total : 20085 time to create 1 rle with old method : 0.02306056022644043 time for calcul the mask position with numpy : 0.027279138565063477 nb_pixel_total : 45212 time to create 1 rle with old method : 0.050280094146728516 time for calcul the mask position with numpy : 0.0301058292388916 nb_pixel_total : 3906 time to create 1 rle with old method : 0.004694700241088867 time for calcul the mask position with numpy : 0.04275774955749512 nb_pixel_total : 39777 time to create 1 rle with old method : 0.046570539474487305 time for calcul the mask position with numpy : 0.043088674545288086 nb_pixel_total : 36535 time to create 1 rle with old method : 0.04028201103210449 time for calcul the mask position with numpy : 0.041172027587890625 nb_pixel_total : 27671 time to create 1 rle with old method : 0.03150510787963867 time for calcul the mask position with numpy : 0.03533506393432617 nb_pixel_total : 15677 time to create 1 rle with old method : 0.017836570739746094 time for calcul the mask position with numpy : 0.029004812240600586 nb_pixel_total : 44782 time to create 1 rle with old method : 0.05311870574951172 time for calcul the mask position with numpy : 0.029698610305786133 nb_pixel_total : 53773 time to create 1 rle with old method : 0.06119251251220703 time for calcul the mask position with numpy : 0.025538206100463867 nb_pixel_total : 41164 time to create 1 rle with old method : 0.046506404876708984 time for calcul the mask position with numpy : 0.029375314712524414 nb_pixel_total : 16382 time to create 1 rle with old method : 0.026202917098999023 time for calcul the mask position with numpy : 0.0294797420501709 nb_pixel_total : 31983 time to create 1 rle with old method : 0.036074161529541016 time for calcul the mask position with numpy : 0.030431747436523438 nb_pixel_total : 108819 time to create 1 rle with old method : 0.12662220001220703 time for calcul the mask position with numpy : 0.03271961212158203 nb_pixel_total : 10404 time to create 1 rle with old method : 0.013464689254760742 time for calcul the mask position with numpy : 0.029624223709106445 nb_pixel_total : 28762 time to create 1 rle with old method : 0.04557442665100098 time for calcul the mask position with numpy : 0.03748011589050293 nb_pixel_total : 33752 time to create 1 rle with old method : 0.05835151672363281 time for calcul the mask position with numpy : 0.031728506088256836 nb_pixel_total : 142064 time to create 1 rle with old method : 0.1972672939300537 time for calcul the mask position with numpy : 0.03293490409851074 nb_pixel_total : 8303 time to create 1 rle with old method : 0.010962247848510742 time for calcul the mask position with numpy : 0.0321347713470459 nb_pixel_total : 20963 time to create 1 rle with old method : 0.03572392463684082 time for calcul the mask position with numpy : 0.026070356369018555 nb_pixel_total : 35706 time to create 1 rle with old method : 0.04005837440490723 time for calcul the mask position with numpy : 0.026553630828857422 nb_pixel_total : 19794 time to create 1 rle with old method : 0.022588491439819336 time for calcul the mask position with numpy : 0.028972864151000977 nb_pixel_total : 53661 time to create 1 rle with old method : 0.05961751937866211 create new chi : 4.304773330688477 time to delete rle : 0.0018906593322753906 batch 1 Loaded 51 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++Number RLEs to save : 14587 TO DO : save crop sub photo not yet done ! save time : 0.9687373638153076 nb_obj : 13 nb_hashtags : 5 time to prepare the origin masks : 8.517636060714722 time for calcul the mask position with numpy : 0.5992600917816162 nb_pixel_total : 7912434 time to create 1 rle with new method : 1.6887884140014648 time for calcul the mask position with numpy : 0.027438879013061523 nb_pixel_total : 92803 time to create 1 rle with old method : 0.10764646530151367 time for calcul the mask position with numpy : 0.025444984436035156 nb_pixel_total : 5068 time to create 1 rle with old method : 0.0056307315826416016 time for calcul the mask position with numpy : 0.04081010818481445 nb_pixel_total : 42670 time to create 1 rle with old method : 0.0483705997467041 time for calcul the mask position with numpy : 0.039734601974487305 nb_pixel_total : 2446 time to create 1 rle with old method : 0.0027112960815429688 time for calcul the mask position with numpy : 0.024898290634155273 nb_pixel_total : 15139 time to create 1 rle with old method : 0.01638340950012207 time for calcul the mask position with numpy : 0.02568960189819336 nb_pixel_total : 43205 time to create 1 rle with old method : 0.0514981746673584 time for calcul the mask position with numpy : 0.025844335556030273 nb_pixel_total : 7284 time to create 1 rle with old method : 0.008041620254516602 time for calcul the mask position with numpy : 0.0248415470123291 nb_pixel_total : 50352 time to create 1 rle with old method : 0.05827069282531738 time for calcul the mask position with numpy : 0.02650737762451172 nb_pixel_total : 38303 time to create 1 rle with old method : 0.044225454330444336 time for calcul the mask position with numpy : 0.025083541870117188 nb_pixel_total : 41128 time to create 1 rle with old method : 0.04494524002075195 time for calcul the mask position with numpy : 0.025425195693969727 nb_pixel_total : 5045 time to create 1 rle with old method : 0.005788326263427734 time for calcul the mask position with numpy : 0.024045228958129883 nb_pixel_total : 16500 time to create 1 rle with old method : 0.018297433853149414 time for calcul the mask position with numpy : 0.02461099624633789 nb_pixel_total : 22023 time to create 1 rle with old method : 0.023911237716674805 create new chi : 3.1380653381347656 time to delete rle : 0.0010247230529785156 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++++++++Number RLEs to save : 7432 TO DO : save crop sub photo not yet done ! save time : 0.466738224029541 nb_obj : 25 nb_hashtags : 4 time to prepare the origin masks : 15.748962640762329 time for calcul the mask position with numpy : 1.1059505939483643 nb_pixel_total : 7335434 time to create 1 rle with new method : 1.5162651538848877 time for calcul the mask position with numpy : 0.0448606014251709 nb_pixel_total : 78964 time to create 1 rle with old method : 0.0948481559753418 time for calcul the mask position with numpy : 0.047049760818481445 nb_pixel_total : 36747 time to create 1 rle with old method : 0.04311251640319824 time for calcul the mask position with numpy : 0.0458831787109375 nb_pixel_total : 2384 time to create 1 rle with old method : 0.003047943115234375 time for calcul the mask position with numpy : 0.04144763946533203 nb_pixel_total : 41176 time to create 1 rle with old method : 0.04856705665588379 time for calcul the mask position with numpy : 0.0377650260925293 nb_pixel_total : 35846 time to create 1 rle with old method : 0.0418238639831543 time for calcul the mask position with numpy : 0.0420989990234375 nb_pixel_total : 17332 time to create 1 rle with old method : 0.020016908645629883 time for calcul the mask position with numpy : 0.045098066329956055 nb_pixel_total : 57386 time to create 1 rle with old method : 0.07014060020446777 time for calcul the mask position with numpy : 0.043206214904785156 nb_pixel_total : 26163 time to create 1 rle with old method : 0.029301166534423828 time for calcul the mask position with numpy : 0.04141354560852051 nb_pixel_total : 75389 time to create 1 rle with old method : 0.08773398399353027 time for calcul the mask position with numpy : 0.04080963134765625 nb_pixel_total : 26869 time to create 1 rle with old method : 0.030836820602416992 time for calcul the mask position with numpy : 0.04183363914489746 nb_pixel_total : 16621 time to create 1 rle with old method : 0.018201112747192383 time for calcul the mask position with numpy : 0.04225921630859375 nb_pixel_total : 45297 time to create 1 rle with old method : 0.050453901290893555 time for calcul the mask position with numpy : 0.04087328910827637 nb_pixel_total : 6234 time to create 1 rle with old method : 0.0070192813873291016 time for calcul the mask position with numpy : 0.03844904899597168 nb_pixel_total : 22988 time to create 1 rle with old method : 0.023885726928710938 time for calcul the mask position with numpy : 0.040254831314086914 nb_pixel_total : 22614 time to create 1 rle with old method : 0.02954387664794922 time for calcul the mask position with numpy : 0.0438992977142334 nb_pixel_total : 20922 time to create 1 rle with old method : 0.0346674919128418 time for calcul the mask position with numpy : 0.045719146728515625 nb_pixel_total : 11087 time to create 1 rle with old method : 0.012302160263061523 time for calcul the mask position with numpy : 0.04141974449157715 nb_pixel_total : 37372 time to create 1 rle with old method : 0.04559040069580078 time for calcul the mask position with numpy : 0.0418245792388916 nb_pixel_total : 15972 time to create 1 rle with old method : 0.018011093139648438 time for calcul the mask position with numpy : 0.04058504104614258 nb_pixel_total : 13302 time to create 1 rle with old method : 0.015446901321411133 time for calcul the mask position with numpy : 0.04007434844970703 nb_pixel_total : 30505 time to create 1 rle with old method : 0.036071062088012695 time for calcul the mask position with numpy : 0.0476529598236084 nb_pixel_total : 142413 time to create 1 rle with old method : 0.1867671012878418 time for calcul the mask position with numpy : 0.03385186195373535 nb_pixel_total : 6675 time to create 1 rle with old method : 0.007605552673339844 time for calcul the mask position with numpy : 0.030113697052001953 nb_pixel_total : 111165 time to create 1 rle with old method : 0.12316632270812988 time for calcul the mask position with numpy : 0.034754037857055664 nb_pixel_total : 57543 time to create 1 rle with old method : 0.06279158592224121 create new chi : 4.844751834869385 time to delete rle : 0.0029964447021484375 batch 1 Loaded 51 chid ids of type : 3594 +++++++++++++++++++++++++++Number RLEs to save : 14176 TO DO : save crop sub photo not yet done ! save time : 1.0039336681365967 map_output_result : {1338852348: (0.0, 'Should be the crop_list due to order', 0.0), 1338852039: (0.0, 'Should be the crop_list due to order', 0), 1338851928: (0.0, 'Should be the crop_list due to order', 0), 1338851839: (0.0, 'Should be the crop_list due to order', 0), 1338851750: (0.0, 'Should be the crop_list due to order', 0), 1338851665: (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 [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] Looping around the photos to save general results len do output : 6 /1338852348.Didn't retrieve data . /1338852039.Didn't retrieve data . /1338851928.Didn't retrieve data . /1338851839.Didn't retrieve data . /1338851750.Didn't retrieve data . /1338851665.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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.0955967903137207 save_final save missing photos in datou_result : time spend for datou_step_exec : 77.82331919670105 time spend to save output : 0.09600615501403809 total time spend for step 3 : 77.91932535171509 step4:ventilate_hashtags_in_portfolio Thu Mar 6 19:44:10 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 : 21124054 get user id for portfolio 21124054 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`=21124054 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','pehd','mal_croppe','environnement','background','carton','pet_clair','pet_fonce','papier','autre')) 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`=21124054 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','pehd','mal_croppe','environnement','background','carton','pet_clair','pet_fonce','papier','autre')) 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`=21124054 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','pehd','mal_croppe','environnement','background','carton','pet_clair','pet_fonce','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/21124759,21124760,21124761,21124762,21124763,21124764,21124765,21124766,21124767,21124768,21124769?tags=flou,metal,pehd,mal_croppe,environnement,background,carton,pet_clair,pet_fonce,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] Looping around the photos to save general results len do output : 1 /21124054. 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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.19549822807312012 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.260859966278076 time spend to save output : 0.1957533359527588 total time spend for step 4 : 2.456613302230835 step5:final Thu Mar 6 19:44:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1338852348: ('0.08117754147376542',), 1338852039: ('0.08117754147376542',), 1338851928: ('0.08117754147376542',), 1338851839: ('0.08117754147376542',), 1338851750: ('0.08117754147376542',), 1338851665: ('0.08117754147376542',)} new output for save of step final : {1338852348: ('0.08117754147376542',), 1338852039: ('0.08117754147376542',), 1338851928: ('0.08117754147376542',), 1338851839: ('0.08117754147376542',), 1338851750: ('0.08117754147376542',), 1338851665: ('0.08117754147376542',)} [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] Looping around the photos to save general results len do output : 6 /1338852348.Didn't retrieve data . /1338852039.Didn't retrieve data . /1338851928.Didn't retrieve data . /1338851839.Didn't retrieve data . /1338851750.Didn't retrieve data . /1338851665.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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014371156692504883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.42009639739990234 time spend to save output : 0.014755964279174805 total time spend for step 5 : 0.43485236167907715 step6:blur_detection Thu Mar 6 19:44:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 6 time used for this insertion : 0.020596027374267578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.009423971176147461 save missing photos in datou_result : time spend for datou_step_exec : 0.11815118789672852 time spend to save output : 0.035294532775878906 total time spend for step 6 : 0.15344572067260742 step7:brightness Thu Mar 6 19:44:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 6 time used for this insertion : 0.008855104446411133 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 6 time used for this insertion : 0.008939743041992188 save missing photos in datou_result : time spend for datou_step_exec : 0.025874853134155273 time spend to save output : 0.022174596786499023 total time spend for step 7 : 0.0480494499206543 step8:velours_tree Thu Mar 6 19:44:13 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.15645575523376465 time spend to save output : 9.250640869140625e-05 total time spend for step 8 : 0.15654826164245605 step9:send_mail_cod Thu Mar 6 19:44:13 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_P21124054_06-03-2025_19_44_13.pdf 21124759 imagette211247591741286653 21124760 change filename to text .change filename to text .imagette211247601741286653 21124761 imagette211247611741286653 21124762 imagette211247621741286653 21124764 imagette211247641741286653 21124765 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 .imagette211247651741286653 21124766 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette211247661741286654 21124767 change filename to text .imagette211247671741286654 21124768 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 .imagette211247681741286655 21124769 change filename to text .change filename to text .change filename to text .imagette211247691741286656 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21124054 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21124759,21124760,21124761,21124762,21124763,21124764,21124765,21124766,21124767,21124768,21124769?tags=flou,metal,pehd,mal_croppe,environnement,background,carton,pet_clair,pet_fonce,papier,autre args[1338852348] : ((1338852348, -5.326131023831681, 492609224), (1338852348, -0.5114094008035728, 501862349), '0.08117754147376542') We are sending mail with results at report@fotonower.com args[1338852039] : ((1338852039, -6.0958440200760675, 492609224), (1338852039, -0.02447428233927424, 2107752395), '0.08117754147376542') We are sending mail with results at report@fotonower.com args[1338851928] : ((1338851928, -6.189619555734326, 492609224), (1338851928, 0.011712994287211028, 2107752395), '0.08117754147376542') We are sending mail with results at report@fotonower.com args[1338851839] : ((1338851839, -6.175392527436338, 492609224), (1338851839, 0.07386471695247586, 2107752395), '0.08117754147376542') We are sending mail with results at report@fotonower.com args[1338851750] : ((1338851750, -6.066505202406612, 492609224), (1338851750, -0.010631816531539351, 2107752395), '0.08117754147376542') We are sending mail with results at report@fotonower.com args[1338851665] : ((1338851665, -6.206558462970659, 492609224), (1338851665, 0.06001526812355344, 2107752395), '0.08117754147376542') We are sending mail with results at report@fotonower.com refus_total : 0.08117754147376542 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=21124054 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_P21124054_06-03-2025_19_44_13.pdf results_Auto_P21124054_06-03-2025_19_44_13.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124054_06-03-2025_19_44_13.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','21124054','results_Auto_P21124054_06-03-2025_19_44_13.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124054_06-03-2025_19_44_13.pdf','pdf','','0.51','0.08117754147376542') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/21124054

https://www.fotonower.com/image?json=false&list_photos_id=1338852348
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338852039
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338851928
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338851839
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338851750
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1338851665
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/21124760?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/21124765?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/21124766?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/21124767?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/21124768?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/21124769?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124054_06-03-2025_19_44_13.pdf.

Lien vers velours :https://www.fotonower.com/velours/21124759,21124760,21124761,21124762,21124763,21124764,21124765,21124766,21124767,21124768,21124769?tags=flou,metal,pehd,mal_croppe,environnement,background,carton,pet_clair,pet_fonce,papier,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 06 Mar 2025 18:44:19 GMT Content-Length: 0 Connection: close X-Message-Id: vZSNzkRQRJ2LOLVCrfhRDw 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 [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] 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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.013188362121582031 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.553853273391724 time spend to save output : 0.013452768325805664 total time spend for step 9 : 6.567306041717529 step10:split_time_score Thu Mar 6 19:44:19 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'}] (('16', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21022025 21124054 Nombre de photos uploadées : 6 / 23040 (0%) 21022025 21124054 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 21022025 21124054 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0251998901367188e-05 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.000461578369140625 elapsed_time : insert_dashboard_record_day_entry 0.024829864501953125 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21123968 order by id desc limit 1 Qualite : 0.025109892102260178 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124006_06-03-2025_19_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124006 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`=21124006 AND mptpi.`type`=3726 To do Qualite : 0.03945207615207269 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20725589_21-02-2025_12_49_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20725589 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`=20725589 AND mptpi.`type`=3726 To do Qualite : 0.015980946764867932 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124046_06-03-2025_19_37_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124046 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`=21124046 AND mptpi.`type`=3726 To do Qualite : 0.08117754147376542 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124054_06-03-2025_19_44_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124054 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`=21124054 AND mptpi.`type`=3594 To do Qualite : 0.0202701614582461 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20730973_21-02-2025_19_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20730973 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`=20730973 AND mptpi.`type`=3726 To do Qualite : 0.058712455346175 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124064_06-03-2025_19_34_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124064 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`=21124064 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21022025': {'nb_upload': 6, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338852348, 1338852039, 1338851928, 1338851839, 1338851750, 1338851665] Looping around the photos to save general results len do output : 1 /21124054Didn'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, '2645011') ('3318', '21124054', '1338852348', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338852039', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851928', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851839', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851750', None, None, None, None, None, '2645011') ('3318', None, None, None, None, None, None, None, '2645011') ('3318', '21124054', '1338851665', None, None, None, None, None, '2645011') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 1.9068217277526855 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6269192695617676 time spend to save output : 1.9070560932159424 total time spend for step 10 : 4.53397536277771 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 81.97user 102.01system 3:58.73elapsed 77%CPU (0avgtext+0avgdata 4853112maxresident)k 676120inputs+78824outputs (11470major+10348470minor)pagefaults 0swaps