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 : 769589 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 : ['3510690'] with mtr_portfolio_ids : ['25907331'] and first list_photo_ids : [] new path : /proc/769589/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.8564770221710205 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Aug 12 12:20:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-12 12:20:32.640561: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-12 12:20:32.667407: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-12 12:20:32.669054: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7effcc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-12 12:20:32.669104: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-12 12:20:32.671884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-12 12:20:32.850465: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x6a3a680 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-12 12:20:32.850496: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-12 12:20:32.852068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-12 12:20:32.852322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:20:32.854225: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:20:32.856195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:20:32.856496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:20:32.858607: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:20:32.859627: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:20:32.863904: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:20:32.865351: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:20:32.865421: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:20:32.866185: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 12:20:32.866200: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 12:20:32.866208: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 12:20:32.867552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-12 12:20:33.110444: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-12 12:20:33.110554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:20:33.110571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:20:33.110585: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:20:33.110599: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:20:33.110613: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:20:33.110626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:20:33.110640: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:20:33.111848: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:20:33.112996: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-12 12:20:33.113029: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-12 12:20:33.113043: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:20:33.113056: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-12 12:20:33.113068: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-12 12:20:33.113081: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-12 12:20:33.113094: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-12 12:20:33.113107: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-12 12:20:33.114349: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-12 12:20:33.114382: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-12 12:20:33.114390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-12 12:20:33.114398: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-12 12:20:33.115634: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10011 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-12 12:20:40.782748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-12 12:20:40.974181: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 4 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 54.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 770118 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 829 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5984 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.00038909912109375 nb_pixel_total : 14404 time to create 1 rle with old method : 0.01950216293334961 length of segment : 142 time for calcul the mask position with numpy : 0.0001480579376220703 nb_pixel_total : 5671 time to create 1 rle with old method : 0.007083892822265625 length of segment : 89 time for calcul the mask position with numpy : 0.00024771690368652344 nb_pixel_total : 13956 time to create 1 rle with old method : 0.017514944076538086 length of segment : 140 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 7520 time to create 1 rle with old method : 0.010158300399780273 length of segment : 78 time for calcul the mask position with numpy : 0.0008802413940429688 nb_pixel_total : 54547 time to create 1 rle with old method : 0.06523561477661133 length of segment : 267 time for calcul the mask position with numpy : 0.00018668174743652344 nb_pixel_total : 9782 time to create 1 rle with old method : 0.011692047119140625 length of segment : 158 time for calcul the mask position with numpy : 0.00026679039001464844 nb_pixel_total : 10902 time to create 1 rle with old method : 0.013881444931030273 length of segment : 180 time for calcul the mask position with numpy : 0.00032806396484375 nb_pixel_total : 15291 time to create 1 rle with old method : 0.026188135147094727 length of segment : 168 time for calcul the mask position with numpy : 0.001699209213256836 nb_pixel_total : 110472 time to create 1 rle with old method : 0.15227890014648438 length of segment : 532 time for calcul the mask position with numpy : 0.0002741813659667969 nb_pixel_total : 13878 time to create 1 rle with old method : 0.016786813735961914 length of segment : 144 time for calcul the mask position with numpy : 0.0005512237548828125 nb_pixel_total : 35172 time to create 1 rle with old method : 0.04345202445983887 length of segment : 243 time for calcul the mask position with numpy : 0.0003104209899902344 nb_pixel_total : 18603 time to create 1 rle with old method : 0.025352001190185547 length of segment : 146 time for calcul the mask position with numpy : 0.0013775825500488281 nb_pixel_total : 85833 time to create 1 rle with old method : 0.10271048545837402 length of segment : 572 time for calcul the mask position with numpy : 0.0002627372741699219 nb_pixel_total : 19252 time to create 1 rle with old method : 0.023125171661376953 length of segment : 123 time for calcul the mask position with numpy : 0.0016322135925292969 nb_pixel_total : 111660 time to create 1 rle with old method : 0.1280207633972168 length of segment : 529 time for calcul the mask position with numpy : 0.0002002716064453125 nb_pixel_total : 11452 time to create 1 rle with old method : 0.013827085494995117 length of segment : 88 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 4582 time to create 1 rle with old method : 0.00568699836730957 length of segment : 141 time for calcul the mask position with numpy : 0.0003921985626220703 nb_pixel_total : 26889 time to create 1 rle with old method : 0.03203392028808594 length of segment : 222 time for calcul the mask position with numpy : 0.0007996559143066406 nb_pixel_total : 16989 time to create 1 rle with old method : 0.019933700561523438 length of segment : 336 time for calcul the mask position with numpy : 0.0011091232299804688 nb_pixel_total : 61598 time to create 1 rle with old method : 0.07264828681945801 length of segment : 170 time for calcul the mask position with numpy : 0.0003819465637207031 nb_pixel_total : 16186 time to create 1 rle with old method : 0.01940631866455078 length of segment : 192 time for calcul the mask position with numpy : 0.0018985271453857422 nb_pixel_total : 102596 time to create 1 rle with old method : 0.1175835132598877 length of segment : 549 time for calcul the mask position with numpy : 0.00041985511779785156 nb_pixel_total : 11083 time to create 1 rle with old method : 0.013133049011230469 length of segment : 174 time for calcul the mask position with numpy : 0.002258777618408203 nb_pixel_total : 101163 time to create 1 rle with old method : 0.11841559410095215 length of segment : 533 time for calcul the mask position with numpy : 0.2520573139190674 nb_pixel_total : 705312 time to create 1 rle with new method : 0.050695180892944336 length of segment : 984 time for calcul the mask position with numpy : 0.0013575553894042969 nb_pixel_total : 78434 time to create 1 rle with old method : 0.12402009963989258 length of segment : 300 time for calcul the mask position with numpy : 0.0019648075103759766 nb_pixel_total : 99932 time to create 1 rle with old method : 0.11934876441955566 length of segment : 540 time for calcul the mask position with numpy : 0.0001366138458251953 nb_pixel_total : 3317 time to create 1 rle with old method : 0.005998134613037109 length of segment : 66 time for calcul the mask position with numpy : 0.0015916824340820312 nb_pixel_total : 89550 time to create 1 rle with old method : 0.10822272300720215 length of segment : 515 time spent for convertir_results : 3.1537022590637207 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 : 8321 save missing photos in datou_result : time spend for datou_step_exec : 29.605476140975952 time spend to save output : 0.518021821975708 total time spend for step 1 : 30.12349796295166 step2:crop_condition Tue Aug 12 12:21:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 14 ! batch 1 Loaded 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/1754994061_769589 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.850837230682373 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 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754994071_769589 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 18 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.720757484436035 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 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 [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] Looping around the photos to save general results len do output : 29 /1376600188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600192Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600193Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600194Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600195Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600196Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600197Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600198Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600208Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600209Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600210Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600211Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600212Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600214Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600215Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376600227Didn'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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.020085573196411133 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.804922103881836 time spend to save output : 0.021119356155395508 total time spend for step 2 : 16.82604146003723 step3:rle_unique_nms_with_priority Tue Aug 12 12:21:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.578026533126831 time for calcul the mask position with numpy : 0.1718003749847412 nb_pixel_total : 2039569 time to create 1 rle with new method : 0.8471615314483643 time for calcul the mask position with numpy : 0.008049726486206055 nb_pixel_total : 13956 time to create 1 rle with old method : 0.016525745391845703 time for calcul the mask position with numpy : 0.0066051483154296875 nb_pixel_total : 5671 time to create 1 rle with old method : 0.006726503372192383 time for calcul the mask position with numpy : 0.0067822933197021484 nb_pixel_total : 14404 time to create 1 rle with old method : 0.01692056655883789 create new chi : 1.0948681831359863 time to delete rle : 0.0332183837890625 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1822 TO DO : save crop sub photo not yet done ! save time : 0.15296196937561035 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.4006807804107666 time for calcul the mask position with numpy : 0.27409863471984863 nb_pixel_total : 1990849 time to create 1 rle with new method : 0.09940624237060547 time for calcul the mask position with numpy : 0.006033182144165039 nb_pixel_total : 10902 time to create 1 rle with old method : 0.011917352676391602 time for calcul the mask position with numpy : 0.0058252811431884766 nb_pixel_total : 9782 time to create 1 rle with old method : 0.010680913925170898 time for calcul the mask position with numpy : 0.005925655364990234 nb_pixel_total : 54547 time to create 1 rle with old method : 0.05970001220703125 time for calcul the mask position with numpy : 0.006116628646850586 nb_pixel_total : 7520 time to create 1 rle with old method : 0.008708477020263672 create new chi : 0.4984405040740967 time to delete rle : 0.00037550926208496094 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2446 TO DO : save crop sub photo not yet done ! save time : 0.1755383014678955 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.037570953369140625 time for calcul the mask position with numpy : 0.022697925567626953 nb_pixel_total : 2058309 time to create 1 rle with new method : 0.34169983863830566 time for calcul the mask position with numpy : 0.0063703060150146484 nb_pixel_total : 15291 time to create 1 rle with old method : 0.017638206481933594 create new chi : 0.38865017890930176 time to delete rle : 0.00024318695068359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1416 TO DO : save crop sub photo not yet done ! save time : 0.11424994468688965 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.06505703926086426 time for calcul the mask position with numpy : 0.032561302185058594 nb_pixel_total : 1914078 time to create 1 rle with new method : 0.06813549995422363 time for calcul the mask position with numpy : 0.006872653961181641 nb_pixel_total : 35172 time to create 1 rle with old method : 0.043149709701538086 time for calcul the mask position with numpy : 0.007761240005493164 nb_pixel_total : 13878 time to create 1 rle with old method : 0.016813993453979492 time for calcul the mask position with numpy : 0.007014274597167969 nb_pixel_total : 110472 time to create 1 rle with old method : 0.12553977966308594 create new chi : 0.31647181510925293 time to delete rle : 0.0003819465637207031 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2918 TO DO : save crop sub photo not yet done ! save time : 0.19944167137145996 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.053761959075927734 time for calcul the mask position with numpy : 0.024708271026611328 nb_pixel_total : 1969164 time to create 1 rle with new method : 0.04094362258911133 time for calcul the mask position with numpy : 0.006702423095703125 nb_pixel_total : 85833 time to create 1 rle with old method : 0.09758305549621582 time for calcul the mask position with numpy : 0.005926609039306641 nb_pixel_total : 18603 time to create 1 rle with old method : 0.020946264266967773 create new chi : 0.20299053192138672 time to delete rle : 0.00039839744567871094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2516 TO DO : save crop sub photo not yet done ! save time : 0.18326282501220703 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032499074935913086 time for calcul the mask position with numpy : 0.019359350204467773 nb_pixel_total : 2054348 time to create 1 rle with new method : 0.03921794891357422 time for calcul the mask position with numpy : 0.006270885467529297 nb_pixel_total : 19252 time to create 1 rle with old method : 0.022438526153564453 create new chi : 0.09505414962768555 time to delete rle : 0.00022792816162109375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1326 TO DO : save crop sub photo not yet done ! save time : 0.11246633529663086 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05532503128051758 time for calcul the mask position with numpy : 0.3823580741882324 nb_pixel_total : 1945906 time to create 1 rle with new method : 0.2978050708770752 time for calcul the mask position with numpy : 0.006250143051147461 nb_pixel_total : 4582 time to create 1 rle with old method : 0.005132436752319336 time for calcul the mask position with numpy : 0.0057353973388671875 nb_pixel_total : 11452 time to create 1 rle with old method : 0.012943267822265625 time for calcul the mask position with numpy : 0.006508588790893555 nb_pixel_total : 111660 time to create 1 rle with old method : 0.12301349639892578 create new chi : 0.8496716022491455 time to delete rle : 0.0004706382751464844 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2596 TO DO : save crop sub photo not yet done ! save time : 0.19178557395935059 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04201650619506836 time for calcul the mask position with numpy : 0.07220983505249023 nb_pixel_total : 2029722 time to create 1 rle with new method : 0.6491572856903076 time for calcul the mask position with numpy : 0.006137371063232422 nb_pixel_total : 16989 time to create 1 rle with old method : 0.018996715545654297 time for calcul the mask position with numpy : 0.006337642669677734 nb_pixel_total : 26889 time to create 1 rle with old method : 0.03066873550415039 create new chi : 0.7919399738311768 time to delete rle : 0.0003979206085205078 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2196 TO DO : save crop sub photo not yet done ! save time : 0.16505026817321777 No data in photo_id : 1376572871 No data in photo_id : 1376572869 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04853463172912598 time for calcul the mask position with numpy : 0.05754685401916504 nb_pixel_total : 1893220 time to create 1 rle with new method : 0.4105391502380371 time for calcul the mask position with numpy : 0.006776571273803711 nb_pixel_total : 102596 time to create 1 rle with old method : 0.11496162414550781 time for calcul the mask position with numpy : 0.006253242492675781 nb_pixel_total : 16186 time to create 1 rle with old method : 0.01894378662109375 time for calcul the mask position with numpy : 0.00635981559753418 nb_pixel_total : 61598 time to create 1 rle with old method : 0.08725762367248535 create new chi : 0.718519926071167 time to delete rle : 0.0005402565002441406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2902 TO DO : save crop sub photo not yet done ! save time : 0.1854259967803955 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.08525490760803223 time for calcul the mask position with numpy : 0.04023122787475586 nb_pixel_total : 1256769 time to create 1 rle with new method : 0.35797786712646484 time for calcul the mask position with numpy : 0.011200904846191406 nb_pixel_total : 704585 time to create 1 rle with new method : 0.08512425422668457 time for calcul the mask position with numpy : 0.006890058517456055 nb_pixel_total : 101163 time to create 1 rle with old method : 0.11822819709777832 time for calcul the mask position with numpy : 0.006183624267578125 nb_pixel_total : 11083 time to create 1 rle with old method : 0.013022422790527344 create new chi : 0.651024580001831 time to delete rle : 0.0005991458892822266 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4390 TO DO : save crop sub photo not yet done ! save time : 0.2806525230407715 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04910778999328613 time for calcul the mask position with numpy : 0.03137540817260742 nb_pixel_total : 1895234 time to create 1 rle with new method : 0.37647008895874023 time for calcul the mask position with numpy : 0.007250070571899414 nb_pixel_total : 99932 time to create 1 rle with old method : 0.12096714973449707 time for calcul the mask position with numpy : 0.006930112838745117 nb_pixel_total : 78434 time to create 1 rle with old method : 0.09494447708129883 create new chi : 0.6445562839508057 time to delete rle : 0.00044536590576171875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2760 TO DO : save crop sub photo not yet done ! save time : 0.19419312477111816 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05152297019958496 time for calcul the mask position with numpy : 0.030443668365478516 nb_pixel_total : 1980733 time to create 1 rle with new method : 0.05792403221130371 time for calcul the mask position with numpy : 0.006971836090087891 nb_pixel_total : 89550 time to create 1 rle with old method : 0.11623978614807129 time for calcul the mask position with numpy : 0.0061511993408203125 nb_pixel_total : 3317 time to create 1 rle with old method : 0.003982067108154297 create new chi : 0.22907209396362305 time to delete rle : 0.00037980079650878906 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2242 TO DO : save crop sub photo not yet done ! save time : 0.165175199508667 map_output_result : {1376572963: (0.0, 'Should be the crop_list due to order', 0), 1376572910: (0.0, 'Should be the crop_list due to order', 0), 1376572907: (0.0, 'Should be the crop_list due to order', 0), 1376572904: (0.0, 'Should be the crop_list due to order', 0), 1376572900: (0.0, 'Should be the crop_list due to order', 0), 1376572895: (0.0, 'Should be the crop_list due to order', 0), 1376572889: (0.0, 'Should be the crop_list due to order', 0), 1376572873: (0.0, 'Should be the crop_list due to order', 0), 1376572871: (0.0, 'Should be the crop_list due to order', 0.0), 1376572869: (0.0, 'Should be the crop_list due to order', 0.0), 1376572866: (0.0, 'Should be the crop_list due to order', 0), 1376572857: (0.0, 'Should be the crop_list due to order', 0), 1376572851: (0.0, 'Should be the crop_list due to order', 0), 1376572814: (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 [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] Looping around the photos to save general results len do output : 14 /1376572963.Didn't retrieve data . /1376572910.Didn't retrieve data . /1376572907.Didn't retrieve data . /1376572904.Didn't retrieve data . /1376572900.Didn't retrieve data . /1376572895.Didn't retrieve data . /1376572889.Didn't retrieve data . /1376572873.Didn't retrieve data . /1376572871.Didn't retrieve data . /1376572869.Didn't retrieve data . /1376572866.Didn't retrieve data . /1376572857.Didn't retrieve data . /1376572851.Didn't retrieve data . /1376572814.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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.014394998550415039 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.541714191436768 time spend to save output : 0.014894247055053711 total time spend for step 3 : 10.556608438491821 step4:ventilate_hashtags_in_portfolio Tue Aug 12 12:21: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 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 : 25907331 get user id for portfolio 25907331 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25907331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','metal','pet_fonce','background','autre','pet_clair','flou','mal_croppe','papier','pehd')) 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`=25907331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','metal','pet_fonce','background','autre','pet_clair','flou','mal_croppe','papier','pehd')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25907331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','metal','pet_fonce','background','autre','pet_clair','flou','mal_croppe','papier','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25910968,25910969,25910970,25910971,25910972,25910973,25910974,25910975,25910976,25910977,25910978?tags=environnement,carton,metal,pet_fonce,background,autre,pet_clair,flou,mal_croppe,papier,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] Looping around the photos to save general results len do output : 1 /25907331. 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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.022928476333618164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6688942909240723 time spend to save output : 0.023181438446044922 total time spend for step 4 : 0.6920757293701172 step5:final Tue Aug 12 12:21:28 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 : {1376572963: ('0.06390883349867725',), 1376572910: ('0.06390883349867725',), 1376572907: ('0.06390883349867725',), 1376572904: ('0.06390883349867725',), 1376572900: ('0.06390883349867725',), 1376572895: ('0.06390883349867725',), 1376572889: ('0.06390883349867725',), 1376572873: ('0.06390883349867725',), 1376572871: ('0.06390883349867725',), 1376572869: ('0.06390883349867725',), 1376572866: ('0.06390883349867725',), 1376572857: ('0.06390883349867725',), 1376572851: ('0.06390883349867725',), 1376572814: ('0.06390883349867725',)} new output for save of step final : {1376572963: ('0.06390883349867725',), 1376572910: ('0.06390883349867725',), 1376572907: ('0.06390883349867725',), 1376572904: ('0.06390883349867725',), 1376572900: ('0.06390883349867725',), 1376572895: ('0.06390883349867725',), 1376572889: ('0.06390883349867725',), 1376572873: ('0.06390883349867725',), 1376572871: ('0.06390883349867725',), 1376572869: ('0.06390883349867725',), 1376572866: ('0.06390883349867725',), 1376572857: ('0.06390883349867725',), 1376572851: ('0.06390883349867725',), 1376572814: ('0.06390883349867725',)} [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] Looping around the photos to save general results len do output : 14 /1376572963.Didn't retrieve data . /1376572910.Didn't retrieve data . /1376572907.Didn't retrieve data . /1376572904.Didn't retrieve data . /1376572900.Didn't retrieve data . /1376572895.Didn't retrieve data . /1376572889.Didn't retrieve data . /1376572873.Didn't retrieve data . /1376572871.Didn't retrieve data . /1376572869.Didn't retrieve data . /1376572866.Didn't retrieve data . /1376572857.Didn't retrieve data . /1376572851.Didn't retrieve data . /1376572814.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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.028775691986083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11351418495178223 time spend to save output : 0.029436111450195312 total time spend for step 5 : 0.14295029640197754 step6:blur_detection Tue Aug 12 12:21:28 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/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e.jpg resize: (1080, 1920) 1376572963 -0.3561203792212328 treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87.jpg resize: (1080, 1920) 1376572910 0.3373275059011252 treat image : temp/1754994028_769589_1376572907_b24ae43af9ef5c960864dcc2a6eab1da.jpg resize: (1080, 1920) 1376572907 1.266270770336709 treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521.jpg resize: (1080, 1920) 1376572904 -4.219538687362812 treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16.jpg resize: (1080, 1920) 1376572900 0.12060889313991639 treat image : temp/1754994028_769589_1376572895_54a84c1812d85d4d8fefa6d84ad72ef0.jpg resize: (1080, 1920) 1376572895 -0.6638848879947581 treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475.jpg resize: (1080, 1920) 1376572889 -3.092235442188601 treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e.jpg resize: (1080, 1920) 1376572873 -0.764809230538247 treat image : temp/1754994028_769589_1376572871_a2971a3d0c0b04eaebf85d48233759c5.jpg resize: (1080, 1920) 1376572871 -3.7761482156939716 treat image : temp/1754994028_769589_1376572869_c9b2e9af51b06a665bb141f9e72dbf74.jpg resize: (1080, 1920) 1376572869 -0.7418208847323449 treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4.jpg resize: (1080, 1920) 1376572866 -1.1730554876864039 treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426.jpg resize: (1080, 1920) 1376572857 -0.5777132934065812 treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103.jpg resize: (1080, 1920) 1376572851 0.4860453663937551 treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916.jpg resize: (1080, 1920) 1376572814 -1.5447791380012306 treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029784_0.png resize: (124, 164) 1376600188 -1.9316461647102063 treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029785_0.png resize: (89, 100) 1376600189 -1.3895774923762274 treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029786_0.png resize: (140, 144) 1376600190 -1.483095050729309 treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029790_0.png resize: (180, 122) 1376600191 -0.7458418774348815 treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029787_0.png resize: (78, 132) 1376600192 1.0061366126060083 treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029788_0.png resize: (237, 351) 1376600193 -0.44060667567211714 treat image : temp/1754994028_769589_1376572907_b24ae43af9ef5c960864dcc2a6eab1da_rle_crop_3912029791_0.png resize: (168, 150) 1376600194 -1.3552533508435163 treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16_rle_crop_3912029795_0.png resize: (134, 229) 1376600195 -1.7847488051609928 treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029800_0.png resize: (138, 83) 1376600196 -2.5694013083827323 treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e_rle_crop_3912029802_0.png resize: (260, 125) 1376600197 -0.626299282728627 treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029804_0.png resize: (190, 176) 1376600198 -0.810225520934383 treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029789_0.png resize: (158, 88) 1376600208 -0.9942169599931541 treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029794_0.png resize: (206, 266) 1376600209 -4.641539761012465 treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029793_0.png resize: (140, 136) 1376600210 -3.1541787937779917 treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029792_0.png resize: (531, 342) 1376600211 0.23825147212661157 treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16_rle_crop_3912029796_0.png resize: (511, 292) 1376600212 -0.5676260913643189 treat image : temp/1754994028_769589_1376572895_54a84c1812d85d4d8fefa6d84ad72ef0_rle_crop_3912029797_0.png resize: (121, 196) 1376600214 0.6065239079132048 treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029799_0.png resize: (83, 178) 1376600215 -5.678487314226879 treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029798_0.png resize: (529, 332) 1376600216 0.19523520674132022 treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e_rle_crop_3912029801_0.png resize: (220, 175) 1376600217 -3.2551070630956698 treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029803_0.png resize: (164, 547) 1376600218 -0.2502603179362254 treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029805_0.png resize: (545, 341) 1376600219 -0.28714795681771754 treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029808_0.png resize: (979, 998) 1376600220 0.6469216227648742 treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029806_0.png resize: (174, 102) 1376600221 -0.30011467374452594 treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029807_0.png resize: (523, 350) 1376600222 -0.374488374442242 treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103_rle_crop_3912029809_0.png resize: (297, 334) 1376600223 -0.41322523285437296 treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103_rle_crop_3912029810_0.png resize: (536, 310) 1376600225 -0.13416055798659457 treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916_rle_crop_3912029811_0.png resize: (59, 71) 1376600226 0.2962743835279077 treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916_rle_crop_3912029812_0.png resize: (505, 315) 1376600227 -0.3980618154859694 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 : 43 time used for this insertion : 0.013652324676513672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.01382136344909668 save missing photos in datou_result : time spend for datou_step_exec : 12.13068175315857 time spend to save output : 0.03249335289001465 total time spend for step 6 : 12.163175106048584 step7:brightness Tue Aug 12 12:21:40 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/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e.jpg treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87.jpg treat image : temp/1754994028_769589_1376572907_b24ae43af9ef5c960864dcc2a6eab1da.jpg treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521.jpg treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16.jpg treat image : temp/1754994028_769589_1376572895_54a84c1812d85d4d8fefa6d84ad72ef0.jpg treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475.jpg treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e.jpg treat image : temp/1754994028_769589_1376572871_a2971a3d0c0b04eaebf85d48233759c5.jpg treat image : temp/1754994028_769589_1376572869_c9b2e9af51b06a665bb141f9e72dbf74.jpg treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4.jpg treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426.jpg treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103.jpg treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916.jpg treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029784_0.png treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029785_0.png treat image : temp/1754994028_769589_1376572963_c92ff6ddefcda2b10c6186a3066bb84e_rle_crop_3912029786_0.png treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029790_0.png treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029787_0.png treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029788_0.png treat image : temp/1754994028_769589_1376572907_b24ae43af9ef5c960864dcc2a6eab1da_rle_crop_3912029791_0.png treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16_rle_crop_3912029795_0.png treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029800_0.png treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e_rle_crop_3912029802_0.png treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029804_0.png treat image : temp/1754994028_769589_1376572910_2cf342d2ecaec9282b80beee70932c87_rle_crop_3912029789_0.png treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029794_0.png treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029793_0.png treat image : temp/1754994028_769589_1376572904_dc9aebe2cee25092bf510f4e22b31521_rle_crop_3912029792_0.png treat image : temp/1754994028_769589_1376572900_f43bf34ffd40a1ead5cdfbb06ca06a16_rle_crop_3912029796_0.png treat image : temp/1754994028_769589_1376572895_54a84c1812d85d4d8fefa6d84ad72ef0_rle_crop_3912029797_0.png treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029799_0.png treat image : temp/1754994028_769589_1376572889_c4f77c0daa479de19148d92ee6836475_rle_crop_3912029798_0.png treat image : temp/1754994028_769589_1376572873_6860a8f56fad5cd7af85d7444342a61e_rle_crop_3912029801_0.png treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029803_0.png treat image : temp/1754994028_769589_1376572866_0da7b968b57883e2e8b05f36937e4df4_rle_crop_3912029805_0.png treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029808_0.png treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029806_0.png treat image : temp/1754994028_769589_1376572857_bbddcede0babf72d5e9978ca3e070426_rle_crop_3912029807_0.png treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103_rle_crop_3912029809_0.png treat image : temp/1754994028_769589_1376572851_475f7b043d282573b9ea0193c4384103_rle_crop_3912029810_0.png treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916_rle_crop_3912029811_0.png treat image : temp/1754994028_769589_1376572814_d292f3a29167c6d1bf137add307ce916_rle_crop_3912029812_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 : 43 time used for this insertion : 0.013576984405517578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.012998104095458984 save missing photos in datou_result : time spend for datou_step_exec : 3.3187286853790283 time spend to save output : 0.0312800407409668 total time spend for step 7 : 3.350008726119995 step8:velours_tree Tue Aug 12 12:21:43 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.12593436241149902 time spend to save output : 3.4332275390625e-05 total time spend for step 8 : 0.12596869468688965 step9:send_mail_cod Tue Aug 12 12:21:43 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_P25907331_12-08-2025_12_21_43.pdf 25910969 imagette259109691754994103 25910970 imagette259109701754994103 25910971 imagette259109711754994103 25910972 imagette259109721754994103 25910973 imagette259109731754994103 25910974 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette259109741754994104 25910975 imagette259109751754994105 25910976 imagette259109761754994105 25910977 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 .imagette259109771754994105 25910978 imagette259109781754994105 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25907331 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25910968,25910969,25910970,25910971,25910972,25910973,25910974,25910975,25910976,25910977,25910978?tags=environnement,carton,metal,pet_fonce,background,autre,pet_clair,flou,mal_croppe,papier,pehd args[1376572963] : ((1376572963, -0.3561203792212328, 492688767), (1376572963, 0.046583462039683984, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572910] : ((1376572910, 0.3373275059011252, 492688767), (1376572910, 0.44497613849229434, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572907] : ((1376572907, 1.266270770336709, 492688767), (1376572907, 0.5127929986295543, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572904] : ((1376572904, -4.219538687362812, 492609224), (1376572904, 0.3859572348100628, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572900] : ((1376572900, 0.12060889313991639, 492688767), (1376572900, 0.8120441612443617, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572895] : ((1376572895, -0.6638848879947581, 492688767), (1376572895, 0.4862162457273215, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572889] : ((1376572889, -3.092235442188601, 492609224), (1376572889, 0.3424167031307666, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572873] : ((1376572873, -0.764809230538247, 492688767), (1376572873, 1.0458575211333587, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572871] : ((1376572871, -3.7761482156939716, 492609224), (1376572871, 1.0253050232795244, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572869] : ((1376572869, -0.7418208847323449, 492688767), (1376572869, 0.6928503159616981, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572866] : ((1376572866, -1.1730554876864039, 492688767), (1376572866, 0.8497478931034551, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572857] : ((1376572857, -0.5777132934065812, 492688767), (1376572857, 0.5658987718796654, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572851] : ((1376572851, 0.4860453663937551, 492688767), (1376572851, 0.3851257632415812, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com args[1376572814] : ((1376572814, -1.5447791380012306, 492688767), (1376572814, 0.7391217988543213, 2107752395), '0.06390883349867725') We are sending mail with results at report@fotonower.com refus_total : 0.06390883349867725 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=25907331 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_P25907331_12-08-2025_12_21_43.pdf results_Auto_P25907331_12-08-2025_12_21_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907331_12-08-2025_12_21_43.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','25907331','results_Auto_P25907331_12-08-2025_12_21_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907331_12-08-2025_12_21_43.pdf','pdf','','0.31','0.06390883349867725') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25907331

