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 : 329051 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 : ['3756928'] with mtr_portfolio_ids : ['27086457'] and first list_photo_ids : [] new path : /proc/329051/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.5463368892669678 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 10:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 10:50:35.371720: 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 10:50:35.400644: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-22 10:50:35.402276: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fecf4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-22 10:50:35.402309: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-22 10:50:35.404625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-22 10:50:35.520520: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x334c55b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-22 10:50:35.520569: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-22 10:50:35.521929: 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 10:50:35.522341: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 10:50:35.525210: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 10:50:35.527658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 10:50:35.528139: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 10:50:35.531166: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 10:50:35.532986: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 10:50:35.538528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 10:50:35.539948: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 10:50:35.540016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 10:50:35.540810: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 10:50:35.540828: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 10:50:35.540836: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 10:50:35.542526: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9661 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 10:50:35.824398: 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 10:50:35.824505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 10:50:35.824535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 10:50:35.824561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 10:50:35.824587: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 10:50:35.824611: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 10:50:35.824635: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 10:50:35.824659: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 10:50:35.826418: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 10:50:35.827650: 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 10:50:35.827685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-22 10:50:35.827701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 10:50:35.827715: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-22 10:50:35.827729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-22 10:50:35.827743: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-22 10:50:35.827756: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-22 10:50:35.827770: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-22 10:50:35.829070: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-22 10:50:35.829098: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-22 10:50:35.829107: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-22 10:50:35.829115: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-22 10:50:35.830434: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9661 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 10:50:44.404891: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-22 10:50:44.607733: 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 : 12 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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 Detection mask done ! Trying to reset tf kernel 329718 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 718 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 6007 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.0003337860107421875 nb_pixel_total : 9035 time to create 1 rle with old method : 0.009841203689575195 length of segment : 99 time for calcul the mask position with numpy : 0.00028514862060546875 nb_pixel_total : 13066 time to create 1 rle with old method : 0.015277624130249023 length of segment : 186 time for calcul the mask position with numpy : 0.00010657310485839844 nb_pixel_total : 4784 time to create 1 rle with old method : 0.006178140640258789 length of segment : 54 time for calcul the mask position with numpy : 0.0002472400665283203 nb_pixel_total : 12718 time to create 1 rle with old method : 0.014752864837646484 length of segment : 184 time for calcul the mask position with numpy : 0.00019288063049316406 nb_pixel_total : 11596 time to create 1 rle with old method : 0.013614654541015625 length of segment : 90 time for calcul the mask position with numpy : 0.0002570152282714844 nb_pixel_total : 11851 time to create 1 rle with old method : 0.014445066452026367 length of segment : 173 time for calcul the mask position with numpy : 0.0002319812774658203 nb_pixel_total : 11499 time to create 1 rle with old method : 0.013258934020996094 length of segment : 179 time for calcul the mask position with numpy : 0.0002644062042236328 nb_pixel_total : 12836 time to create 1 rle with old method : 0.014636039733886719 length of segment : 174 time for calcul the mask position with numpy : 0.0021343231201171875 nb_pixel_total : 119264 time to create 1 rle with old method : 0.12971186637878418 length of segment : 524 time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 6494 time to create 1 rle with old method : 0.007784366607666016 length of segment : 108 time for calcul the mask position with numpy : 0.000240325927734375 nb_pixel_total : 12999 time to create 1 rle with old method : 0.015687942504882812 length of segment : 144 time for calcul the mask position with numpy : 0.0002868175506591797 nb_pixel_total : 11543 time to create 1 rle with old method : 0.013406515121459961 length of segment : 175 time for calcul the mask position with numpy : 0.001825571060180664 nb_pixel_total : 118727 time to create 1 rle with old method : 0.12748193740844727 length of segment : 550 time for calcul the mask position with numpy : 0.0002574920654296875 nb_pixel_total : 12084 time to create 1 rle with old method : 0.013889551162719727 length of segment : 178 time for calcul the mask position with numpy : 0.0016977787017822266 nb_pixel_total : 115106 time to create 1 rle with old method : 0.11966323852539062 length of segment : 546 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 2902 time to create 1 rle with old method : 0.0035970211029052734 length of segment : 103 time for calcul the mask position with numpy : 0.0005433559417724609 nb_pixel_total : 32773 time to create 1 rle with old method : 0.03787565231323242 length of segment : 250 time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 8164 time to create 1 rle with old method : 0.009998321533203125 length of segment : 93 time for calcul the mask position with numpy : 0.00024390220642089844 nb_pixel_total : 11828 time to create 1 rle with old method : 0.013344526290893555 length of segment : 177 time for calcul the mask position with numpy : 0.04604172706604004 nb_pixel_total : 1147033 time to create 1 rle with new method : 0.06794381141662598 length of segment : 1702 time for calcul the mask position with numpy : 0.00033164024353027344 nb_pixel_total : 13479 time to create 1 rle with old method : 0.01534128189086914 length of segment : 186 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 9369 time to create 1 rle with old method : 0.011403799057006836 length of segment : 104 time for calcul the mask position with numpy : 0.00036787986755371094 nb_pixel_total : 15975 time to create 1 rle with old method : 0.018667221069335938 length of segment : 246 time for calcul the mask position with numpy : 0.00026535987854003906 nb_pixel_total : 13816 time to create 1 rle with old method : 0.017730236053466797 length of segment : 165 time for calcul the mask position with numpy : 0.00011730194091796875 nb_pixel_total : 4389 time to create 1 rle with old method : 0.005817890167236328 length of segment : 55 time for calcul the mask position with numpy : 0.012672662734985352 nb_pixel_total : 732103 time to create 1 rle with new method : 0.08437061309814453 length of segment : 853 time for calcul the mask position with numpy : 0.0006430149078369141 nb_pixel_total : 12899 time to create 1 rle with old method : 0.014911651611328125 length of segment : 189 time for calcul the mask position with numpy : 0.00031757354736328125 nb_pixel_total : 9961 time to create 1 rle with old method : 0.012109994888305664 length of segment : 116 time for calcul the mask position with numpy : 0.0002617835998535156 nb_pixel_total : 4010 time to create 1 rle with old method : 0.0047833919525146484 length of segment : 134 time for calcul the mask position with numpy : 0.0005075931549072266 nb_pixel_total : 11815 time to create 1 rle with old method : 0.014475584030151367 length of segment : 177 time for calcul the mask position with numpy : 0.0004706382751464844 nb_pixel_total : 12618 time to create 1 rle with old method : 0.01480555534362793 length of segment : 184 time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 8079 time to create 1 rle with old method : 0.00940561294555664 length of segment : 91 time for calcul the mask position with numpy : 0.002949953079223633 nb_pixel_total : 104123 time to create 1 rle with old method : 0.11222028732299805 length of segment : 524 time for calcul the mask position with numpy : 0.0005538463592529297 nb_pixel_total : 13592 time to create 1 rle with old method : 0.01573348045349121 length of segment : 186 time for calcul the mask position with numpy : 0.002101898193359375 nb_pixel_total : 92800 time to create 1 rle with old method : 0.0982213020324707 length of segment : 648 time for calcul the mask position with numpy : 0.0003943443298339844 nb_pixel_total : 13322 time to create 1 rle with old method : 0.015989303588867188 length of segment : 121 time for calcul the mask position with numpy : 0.00021457672119140625 nb_pixel_total : 9409 time to create 1 rle with old method : 0.010895729064941406 length of segment : 106 time spent for convertir_results : 2.9772889614105225 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 37 chid ids of type : 3594 Number RLEs to save : 9774 save missing photos in datou_result : time spend for datou_step_exec : 26.369280099868774 time spend to save output : 0.6522407531738281 total time spend for step 1 : 27.021520853042603 step2:crop_condition Mon Sep 22 10:50:59 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 : 12 ! batch 1 Loaded 37 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758531061_329051 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 ! 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 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.2260401248931885 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758531067_329051 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.926518440246582 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758531068_329051 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8649568557739258 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758531079_329051 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.3525049686431885 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] Looping around the photos to save general results len do output : 37 /1385436765Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436766Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436767Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436768Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436774Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436781Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436782Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436783Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436784Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436786Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436787Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385436807Didn'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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 time used for this insertion : 0.021625995635986328 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.875577449798584 time spend to save output : 0.022920846939086914 total time spend for step 2 : 22.89849829673767 step3:rle_unique_nms_with_priority Mon Sep 22 10:51:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 37 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2409820556640625 time for calcul the mask position with numpy : 0.22162938117980957 nb_pixel_total : 2046715 time to create 1 rle with new method : 0.20614838600158691 time for calcul the mask position with numpy : 0.006752729415893555 nb_pixel_total : 4784 time to create 1 rle with old method : 0.006104469299316406 time for calcul the mask position with numpy : 0.006566286087036133 nb_pixel_total : 13066 time to create 1 rle with old method : 0.016365766525268555 time for calcul the mask position with numpy : 0.0067059993743896484 nb_pixel_total : 9035 time to create 1 rle with old method : 0.010869979858398438 create new chi : 0.4929203987121582 time to delete rle : 0.03314995765686035 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1758 TO DO : save crop sub photo not yet done ! save time : 0.14609456062316895 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.48164868354797363 time for calcul the mask position with numpy : 0.13997173309326172 nb_pixel_total : 2049286 time to create 1 rle with new method : 0.23962879180908203 time for calcul the mask position with numpy : 0.006249189376831055 nb_pixel_total : 11596 time to create 1 rle with old method : 0.014231443405151367 time for calcul the mask position with numpy : 0.006827592849731445 nb_pixel_total : 12718 time to create 1 rle with old method : 0.015180349349975586 create new chi : 0.42596006393432617 time to delete rle : 0.00026535987854003906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1628 TO DO : save crop sub photo not yet done ! save time : 0.13502287864685059 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04527020454406738 time for calcul the mask position with numpy : 0.021188974380493164 nb_pixel_total : 2061749 time to create 1 rle with new method : 0.27931737899780273 time for calcul the mask position with numpy : 0.00650787353515625 nb_pixel_total : 11851 time to create 1 rle with old method : 0.01434183120727539 create new chi : 0.32858896255493164 time to delete rle : 0.00025844573974609375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1426 TO DO : save crop sub photo not yet done ! save time : 0.12613534927368164 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04103589057922363 time for calcul the mask position with numpy : 0.02175116539001465 nb_pixel_total : 2062101 time to create 1 rle with new method : 0.10677337646484375 time for calcul the mask position with numpy : 0.007703065872192383 nb_pixel_total : 11499 time to create 1 rle with old method : 0.013866186141967773 create new chi : 0.1632983684539795 time to delete rle : 0.00038552284240722656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1438 TO DO : save crop sub photo not yet done ! save time : 0.1229097843170166 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 0.5912458896636963 time for calcul the mask position with numpy : 0.11808323860168457 nb_pixel_total : 1922007 time to create 1 rle with new method : 0.11963820457458496 time for calcul the mask position with numpy : 0.013883352279663086 nb_pixel_total : 12999 time to create 1 rle with old method : 0.01990795135498047 time for calcul the mask position with numpy : 0.007390260696411133 nb_pixel_total : 6494 time to create 1 rle with old method : 0.009250164031982422 time for calcul the mask position with numpy : 0.009441852569580078 nb_pixel_total : 119264 time to create 1 rle with old method : 0.17378449440002441 time for calcul the mask position with numpy : 0.0069997310638427734 nb_pixel_total : 12836 time to create 1 rle with old method : 0.015510797500610352 create new chi : 0.5072174072265625 time to delete rle : 0.0005879402160644531 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2980 TO DO : save crop sub photo not yet done ! save time : 0.21455144882202148 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10252618789672852 time for calcul the mask position with numpy : 0.03026890754699707 nb_pixel_total : 1943330 time to create 1 rle with new method : 0.21805739402770996 time for calcul the mask position with numpy : 0.008997917175292969 nb_pixel_total : 118727 time to create 1 rle with old method : 0.1412825584411621 time for calcul the mask position with numpy : 0.006819248199462891 nb_pixel_total : 11543 time to create 1 rle with old method : 0.014145612716674805 create new chi : 0.42943239212036133 time to delete rle : 0.00047278404235839844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2530 TO DO : save crop sub photo not yet done ! save time : 0.20325207710266113 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.4168698787689209 time for calcul the mask position with numpy : 0.08278083801269531 nb_pixel_total : 1910735 time to create 1 rle with new method : 0.2661902904510498 time for calcul the mask position with numpy : 0.006811857223510742 nb_pixel_total : 32773 time to create 1 rle with old method : 0.03864741325378418 time for calcul the mask position with numpy : 0.006652355194091797 nb_pixel_total : 2902 time to create 1 rle with old method : 0.0035212039947509766 time for calcul the mask position with numpy : 0.006932258605957031 nb_pixel_total : 115106 time to create 1 rle with old method : 0.13415050506591797 time for calcul the mask position with numpy : 0.007190227508544922 nb_pixel_total : 12084 time to create 1 rle with old method : 0.014318466186523438 create new chi : 0.5795867443084717 time to delete rle : 0.0007731914520263672 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3234 TO DO : save crop sub photo not yet done ! save time : 0.23500752449035645 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05900979042053223 time for calcul the mask position with numpy : 0.013438224792480469 nb_pixel_total : 907534 time to create 1 rle with new method : 0.17144775390625 time for calcul the mask position with numpy : 0.0187075138092041 nb_pixel_total : 1146074 time to create 1 rle with new method : 0.23318696022033691 time for calcul the mask position with numpy : 0.007769346237182617 nb_pixel_total : 11828 time to create 1 rle with old method : 0.015899181365966797 time for calcul the mask position with numpy : 0.007661581039428711 nb_pixel_total : 8164 time to create 1 rle with old method : 0.009974956512451172 create new chi : 0.49889111518859863 time to delete rle : 0.0010540485382080078 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 4948 TO DO : save crop sub photo not yet done ! save time : 0.3243989944458008 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.6649012565612793 time for calcul the mask position with numpy : 0.05455827713012695 nb_pixel_total : 1298285 time to create 1 rle with new method : 0.1928713321685791 time for calcul the mask position with numpy : 0.013654470443725586 nb_pixel_total : 718287 time to create 1 rle with new method : 0.2581675052642822 time for calcul the mask position with numpy : 0.0063135623931884766 nb_pixel_total : 4389 time to create 1 rle with old method : 0.0053577423095703125 time for calcul the mask position with numpy : 0.006600141525268555 nb_pixel_total : 13816 time to create 1 rle with old method : 0.0153961181640625 time for calcul the mask position with numpy : 0.0069386959075927734 nb_pixel_total : 15975 time to create 1 rle with old method : 0.019719362258911133 time for calcul the mask position with numpy : 0.006969928741455078 nb_pixel_total : 9369 time to create 1 rle with old method : 0.011281251907348633 time for calcul the mask position with numpy : 0.006870269775390625 nb_pixel_total : 13479 time to create 1 rle with old method : 0.016016721725463867 create new chi : 0.6312811374664307 time to delete rle : 0.0006792545318603516 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4298 TO DO : save crop sub photo not yet done ! save time : 0.28562307357788086 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05829882621765137 time for calcul the mask position with numpy : 0.021098613739013672 nb_pixel_total : 2046730 time to create 1 rle with new method : 0.030132055282592773 time for calcul the mask position with numpy : 0.006380796432495117 nb_pixel_total : 4010 time to create 1 rle with old method : 0.004789829254150391 time for calcul the mask position with numpy : 0.006018400192260742 nb_pixel_total : 9961 time to create 1 rle with old method : 0.011962175369262695 time for calcul the mask position with numpy : 0.006421327590942383 nb_pixel_total : 12899 time to create 1 rle with old method : 0.014847993850708008 create new chi : 0.10848879814147949 time to delete rle : 0.0003628730773925781 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1958 TO DO : save crop sub photo not yet done ! save time : 0.14998817443847656 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06489324569702148 time for calcul the mask position with numpy : 0.048132896423339844 nb_pixel_total : 1936965 time to create 1 rle with new method : 0.08871316909790039 time for calcul the mask position with numpy : 0.006842374801635742 nb_pixel_total : 104123 time to create 1 rle with old method : 0.11827325820922852 time for calcul the mask position with numpy : 0.006976604461669922 nb_pixel_total : 8079 time to create 1 rle with old method : 0.010199785232543945 time for calcul the mask position with numpy : 0.006466865539550781 nb_pixel_total : 12618 time to create 1 rle with old method : 0.015699386596679688 time for calcul the mask position with numpy : 0.006293296813964844 nb_pixel_total : 11815 time to create 1 rle with old method : 0.013764142990112305 create new chi : 0.33050537109375 time to delete rle : 0.0005271434783935547 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3032 TO DO : save crop sub photo not yet done ! save time : 0.22827625274658203 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06511950492858887 time for calcul the mask position with numpy : 0.03994464874267578 nb_pixel_total : 1944477 time to create 1 rle with new method : 0.09800457954406738 time for calcul the mask position with numpy : 0.007390260696411133 nb_pixel_total : 9409 time to create 1 rle with old method : 0.012048959732055664 time for calcul the mask position with numpy : 0.0068285465240478516 nb_pixel_total : 13322 time to create 1 rle with old method : 0.016815662384033203 time for calcul the mask position with numpy : 0.007498502731323242 nb_pixel_total : 92800 time to create 1 rle with old method : 0.11051487922668457 time for calcul the mask position with numpy : 0.006339550018310547 nb_pixel_total : 13592 time to create 1 rle with old method : 0.015896320343017578 create new chi : 0.33281517028808594 time to delete rle : 0.0005154609680175781 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 3202 TO DO : save crop sub photo not yet done ! save time : 0.21758699417114258 map_output_result : {1385426547: (0.0, 'Should be the crop_list due to order', 0), 1385426545: (0.0, 'Should be the crop_list due to order', 0), 1385426543: (0.0, 'Should be the crop_list due to order', 0), 1385426525: (0.0, 'Should be the crop_list due to order', 0), 1385426519: (0.0, 'Should be the crop_list due to order', 0), 1385426514: (0.0, 'Should be the crop_list due to order', 0), 1385426379: (0.0, 'Should be the crop_list due to order', 0), 1385426352: (0.0, 'Should be the crop_list due to order', 0), 1385426328: (0.0, 'Should be the crop_list due to order', 0), 1385426304: (0.0, 'Should be the crop_list due to order', 0), 1385426280: (0.0, 'Should be the crop_list due to order', 0), 1385426250: (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 [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] Looping around the photos to save general results len do output : 12 /1385426547.Didn't retrieve data . /1385426545.Didn't retrieve data . /1385426543.Didn't retrieve data . /1385426525.Didn't retrieve data . /1385426519.Didn't retrieve data . /1385426514.Didn't retrieve data . /1385426379.Didn't retrieve data . /1385426352.Didn't retrieve data . /1385426328.Didn't retrieve data . /1385426304.Didn't retrieve data . /1385426280.Didn't retrieve data . /1385426250.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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01614689826965332 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.506848812103271 time spend to save output : 0.01660895347595215 total time spend for step 3 : 10.523457765579224 step4:ventilate_hashtags_in_portfolio Mon Sep 22 10:51:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 27086457 get user id for portfolio 27086457 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 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','papier','pehd','pet_clair','autre','pet_fonce','metal','environnement','carton','mal_croppe')) 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`=27086457 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','papier','pehd','pet_clair','autre','pet_fonce','metal','environnement','carton','mal_croppe')) 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`=27086457 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','papier','pehd','pet_clair','autre','pet_fonce','metal','environnement','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27086553,27086554,27086555,27086556,27086557,27086558,27086559,27086560,27086561,27086562,27086563?tags=background,flou,papier,pehd,pet_clair,autre,pet_fonce,metal,environnement,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] Looping around the photos to save general results len do output : 1 /27086457. 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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.015952587127685547 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.71400785446167 time spend to save output : 0.01622295379638672 total time spend for step 4 : 1.7302308082580566 step5:final Mon Sep 22 10:51:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1385426547: ('0.11064838927469141',), 1385426545: ('0.11064838927469141',), 1385426543: ('0.11064838927469141',), 1385426525: ('0.11064838927469141',), 1385426519: ('0.11064838927469141',), 1385426514: ('0.11064838927469141',), 1385426379: ('0.11064838927469141',), 1385426352: ('0.11064838927469141',), 1385426328: ('0.11064838927469141',), 1385426304: ('0.11064838927469141',), 1385426280: ('0.11064838927469141',), 1385426250: ('0.11064838927469141',)} new output for save of step final : {1385426547: ('0.11064838927469141',), 1385426545: ('0.11064838927469141',), 1385426543: ('0.11064838927469141',), 1385426525: ('0.11064838927469141',), 1385426519: ('0.11064838927469141',), 1385426514: ('0.11064838927469141',), 1385426379: ('0.11064838927469141',), 1385426352: ('0.11064838927469141',), 1385426328: ('0.11064838927469141',), 1385426304: ('0.11064838927469141',), 1385426280: ('0.11064838927469141',), 1385426250: ('0.11064838927469141',)} [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] Looping around the photos to save general results len do output : 12 /1385426547.Didn't retrieve data . /1385426545.Didn't retrieve data . /1385426543.Didn't retrieve data . /1385426525.Didn't retrieve data . /1385426519.Didn't retrieve data . /1385426514.Didn't retrieve data . /1385426379.Didn't retrieve data . /1385426352.Didn't retrieve data . /1385426328.Didn't retrieve data . /1385426304.Didn't retrieve data . /1385426280.Didn't retrieve data . /1385426250.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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.012932062149047852 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11647582054138184 time spend to save output : 0.013525247573852539 total time spend for step 5 : 0.13000106811523438 step6:blur_detection Mon Sep 22 10:51:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638.jpg resize: (1080, 1920) 1385426547 -2.258225602968036 treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33.jpg resize: (1080, 1920) 1385426545 -2.247420871627166 treat image : temp/1758531031_329051_1385426543_f98d81e6165bc2dc793ec6b21b15133c.jpg resize: (1080, 1920) 1385426543 -2.054987500260768 treat image : temp/1758531031_329051_1385426525_cd5002d8d92167971c94fa5299820a67.jpg resize: (1080, 1920) 1385426525 -2.1954019841001453 treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646.jpg resize: (1080, 1920) 1385426519 -2.4301248307145373 treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97.jpg resize: (1080, 1920) 1385426514 -2.7888763444506695 treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f.jpg resize: (1080, 1920) 1385426379 -2.1117784375455293 treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758.jpg resize: (1080, 1920) 1385426352 -1.789504027250682 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977.jpg resize: (1080, 1920) 1385426328 -1.0718379531703843 treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7.jpg resize: (1080, 1920) 1385426304 -2.741231656952027 treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833.jpg resize: (1080, 1920) 1385426280 -2.3495942385552384 treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68.jpg resize: (1080, 1920) 1385426250 -2.6394859218769633 treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856681_0.png resize: (186, 114) 1385436765 -0.42774059273577003 treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856680_0.png resize: (99, 142) 1385436766 -1.9417776571105474 treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33_rle_crop_3969856683_0.png resize: (184, 114) 1385436767 -0.543887674177433 treat image : temp/1758531031_329051_1385426543_f98d81e6165bc2dc793ec6b21b15133c_rle_crop_3969856685_0.png resize: (173, 116) 1385436768 -0.5420928739721469 treat image : temp/1758531031_329051_1385426525_cd5002d8d92167971c94fa5299820a67_rle_crop_3969856686_0.png resize: (176, 116) 1385436769 -0.9102884206948996 treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856687_0.png resize: (173, 125) 1385436770 -0.6266862260822758 treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97_rle_crop_3969856691_0.png resize: (173, 109) 1385436771 -0.6012137427347023 treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856693_0.png resize: (178, 113) 1385436772 -0.4307315818117228 treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856695_0.png resize: (103, 42) 1385436773 -1.8217866425695657 treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856698_0.png resize: (176, 108) 1385436774 -0.4994716904148276 treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856697_0.png resize: (93, 140) 1385436775 -1.9561992364311582 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856700_0.png resize: (184, 119) 1385436776 -0.37109568269185317 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856702_0.png resize: (198, 129) 1385436777 -2.382832656709069 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856701_0.png resize: (104, 144) 1385436778 -2.0772612431132376 treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856706_0.png resize: (186, 120) 1385436779 -0.4749924995392179 treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856708_0.png resize: (133, 41) 1385436780 -0.6750383739131309 treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856707_0.png resize: (115, 137) 1385436781 -1.8332307385473858 treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856709_0.png resize: (177, 110) 1385436782 -0.6343615391043319 treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856711_0.png resize: (91, 115) 1385436783 -0.12100929813519896 treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856713_0.png resize: (186, 122) 1385436784 -0.39832641698665633 treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856716_0.png resize: (106, 147) 1385436785 -2.1823884009604324 treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856689_0.png resize: (108, 85) 1385436786 -1.3324881792464522 treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856696_0.png resize: (234, 225) 1385436787 -1.0264735509006977 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856704_0.png resize: (55, 108) 1385436788 -0.2882477326202834 treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856682_0.png resize: (54, 119) 1385436790 -3.6260045741136735 treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856690_0.png resize: (129, 138) 1385436791 -2.973238380139625 treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33_rle_crop_3969856684_0.png resize: (89, 167) 1385436797 -1.6916978457432188 treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856688_0.png resize: (516, 365) 1385436798 0.09860168423589019 treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97_rle_crop_3969856692_0.png resize: (541, 366) 1385436799 0.0684340211234849 treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856694_0.png resize: (545, 353) 1385436800 -0.11589545324783461 treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856699_0.png resize: (1002, 1296) 1385436801 -2.402897182021503 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856705_0.png resize: (842, 1080) 1385436802 0.4877729363247609 treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856703_0.png resize: (165, 95) 1385436803 0.4665405005925922 treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856710_0.png resize: (184, 95) 1385436804 -1.630408997252282 treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856712_0.png resize: (508, 335) 1385436805 0.05466428894736437 treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856715_0.png resize: (121, 165) 1385436806 -1.7380673248430656 treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856714_0.png resize: (514, 342) 1385436807 -1.523581477593756 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.013333320617675781 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.014303207397460938 save missing photos in datou_result : time spend for datou_step_exec : 11.638580799102783 time spend to save output : 0.03270435333251953 total time spend for step 6 : 11.671285152435303 step7:brightness Mon Sep 22 10:51:46 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638.jpg treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33.jpg treat image : temp/1758531031_329051_1385426543_f98d81e6165bc2dc793ec6b21b15133c.jpg treat image : temp/1758531031_329051_1385426525_cd5002d8d92167971c94fa5299820a67.jpg treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646.jpg treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97.jpg treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f.jpg treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758.jpg treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977.jpg treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7.jpg treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833.jpg treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68.jpg treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856681_0.png treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856680_0.png treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33_rle_crop_3969856683_0.png treat image : temp/1758531031_329051_1385426543_f98d81e6165bc2dc793ec6b21b15133c_rle_crop_3969856685_0.png treat image : temp/1758531031_329051_1385426525_cd5002d8d92167971c94fa5299820a67_rle_crop_3969856686_0.png treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856687_0.png treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97_rle_crop_3969856691_0.png treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856693_0.png treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856695_0.png treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856698_0.png treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856697_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856700_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856702_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856701_0.png treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856706_0.png treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856708_0.png treat image : temp/1758531031_329051_1385426304_c6d40ee06fbd184e01c6c068c68a72f7_rle_crop_3969856707_0.png treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856709_0.png treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856711_0.png treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856713_0.png treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856716_0.png treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856689_0.png treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856696_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856704_0.png treat image : temp/1758531031_329051_1385426547_97013b9f7530be5430719f6c4aca1638_rle_crop_3969856682_0.png treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856690_0.png treat image : temp/1758531031_329051_1385426545_d5d06b6e2b66b094b4bf35e3209f3c33_rle_crop_3969856684_0.png treat image : temp/1758531031_329051_1385426519_67627bfb71af6c16c6f7496c0eaf6646_rle_crop_3969856688_0.png treat image : temp/1758531031_329051_1385426514_fb85b306709c388c2ccd8aa4211f2e97_rle_crop_3969856692_0.png treat image : temp/1758531031_329051_1385426379_5ad80b761b22b44117f6350a096b697f_rle_crop_3969856694_0.png treat image : temp/1758531031_329051_1385426352_075e9937828a09b0a345015ee3ee9758_rle_crop_3969856699_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856705_0.png treat image : temp/1758531031_329051_1385426328_acd5ae016bb6868d4819deb2a135b977_rle_crop_3969856703_0.png treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856710_0.png treat image : temp/1758531031_329051_1385426280_2db311c32fc8db50ff81503eb9b24833_rle_crop_3969856712_0.png treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856715_0.png treat image : temp/1758531031_329051_1385426250_dfe7902aa5576b3dc0793b95e5be7d68_rle_crop_3969856714_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.016667842864990234 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.016940593719482422 save missing photos in datou_result : time spend for datou_step_exec : 3.201749086380005 time spend to save output : 0.0385289192199707 total time spend for step 7 : 3.2402780055999756 step8:velours_tree Mon Sep 22 10:51:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.5057969093322754 time spend to save output : 5.698204040527344e-05 total time spend for step 8 : 0.5058538913726807 step9:send_mail_cod Mon Sep 22 10:51:50 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_P27086457_22-09-2025_10_51_50.pdf 27086553 imagette270865531758531110 27086554 imagette270865541758531110 27086555 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette270865551758531110 27086556 imagette270865561758531111 27086557 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 .imagette270865571758531111 27086558 imagette270865581758531112 27086559 imagette270865591758531112 27086560 change filename to text .change filename to text .imagette270865601758531112 27086562 change filename to text .change filename to text .change filename to text .imagette270865621758531112 27086563 imagette270865631758531113 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27086457 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27086553,27086554,27086555,27086556,27086557,27086558,27086559,27086560,27086561,27086562,27086563?tags=background,flou,papier,pehd,pet_clair,autre,pet_fonce,metal,environnement,carton,mal_croppe args[1385426547] : ((1385426547, -2.258225602968036, 492609224), (1385426547, 0.3240497298851346, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426545] : ((1385426545, -2.247420871627166, 492609224), (1385426545, 0.45815046155002265, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426543] : ((1385426543, -2.054987500260768, 492609224), (1385426543, 0.4040597256138469, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426525] : ((1385426525, -2.1954019841001453, 492609224), (1385426525, 0.45783391719384203, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426519] : ((1385426519, -2.4301248307145373, 492609224), (1385426519, 0.574339993104603, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426514] : ((1385426514, -2.7888763444506695, 492609224), (1385426514, 0.3290702524332458, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426379] : ((1385426379, -2.1117784375455293, 492609224), (1385426379, 0.4017524639142128, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426352] : ((1385426352, -1.789504027250682, 492688767), (1385426352, 0.34530137867516847, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426328] : ((1385426328, -1.0718379531703843, 492688767), (1385426328, 0.29998059512579217, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426304] : ((1385426304, -2.741231656952027, 492609224), (1385426304, 0.3919391253601397, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426280] : ((1385426280, -2.3495942385552384, 492609224), (1385426280, 0.5288053328441906, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com args[1385426250] : ((1385426250, -2.6394859218769633, 492609224), (1385426250, 0.5243598389446504, 2107752395), '0.11064838927469141') We are sending mail with results at report@fotonower.com refus_total : 0.11064838927469141 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=27086457 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_P27086457_22-09-2025_10_51_50.pdf results_Auto_P27086457_22-09-2025_10_51_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27086457_22-09-2025_10_51_50.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','27086457','results_Auto_P27086457_22-09-2025_10_51_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27086457_22-09-2025_10_51_50.pdf','pdf','','0.4','0.11064838927469141') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27086457

https://www.fotonower.com/image?json=false&list_photos_id=1385426547
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426545
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426543
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426525
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426519
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426514
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426379
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426352
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426328
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426304
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426280
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385426250
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/27086555?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27086557?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27086560?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27086562?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27086457_22-09-2025_10_51_50.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27086553,27086554,27086555,27086556,27086557,27086558,27086559,27086560,27086561,27086562,27086563?tags=background,flou,papier,pehd,pet_clair,autre,pet_fonce,metal,environnement,carton,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 22 Sep 2025 08:51:55 GMT Content-Length: 0 Connection: close X-Message-Id: 8WxpxPNSQ4CenQg24GMXPQ 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 [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] 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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014966964721679688 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.788225889205933 time spend to save output : 0.015220880508422852 total time spend for step 9 : 4.8034467697143555 step10:split_time_score Mon Sep 22 10:51: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 ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22092025 27086457 Nombre de photos uploadées : 12 / 23040 (0%) 22092025 27086457 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 22092025 27086457 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004832744598388672 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20456576347351074 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 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22092025': {'nb_upload': 12, '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 [1385426547, 1385426545, 1385426543, 1385426525, 1385426519, 1385426514, 1385426379, 1385426352, 1385426328, 1385426304, 1385426280, 1385426250] Looping around the photos to save general results len do output : 1 /27086457Didn'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, '3756928') ('3318', '27086457', '1385426547', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426545', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426543', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426525', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426519', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426514', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426379', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426352', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426328', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426304', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426280', None, None, None, None, None, '3756928') ('3318', None, None, None, None, None, None, None, '3756928') ('3318', '27086457', '1385426250', None, None, None, None, None, '3756928') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.014650106430053711 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4525249004364014 time spend to save output : 0.014927148818969727 total time spend for step 10 : 1.467452049255371 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 48.61user 21.74system 1:30.51elapsed 77%CPU (0avgtext+0avgdata 2770908maxresident)k 634792inputs+26784outputs (7045major+1630362minor)pagefaults 0swaps