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 : 804352 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 : ['3510684'] with mtr_portfolio_ids : ['25907315'] and first list_photo_ids : [] new path : /proc/804352/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.8864245414733887 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Aug 12 12: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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-12 12:40:32.876435: 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-08-12 12:40:32.884384: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-12 12:40:32.885908: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f712c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-12 12:40:32.885959: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-12 12:40:32.888494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-12 12:40:33.005053: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x18451870 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-12 12:40:33.005086: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-12 12:40:33.005950: 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-08-12 12:40:33.006225: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:40:33.008157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:40:33.010159: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:40:33.010463: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:40:33.012547: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:40:33.013537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:40:33.017812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:40:33.019271: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:40:33.019354: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:40:33.020115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 12:40:33.020131: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 12:40:33.020140: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 12:40:33.021464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08-12 12:40:33.264309: 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-08-12 12:40:33.264419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:40:33.264435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:40:33.264450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:40:33.264464: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:40:33.264478: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:40:33.264491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:40:33.264505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:40:33.265692: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:40:33.266825: 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-08-12 12:40:33.266855: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:40:33.266870: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:40:33.266883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:40:33.266896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:40:33.266909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:40:33.266922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:40:33.266934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:40:33.268144: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:40:33.268180: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 12:40:33.268188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 12:40:33.268196: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 12:40:33.269411: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 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-08-12 12:40:41.761598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:40:41.966480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:40:43.496997: 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-08-12 12:40:43.497666: 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-08-12 12:40:43.498302: 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-08-12 12:40:43.498969: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-12 12:40:44.278561: 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-08-12 12:40:44.278650: 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-08-12 12:40:44.345251: 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-08-12 12:40:44.345349: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-08-12 12:40:44.345991: 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-08-12 12:40:44.346010: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-08-12 12:40:44.355007: 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-08-12 12:40:44.355029: 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-08-12 12:40:44.355631: 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-08-12 12:40:44.355649: 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-08-12 12:40:44.361668: 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-08-12 12:40:44.361688: 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-08-12 12:40:44.362260: 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-08-12 12:40:44.362274: 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-08-12 12:40:44.415264: 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-08-12 12:40:44.415322: 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-08-12 12:40:44.415916: 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-08-12 12:40:44.415938: 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-08-12 12:40:44.416558: 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-08-12 12:40:44.416574: 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-08-12 12:40:44.417212: 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-08-12 12:40:44.417237: 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-08-12 12:40:44.425214: 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-08-12 12:40:44.425811: 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-08-12 12:40:44.442765: 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-08-12 12:40:44.444955: 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-08-12 12:40:44.446185: 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-08-12 12:40:44.447278: 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-08-12 12:40:44.451876: 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-08-12 12:40:44.452695: 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-08-12 12:40:44.453475: 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-08-12 12:40:44.454228: 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-08-12 12:40:44.455546: 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-08-12 12:40:44.455568: 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-08-12 12:40:44.465869: 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-08-12 12:40:44.466518: 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-08-12 12:40:44.475823: 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-08-12 12:40:44.476509: 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-08-12 12:40:44.477140: 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-08-12 12:40:44.477754: 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-08-12 12:40:44.478384: 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-08-12 12:40:44.479049: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.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: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.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: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.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: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.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: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.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: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 804990 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5984 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 7177 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.0002796649932861328 nb_pixel_total : 11403 time to create 1 rle with old method : 0.013340950012207031 length of segment : 137 time for calcul the mask position with numpy : 6.341934204101562e-05 nb_pixel_total : 2120 time to create 1 rle with old method : 0.0026574134826660156 length of segment : 40 time for calcul the mask position with numpy : 0.00014281272888183594 nb_pixel_total : 6689 time to create 1 rle with old method : 0.007833242416381836 length of segment : 99 time for calcul the mask position with numpy : 0.00017571449279785156 nb_pixel_total : 10368 time to create 1 rle with old method : 0.012041091918945312 length of segment : 134 time for calcul the mask position with numpy : 0.00013184547424316406 nb_pixel_total : 6516 time to create 1 rle with old method : 0.0077669620513916016 length of segment : 114 time for calcul the mask position with numpy : 0.012294292449951172 nb_pixel_total : 698183 time to create 1 rle with new method : 0.3904712200164795 length of segment : 953 time for calcul the mask position with numpy : 0.0015828609466552734 nb_pixel_total : 107678 time to create 1 rle with old method : 0.1123039722442627 length of segment : 534 time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 4171 time to create 1 rle with old method : 0.004691362380981445 length of segment : 73 time for calcul the mask position with numpy : 0.0013995170593261719 nb_pixel_total : 91865 time to create 1 rle with old method : 0.09691381454467773 length of segment : 494 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 9321 time to create 1 rle with old method : 0.01043558120727539 length of segment : 122 time for calcul the mask position with numpy : 5.53131103515625e-05 nb_pixel_total : 1792 time to create 1 rle with old method : 0.002068042755126953 length of segment : 53 time for calcul the mask position with numpy : 0.0016446113586425781 nb_pixel_total : 101713 time to create 1 rle with old method : 0.10828542709350586 length of segment : 533 time for calcul the mask position with numpy : 0.00020575523376464844 nb_pixel_total : 8666 time to create 1 rle with old method : 0.009534120559692383 length of segment : 110 time for calcul the mask position with numpy : 0.0002315044403076172 nb_pixel_total : 11981 time to create 1 rle with old method : 0.013258934020996094 length of segment : 157 time for calcul the mask position with numpy : 0.00023555755615234375 nb_pixel_total : 17530 time to create 1 rle with old method : 0.019545555114746094 length of segment : 160 time for calcul the mask position with numpy : 0.0017893314361572266 nb_pixel_total : 110325 time to create 1 rle with old method : 0.12294244766235352 length of segment : 575 time for calcul the mask position with numpy : 0.00042057037353515625 nb_pixel_total : 12980 time to create 1 rle with old method : 0.014434814453125 length of segment : 110 time for calcul the mask position with numpy : 0.00026869773864746094 nb_pixel_total : 14451 time to create 1 rle with old method : 0.015891551971435547 length of segment : 170 time for calcul the mask position with numpy : 0.00040912628173828125 nb_pixel_total : 8374 time to create 1 rle with old method : 0.009256124496459961 length of segment : 123 time for calcul the mask position with numpy : 0.0004057884216308594 nb_pixel_total : 12566 time to create 1 rle with old method : 0.013787984848022461 length of segment : 141 time for calcul the mask position with numpy : 0.021220684051513672 nb_pixel_total : 878256 time to create 1 rle with new method : 0.042543888092041016 length of segment : 1016 time for calcul the mask position with numpy : 0.00019741058349609375 nb_pixel_total : 5421 time to create 1 rle with old method : 0.006100654602050781 length of segment : 128 time for calcul the mask position with numpy : 0.00014495849609375 nb_pixel_total : 8171 time to create 1 rle with old method : 0.00926065444946289 length of segment : 116 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 3447 time to create 1 rle with old method : 0.00399017333984375 length of segment : 53 time for calcul the mask position with numpy : 0.00026226043701171875 nb_pixel_total : 6920 time to create 1 rle with old method : 0.007657289505004883 length of segment : 108 time for calcul the mask position with numpy : 0.00039458274841308594 nb_pixel_total : 10466 time to create 1 rle with old method : 0.011310815811157227 length of segment : 178 time for calcul the mask position with numpy : 0.000980377197265625 nb_pixel_total : 26172 time to create 1 rle with old method : 0.027906179428100586 length of segment : 389 time for calcul the mask position with numpy : 0.00041413307189941406 nb_pixel_total : 18739 time to create 1 rle with old method : 0.020412206649780273 length of segment : 110 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 3414 time to create 1 rle with old method : 0.0037889480590820312 length of segment : 65 time for calcul the mask position with numpy : 0.00030159950256347656 nb_pixel_total : 8083 time to create 1 rle with old method : 0.00892949104309082 length of segment : 105 time for calcul the mask position with numpy : 0.00013875961303710938 nb_pixel_total : 2481 time to create 1 rle with old method : 0.0028247833251953125 length of segment : 57 time for calcul the mask position with numpy : 0.012867450714111328 nb_pixel_total : 705728 time to create 1 rle with new method : 0.054461002349853516 length of segment : 1006 time spent for convertir_results : 2.5839147567749023 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 8163 save missing photos in datou_result : time spend for datou_step_exec : 27.19691514968872 time spend to save output : 0.4925057888031006 total time spend for step 1 : 27.68942093849182 step2:crop_condition Tue Aug 12 12:40:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 14 ! batch 1 Loaded 32 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754995261_804352 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.422308921813965 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 ! 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/1754995265_804352 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5618555545806885 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1754995266_804352 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3770196437835693 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754995275_804352 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 18 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.457774877548218 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 ! 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/1754995280_804352 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.625990629196167 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 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] Looping around the photos to save general results len do output : 32 /1376602229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376602273Didn'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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 110 time used for this insertion : 0.01716160774230957 save_final save missing photos in datou_result : time spend for datou_step_exec : 24.31979727745056 time spend to save output : 0.018662691116333008 total time spend for step 2 : 24.338459968566895 step3:rle_unique_nms_with_priority Tue Aug 12 12:41:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 32 chid ids of type : 3594 ++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.49754834175109863 time for calcul the mask position with numpy : 0.1460423469543457 nb_pixel_total : 2053388 time to create 1 rle with new method : 0.0932304859161377 time for calcul the mask position with numpy : 0.005880832672119141 nb_pixel_total : 6689 time to create 1 rle with old method : 0.007073163986206055 time for calcul the mask position with numpy : 0.005856990814208984 nb_pixel_total : 2120 time to create 1 rle with old method : 0.0022373199462890625 time for calcul the mask position with numpy : 0.005836009979248047 nb_pixel_total : 11403 time to create 1 rle with old method : 0.012152671813964844 create new chi : 0.28842830657958984 time to delete rle : 0.020299911499023438 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1632 TO DO : save crop sub photo not yet done ! save time : 0.12984895706176758 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.4627044200897217 time for calcul the mask position with numpy : 0.04689979553222656 nb_pixel_total : 1255202 time to create 1 rle with new method : 0.15819144248962402 time for calcul the mask position with numpy : 0.006707191467285156 nb_pixel_total : 107678 time to create 1 rle with old method : 0.11231589317321777 time for calcul the mask position with numpy : 0.013777971267700195 nb_pixel_total : 693836 time to create 1 rle with new method : 0.09380960464477539 time for calcul the mask position with numpy : 0.009784698486328125 nb_pixel_total : 6516 time to create 1 rle with old method : 0.007124185562133789 time for calcul the mask position with numpy : 0.00609135627746582 nb_pixel_total : 10368 time to create 1 rle with old method : 0.011058807373046875 create new chi : 0.4810154438018799 time to delete rle : 0.0005602836608886719 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4497 TO DO : save crop sub photo not yet done ! save time : 0.27931880950927734 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0702824592590332 time for calcul the mask position with numpy : 0.02267622947692871 nb_pixel_total : 1977564 time to create 1 rle with new method : 0.1586618423461914 time for calcul the mask position with numpy : 0.007138490676879883 nb_pixel_total : 91865 time to create 1 rle with old method : 0.10132837295532227 time for calcul the mask position with numpy : 0.006051540374755859 nb_pixel_total : 4171 time to create 1 rle with old method : 0.004708290100097656 create new chi : 0.3090047836303711 time to delete rle : 0.00031828880310058594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2214 TO DO : save crop sub photo not yet done ! save time : 0.16187119483947754 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.21469545364379883 time for calcul the mask position with numpy : 0.07871389389038086 nb_pixel_total : 2062487 time to create 1 rle with new method : 0.10192704200744629 time for calcul the mask position with numpy : 0.006020545959472656 nb_pixel_total : 1792 time to create 1 rle with old method : 0.0019655227661132812 time for calcul the mask position with numpy : 0.005917072296142578 nb_pixel_total : 9321 time to create 1 rle with old method : 0.010122299194335938 create new chi : 0.21436262130737305 time to delete rle : 0.00023436546325683594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1430 TO DO : save crop sub photo not yet done ! save time : 0.11557579040527344 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04249238967895508 time for calcul the mask position with numpy : 0.042533159255981445 nb_pixel_total : 1963221 time to create 1 rle with new method : 0.16741633415222168 time for calcul the mask position with numpy : 0.005888700485229492 nb_pixel_total : 8666 time to create 1 rle with old method : 0.00904226303100586 time for calcul the mask position with numpy : 0.006212711334228516 nb_pixel_total : 101713 time to create 1 rle with old method : 0.1058037281036377 create new chi : 0.3466615676879883 time to delete rle : 0.0003209114074707031 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2366 TO DO : save crop sub photo not yet done ! save time : 0.1590111255645752 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0711219310760498 time for calcul the mask position with numpy : 0.12017440795898438 nb_pixel_total : 2044089 time to create 1 rle with new method : 0.10094475746154785 time for calcul the mask position with numpy : 0.006370067596435547 nb_pixel_total : 17530 time to create 1 rle with old method : 0.019834280014038086 time for calcul the mask position with numpy : 0.007555246353149414 nb_pixel_total : 11981 time to create 1 rle with old method : 0.016360759735107422 create new chi : 0.2812988758087158 time to delete rle : 0.0003197193145751953 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1714 TO DO : save crop sub photo not yet done ! save time : 0.13490819931030273 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.2892446517944336 time for calcul the mask position with numpy : 0.21567177772521973 nb_pixel_total : 1927470 time to create 1 rle with new method : 0.10065650939941406 time for calcul the mask position with numpy : 0.006350040435791016 nb_pixel_total : 8374 time to create 1 rle with old method : 0.009193658828735352 time for calcul the mask position with numpy : 0.006189107894897461 nb_pixel_total : 14451 time to create 1 rle with old method : 0.015940189361572266 time for calcul the mask position with numpy : 0.006342172622680664 nb_pixel_total : 12980 time to create 1 rle with old method : 0.014293193817138672 time for calcul the mask position with numpy : 0.006998538970947266 nb_pixel_total : 110325 time to create 1 rle with old method : 0.11838722229003906 create new chi : 0.5118029117584229 time to delete rle : 0.0003135204315185547 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3036 TO DO : save crop sub photo not yet done ! save time : 0.21279358863830566 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08000636100769043 time for calcul the mask position with numpy : 0.27104949951171875 nb_pixel_total : 1191990 time to create 1 rle with new method : 0.10166716575622559 time for calcul the mask position with numpy : 0.006089448928833008 nb_pixel_total : 659 time to create 1 rle with old method : 0.0008232593536376953 time for calcul the mask position with numpy : 0.006012678146362305 nb_pixel_total : 2695 time to create 1 rle with old method : 0.003047943115234375 time for calcul the mask position with numpy : 0.012762784957885742 nb_pixel_total : 865690 time to create 1 rle with new method : 0.6216311454772949 time for calcul the mask position with numpy : 0.006056547164916992 nb_pixel_total : 12566 time to create 1 rle with old method : 0.013164281845092773 create new chi : 1.0609328746795654 time to delete rle : 0.0005075931549072266 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3550 TO DO : save crop sub photo not yet done ! save time : 0.2341771125793457 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03229475021362305 time for calcul the mask position with numpy : 0.01912069320678711 nb_pixel_total : 2070153 time to create 1 rle with new method : 0.29670238494873047 time for calcul the mask position with numpy : 0.005816936492919922 nb_pixel_total : 3447 time to create 1 rle with old method : 0.0036711692810058594 create new chi : 0.32552385330200195 time to delete rle : 0.00018906593322753906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1186 TO DO : save crop sub photo not yet done ! save time : 0.10213923454284668 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0389862060546875 time for calcul the mask position with numpy : 0.07527947425842285 nb_pixel_total : 2066680 time to create 1 rle with new method : 0.39509081840515137 time for calcul the mask position with numpy : 0.005976676940917969 nb_pixel_total : 6920 time to create 1 rle with old method : 0.00727081298828125 create new chi : 0.49573659896850586 time to delete rle : 0.00020813941955566406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1296 TO DO : save crop sub photo not yet done ! save time : 0.1078643798828125 No data in photo_id : 1376569938 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.12086057662963867 time for calcul the mask position with numpy : 0.07703137397766113 nb_pixel_total : 2036962 time to create 1 rle with new method : 0.11448192596435547 time for calcul the mask position with numpy : 0.0059893131256103516 nb_pixel_total : 26172 time to create 1 rle with old method : 0.027187824249267578 time for calcul the mask position with numpy : 0.005852460861206055 nb_pixel_total : 10466 time to create 1 rle with old method : 0.011120080947875977 create new chi : 0.2521023750305176 time to delete rle : 0.0003566741943359375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2214 TO DO : save crop sub photo not yet done ! save time : 0.15498733520507812 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03812885284423828 time for calcul the mask position with numpy : 0.04707694053649902 nb_pixel_total : 2054861 time to create 1 rle with new method : 0.1126854419708252 time for calcul the mask position with numpy : 0.00605463981628418 nb_pixel_total : 18739 time to create 1 rle with old method : 0.019643068313598633 create new chi : 0.19434523582458496 time to delete rle : 0.00022864341735839844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1300 TO DO : save crop sub photo not yet done ! save time : 0.1086726188659668 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5386579036712646 time for calcul the mask position with numpy : 0.0534977912902832 nb_pixel_total : 1353894 time to create 1 rle with new method : 0.1074824333190918 time for calcul the mask position with numpy : 0.01213383674621582 nb_pixel_total : 705728 time to create 1 rle with new method : 0.10097551345825195 time for calcul the mask position with numpy : 0.006102085113525391 nb_pixel_total : 2481 time to create 1 rle with old method : 0.002738475799560547 time for calcul the mask position with numpy : 0.006096601486206055 nb_pixel_total : 8083 time to create 1 rle with old method : 0.008858203887939453 time for calcul the mask position with numpy : 0.006095170974731445 nb_pixel_total : 3414 time to create 1 rle with old method : 0.0038144588470458984 create new chi : 0.3177177906036377 time to delete rle : 0.0005753040313720703 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3546 TO DO : save crop sub photo not yet done ! save time : 0.23758912086486816 map_output_result : {1376570003: (0.0, 'Should be the crop_list due to order', 0), 1376570002: (0.0, 'Should be the crop_list due to order', 0), 1376569971: (0.0, 'Should be the crop_list due to order', 0), 1376569970: (0.0, 'Should be the crop_list due to order', 0), 1376569968: (0.0, 'Should be the crop_list due to order', 0), 1376569966: (0.0, 'Should be the crop_list due to order', 0), 1376569965: (0.0, 'Should be the crop_list due to order', 0), 1376569964: (0.0, 'Should be the crop_list due to order', 0), 1376569941: (0.0, 'Should be the crop_list due to order', 0), 1376569939: (0.0, 'Should be the crop_list due to order', 0), 1376569938: (0.0, 'Should be the crop_list due to order', 0.0), 1376569936: (0.0, 'Should be the crop_list due to order', 0), 1376569934: (0.0, 'Should be the crop_list due to order', 0), 1376569931: (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 [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] Looping around the photos to save general results len do output : 14 /1376570003.Didn't retrieve data . /1376570002.Didn't retrieve data . /1376569971.Didn't retrieve data . /1376569970.Didn't retrieve data . /1376569968.Didn't retrieve data . /1376569966.Didn't retrieve data . /1376569965.Didn't retrieve data . /1376569964.Didn't retrieve data . /1376569941.Didn't retrieve data . /1376569939.Didn't retrieve data . /1376569938.Didn't retrieve data . /1376569936.Didn't retrieve data . /1376569934.Didn't retrieve data . /1376569931.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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.012974023818969727 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.147140264511108 time spend to save output : 0.013457775115966797 total time spend for step 3 : 10.160598039627075 step4:ventilate_hashtags_in_portfolio Tue Aug 12 12:41:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25907315 get user id for portfolio 25907315 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`=25907315 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','mal_croppe','carton','pehd','papier','pet_fonce','background','autre','metal','pet_clair')) 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`=25907315 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','mal_croppe','carton','pehd','papier','pet_fonce','background','autre','metal','pet_clair')) 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`=25907315 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','mal_croppe','carton','pehd','papier','pet_fonce','background','autre','metal','pet_clair')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25911793,25911794,25911795,25911796,25911797,25911798,25911799,25911800,25911801,25911802,25911803?tags=flou,environnement,mal_croppe,carton,pehd,papier,pet_fonce,background,autre,metal,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] Looping around the photos to save general results len do output : 1 /25907315. 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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.015344381332397461 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5768780708312988 time spend to save output : 0.015642642974853516 total time spend for step 4 : 1.5925207138061523 step5:final Tue Aug 12 12:41:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1376570003: ('0.09985528962742503',), 1376570002: ('0.09985528962742503',), 1376569971: ('0.09985528962742503',), 1376569970: ('0.09985528962742503',), 1376569968: ('0.09985528962742503',), 1376569966: ('0.09985528962742503',), 1376569965: ('0.09985528962742503',), 1376569964: ('0.09985528962742503',), 1376569941: ('0.09985528962742503',), 1376569939: ('0.09985528962742503',), 1376569938: ('0.09985528962742503',), 1376569936: ('0.09985528962742503',), 1376569934: ('0.09985528962742503',), 1376569931: ('0.09985528962742503',)} new output for save of step final : {1376570003: ('0.09985528962742503',), 1376570002: ('0.09985528962742503',), 1376569971: ('0.09985528962742503',), 1376569970: ('0.09985528962742503',), 1376569968: ('0.09985528962742503',), 1376569966: ('0.09985528962742503',), 1376569965: ('0.09985528962742503',), 1376569964: ('0.09985528962742503',), 1376569941: ('0.09985528962742503',), 1376569939: ('0.09985528962742503',), 1376569938: ('0.09985528962742503',), 1376569936: ('0.09985528962742503',), 1376569934: ('0.09985528962742503',), 1376569931: ('0.09985528962742503',)} [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] Looping around the photos to save general results len do output : 14 /1376570003.Didn't retrieve data . /1376570002.Didn't retrieve data . /1376569971.Didn't retrieve data . /1376569970.Didn't retrieve data . /1376569968.Didn't retrieve data . /1376569966.Didn't retrieve data . /1376569965.Didn't retrieve data . /1376569964.Didn't retrieve data . /1376569941.Didn't retrieve data . /1376569939.Didn't retrieve data . /1376569938.Didn't retrieve data . /1376569936.Didn't retrieve data . /1376569934.Didn't retrieve data . /1376569931.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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.013355016708374023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1183772087097168 time spend to save output : 0.014108419418334961 total time spend for step 5 : 0.13248562812805176 step6:blur_detection Tue Aug 12 12:41:34 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 methode: ratio et variance treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12.jpg resize: (1080, 1920) 1376570003 -0.1863061534628522 treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba.jpg resize: (1080, 1920) 1376570002 4.088287024554569 treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369.jpg resize: (1080, 1920) 1376569971 1.2504928533396282 treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b.jpg resize: (1080, 1920) 1376569970 -1.3678000082587443 treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b.jpg resize: (1080, 1920) 1376569968 -0.1646715177019921 treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6.jpg resize: (1080, 1920) 1376569966 -1.4147886866138168 treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29.jpg resize: (1080, 1920) 1376569965 -2.586826553882042 treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede.jpg resize: (1080, 1920) 1376569964 -3.0862301236660907 treat image : temp/1754995228_804352_1376569941_ad4166757011173ed3bac5d21a7849a1.jpg resize: (1080, 1920) 1376569941 -1.0891483828889978 treat image : temp/1754995228_804352_1376569939_8bc24ece3ed55faa8634422ecbe37900.jpg resize: (1080, 1920) 1376569939 -2.0282291610813594 treat image : temp/1754995228_804352_1376569938_fec3e7f4fc23107334f6f8dff5570070.jpg resize: (1080, 1920) 1376569938 -0.24316073369672656 treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe.jpg resize: (1080, 1920) 1376569936 -0.16298267441583342 treat image : temp/1754995228_804352_1376569934_82f8f8e005d2a657a6a6de70c83d0370.jpg resize: (1080, 1920) 1376569934 -0.9405109125176083 treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199.jpg resize: (1080, 1920) 1376569931 -0.8026838350740693 treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040188_0.png resize: (953, 1050) 1376602229 0.8837502497156363 treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6_rle_crop_3912040196_0.png resize: (157, 133) 1376602230 -1.681057765032847 treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040199_0.png resize: (108, 189) 1376602231 -1.1785643451381729 treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040200_0.png resize: (169, 135) 1376602232 -1.4502607747666694 treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040202_0.png resize: (128, 147) 1376602233 -1.5621789101074475 treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040204_0.png resize: (128, 86) 1376602234 -2.075598111840811 treat image : temp/1754995228_804352_1376569939_8bc24ece3ed55faa8634422ecbe37900_rle_crop_3912040207_0.png resize: (108, 86) 1376602235 -0.7694494258191341 treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040187_0.png resize: (102, 98) 1376602238 -1.5556051982697874 treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369_rle_crop_3912040190_0.png resize: (72, 75) 1376602240 -0.6405086743497724 treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b_rle_crop_3912040193_0.png resize: (53, 43) 1376602241 -3.9232742344794467 treat image : temp/1754995228_804352_1376569941_ad4166757011173ed3bac5d21a7849a1_rle_crop_3912040206_0.png resize: (53, 81) 1376602242 -1.4931580097919959 treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe_rle_crop_3912040208_0.png resize: (176, 98) 1376602243 -1.5362216181366923 treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040213_0.png resize: (57, 53) 1376602244 -2.3555171461719304 treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040183_0.png resize: (134, 124) 1376602254 -2.2253200450263106 treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040185_0.png resize: (97, 112) 1376602255 -3.171665274700404 treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040186_0.png resize: (134, 111) 1376602256 -2.023214621148949 treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040189_0.png resize: (534, 314) 1376602257 0.48812028897995485 treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369_rle_crop_3912040191_0.png resize: (487, 339) 1376602258 -0.22487847646923428 treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b_rle_crop_3912040192_0.png resize: (110, 143) 1376602259 -2.965266627564002 treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b_rle_crop_3912040195_0.png resize: (109, 99) 1376602260 -1.1557985247568177 treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b_rle_crop_3912040194_0.png resize: (531, 351) 1376602261 -0.17521356103936495 treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6_rle_crop_3912040197_0.png resize: (144, 171) 1376602262 -1.4666327937618013 treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040201_0.png resize: (123, 138) 1376602263 -2.0511471682581055 treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040198_0.png resize: (559, 336) 1376602264 -0.38438732127395375 treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040203_0.png resize: (1002, 1194) 1376602265 -4.027828574721015 treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040205_0.png resize: (114, 95) 1376602266 -1.1908122355785784 treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe_rle_crop_3912040209_0.png resize: (326, 142) 1376602267 -1.7310490205999385 treat image : temp/1754995228_804352_1376569934_82f8f8e005d2a657a6a6de70c83d0370_rle_crop_3912040210_0.png resize: (105, 230) 1376602268 -2.6663699332327275 treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040214_0.png resize: (1002, 947) 1376602269 0.7689553190745677 treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040212_0.png resize: (103, 97) 1376602270 -2.8546565452451995 treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040211_0.png resize: (64, 63) 1376602271 -0.9269017812097737 treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040184_0.png resize: (39, 73) 1376602273 -1.0032005734342684 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 : 46 time used for this insertion : 0.013578653335571289 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.014037847518920898 save missing photos in datou_result : time spend for datou_step_exec : 12.234583139419556 time spend to save output : 0.03223776817321777 total time spend for step 6 : 12.266820907592773 step7:brightness Tue Aug 12 12:41:46 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 treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12.jpg treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba.jpg treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369.jpg treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b.jpg treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b.jpg treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6.jpg treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29.jpg treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede.jpg treat image : temp/1754995228_804352_1376569941_ad4166757011173ed3bac5d21a7849a1.jpg treat image : temp/1754995228_804352_1376569939_8bc24ece3ed55faa8634422ecbe37900.jpg treat image : temp/1754995228_804352_1376569938_fec3e7f4fc23107334f6f8dff5570070.jpg treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe.jpg treat image : temp/1754995228_804352_1376569934_82f8f8e005d2a657a6a6de70c83d0370.jpg treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199.jpg treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040188_0.png treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6_rle_crop_3912040196_0.png treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040199_0.png treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040200_0.png treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040202_0.png treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040204_0.png treat image : temp/1754995228_804352_1376569939_8bc24ece3ed55faa8634422ecbe37900_rle_crop_3912040207_0.png treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040187_0.png treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369_rle_crop_3912040190_0.png treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b_rle_crop_3912040193_0.png treat image : temp/1754995228_804352_1376569941_ad4166757011173ed3bac5d21a7849a1_rle_crop_3912040206_0.png treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe_rle_crop_3912040208_0.png treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040213_0.png treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040183_0.png treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040185_0.png treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040186_0.png treat image : temp/1754995228_804352_1376570002_1be0a357404c93f0a58b95216d2677ba_rle_crop_3912040189_0.png treat image : temp/1754995228_804352_1376569971_ec169dea2fb259ff5c1353ed4f45c369_rle_crop_3912040191_0.png treat image : temp/1754995228_804352_1376569970_ee5b58cd7d4b3474c0fb8fc48d509a6b_rle_crop_3912040192_0.png treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b_rle_crop_3912040195_0.png treat image : temp/1754995228_804352_1376569968_8393c267983e443aa5683e454ca48b6b_rle_crop_3912040194_0.png treat image : temp/1754995228_804352_1376569966_4e46732c4bdad1dff861d3b51d3ccfb6_rle_crop_3912040197_0.png treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040201_0.png treat image : temp/1754995228_804352_1376569965_7d47854e27bb2fdbde7a8afc33806b29_rle_crop_3912040198_0.png treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040203_0.png treat image : temp/1754995228_804352_1376569964_aac7a4bb647a830950b804cd015dbede_rle_crop_3912040205_0.png treat image : temp/1754995228_804352_1376569936_273a8f193b07a972ad4e0bcfbb984ffe_rle_crop_3912040209_0.png treat image : temp/1754995228_804352_1376569934_82f8f8e005d2a657a6a6de70c83d0370_rle_crop_3912040210_0.png treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040214_0.png treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040212_0.png treat image : temp/1754995228_804352_1376569931_9f83218272ea55e74545679291034199_rle_crop_3912040211_0.png treat image : temp/1754995228_804352_1376570003_b72c45b8609b0b637670d94e3dbd8e12_rle_crop_3912040184_0.png 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 : 46 time used for this insertion : 0.014016866683959961 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.012594461441040039 save missing photos in datou_result : time spend for datou_step_exec : 3.349743604660034 time spend to save output : 0.031224489212036133 total time spend for step 7 : 3.3809680938720703 step8:velours_tree Tue Aug 12 12:41:49 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.12235283851623535 time spend to save output : 4.839897155761719e-05 total time spend for step 8 : 0.12240123748779297 step9:send_mail_cod Tue Aug 12 12:41:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 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_P25907315_12-08-2025_12_41_49.pdf 25911793 imagette259117931754995309 25911795 imagette259117951754995309 25911796 change filename to text .imagette259117961754995309 25911797 imagette259117971754995309 25911798 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 .imagette259117981754995309 25911799 imagette259117991754995310 25911800 imagette259118001754995310 25911801 change filename to text .imagette259118011754995310 25911802 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette259118021754995310 25911803 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 .imagette259118031754995310 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25907315 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25911793,25911794,25911795,25911796,25911797,25911798,25911799,25911800,25911801,25911802,25911803?tags=flou,environnement,mal_croppe,carton,pehd,papier,pet_fonce,background,autre,metal,pet_clair args[1376570003] : ((1376570003, -0.1863061534628522, 492688767), (1376570003, 0.3744489251056586, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376570002] : ((1376570002, 4.088287024554569, 492688767), (1376570002, 0.3615043461088289, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569971] : ((1376569971, 1.2504928533396282, 492688767), (1376569971, 0.6578205867939483, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569970] : ((1376569970, -1.3678000082587443, 492688767), (1376569970, 0.6977851275619801, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569968] : ((1376569968, -0.1646715177019921, 492688767), (1376569968, 0.6174172376984871, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569966] : ((1376569966, -1.4147886866138168, 492688767), (1376569966, 0.5469551793772954, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569965] : ((1376569965, -2.586826553882042, 492609224), (1376569965, 0.6208019828405852, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569964] : ((1376569964, -3.0862301236660907, 492609224), (1376569964, 0.39761847152408314, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569941] : ((1376569941, -1.0891483828889978, 492688767), (1376569941, 0.7512592151639621, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569939] : ((1376569939, -2.0282291610813594, 492609224), (1376569939, 0.8810585179412855, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569938] : ((1376569938, -0.24316073369672656, 492688767), (1376569938, 0.7250139466575005, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569936] : ((1376569936, -0.16298267441583342, 492688767), (1376569936, 0.8692245315900675, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569934] : ((1376569934, -0.9405109125176083, 492688767), (1376569934, 0.7129573236865612, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com args[1376569931] : ((1376569931, -0.8026838350740693, 492688767), (1376569931, 0.7154700681835612, 2107752395), '0.09985528962742503') We are sending mail with results at report@fotonower.com refus_total : 0.09985528962742503 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=25907315 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_P25907315_12-08-2025_12_41_49.pdf results_Auto_P25907315_12-08-2025_12_41_49.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907315_12-08-2025_12_41_49.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','25907315','results_Auto_P25907315_12-08-2025_12_41_49.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907315_12-08-2025_12_41_49.pdf','pdf','','0.41','0.09985528962742503') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25907315

