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 : 3427312 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 : ['3573748'] with mtr_portfolio_ids : ['26144654'] and first list_photo_ids : [] new path : /proc/3427312/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 0.9705038070678711 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 Fri Aug 22 12:00:27 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 : 10614 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-22 12:00:30.720486: 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-22 12:00:30.728476: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-22 12:00:30.730029: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f28f4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-22 12:00:30.730079: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-22 12:00:30.732695: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-22 12:00:30.840078: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x159b6c50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-22 12:00:30.840129: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-22 12:00:30.841637: 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-22 12:00:30.842089: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 12:00:30.845244: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 12:00:30.848201: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 12:00:30.848737: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 12:00:30.851537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 12:00:30.852919: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 12:00:30.858430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 12:00:30.860435: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 12:00:30.860527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 12:00:30.861450: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 12:00:30.861466: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 12:00:30.861476: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 12:00:30.862778: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9688 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-22 12:00:31.114796: 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-22 12:00:31.114905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 12:00:31.114935: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 12:00:31.114962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 12:00:31.114988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 12:00:31.115015: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 12:00:31.115040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 12:00:31.115066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 12:00:31.117370: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 12:00:31.118790: 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-22 12:00:31.118866: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-22 12:00:31.118884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 12:00:31.118899: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-22 12:00:31.118915: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-22 12:00:31.118930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-22 12:00:31.118945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-22 12:00:31.118960: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-22 12:00:31.120228: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-22 12:00:31.120259: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-22 12:00:31.120269: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-22 12:00:31.120277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-22 12:00:31.121672: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9688 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-22 12:00:40.071760: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-22 12:00:40.272002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.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 : 12 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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 : 19 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 47.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 : 11 Detection mask done ! Trying to reset tf kernel 3428003 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1545 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 6834 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.0004050731658935547 nb_pixel_total : 10215 time to create 1 rle with old method : 0.012636899948120117 length of segment : 131 time for calcul the mask position with numpy : 0.00035953521728515625 nb_pixel_total : 16262 time to create 1 rle with old method : 0.019158601760864258 length of segment : 195 time for calcul the mask position with numpy : 0.00014352798461914062 nb_pixel_total : 5132 time to create 1 rle with old method : 0.00656437873840332 length of segment : 72 time for calcul the mask position with numpy : 0.0028209686279296875 nb_pixel_total : 118490 time to create 1 rle with old method : 0.13435816764831543 length of segment : 619 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 3454 time to create 1 rle with old method : 0.004075765609741211 length of segment : 108 time for calcul the mask position with numpy : 0.00031256675720214844 nb_pixel_total : 12939 time to create 1 rle with old method : 0.015078306198120117 length of segment : 159 time for calcul the mask position with numpy : 0.0005483627319335938 nb_pixel_total : 22215 time to create 1 rle with old method : 0.02529430389404297 length of segment : 134 time for calcul the mask position with numpy : 0.00011777877807617188 nb_pixel_total : 4352 time to create 1 rle with old method : 0.005268573760986328 length of segment : 76 time for calcul the mask position with numpy : 0.0006263256072998047 nb_pixel_total : 37256 time to create 1 rle with old method : 0.042929887771606445 length of segment : 227 time for calcul the mask position with numpy : 0.0007412433624267578 nb_pixel_total : 42891 time to create 1 rle with old method : 0.04935407638549805 length of segment : 286 time for calcul the mask position with numpy : 0.0020837783813476562 nb_pixel_total : 117834 time to create 1 rle with old method : 0.1326286792755127 length of segment : 565 time for calcul the mask position with numpy : 0.00024509429931640625 nb_pixel_total : 12116 time to create 1 rle with old method : 0.013763904571533203 length of segment : 131 time for calcul the mask position with numpy : 0.00033211708068847656 nb_pixel_total : 19184 time to create 1 rle with old method : 0.022826671600341797 length of segment : 151 time for calcul the mask position with numpy : 0.01679515838623047 nb_pixel_total : 779491 time to create 1 rle with new method : 0.17908692359924316 length of segment : 1103 time for calcul the mask position with numpy : 0.0014030933380126953 nb_pixel_total : 48224 time to create 1 rle with old method : 0.054706573486328125 length of segment : 234 time for calcul the mask position with numpy : 0.00029397010803222656 nb_pixel_total : 6333 time to create 1 rle with old method : 0.0075740814208984375 length of segment : 88 time for calcul the mask position with numpy : 0.0009717941284179688 nb_pixel_total : 36978 time to create 1 rle with old method : 0.04154038429260254 length of segment : 202 time for calcul the mask position with numpy : 0.00042939186096191406 nb_pixel_total : 15820 time to create 1 rle with old method : 0.018134593963623047 length of segment : 147 time for calcul the mask position with numpy : 0.000392913818359375 nb_pixel_total : 16851 time to create 1 rle with old method : 0.019517898559570312 length of segment : 151 time for calcul the mask position with numpy : 0.0005655288696289062 nb_pixel_total : 12109 time to create 1 rle with old method : 0.013689279556274414 length of segment : 186 time for calcul the mask position with numpy : 0.0010280609130859375 nb_pixel_total : 53192 time to create 1 rle with old method : 0.05936837196350098 length of segment : 203 time for calcul the mask position with numpy : 0.0004169940948486328 nb_pixel_total : 12406 time to create 1 rle with old method : 0.014543771743774414 length of segment : 128 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 4569 time to create 1 rle with old method : 0.005446434020996094 length of segment : 94 time for calcul the mask position with numpy : 0.0008001327514648438 nb_pixel_total : 31800 time to create 1 rle with old method : 0.03596377372741699 length of segment : 180 time for calcul the mask position with numpy : 0.0008985996246337891 nb_pixel_total : 28539 time to create 1 rle with old method : 0.03275322914123535 length of segment : 185 time for calcul the mask position with numpy : 0.0003628730773925781 nb_pixel_total : 12086 time to create 1 rle with old method : 0.01382589340209961 length of segment : 145 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 1886 time to create 1 rle with old method : 0.0023949146270751953 length of segment : 51 time for calcul the mask position with numpy : 0.00040411949157714844 nb_pixel_total : 11381 time to create 1 rle with old method : 0.013750076293945312 length of segment : 116 time for calcul the mask position with numpy : 0.0005130767822265625 nb_pixel_total : 12432 time to create 1 rle with old method : 0.014679193496704102 length of segment : 145 time spent for convertir_results : 2.2065887451171875 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 6212 save missing photos in datou_result : time spend for datou_step_exec : 24.521451234817505 time spend to save output : 0.438373327255249 total time spend for step 1 : 24.959824562072754 step2:crop_condition Fri Aug 22 12:00:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 8 ! batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755856854_3427312 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.7204718589782715 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755856857_3427312 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 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8279979228973389 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 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 ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755856863_3427312 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.4925782680511475 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 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] Looping around the photos to save general results len do output : 29 /1378520596Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520597Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520599Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520600Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520602Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520604Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520605Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520606Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520754Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378520760Didn'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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 95 time used for this insertion : 0.0749502182006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.163527965545654 time spend to save output : 0.07582831382751465 total time spend for step 2 : 16.23935627937317 step3:rle_unique_nms_with_priority Fri Aug 22 12:01:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3961341381072998 time for calcul the mask position with numpy : 0.15401315689086914 nb_pixel_total : 1923501 time to create 1 rle with new method : 0.08104181289672852 time for calcul the mask position with numpy : 0.006663084030151367 nb_pixel_total : 118490 time to create 1 rle with old method : 0.13395237922668457 time for calcul the mask position with numpy : 0.006664752960205078 nb_pixel_total : 5132 time to create 1 rle with old method : 0.005837440490722656 time for calcul the mask position with numpy : 0.006226301193237305 nb_pixel_total : 16262 time to create 1 rle with old method : 0.02356410026550293 time for calcul the mask position with numpy : 0.0065784454345703125 nb_pixel_total : 10215 time to create 1 rle with old method : 0.011890172958374023 create new chi : 0.44683241844177246 time to delete rle : 0.029712677001953125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3114 TO DO : save crop sub photo not yet done ! save time : 0.25423693656921387 No data in photo_id : 1378478369 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.2979888916015625 time for calcul the mask position with numpy : 0.05639290809631348 nb_pixel_total : 2030640 time to create 1 rle with new method : 0.17212390899658203 time for calcul the mask position with numpy : 0.006279468536376953 nb_pixel_total : 4352 time to create 1 rle with old method : 0.004958391189575195 time for calcul the mask position with numpy : 0.006145954132080078 nb_pixel_total : 22215 time to create 1 rle with old method : 0.025003910064697266 time for calcul the mask position with numpy : 0.006468534469604492 nb_pixel_total : 12939 time to create 1 rle with old method : 0.014572620391845703 time for calcul the mask position with numpy : 0.00652766227722168 nb_pixel_total : 3454 time to create 1 rle with old method : 0.004038572311401367 create new chi : 0.31233811378479004 time to delete rle : 0.00031375885009765625 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 2034 TO DO : save crop sub photo not yet done ! save time : 0.17873144149780273 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.22434282302856445 time for calcul the mask position with numpy : 0.0379939079284668 nb_pixel_total : 1108563 time to create 1 rle with new method : 0.19895410537719727 time for calcul the mask position with numpy : 0.011833667755126953 nb_pixel_total : 735756 time to create 1 rle with new method : 0.08889555931091309 time for calcul the mask position with numpy : 0.006314516067504883 nb_pixel_total : 19184 time to create 1 rle with old method : 0.02208399772644043 time for calcul the mask position with numpy : 0.0061719417572021484 nb_pixel_total : 12116 time to create 1 rle with old method : 0.014246940612792969 time for calcul the mask position with numpy : 0.0074427127838134766 nb_pixel_total : 117834 time to create 1 rle with old method : 0.1392192840576172 time for calcul the mask position with numpy : 0.006913423538208008 nb_pixel_total : 42891 time to create 1 rle with old method : 0.04856705665588379 time for calcul the mask position with numpy : 0.006788730621337891 nb_pixel_total : 37256 time to create 1 rle with old method : 0.04155850410461426 create new chi : 0.6536211967468262 time to delete rle : 0.0006661415100097656 batch 1 Loaded 13 chid ids of type : 3594 ++++++++++Number RLEs to save : 5968 TO DO : save crop sub photo not yet done ! save time : 0.3884155750274658 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.06615352630615234 time for calcul the mask position with numpy : 0.3446385860443115 nb_pixel_total : 1949394 time to create 1 rle with new method : 0.40242767333984375 time for calcul the mask position with numpy : 0.006434440612792969 nb_pixel_total : 16851 time to create 1 rle with old method : 0.018385648727416992 time for calcul the mask position with numpy : 0.0094757080078125 nb_pixel_total : 15820 time to create 1 rle with old method : 0.0168454647064209 time for calcul the mask position with numpy : 0.0070531368255615234 nb_pixel_total : 36978 time to create 1 rle with old method : 0.04038524627685547 time for calcul the mask position with numpy : 0.009618043899536133 nb_pixel_total : 6333 time to create 1 rle with old method : 0.0068492889404296875 time for calcul the mask position with numpy : 0.008981704711914062 nb_pixel_total : 48224 time to create 1 rle with old method : 0.05260467529296875 create new chi : 0.9342837333679199 time to delete rle : 0.0002808570861816406 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2724 TO DO : save crop sub photo not yet done ! save time : 0.2155747413635254 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06295132637023926 time for calcul the mask position with numpy : 0.020578384399414062 nb_pixel_total : 2008299 time to create 1 rle with new method : 0.04970812797546387 time for calcul the mask position with numpy : 0.006067991256713867 nb_pixel_total : 53192 time to create 1 rle with old method : 0.058376312255859375 time for calcul the mask position with numpy : 0.006013393402099609 nb_pixel_total : 12109 time to create 1 rle with old method : 0.01325535774230957 create new chi : 0.15430331230163574 time to delete rle : 0.0002777576446533203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1858 TO DO : save crop sub photo not yet done ! save time : 0.15939879417419434 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.22716951370239258 time for calcul the mask position with numpy : 0.0539705753326416 nb_pixel_total : 2024825 time to create 1 rle with new method : 0.16842293739318848 time for calcul the mask position with numpy : 0.006350278854370117 nb_pixel_total : 31800 time to create 1 rle with old method : 0.03556180000305176 time for calcul the mask position with numpy : 0.005903005599975586 nb_pixel_total : 4569 time to create 1 rle with old method : 0.005067586898803711 time for calcul the mask position with numpy : 0.005785465240478516 nb_pixel_total : 12406 time to create 1 rle with old method : 0.013684272766113281 create new chi : 0.30536675453186035 time to delete rle : 0.0003345012664794922 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1884 TO DO : save crop sub photo not yet done ! save time : 0.1528944969177246 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.20029377937316895 time for calcul the mask position with numpy : 0.1440722942352295 nb_pixel_total : 2007276 time to create 1 rle with new method : 0.07339072227478027 time for calcul the mask position with numpy : 0.006348848342895508 nb_pixel_total : 12432 time to create 1 rle with old method : 0.01410818099975586 time for calcul the mask position with numpy : 0.0058481693267822266 nb_pixel_total : 11381 time to create 1 rle with old method : 0.012649059295654297 time for calcul the mask position with numpy : 0.006173849105834961 nb_pixel_total : 1886 time to create 1 rle with old method : 0.0022339820861816406 time for calcul the mask position with numpy : 0.0062999725341796875 nb_pixel_total : 12086 time to create 1 rle with old method : 0.013178110122680664 time for calcul the mask position with numpy : 0.006119728088378906 nb_pixel_total : 28539 time to create 1 rle with old method : 0.03172802925109863 create new chi : 0.33258628845214844 time to delete rle : 0.0003478527069091797 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 2364 TO DO : save crop sub photo not yet done ! save time : 0.1909801959991455 map_output_result : {1378478372: (0.0, 'Should be the crop_list due to order', 0), 1378478369: (0.0, 'Should be the crop_list due to order', 0.0), 1378478365: (0.0, 'Should be the crop_list due to order', 0), 1378478355: (0.0, 'Should be the crop_list due to order', 0), 1378478334: (0.0, 'Should be the crop_list due to order', 0), 1378478279: (0.0, 'Should be the crop_list due to order', 0), 1378478274: (0.0, 'Should be the crop_list due to order', 0), 1378478270: (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 [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] Looping around the photos to save general results len do output : 8 /1378478372.Didn't retrieve data . /1378478369.Didn't retrieve data . /1378478365.Didn't retrieve data . /1378478355.Didn't retrieve data . /1378478334.Didn't retrieve data . /1378478279.Didn't retrieve data . /1378478274.Didn't retrieve data . /1378478270.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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.012913227081298828 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.54221248626709 time spend to save output : 0.013257980346679688 total time spend for step 3 : 6.5554704666137695 step4:ventilate_hashtags_in_portfolio Fri Aug 22 12:01:15 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 : 26144654 get user id for portfolio 26144654 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`=26144654 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','pehd','mal_croppe','pet_clair','background','carton','autre','metal','environnement','pet_fonce')) 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`=26144654 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','pehd','mal_croppe','pet_clair','background','carton','autre','metal','environnement','pet_fonce')) 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`=26144654 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','pehd','mal_croppe','pet_clair','background','carton','autre','metal','environnement','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26147275,26147276,26147277,26147278,26147279,26147280,26147281,26147282,26147283,26147284,26147285?tags=papier,flou,pehd,mal_croppe,pet_clair,background,carton,autre,metal,environnement,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] Looping around the photos to save general results len do output : 1 /26144654. 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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016855239868164062 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5856974124908447 time spend to save output : 0.01711750030517578 total time spend for step 4 : 1.6028149127960205 step5:final Fri Aug 22 12:01:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1378478372: ('0.08817406925154322',), 1378478369: ('0.08817406925154322',), 1378478365: ('0.08817406925154322',), 1378478355: ('0.08817406925154322',), 1378478334: ('0.08817406925154322',), 1378478279: ('0.08817406925154322',), 1378478274: ('0.08817406925154322',), 1378478270: ('0.08817406925154322',)} new output for save of step final : {1378478372: ('0.08817406925154322',), 1378478369: ('0.08817406925154322',), 1378478365: ('0.08817406925154322',), 1378478355: ('0.08817406925154322',), 1378478334: ('0.08817406925154322',), 1378478279: ('0.08817406925154322',), 1378478274: ('0.08817406925154322',), 1378478270: ('0.08817406925154322',)} [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] Looping around the photos to save general results len do output : 8 /1378478372.Didn't retrieve data . /1378478369.Didn't retrieve data . /1378478365.Didn't retrieve data . /1378478355.Didn't retrieve data . /1378478334.Didn't retrieve data . /1378478279.Didn't retrieve data . /1378478274.Didn't retrieve data . /1378478270.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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.019736528396606445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11533951759338379 time spend to save output : 0.020166873931884766 total time spend for step 5 : 0.13550639152526855 step6:blur_detection Fri Aug 22 12:01:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a.jpg resize: (1080, 1920) 1378478372 2.3763591208191452 treat image : temp/1755856826_3427312_1378478369_22d02cf337be425213fbddf0f9a161b3.jpg resize: (1080, 1920) 1378478369 1.9110127484702264 treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091.jpg resize: (1080, 1920) 1378478365 -2.5832188173867743 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22.jpg resize: (1080, 1920) 1378478355 1.581727663935864 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074.jpg resize: (1080, 1920) 1378478334 1.4422753199777298 treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4.jpg resize: (1080, 1920) 1378478279 1.054420149150378 treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6.jpg resize: (1080, 1920) 1378478274 2.065626069640311 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c.jpg resize: (1080, 1920) 1378478270 1.471057333948148 treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193527_0.png resize: (195, 120) 1378520596 0.2069220589342744 treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193526_0.png resize: (106, 170) 1378520597 0.06438064905045379 treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193528_0.png resize: (53, 155) 1378520599 -0.5703462515931398 treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193530_0.png resize: (77, 54) 1378520600 -1.9964400131932685 treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193533_0.png resize: (74, 90) 1378520602 -1.9012388498713297 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193537_0.png resize: (130, 145) 1378520604 -1.517658602586979 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193542_0.png resize: (200, 274) 1378520605 -1.861337110325542 treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4_rle_crop_3925193545_0.png resize: (185, 120) 1378520606 -0.4617986460935638 treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4_rle_crop_3925193546_0.png resize: (193, 345) 1378520609 -0.6628226621001497 treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193547_0.png resize: (116, 134) 1378520610 2.3269591910058653 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193550_0.png resize: (176, 258) 1378520611 0.49032008681718586 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193541_0.png resize: (88, 121) 1378520619 -1.1464378471990746 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193553_0.png resize: (112, 144) 1378520620 -1.2384997044825896 treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193529_0.png resize: (604, 344) 1378520731 -0.389375790510665 treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193531_0.png resize: (121, 157) 1378520733 -3.546953998613641 treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193532_0.png resize: (128, 206) 1378520735 -1.0928628499640696 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193539_0.png resize: (1005, 1046) 1378520737 0.6275459581709628 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193535_0.png resize: (282, 283) 1378520739 -0.5962009628422243 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193538_0.png resize: (95, 355) 1378520741 -1.2438968000400499 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193534_0.png resize: (224, 254) 1378520743 -0.07028256149862246 treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193536_0.png resize: (554, 369) 1378520745 0.3639812922243553 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193544_0.png resize: (142, 183) 1378520747 -1.0020698371807104 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193540_0.png resize: (234, 257) 1378520749 0.04311665624843016 treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193543_0.png resize: (142, 148) 1378520750 -0.4308592088524833 treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193548_0.png resize: (94, 61) 1378520752 1.276602480710766 treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193549_0.png resize: (180, 223) 1378520754 -0.5704030937218624 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193551_0.png resize: (141, 134) 1378520756 0.08674730609208361 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193554_0.png resize: (143, 114) 1378520758 -0.3579115705080213 treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193552_0.png resize: (51, 48) 1378520760 3.037198445676215 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 : 37 time used for this insertion : 0.0150909423828125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.015563011169433594 save missing photos in datou_result : time spend for datou_step_exec : 7.131335496902466 time spend to save output : 0.03500032424926758 total time spend for step 6 : 7.166335821151733 step7:brightness Fri Aug 22 12:01:24 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/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a.jpg treat image : temp/1755856826_3427312_1378478369_22d02cf337be425213fbddf0f9a161b3.jpg treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091.jpg treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22.jpg treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074.jpg treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4.jpg treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6.jpg treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c.jpg treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193527_0.png treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193526_0.png treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193528_0.png treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193530_0.png treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193533_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193537_0.png treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193542_0.png treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4_rle_crop_3925193545_0.png treat image : temp/1755856826_3427312_1378478279_45750631891add17523c392be5c370c4_rle_crop_3925193546_0.png treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193547_0.png treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193550_0.png treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193541_0.png treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193553_0.png treat image : temp/1755856826_3427312_1378478372_0c645017a5781c80d8acc26b61ae311a_rle_crop_3925193529_0.png treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193531_0.png treat image : temp/1755856826_3427312_1378478365_56746bdcaf29b5772b62974dfecab091_rle_crop_3925193532_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193539_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193535_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193538_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193534_0.png treat image : temp/1755856826_3427312_1378478355_9ee37e4804425e244bf6547a410daf22_rle_crop_3925193536_0.png treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193544_0.png treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193540_0.png treat image : temp/1755856826_3427312_1378478334_8a9a2e5900c4ad737046298d9a5a2074_rle_crop_3925193543_0.png treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193548_0.png treat image : temp/1755856826_3427312_1378478274_a5b41dffdc32ae9bc7ccc0953392d6f6_rle_crop_3925193549_0.png treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193551_0.png treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193554_0.png treat image : temp/1755856826_3427312_1378478270_fe404980385709fe871e63b7af0da98c_rle_crop_3925193552_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 : 37 time used for this insertion : 0.014408349990844727 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.013278722763061523 save missing photos in datou_result : time spend for datou_step_exec : 2.284968376159668 time spend to save output : 0.032285213470458984 total time spend for step 7 : 2.317253589630127 step8:velours_tree Fri Aug 22 12:01:26 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.16288423538208008 time spend to save output : 4.9591064453125e-05 total time spend for step 8 : 0.1629338264465332 step9:send_mail_cod Fri Aug 22 12:01:27 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_P26144654_22-08-2025_12_01_27.pdf 26147275 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 .imagette261472751755856887 26147276 imagette261472761755856887 26147277 imagette261472771755856887 26147278 imagette261472781755856887 26147279 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 .imagette261472791755856887 26147280 imagette261472801755856888 26147281 change filename to text .change filename to text .imagette261472811755856888 26147282 imagette261472821755856888 26147283 imagette261472831755856888 26147285 imagette261472851755856888 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26144654 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26147275,26147276,26147277,26147278,26147279,26147280,26147281,26147282,26147283,26147284,26147285?tags=papier,flou,pehd,mal_croppe,pet_clair,background,carton,autre,metal,environnement,pet_fonce args[1378478372] : ((1378478372, 2.3763591208191452, 492688767), (1378478372, 0.7919765409152081, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478369] : ((1378478369, 1.9110127484702264, 492688767), (1378478369, 0.7741966922070102, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478365] : ((1378478365, -2.5832188173867743, 492609224), (1378478365, 0.5249788844834281, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478355] : ((1378478355, 1.581727663935864, 492688767), (1378478355, 0.5765556972137421, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478334] : ((1378478334, 1.4422753199777298, 492688767), (1378478334, 0.7512451506766498, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478279] : ((1378478279, 1.054420149150378, 492688767), (1378478279, 0.4881219724259147, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478274] : ((1378478274, 2.065626069640311, 492688767), (1378478274, 0.692705261370396, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com args[1378478270] : ((1378478270, 1.471057333948148, 492688767), (1378478270, 0.6639097115244414, 2107752395), '0.08817406925154322') We are sending mail with results at report@fotonower.com refus_total : 0.08817406925154322 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=26144654 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_P26144654_22-08-2025_12_01_27.pdf results_Auto_P26144654_22-08-2025_12_01_27.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144654_22-08-2025_12_01_27.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','26144654','results_Auto_P26144654_22-08-2025_12_01_27.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144654_22-08-2025_12_01_27.pdf','pdf','','0.24','0.08817406925154322') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26144654

https://www.fotonower.com/image?json=false&list_photos_id=1378478372
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.3763591208191452)
https://www.fotonower.com/image?json=false&list_photos_id=1378478369
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.9110127484702264)
https://www.fotonower.com/image?json=false&list_photos_id=1378478365
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378478355
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.581727663935864)
https://www.fotonower.com/image?json=false&list_photos_id=1378478334
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.4422753199777298)
https://www.fotonower.com/image?json=false&list_photos_id=1378478279
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.054420149150378)
https://www.fotonower.com/image?json=false&list_photos_id=1378478274
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.065626069640311)
https://www.fotonower.com/image?json=false&list_photos_id=1378478270
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.471057333948148)

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

exemples de contaminants: papier: https://www.fotonower.com/view/26147275?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26147279?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26147281?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144654_22-08-2025_12_01_27.pdf.

Lien vers velours :https://www.fotonower.com/velours/26147275,26147276,26147277,26147278,26147279,26147280,26147281,26147282,26147283,26147284,26147285?tags=papier,flou,pehd,mal_croppe,pet_clair,background,carton,autre,metal,environnement,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 22 Aug 2025 10:01:30 GMT Content-Length: 0 Connection: close X-Message-Id: aSNRvD6iSHCFLTMi_daevQ 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 [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] 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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.021983861923217773 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.760432481765747 time spend to save output : 0.02219247817993164 total time spend for step 9 : 3.7826249599456787 step10:split_time_score Fri Aug 22 12:01: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 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'}] (('09', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22082025 26144654 Nombre de photos uploadées : 8 / 23040 (0%) 22082025 26144654 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 22082025 26144654 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005123615264892578 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20902562141418457 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.053570387517146746 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141104_22-08-2025_09_21_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141104 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`=26141104 AND mptpi.`type`=3594 To do Qualite : 0.16548168572984748 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143316_22-08-2025_10_12_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143316 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`=26143316 AND mptpi.`type`=3594 To do Qualite : 0.16004099151234566 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143317_22-08-2025_10_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143317 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`=26143317 AND mptpi.`type`=3594 To do Qualite : 0.1262686011904762 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143318_22-08-2025_09_51_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143318 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`=26143318 AND mptpi.`type`=3594 To do Qualite : 0.062375230409808004 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143320_22-08-2025_11_12_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143320 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`=26143320 AND mptpi.`type`=3594 To do Qualite : 0.08817406925154322 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144654_22-08-2025_12_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26144654 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`=26144654 AND mptpi.`type`=3594 To do Qualite : 0.023325424382716047 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144656_22-08-2025_11_51_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26144656 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`=26144656 AND mptpi.`type`=3594 To do Qualite : 0.21387386485042736 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145859_22-08-2025_11_22_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26145859 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`=26145859 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22082025': {'nb_upload': 8, '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 [1378478372, 1378478369, 1378478365, 1378478355, 1378478334, 1378478279, 1378478274, 1378478270] Looping around the photos to save general results len do output : 1 /26144654Didn'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, '3573748') ('3318', '26144654', '1378478372', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478369', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478365', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478355', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478334', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478279', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478274', None, None, None, None, None, '3573748') ('3318', None, None, None, None, None, None, None, '3573748') ('3318', '26144654', '1378478270', None, None, None, None, None, '3573748') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.019403457641601562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8694210052490234 time spend to save output : 0.019620180130004883 total time spend for step 10 : 0.8890411853790283 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 33.78user 19.07system 1:07.22elapsed 78%CPU (0avgtext+0avgdata 2815964maxresident)k 15400inputs+15712outputs (16major+1447058minor)pagefaults 0swaps