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 : 837244 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 : ['3759010'] with mtr_portfolio_ids : ['27096232'] and first list_photo_ids : [] new path : /proc/837244/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.4970107078552246 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 Mon Sep 22 16:30: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 : 10586 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-22 16:30:32.497784: 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-09-22 16:30:32.524565: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-22 16:30:32.526747: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc538000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-22 16:30:32.526811: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-22 16:30:32.530757: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-22 16:30:32.707172: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2a229d30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-22 16:30:32.707225: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-22 16:30:32.708138: 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-09-22 16:30:32.708783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 16:30:32.712218: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 16:30:32.718533: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 16:30:32.719251: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 16:30:32.724571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 16:30:32.727110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 16:30:32.742337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 16:30:32.743839: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 16:30:32.743920: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 16:30:32.744686: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 16:30:32.744703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 16:30:32.744711: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 16:30:32.746013: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9805 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-09-22 16:30:33.066391: 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-09-22 16:30:33.066548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 16:30:33.066571: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 16:30:33.066592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 16:30:33.066610: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 16:30:33.066627: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 16:30:33.066646: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 16:30:33.066667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 16:30:33.067955: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 16:30:33.069444: 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-09-22 16:30:33.069487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 16:30:33.069505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 16:30:33.069521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 16:30:33.069537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 16:30:33.069553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 16:30:33.069569: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 16:30:33.069584: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 16:30:33.070881: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 16:30:33.070926: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 16:30:33.070935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 16:30:33.070943: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 16:30:33.072238: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9805 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-09-22 16:30:41.545270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 16:30:41.753650: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.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: 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 : 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: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.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 Detection mask done ! Trying to reset tf kernel 837958 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4495 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 9784 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.0003795623779296875 nb_pixel_total : 13308 time to create 1 rle with old method : 0.015621423721313477 length of segment : 188 time for calcul the mask position with numpy : 0.0008001327514648438 nb_pixel_total : 42332 time to create 1 rle with old method : 0.050185441970825195 length of segment : 195 time for calcul the mask position with numpy : 0.00012445449829101562 nb_pixel_total : 5322 time to create 1 rle with old method : 0.006181955337524414 length of segment : 83 time for calcul the mask position with numpy : 0.00013685226440429688 nb_pixel_total : 4926 time to create 1 rle with old method : 0.005910396575927734 length of segment : 101 time for calcul the mask position with numpy : 0.014384031295776367 nb_pixel_total : 820508 time to create 1 rle with new method : 0.03839993476867676 length of segment : 1270 time for calcul the mask position with numpy : 0.00013446807861328125 nb_pixel_total : 5315 time to create 1 rle with old method : 0.006506204605102539 length of segment : 45 time for calcul the mask position with numpy : 0.00043892860412597656 nb_pixel_total : 23544 time to create 1 rle with old method : 0.02884984016418457 length of segment : 163 time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 13153 time to create 1 rle with old method : 0.014986991882324219 length of segment : 189 time for calcul the mask position with numpy : 0.0001633167266845703 nb_pixel_total : 6472 time to create 1 rle with old method : 0.007762908935546875 length of segment : 82 time for calcul the mask position with numpy : 0.0009601116180419922 nb_pixel_total : 56647 time to create 1 rle with old method : 0.06902003288269043 length of segment : 325 time for calcul the mask position with numpy : 0.00026416778564453125 nb_pixel_total : 13697 time to create 1 rle with old method : 0.01612544059753418 length of segment : 193 time for calcul the mask position with numpy : 0.00048613548278808594 nb_pixel_total : 34986 time to create 1 rle with old method : 0.03975248336791992 length of segment : 218 time for calcul the mask position with numpy : 0.00022220611572265625 nb_pixel_total : 8888 time to create 1 rle with old method : 0.010496854782104492 length of segment : 174 time for calcul the mask position with numpy : 0.00018644332885742188 nb_pixel_total : 10156 time to create 1 rle with old method : 0.012262582778930664 length of segment : 157 time for calcul the mask position with numpy : 0.00019216537475585938 nb_pixel_total : 8784 time to create 1 rle with old method : 0.01046442985534668 length of segment : 111 time for calcul the mask position with numpy : 0.0001361370086669922 nb_pixel_total : 6750 time to create 1 rle with old method : 0.007977962493896484 length of segment : 101 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 12758 time to create 1 rle with old method : 0.014601707458496094 length of segment : 191 time for calcul the mask position with numpy : 0.0015535354614257812 nb_pixel_total : 104070 time to create 1 rle with old method : 0.12219095230102539 length of segment : 518 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 2706 time to create 1 rle with old method : 0.004745006561279297 length of segment : 61 time for calcul the mask position with numpy : 0.0001964569091796875 nb_pixel_total : 2411 time to create 1 rle with old method : 0.004379987716674805 length of segment : 67 time for calcul the mask position with numpy : 0.0006709098815917969 nb_pixel_total : 12607 time to create 1 rle with old method : 0.01470804214477539 length of segment : 185 time for calcul the mask position with numpy : 0.0002639293670654297 nb_pixel_total : 3648 time to create 1 rle with old method : 0.007343769073486328 length of segment : 67 time for calcul the mask position with numpy : 0.0008771419525146484 nb_pixel_total : 16900 time to create 1 rle with old method : 0.03188300132751465 length of segment : 231 time for calcul the mask position with numpy : 0.0001354217529296875 nb_pixel_total : 2072 time to create 1 rle with old method : 0.002602100372314453 length of segment : 44 time for calcul the mask position with numpy : 0.0002770423889160156 nb_pixel_total : 9042 time to create 1 rle with old method : 0.01080942153930664 length of segment : 82 time for calcul the mask position with numpy : 0.0023107528686523438 nb_pixel_total : 95236 time to create 1 rle with old method : 0.1079564094543457 length of segment : 507 time for calcul the mask position with numpy : 0.0004677772521972656 nb_pixel_total : 11472 time to create 1 rle with old method : 0.013399839401245117 length of segment : 176 time for calcul the mask position with numpy : 0.0004487037658691406 nb_pixel_total : 14064 time to create 1 rle with old method : 0.016448497772216797 length of segment : 191 time for calcul the mask position with numpy : 0.0004253387451171875 nb_pixel_total : 12429 time to create 1 rle with old method : 0.01447606086730957 length of segment : 185 time for calcul the mask position with numpy : 0.0002980232238769531 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007786750793457031 length of segment : 87 time for calcul the mask position with numpy : 0.0003597736358642578 nb_pixel_total : 9793 time to create 1 rle with old method : 0.011783599853515625 length of segment : 170 time for calcul the mask position with numpy : 0.0005235671997070312 nb_pixel_total : 13197 time to create 1 rle with old method : 0.015289783477783203 length of segment : 188 time for calcul the mask position with numpy : 0.00036525726318359375 nb_pixel_total : 11106 time to create 1 rle with old method : 0.013021469116210938 length of segment : 167 time for calcul the mask position with numpy : 0.0008060932159423828 nb_pixel_total : 24826 time to create 1 rle with old method : 0.028745174407958984 length of segment : 296 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 3157 time to create 1 rle with old method : 0.003837108612060547 length of segment : 69 time for calcul the mask position with numpy : 0.0003352165222167969 nb_pixel_total : 6003 time to create 1 rle with old method : 0.008508443832397461 length of segment : 136 time for calcul the mask position with numpy : 0.0004687309265136719 nb_pixel_total : 11211 time to create 1 rle with old method : 0.013171911239624023 length of segment : 180 time for calcul the mask position with numpy : 0.0005013942718505859 nb_pixel_total : 32392 time to create 1 rle with old method : 0.03800630569458008 length of segment : 131 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 3928 time to create 1 rle with old method : 0.0048406124114990234 length of segment : 143 time spent for convertir_results : 2.2341034412384033 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 39 chid ids of type : 3594 Number RLEs to save : 7667 save missing photos in datou_result : time spend for datou_step_exec : 25.846830368041992 time spend to save output : 0.5058853626251221 total time spend for step 1 : 26.352715730667114 step2:crop_condition Mon Sep 22 16:30:55 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 : 10 ! batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758551457_837244 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 ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.1104278564453125 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758551463_837244 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0477726459503174 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758551466_837244 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5364861488342285 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758551472_837244 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 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.136159420013428 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] Looping around the photos to save general results len do output : 39 /1385483819Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483821Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483823Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483830Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483842Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483869Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483876Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483877Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385483889Didn'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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 127 time used for this insertion : 0.025192737579345703 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.144259452819824 time spend to save output : 0.02673506736755371 total time spend for step 2 : 20.170994520187378 step3:rle_unique_nms_with_priority Mon Sep 22 16:31: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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.609238862991333 time for calcul the mask position with numpy : 0.05844855308532715 nb_pixel_total : 1182745 time to create 1 rle with new method : 0.11849498748779297 time for calcul the mask position with numpy : 0.00806879997253418 nb_pixel_total : 5315 time to create 1 rle with old method : 0.0071299076080322266 time for calcul the mask position with numpy : 0.06711459159851074 nb_pixel_total : 820508 time to create 1 rle with new method : 0.11660099029541016 time for calcul the mask position with numpy : 0.008278846740722656 nb_pixel_total : 4070 time to create 1 rle with old method : 0.0049746036529541016 time for calcul the mask position with numpy : 0.007948637008666992 nb_pixel_total : 5322 time to create 1 rle with old method : 0.006071329116821289 time for calcul the mask position with numpy : 0.008234024047851562 nb_pixel_total : 42332 time to create 1 rle with old method : 0.04945778846740723 time for calcul the mask position with numpy : 0.007733821868896484 nb_pixel_total : 13308 time to create 1 rle with old method : 0.015000581741333008 create new chi : 0.5044207572937012 time to delete rle : 0.025639057159423828 batch 1 Loaded 14 chid ids of type : 3594 ++++++++Number RLEs to save : 4763 TO DO : save crop sub photo not yet done ! save time : 0.3214292526245117 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1193845272064209 time for calcul the mask position with numpy : 0.0435175895690918 nb_pixel_total : 1997328 time to create 1 rle with new method : 0.1331040859222412 time for calcul the mask position with numpy : 0.008796453475952148 nb_pixel_total : 56647 time to create 1 rle with old method : 0.0663919448852539 time for calcul the mask position with numpy : 0.008072853088378906 nb_pixel_total : 6472 time to create 1 rle with old method : 0.007454872131347656 time for calcul the mask position with numpy : 0.008147001266479492 nb_pixel_total : 13153 time to create 1 rle with old method : 0.016976594924926758 create new chi : 0.2931325435638428 time to delete rle : 0.0006365776062011719 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2272 TO DO : save crop sub photo not yet done ! save time : 0.18454670906066895 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07261848449707031 time for calcul the mask position with numpy : 0.03445792198181152 nb_pixel_total : 2024917 time to create 1 rle with new method : 0.285031795501709 time for calcul the mask position with numpy : 0.00888824462890625 nb_pixel_total : 34986 time to create 1 rle with old method : 0.04369068145751953 time for calcul the mask position with numpy : 0.008155345916748047 nb_pixel_total : 13697 time to create 1 rle with old method : 0.021740436553955078 create new chi : 0.4025604724884033 time to delete rle : 0.0007994174957275391 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1902 TO DO : save crop sub photo not yet done ! save time : 0.15543746948242188 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.15639090538024902 time for calcul the mask position with numpy : 0.12180662155151367 nb_pixel_total : 2039022 time to create 1 rle with new method : 0.14920473098754883 time for calcul the mask position with numpy : 0.012813329696655273 nb_pixel_total : 6750 time to create 1 rle with old method : 0.012334108352661133 time for calcul the mask position with numpy : 0.012618303298950195 nb_pixel_total : 8784 time to create 1 rle with old method : 0.014429569244384766 time for calcul the mask position with numpy : 0.008459329605102539 nb_pixel_total : 10156 time to create 1 rle with old method : 0.011638879776000977 time for calcul the mask position with numpy : 0.007966756820678711 nb_pixel_total : 8888 time to create 1 rle with old method : 0.010222196578979492 create new chi : 0.3793766498565674 time to delete rle : 0.0006241798400878906 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2166 TO DO : save crop sub photo not yet done ! save time : 0.19449973106384277 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.11444926261901855 time for calcul the mask position with numpy : 0.11901545524597168 nb_pixel_total : 1951655 time to create 1 rle with new method : 0.12404799461364746 time for calcul the mask position with numpy : 0.008277177810668945 nb_pixel_total : 2411 time to create 1 rle with old method : 0.004126310348510742 time for calcul the mask position with numpy : 0.008189916610717773 nb_pixel_total : 2706 time to create 1 rle with old method : 0.004662990570068359 time for calcul the mask position with numpy : 0.009505987167358398 nb_pixel_total : 104070 time to create 1 rle with old method : 0.13793373107910156 time for calcul the mask position with numpy : 0.009275674819946289 nb_pixel_total : 12758 time to create 1 rle with old method : 0.01504373550415039 create new chi : 0.4595937728881836 time to delete rle : 0.0008575916290283203 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2754 TO DO : save crop sub photo not yet done ! save time : 0.23205852508544922 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.16223931312561035 time for calcul the mask position with numpy : 0.11662507057189941 nb_pixel_total : 1934095 time to create 1 rle with new method : 0.1238400936126709 time for calcul the mask position with numpy : 0.008545160293579102 nb_pixel_total : 95236 time to create 1 rle with old method : 0.11399054527282715 time for calcul the mask position with numpy : 0.008227109909057617 nb_pixel_total : 9042 time to create 1 rle with old method : 0.012407779693603516 time for calcul the mask position with numpy : 0.008059978485107422 nb_pixel_total : 2072 time to create 1 rle with old method : 0.0023751258850097656 time for calcul the mask position with numpy : 0.0071027278900146484 nb_pixel_total : 16900 time to create 1 rle with old method : 0.020933866500854492 time for calcul the mask position with numpy : 0.008190631866455078 nb_pixel_total : 3648 time to create 1 rle with old method : 0.00436711311340332 time for calcul the mask position with numpy : 0.009027242660522461 nb_pixel_total : 12607 time to create 1 rle with old method : 0.015010356903076172 create new chi : 0.4692716598510742 time to delete rle : 0.0010399818420410156 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 3312 TO DO : save crop sub photo not yet done ! save time : 0.24620723724365234 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07168841361999512 time for calcul the mask position with numpy : 0.04045391082763672 nb_pixel_total : 2048064 time to create 1 rle with new method : 0.15716838836669922 time for calcul the mask position with numpy : 0.007937431335449219 nb_pixel_total : 14064 time to create 1 rle with old method : 0.015936613082885742 time for calcul the mask position with numpy : 0.00787973403930664 nb_pixel_total : 11472 time to create 1 rle with old method : 0.013114452362060547 create new chi : 0.2430131435394287 time to delete rle : 0.0004885196685791016 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1814 TO DO : save crop sub photo not yet done ! save time : 0.15327978134155273 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05788707733154297 time for calcul the mask position with numpy : 0.033742666244506836 nb_pixel_total : 2061171 time to create 1 rle with new method : 0.12628746032714844 time for calcul the mask position with numpy : 0.008295774459838867 nb_pixel_total : 12429 time to create 1 rle with old method : 0.023618221282958984 create new chi : 0.20569396018981934 time to delete rle : 0.0008332729339599609 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1450 TO DO : save crop sub photo not yet done ! save time : 0.14837145805358887 nb_obj : 7 nb_hashtags : 4 time to prepare the origin masks : 0.5216240882873535 time for calcul the mask position with numpy : 0.151594877243042 nb_pixel_total : 1999005 time to create 1 rle with new method : 0.16142868995666504 time for calcul the mask position with numpy : 0.007605314254760742 nb_pixel_total : 6003 time to create 1 rle with old method : 0.007056474685668945 time for calcul the mask position with numpy : 0.008275985717773438 nb_pixel_total : 3157 time to create 1 rle with old method : 0.0036461353302001953 time for calcul the mask position with numpy : 0.007847309112548828 nb_pixel_total : 24826 time to create 1 rle with old method : 0.03278493881225586 time for calcul the mask position with numpy : 0.008521556854248047 nb_pixel_total : 11106 time to create 1 rle with old method : 0.01791977882385254 time for calcul the mask position with numpy : 0.008509159088134766 nb_pixel_total : 13197 time to create 1 rle with old method : 0.021277189254760742 time for calcul the mask position with numpy : 0.008281469345092773 nb_pixel_total : 9793 time to create 1 rle with old method : 0.011371135711669922 time for calcul the mask position with numpy : 0.006796598434448242 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007463693618774414 create new chi : 0.4816138744354248 time to delete rle : 0.0006647109985351562 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 3306 TO DO : save crop sub photo not yet done ! save time : 0.27663254737854004 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.0793914794921875 time for calcul the mask position with numpy : 0.0331881046295166 nb_pixel_total : 2026069 time to create 1 rle with new method : 0.0731353759765625 time for calcul the mask position with numpy : 0.008662223815917969 nb_pixel_total : 3928 time to create 1 rle with old method : 0.0046808719635009766 time for calcul the mask position with numpy : 0.009002685546875 nb_pixel_total : 32392 time to create 1 rle with old method : 0.04153609275817871 time for calcul the mask position with numpy : 0.007814407348632812 nb_pixel_total : 11211 time to create 1 rle with old method : 0.012700796127319336 create new chi : 0.19123530387878418 time to delete rle : 0.0005331039428710938 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1988 TO DO : save crop sub photo not yet done ! save time : 0.15444064140319824 map_output_result : {1385438272: (0.0, 'Should be the crop_list due to order', 0), 1385438247: (0.0, 'Should be the crop_list due to order', 0), 1385438220: (0.0, 'Should be the crop_list due to order', 0), 1385438190: (0.0, 'Should be the crop_list due to order', 0), 1385438001: (0.0, 'Should be the crop_list due to order', 0), 1385437999: (0.0, 'Should be the crop_list due to order', 0), 1385437996: (0.0, 'Should be the crop_list due to order', 0), 1385437986: (0.0, 'Should be the crop_list due to order', 0), 1385437981: (0.0, 'Should be the crop_list due to order', 0), 1385437963: (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 [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] Looping around the photos to save general results len do output : 10 /1385438272.Didn't retrieve data . /1385438247.Didn't retrieve data . /1385438220.Didn't retrieve data . /1385438190.Didn't retrieve data . /1385438001.Didn't retrieve data . /1385437999.Didn't retrieve data . /1385437996.Didn't retrieve data . /1385437986.Didn't retrieve data . /1385437981.Didn't retrieve data . /1385437963.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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012943029403686523 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.134951114654541 time spend to save output : 0.01340794563293457 total time spend for step 3 : 8.148359060287476 step4:ventilate_hashtags_in_portfolio Mon Sep 22 16:31:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 27096232 get user id for portfolio 27096232 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`=27096232 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','autre','environnement','flou','background','pet_fonce','mal_croppe','carton','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`=27096232 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','autre','environnement','flou','background','pet_fonce','mal_croppe','carton','papier','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27096232 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_clair','autre','environnement','flou','background','pet_fonce','mal_croppe','carton','papier','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27097428,27097429,27097431,27097432,27097433,27097434,27097435,27097436,27097438,27097439,27097440?tags=metal,pet_clair,autre,environnement,flou,background,pet_fonce,mal_croppe,carton,papier,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] Looping around the photos to save general results len do output : 1 /27096232. 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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.014717817306518555 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8879554271697998 time spend to save output : 0.015185832977294922 total time spend for step 4 : 1.9031412601470947 step5:final Mon Sep 22 16:31:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1385438272: ('0.07098423032407408',), 1385438247: ('0.07098423032407408',), 1385438220: ('0.07098423032407408',), 1385438190: ('0.07098423032407408',), 1385438001: ('0.07098423032407408',), 1385437999: ('0.07098423032407408',), 1385437996: ('0.07098423032407408',), 1385437986: ('0.07098423032407408',), 1385437981: ('0.07098423032407408',), 1385437963: ('0.07098423032407408',)} new output for save of step final : {1385438272: ('0.07098423032407408',), 1385438247: ('0.07098423032407408',), 1385438220: ('0.07098423032407408',), 1385438190: ('0.07098423032407408',), 1385438001: ('0.07098423032407408',), 1385437999: ('0.07098423032407408',), 1385437996: ('0.07098423032407408',), 1385437986: ('0.07098423032407408',), 1385437981: ('0.07098423032407408',), 1385437963: ('0.07098423032407408',)} [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] Looping around the photos to save general results len do output : 10 /1385438272.Didn't retrieve data . /1385438247.Didn't retrieve data . /1385438220.Didn't retrieve data . /1385438190.Didn't retrieve data . /1385438001.Didn't retrieve data . /1385437999.Didn't retrieve data . /1385437996.Didn't retrieve data . /1385437986.Didn't retrieve data . /1385437981.Didn't retrieve data . /1385437963.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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.021162033081054688 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16635394096374512 time spend to save output : 0.02172255516052246 total time spend for step 5 : 0.18807649612426758 step6:blur_detection Mon Sep 22 16:31:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059.jpg resize: (1080, 1920) 1385438272 0.1104286762068004 treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d.jpg resize: (1080, 1920) 1385438247 -0.12568340562729688 treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325.jpg resize: (1080, 1920) 1385438220 -1.0827618581807332 treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d.jpg resize: (1080, 1920) 1385438190 -0.805211282929344 treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040.jpg resize: (1080, 1920) 1385438001 0.16948633668877958 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798.jpg resize: (1080, 1920) 1385437999 -0.6954304161095147 treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72.jpg resize: (1080, 1920) 1385437996 -0.26162041900202926 treat image : temp/1758551428_837244_1385437986_2e86007eb77cc7f061b64eccd6dda430.jpg resize: (1080, 1920) 1385437986 -1.062719649391711 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345.jpg resize: (1080, 1920) 1385437981 -0.8861966749444047 treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4.jpg resize: (1080, 1920) 1385437963 -3.543782148300702 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164055_0.png resize: (187, 118) 1385483819 -0.5239775913105875 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164058_0.png resize: (101, 81) 1385483821 -0.5469072898970733 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164057_0.png resize: (78, 94) 1385483822 1.5651736571647372 treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164062_0.png resize: (187, 117) 1385483823 -0.402241493076268 treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164063_0.png resize: (79, 129) 1385483825 0.4271748473704159 treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325_rle_crop_3970164065_0.png resize: (191, 121) 1385483826 -0.3512891113925752 treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164067_0.png resize: (174, 112) 1385483827 -2.252415208920662 treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164071_0.png resize: (187, 108) 1385483829 -0.3859429382779683 treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164073_0.png resize: (61, 58) 1385483830 1.9542430527055683 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164075_0.png resize: (182, 115) 1385483831 -0.4108501085544284 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164076_0.png resize: (64, 108) 1385483833 -2.647420925220879 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164077_0.png resize: (213, 152) 1385483834 -1.9019949950065975 treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72_rle_crop_3970164081_0.png resize: (175, 113) 1385483835 -0.8949562383745174 treat image : temp/1758551428_837244_1385437986_2e86007eb77cc7f061b64eccd6dda430_rle_crop_3970164083_0.png resize: (185, 111) 1385483836 -0.5491599918186069 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164086_0.png resize: (188, 115) 1385483838 -0.3818671312777887 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164084_0.png resize: (87, 120) 1385483839 -1.311998460536243 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164085_0.png resize: (114, 149) 1385483841 -2.5553016742259405 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164087_0.png resize: (167, 106) 1385483842 -2.2986705615797924 treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164091_0.png resize: (176, 112) 1385483843 -1.133824973508439 treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164069_0.png resize: (111, 97) 1385483858 0.7769002005774266 treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164070_0.png resize: (101, 92) 1385483859 -0.6423074585670681 treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164074_0.png resize: (67, 52) 1385483861 -0.634827729534129 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164090_0.png resize: (131, 70) 1385483862 -1.747864066506686 treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164093_0.png resize: (105, 68) 1385483863 -2.851773219214041 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164089_0.png resize: (69, 72) 1385483869 -2.9847033163177255 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164056_0.png resize: (185, 389) 1385483876 -1.8248137464874155 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164060_0.png resize: (44, 140) 1385483877 -3.395173186363056 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164059_0.png resize: (997, 1056) 1385483878 -0.8164688358519758 treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164061_0.png resize: (161, 174) 1385483879 0.46399088409949923 treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164064_0.png resize: (325, 271) 1385483880 -2.199946406494113 treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325_rle_crop_3970164066_0.png resize: (214, 190) 1385483881 -3.1164476518921855 treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164068_0.png resize: (94, 163) 1385483882 -2.355590785667981 treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164072_0.png resize: (518, 327) 1385483883 0.1686337837662829 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164079_0.png resize: (80, 160) 1385483884 -2.204861585553098 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164078_0.png resize: (44, 62) 1385483885 -1.6974329071735936 treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164080_0.png resize: (504, 319) 1385483886 0.1892354917943364 treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72_rle_crop_3970164082_0.png resize: (189, 104) 1385483887 -1.7880265820032906 treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164088_0.png resize: (262, 136) 1385483888 -1.444462799157615 treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164092_0.png resize: (127, 318) 1385483889 -2.517529172839569 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 : 49 time used for this insertion : 0.012542486190795898 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.020532846450805664 save missing photos in datou_result : time spend for datou_step_exec : 9.306185245513916 time spend to save output : 0.03864550590515137 total time spend for step 6 : 9.344830751419067 step7:brightness Mon Sep 22 16:31:35 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/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059.jpg treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d.jpg treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325.jpg treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d.jpg treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040.jpg treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798.jpg treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72.jpg treat image : temp/1758551428_837244_1385437986_2e86007eb77cc7f061b64eccd6dda430.jpg treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345.jpg treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4.jpg treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164055_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164058_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164057_0.png treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164062_0.png treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164063_0.png treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325_rle_crop_3970164065_0.png treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164067_0.png treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164071_0.png treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164073_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164075_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164076_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164077_0.png treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72_rle_crop_3970164081_0.png treat image : temp/1758551428_837244_1385437986_2e86007eb77cc7f061b64eccd6dda430_rle_crop_3970164083_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164086_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164084_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164085_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164087_0.png treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164091_0.png treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164069_0.png treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164070_0.png treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164074_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164090_0.png treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164093_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164089_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164056_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164060_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164059_0.png treat image : temp/1758551428_837244_1385438272_46724bd761889ea1013c3f07bb5bd059_rle_crop_3970164061_0.png treat image : temp/1758551428_837244_1385438247_99037142e90e6cfb65056299ab82e53d_rle_crop_3970164064_0.png treat image : temp/1758551428_837244_1385438220_5c8bfc1d179ab389f83aceca3579c325_rle_crop_3970164066_0.png treat image : temp/1758551428_837244_1385438190_07c2c6d04fc75a65a74ed33243df980d_rle_crop_3970164068_0.png treat image : temp/1758551428_837244_1385438001_c7ea75e21261ea86217d45174a134040_rle_crop_3970164072_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164079_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164078_0.png treat image : temp/1758551428_837244_1385437999_2687c99cb07d9a507c9127e6bb49d798_rle_crop_3970164080_0.png treat image : temp/1758551428_837244_1385437996_e627465afaf81cbf731767606dd7dc72_rle_crop_3970164082_0.png treat image : temp/1758551428_837244_1385437981_091c924d41ffb2e1980b7e81b704b345_rle_crop_3970164088_0.png treat image : temp/1758551428_837244_1385437963_817ce4b093e4f603f3b6b32a1f0f9ab4_rle_crop_3970164092_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 : 49 time used for this insertion : 0.014937400817871094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.016112089157104492 save missing photos in datou_result : time spend for datou_step_exec : 2.9276397228240967 time spend to save output : 0.036263465881347656 total time spend for step 7 : 2.9639031887054443 step8:velours_tree Mon Sep 22 16:31:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.21614742279052734 time spend to save output : 5.507469177246094e-05 total time spend for step 8 : 0.2162024974822998 step9:send_mail_cod Mon Sep 22 16:31:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 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_P27096232_22-09-2025_16_31_38.pdf 27097428 change filename to text .imagette270974281758551498 27097429 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 .imagette270974291758551498 27097431 imagette270974311758551500 27097433 imagette270974331758551500 27097434 imagette270974341758551500 27097435 imagette270974351758551500 27097436 imagette270974361758551500 27097438 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270974381758551500 27097439 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270974391758551500 27097440 imagette270974401758551502 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27096232 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27097428,27097429,27097431,27097432,27097433,27097434,27097435,27097436,27097438,27097439,27097440?tags=metal,pet_clair,autre,environnement,flou,background,pet_fonce,mal_croppe,carton,papier,pehd args[1385438272] : ((1385438272, 0.1104286762068004, 492688767), (1385438272, 0.4064492740808082, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385438247] : ((1385438247, -0.12568340562729688, 492688767), (1385438247, 0.6388459923096435, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385438220] : ((1385438220, -1.0827618581807332, 492688767), (1385438220, 0.6598647508190223, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385438190] : ((1385438190, -0.805211282929344, 492688767), (1385438190, 0.46683478880458024, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385438001] : ((1385438001, 0.16948633668877958, 492688767), (1385438001, 0.1635467137513338, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385437999] : ((1385437999, -0.6954304161095147, 492688767), (1385437999, 0.48904753144052404, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385437996] : ((1385437996, -0.26162041900202926, 492688767), (1385437996, 0.6716814631249324, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385437986] : ((1385437986, -1.062719649391711, 492688767), (1385437986, 0.5927704964144179, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385437981] : ((1385437981, -0.8861966749444047, 492688767), (1385437981, 0.5418750686695933, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com args[1385437963] : ((1385437963, -3.543782148300702, 492609224), (1385437963, 0.33001622084784493, 2107752395), '0.07098423032407408') We are sending mail with results at report@fotonower.com refus_total : 0.07098423032407408 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=27096232 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_P27096232_22-09-2025_16_31_38.pdf results_Auto_P27096232_22-09-2025_16_31_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096232_22-09-2025_16_31_38.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','27096232','results_Auto_P27096232_22-09-2025_16_31_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096232_22-09-2025_16_31_38.pdf','pdf','','0.3','0.07098423032407408') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27096232