https://www.fotonower.com/image?json=false&list_photos_id=1376572963
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572910
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572907
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.266270770336709)
https://www.fotonower.com/image?json=false&list_photos_id=1376572904
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572900
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572895
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572889
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572873
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572871
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572869
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572866
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572857
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572851
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376572814
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/25910974?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25910977?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907331_12-08-2025_12_21_43.pdf.

Lien vers velours :https://www.fotonower.com/velours/25910968,25910969,25910970,25910971,25910972,25910973,25910974,25910975,25910976,25910977,25910978?tags=environnement,carton,metal,pet_fonce,background,autre,pet_clair,flou,mal_croppe,papier,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 12 Aug 2025 10:21:47 GMT Content-Length: 0 Connection: close X-Message-Id: c3oXjc-bQTechPBpdCtPQw 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 [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] 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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.015497684478759766 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9127707481384277 time spend to save output : 0.01572442054748535 total time spend for step 9 : 3.928495168685913 step10:split_time_score Tue Aug 12 12:21:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('10', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12082025 25907331 Nombre de photos uploadées : 14 / 23040 (0%) 12082025 25907331 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 12082025 25907331 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006499290466308594 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2051396369934082 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.08963755666473765 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907306_12-08-2025_12_02_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907306 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25907306 AND mptpi.`type`=3594 To do Qualite : 0.2198127786351166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25908856_12-08-2025_12_01_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908856 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25908856 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908860 order by id desc limit 1 Qualite : 0.03421356577932099 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25908864_12-08-2025_11_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25908864 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25908864 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907315 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907317 order by id desc limit 1 Qualite : 0.021655971995279587 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907323_12-08-2025_11_22_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907323 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25907323 AND mptpi.`type`=3594 To do Qualite : 0.06390883349867725 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25907331_12-08-2025_12_21_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25907331 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25907331 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12082025': {'nb_upload': 14, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1376572963, 1376572910, 1376572907, 1376572904, 1376572900, 1376572895, 1376572889, 1376572873, 1376572871, 1376572869, 1376572866, 1376572857, 1376572851, 1376572814] Looping around the photos to save general results len do output : 1 /25907331Didn'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, '3510690') ('3318', '25907331', '1376572963', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572910', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572907', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572904', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572900', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572895', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572889', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572873', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572871', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572869', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572866', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572857', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572851', None, None, None, None, None, '3510690') ('3318', None, None, None, None, None, None, None, '3510690') ('3318', '25907331', '1376572814', None, None, None, None, None, '3510690') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01424098014831543 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.478530168533325 time spend to save output : 0.014451265335083008 total time spend for step 10 : 3.492981433868408 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 44.96user 25.57system 1:26.75elapsed 81%CPU (0avgtext+0avgdata 2741372maxresident)k 18800inputs+20808outputs (23major+1428122minor)pagefaults 0swaps