https://www.fotonower.com/image?json=false&list_photos_id=1376570003
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376570002
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.088287024554569)
https://www.fotonower.com/image?json=false&list_photos_id=1376569971
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2504928533396282)
https://www.fotonower.com/image?json=false&list_photos_id=1376569970
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569968
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569966
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569965
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569964
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569941
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569939
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569938
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569936
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569934
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376569931
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/25911796?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25911798?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25911801?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25911802?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25911803?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907315_12-08-2025_12_41_49.pdf.

Lien vers velours :https://www.fotonower.com/velours/25911793,25911794,25911795,25911796,25911797,25911798,25911799,25911800,25911801,25911802,25911803?tags=flou,environnement,mal_croppe,carton,pehd,papier,pet_fonce,background,autre,metal,pet_clair.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 12 Aug 2025 10:41:54 GMT Content-Length: 0 Connection: close X-Message-Id: QVnW9CchTruNwLPlwes7gA 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 [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] 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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.013628005981445312 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.345610618591309 time spend to save output : 0.01387643814086914 total time spend for step 9 : 4.359487056732178 step10:split_time_score Tue Aug 12 12:41:54 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'}] (('08', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12082025 25907315 Nombre de photos uploadées : 14 / 23040 (0%) 12082025 25907315 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 12082025 25907315 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006678104400634766 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19210553169250488 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.08963755666473765 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907306_12-08-2025_12_02_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907306 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`=25907306 AND mptpi.`type`=3594 To do Qualite : 0.2198127786351166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25908856_12-08-2025_12_01_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908856 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`=25908856 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908860 order by id desc limit 1 Qualite : 0.03421356577932099 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25908864_12-08-2025_11_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908864 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`=25908864 AND mptpi.`type`=3594 To do Qualite : 0.09985528962742503 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907315_12-08-2025_12_41_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907315 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`=25907315 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907317 order by id desc limit 1 Qualite : 0.021655971995279587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907323 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`=25907323 AND mptpi.`type`=3594 To do Qualite : 0.06390883349867725 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907331_12-08-2025_12_21_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907331 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`=25907331 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12082025': {'nb_upload': 14, '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 [1376570003, 1376570002, 1376569971, 1376569970, 1376569968, 1376569966, 1376569965, 1376569964, 1376569941, 1376569939, 1376569938, 1376569936, 1376569934, 1376569931] Looping around the photos to save general results len do output : 1 /25907315Didn'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, '3510684') ('3318', '25907315', '1376570003', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376570002', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569971', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569970', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569968', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569966', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569965', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569964', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569941', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569939', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569938', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569936', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569934', None, None, None, None, None, '3510684') ('3318', None, None, None, None, None, None, None, '3510684') ('3318', '25907315', '1376569931', None, None, None, None, None, '3510684') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.014305353164672852 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.647933006286621 time spend to save output : 0.014489412307739258 total time spend for step 10 : 2.6624224185943604 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 48.74user 25.03system 1:32.36elapsed 79%CPU (0avgtext+0avgdata 2700712maxresident)k 186096inputs+31256outputs (19major+1763102minor)pagefaults 0swaps