https://www.fotonower.com/image?json=false&list_photos_id=1385438272
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385438247
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385438220
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385438190
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385438001
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385437999
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385437996
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385437986
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385437981
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385437963
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/27097428?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27097429?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27097438?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27097439?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096232_22-09-2025_16_31_38.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27097428,27097429,27097431,27097432,27097433,27097434,27097435,27097436,27097438,27097439,27097440?tags=metal,pet_clair,autre,environnement,flou,background,pet_fonce,mal_croppe,carton,papier,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 22 Sep 2025 14:31:43 GMT Content-Length: 0 Connection: close X-Message-Id: gNAr8k3FTQyqJWdUS8EnLg 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 [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] 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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01605701446533203 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.037154197692871 time spend to save output : 0.016321897506713867 total time spend for step 9 : 5.053476095199585 step10:split_time_score Mon Sep 22 16:31: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 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'}] (('11', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22092025 27096232 Nombre de photos uploadées : 10 / 23040 (0%) 22092025 27096232 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 22092025 27096232 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004975795745849609 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21022677421569824 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.05209852430555556 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27081911_22-09-2025_09_51_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27081911 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`=27081911 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27086455 order by id desc limit 1 Qualite : 0.11064838927469141 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27086457_22-09-2025_10_51_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27086457 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`=27086457 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27096228 order by id desc limit 1 Qualite : 0.07098423032407408 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096232_22-09-2025_16_31_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27096232 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`=27096232 AND mptpi.`type`=3594 To do Qualite : 0.03187968474426807 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096240_22-09-2025_16_22_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27096240 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`=27096240 AND mptpi.`type`=3594 To do Qualite : 0.06591898999183013 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27096242_22-09-2025_16_13_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27096242 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`=27096242 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22092025': {'nb_upload': 10, '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 [1385438272, 1385438247, 1385438220, 1385438190, 1385438001, 1385437999, 1385437996, 1385437986, 1385437981, 1385437963] Looping around the photos to save general results len do output : 1 /27096232Didn'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, '3759010') ('3318', '27096232', '1385438272', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438247', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438220', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438190', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385438001', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437999', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437996', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437986', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437981', None, None, None, None, None, '3759010') ('3318', None, None, None, None, None, None, None, '3759010') ('3318', '27096232', '1385437963', None, None, None, None, None, '3759010') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015420913696289062 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.632908582687378 time spend to save output : 0.015955686569213867 total time spend for step 10 : 2.648864269256592 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 40.88user 18.54system 1:22.22elapsed 72%CPU (0avgtext+0avgdata 2772416maxresident)k 684264inputs+21096outputs (3579major+1549452minor)pagefaults 0swaps