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 : 3696972 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 : ['3721964'] with mtr_portfolio_ids : ['26850415'] and first list_photo_ids : [] new path : /proc/3696972/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.0370519161224365 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 15 12:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6810 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-15 12:50:33.230476: 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-15 12:50:33.256525: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-15 12:50:33.258549: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc46c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-15 12:50:33.258583: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-15 12:50:33.262934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-15 12:50:33.422730: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2b230c20 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-15 12:50:33.422790: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-15 12:50:33.423879: 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-15 12:50:33.424757: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-15 12:50:33.429406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-15 12:50:33.432963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-15 12:50:33.434289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-15 12:50:33.439035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-15 12:50:33.441025: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-15 12:50:33.449525: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-15 12:50:33.450931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-15 12:50:33.451019: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-15 12:50:33.451689: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-15 12:50:33.451707: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-15 12:50:33.451716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-15 12:50:33.453275: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6259 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-15 12:50:33.835663: 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-15 12:50:33.835804: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-15 12:50:33.835831: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-15 12:50:33.835856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-15 12:50:33.835880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-15 12:50:33.835903: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-15 12:50:33.835934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-15 12:50:33.835973: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-15 12:50:33.837604: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-15 12:50:33.839006: 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-15 12:50:33.839045: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-15 12:50:33.839062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-15 12:50:33.839080: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-15 12:50:33.839097: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-15 12:50:33.839115: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-15 12:50:33.839132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-15 12:50:33.839148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-15 12:50:33.840184: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-15 12:50:33.840226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-15 12:50:33.840238: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-15 12:50:33.840247: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-15 12:50:33.841338: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6259 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-15 12:50:41.842345: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-15 12:50:42.029682: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 3697561 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 722 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6011 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.00020885467529296875 nb_pixel_total : 6557 time to create 1 rle with old method : 0.0076673030853271484 length of segment : 111 time for calcul the mask position with numpy : 0.0002186298370361328 nb_pixel_total : 12148 time to create 1 rle with old method : 0.014431953430175781 length of segment : 90 time for calcul the mask position with numpy : 0.0020537376403808594 nb_pixel_total : 121708 time to create 1 rle with old method : 0.14041781425476074 length of segment : 548 time for calcul the mask position with numpy : 0.0002300739288330078 nb_pixel_total : 12225 time to create 1 rle with old method : 0.014019250869750977 length of segment : 108 time for calcul the mask position with numpy : 0.0020542144775390625 nb_pixel_total : 109681 time to create 1 rle with old method : 0.1330862045288086 length of segment : 526 time for calcul the mask position with numpy : 0.0004115104675292969 nb_pixel_total : 23268 time to create 1 rle with old method : 0.027364492416381836 length of segment : 135 time for calcul the mask position with numpy : 0.0001990795135498047 nb_pixel_total : 8289 time to create 1 rle with old method : 0.009701728820800781 length of segment : 139 time for calcul the mask position with numpy : 0.0008945465087890625 nb_pixel_total : 66945 time to create 1 rle with old method : 0.07759690284729004 length of segment : 268 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 10905 time to create 1 rle with old method : 0.012757301330566406 length of segment : 140 time for calcul the mask position with numpy : 0.000537872314453125 nb_pixel_total : 19327 time to create 1 rle with old method : 0.023053646087646484 length of segment : 361 time for calcul the mask position with numpy : 0.00028014183044433594 nb_pixel_total : 11943 time to create 1 rle with old method : 0.013978958129882812 length of segment : 139 time for calcul the mask position with numpy : 0.0002238750457763672 nb_pixel_total : 12816 time to create 1 rle with old method : 0.015761137008666992 length of segment : 80 time for calcul the mask position with numpy : 0.00017571449279785156 nb_pixel_total : 4142 time to create 1 rle with old method : 0.0049495697021484375 length of segment : 234 time for calcul the mask position with numpy : 0.0003886222839355469 nb_pixel_total : 24346 time to create 1 rle with old method : 0.029260873794555664 length of segment : 137 time for calcul the mask position with numpy : 0.0008327960968017578 nb_pixel_total : 66385 time to create 1 rle with old method : 0.08224344253540039 length of segment : 243 time for calcul the mask position with numpy : 0.00032901763916015625 nb_pixel_total : 7498 time to create 1 rle with old method : 0.009068489074707031 length of segment : 115 time for calcul the mask position with numpy : 0.001588582992553711 nb_pixel_total : 27148 time to create 1 rle with old method : 0.07060956954956055 length of segment : 205 time for calcul the mask position with numpy : 0.0026237964630126953 nb_pixel_total : 107708 time to create 1 rle with old method : 0.12204837799072266 length of segment : 535 time for calcul the mask position with numpy : 0.0007271766662597656 nb_pixel_total : 48537 time to create 1 rle with old method : 0.05557084083557129 length of segment : 255 time for calcul the mask position with numpy : 0.0001590251922607422 nb_pixel_total : 4010 time to create 1 rle with old method : 0.005723714828491211 length of segment : 65 time for calcul the mask position with numpy : 0.059509992599487305 nb_pixel_total : 744144 time to create 1 rle with new method : 0.19035553932189941 length of segment : 933 time for calcul the mask position with numpy : 0.0007884502410888672 nb_pixel_total : 31978 time to create 1 rle with old method : 0.0359036922454834 length of segment : 175 time for calcul the mask position with numpy : 0.00025177001953125 nb_pixel_total : 5740 time to create 1 rle with old method : 0.0065572261810302734 length of segment : 102 time for calcul the mask position with numpy : 0.0002944469451904297 nb_pixel_total : 11400 time to create 1 rle with old method : 0.01304316520690918 length of segment : 109 time for calcul the mask position with numpy : 0.00021910667419433594 nb_pixel_total : 4519 time to create 1 rle with old method : 0.005464315414428711 length of segment : 64 time for calcul the mask position with numpy : 0.0002930164337158203 nb_pixel_total : 10386 time to create 1 rle with old method : 0.013396024703979492 length of segment : 103 time for calcul the mask position with numpy : 0.00298309326171875 nb_pixel_total : 127434 time to create 1 rle with old method : 0.16784334182739258 length of segment : 547 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 9386 time to create 1 rle with old method : 0.01079559326171875 length of segment : 91 time for calcul the mask position with numpy : 0.000408172607421875 nb_pixel_total : 9255 time to create 1 rle with old method : 0.010523796081542969 length of segment : 173 time for calcul the mask position with numpy : 0.008234977722167969 nb_pixel_total : 468748 time to create 1 rle with new method : 0.016092777252197266 length of segment : 876 time spent for convertir_results : 2.8220105171203613 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 30 chid ids of type : 3594 Number RLEs to save : 7607 save missing photos in datou_result : time spend for datou_step_exec : 24.062937259674072 time spend to save output : 0.6374838352203369 total time spend for step 1 : 24.70042109489441 step2:crop_condition Mon Sep 15 12:50:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 30 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757933455_3696972 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 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.607919931411743 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757933459_3696972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6293079853057861 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757933460_3696972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7009501457214355 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757933469_3696972 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.710531711578369 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! 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/1757933474_3696972 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.8275599479675293 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] Looping around the photos to save general results len do output : 30 /1383739299Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739300Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739301Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739303Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739371Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739372Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739373Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739374Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739375Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383739376Didn'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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 98 time used for this insertion : 0.019826889038085938 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.361416339874268 time spend to save output : 0.02124786376953125 total time spend for step 2 : 20.3826642036438 step3:rle_unique_nms_with_priority Mon Sep 15 12:51:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 30 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.46895813941955566 time for calcul the mask position with numpy : 0.11050271987915039 nb_pixel_total : 1920962 time to create 1 rle with new method : 0.09901833534240723 time for calcul the mask position with numpy : 0.008284807205200195 nb_pixel_total : 12225 time to create 1 rle with old method : 0.013891935348510742 time for calcul the mask position with numpy : 0.008917808532714844 nb_pixel_total : 121708 time to create 1 rle with old method : 0.13653779029846191 time for calcul the mask position with numpy : 0.007794380187988281 nb_pixel_total : 12148 time to create 1 rle with old method : 0.013791561126708984 time for calcul the mask position with numpy : 0.00772404670715332 nb_pixel_total : 6557 time to create 1 rle with old method : 0.007864952087402344 create new chi : 0.42670655250549316 time to delete rle : 0.021610260009765625 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2794 TO DO : save crop sub photo not yet done ! save time : 0.25745511054992676 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.21322393417358398 time for calcul the mask position with numpy : 0.10432028770446777 nb_pixel_total : 1865417 time to create 1 rle with new method : 0.11137866973876953 time for calcul the mask position with numpy : 0.008107900619506836 nb_pixel_total : 66945 time to create 1 rle with old method : 0.07197999954223633 time for calcul the mask position with numpy : 0.007502317428588867 nb_pixel_total : 8289 time to create 1 rle with old method : 0.008908987045288086 time for calcul the mask position with numpy : 0.007746696472167969 nb_pixel_total : 23268 time to create 1 rle with old method : 0.024771928787231445 time for calcul the mask position with numpy : 0.00841975212097168 nb_pixel_total : 109681 time to create 1 rle with old method : 0.11536383628845215 create new chi : 0.48136281967163086 time to delete rle : 0.0005848407745361328 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3216 TO DO : save crop sub photo not yet done ! save time : 0.2324531078338623 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.14952659606933594 time for calcul the mask position with numpy : 0.26222944259643555 nb_pixel_total : 2014661 time to create 1 rle with new method : 0.20885229110717773 time for calcul the mask position with numpy : 0.006797075271606445 nb_pixel_total : 3983 time to create 1 rle with old method : 0.004337310791015625 time for calcul the mask position with numpy : 0.006858110427856445 nb_pixel_total : 12816 time to create 1 rle with old method : 0.013936758041381836 time for calcul the mask position with numpy : 0.00635528564453125 nb_pixel_total : 11943 time to create 1 rle with old method : 0.013665437698364258 time for calcul the mask position with numpy : 0.006837606430053711 nb_pixel_total : 19292 time to create 1 rle with old method : 0.02135014533996582 time for calcul the mask position with numpy : 0.00664067268371582 nb_pixel_total : 10905 time to create 1 rle with old method : 0.012006282806396484 create new chi : 0.5806691646575928 time to delete rle : 0.00048661231994628906 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 2869 TO DO : save crop sub photo not yet done ! save time : 0.20042061805725098 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05155611038208008 time for calcul the mask position with numpy : 0.03694653511047363 nb_pixel_total : 1982869 time to create 1 rle with new method : 0.10068798065185547 time for calcul the mask position with numpy : 0.0077610015869140625 nb_pixel_total : 66385 time to create 1 rle with old method : 0.08103227615356445 time for calcul the mask position with numpy : 0.007703065872192383 nb_pixel_total : 24346 time to create 1 rle with old method : 0.02779531478881836 create new chi : 0.26236844062805176 time to delete rle : 0.0003368854522705078 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1840 TO DO : save crop sub photo not yet done ! save time : 0.30336809158325195 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.32105302810668945 time for calcul the mask position with numpy : 0.05443739891052246 nb_pixel_total : 1134555 time to create 1 rle with new method : 0.24631118774414062 time for calcul the mask position with numpy : 0.01223134994506836 nb_pixel_total : 744144 time to create 1 rle with new method : 0.32392334938049316 time for calcul the mask position with numpy : 0.007698535919189453 nb_pixel_total : 4010 time to create 1 rle with old method : 0.004581451416015625 time for calcul the mask position with numpy : 0.007544040679931641 nb_pixel_total : 48537 time to create 1 rle with old method : 0.054305315017700195 time for calcul the mask position with numpy : 0.007957935333251953 nb_pixel_total : 107708 time to create 1 rle with old method : 0.12127470970153809 time for calcul the mask position with numpy : 0.007970571517944336 nb_pixel_total : 27148 time to create 1 rle with old method : 0.03041863441467285 time for calcul the mask position with numpy : 0.007633686065673828 nb_pixel_total : 7498 time to create 1 rle with old method : 0.008466720581054688 create new chi : 0.9161942005157471 time to delete rle : 0.0009481906890869141 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 5296 TO DO : save crop sub photo not yet done ! save time : 0.45662736892700195 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.053288936614990234 time for calcul the mask position with numpy : 0.02363276481628418 nb_pixel_total : 2024482 time to create 1 rle with new method : 0.15062880516052246 time for calcul the mask position with numpy : 0.006479978561401367 nb_pixel_total : 11400 time to create 1 rle with old method : 0.013435602188110352 time for calcul the mask position with numpy : 0.007858037948608398 nb_pixel_total : 5740 time to create 1 rle with old method : 0.006296634674072266 time for calcul the mask position with numpy : 0.006360769271850586 nb_pixel_total : 31978 time to create 1 rle with old method : 0.03627467155456543 create new chi : 0.25173497200012207 time to delete rle : 0.0003960132598876953 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1852 TO DO : save crop sub photo not yet done ! save time : 0.16764020919799805 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 0.06238126754760742 time for calcul the mask position with numpy : 0.05661129951477051 nb_pixel_total : 1921875 time to create 1 rle with new method : 0.10292577743530273 time for calcul the mask position with numpy : 0.009259700775146484 nb_pixel_total : 9386 time to create 1 rle with old method : 0.011449813842773438 time for calcul the mask position with numpy : 0.007975578308105469 nb_pixel_total : 127434 time to create 1 rle with old method : 0.14359664916992188 time for calcul the mask position with numpy : 0.006491184234619141 nb_pixel_total : 10386 time to create 1 rle with old method : 0.010931253433227539 time for calcul the mask position with numpy : 0.005922079086303711 nb_pixel_total : 4519 time to create 1 rle with old method : 0.0050771236419677734 create new chi : 0.3716716766357422 time to delete rle : 0.0006060600280761719 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2690 TO DO : save crop sub photo not yet done ! save time : 0.3442349433898926 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04473400115966797 time for calcul the mask position with numpy : 0.018495559692382812 nb_pixel_total : 1595597 time to create 1 rle with new method : 0.1949009895324707 time for calcul the mask position with numpy : 0.012436151504516602 nb_pixel_total : 468748 time to create 1 rle with new method : 0.08892488479614258 time for calcul the mask position with numpy : 0.01126551628112793 nb_pixel_total : 9255 time to create 1 rle with old method : 0.010479927062988281 create new chi : 0.34467482566833496 time to delete rle : 0.0006158351898193359 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3178 TO DO : save crop sub photo not yet done ! save time : 0.4663701057434082 map_output_result : {1383733759: (0.0, 'Should be the crop_list due to order', 0), 1383733755: (0.0, 'Should be the crop_list due to order', 0), 1383733724: (0.0, 'Should be the crop_list due to order', 0), 1383733722: (0.0, 'Should be the crop_list due to order', 0), 1383733719: (0.0, 'Should be the crop_list due to order', 0), 1383733711: (0.0, 'Should be the crop_list due to order', 0), 1383733710: (0.0, 'Should be the crop_list due to order', 0), 1383733678: (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 [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] Looping around the photos to save general results len do output : 8 /1383733759.Didn't retrieve data . /1383733755.Didn't retrieve data . /1383733724.Didn't retrieve data . /1383733722.Didn't retrieve data . /1383733719.Didn't retrieve data . /1383733711.Didn't retrieve data . /1383733710.Didn't retrieve data . /1383733678.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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.014458179473876953 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.941981554031372 time spend to save output : 0.015056848526000977 total time spend for step 3 : 7.957038402557373 step4:ventilate_hashtags_in_portfolio Mon Sep 15 12:51:23 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 : 26850415 get user id for portfolio 26850415 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`=26850415 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pehd','autre','environnement','papier','mal_croppe','pet_clair','carton','metal','pet_fonce','flou')) 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`=26850415 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pehd','autre','environnement','papier','mal_croppe','pet_clair','carton','metal','pet_fonce','flou')) 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`=26850415 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pehd','autre','environnement','papier','mal_croppe','pet_clair','carton','metal','pet_fonce','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26850567,26850568,26850569,26850570,26850571,26850572,26850573,26850574,26850575,26850576,26850577?tags=background,pehd,autre,environnement,papier,mal_croppe,pet_clair,carton,metal,pet_fonce,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] Looping around the photos to save general results len do output : 1 /26850415. 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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015956640243530273 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9455673694610596 time spend to save output : 0.016400814056396484 total time spend for step 4 : 1.961968183517456 step5:final Mon Sep 15 12:51:25 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 : {1383733759: ('0.12830234857253087',), 1383733755: ('0.12830234857253087',), 1383733724: ('0.12830234857253087',), 1383733722: ('0.12830234857253087',), 1383733719: ('0.12830234857253087',), 1383733711: ('0.12830234857253087',), 1383733710: ('0.12830234857253087',), 1383733678: ('0.12830234857253087',)} new output for save of step final : {1383733759: ('0.12830234857253087',), 1383733755: ('0.12830234857253087',), 1383733724: ('0.12830234857253087',), 1383733722: ('0.12830234857253087',), 1383733719: ('0.12830234857253087',), 1383733711: ('0.12830234857253087',), 1383733710: ('0.12830234857253087',), 1383733678: ('0.12830234857253087',)} [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] Looping around the photos to save general results len do output : 8 /1383733759.Didn't retrieve data . /1383733755.Didn't retrieve data . /1383733724.Didn't retrieve data . /1383733722.Didn't retrieve data . /1383733719.Didn't retrieve data . /1383733711.Didn't retrieve data . /1383733710.Didn't retrieve data . /1383733678.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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.015349149703979492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14535784721374512 time spend to save output : 0.01589202880859375 total time spend for step 5 : 0.16124987602233887 step6:blur_detection Mon Sep 15 12:51:25 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/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62.jpg resize: (1080, 1920) 1383733759 -1.8757893713601235 treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3.jpg resize: (1080, 1920) 1383733755 -3.1936337604124474 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab.jpg resize: (1080, 1920) 1383733724 -3.716526394030069 treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1.jpg resize: (1080, 1920) 1383733722 0.7244645118587146 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f.jpg resize: (1080, 1920) 1383733719 -3.7827219874309903 treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977.jpg resize: (1080, 1920) 1383733711 -3.156056518933304 treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e.jpg resize: (1080, 1920) 1383733710 -1.1721028058647456 treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae.jpg resize: (1080, 1920) 1383733678 1.6095893150665133 treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432585_0.png resize: (111, 98) 1383739299 -1.5136200870338392 treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432591_0.png resize: (127, 106) 1383739300 -2.0558914700277695 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432595_0.png resize: (139, 170) 1383739301 -4.03271708708153 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432597_0.png resize: (178, 62) 1383739303 -2.9871622216522535 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432594_0.png resize: (361, 135) 1383739304 -1.9706180248741265 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432593_0.png resize: (139, 114) 1383739306 -1.336657280427943 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432600_0.png resize: (115, 104) 1383739307 -1.4283915149278392 treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432607_0.png resize: (101, 93) 1383739308 -1.5137251476961822 treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432612_0.png resize: (89, 173) 1383739310 -0.8827518696292809 treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae_rle_crop_3958432613_0.png resize: (171, 92) 1383739311 -0.03778440371470564 treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432609_0.png resize: (64, 96) 1383739317 0.23434295808650496 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432604_0.png resize: (56, 86) 1383739323 -2.802165772209635 treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432588_0.png resize: (103, 176) 1383739359 -4.059874200260236 treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432586_0.png resize: (90, 181) 1383739360 -2.781853875542657 treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432587_0.png resize: (537, 365) 1383739361 0.43634652563173165 treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432590_0.png resize: (110, 279) 1383739362 -4.59450222641073 treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432592_0.png resize: (268, 345) 1383739363 -3.3891569039215743 treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432589_0.png resize: (521, 337) 1383739364 0.1779804969847164 treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432596_0.png resize: (73, 241) 1383739365 -2.1775655627047494 treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1_rle_crop_3958432599_0.png resize: (221, 425) 1383739366 -1.0338520897016756 treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1_rle_crop_3958432598_0.png resize: (128, 271) 1383739367 -0.6622565013844821 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432605_0.png resize: (932, 1108) 1383739368 -0.9963090000389498 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432601_0.png resize: (217, 202) 1383739369 -4.663156730677709 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432603_0.png resize: (217, 310) 1383739370 -2.7834720079153956 treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432602_0.png resize: (534, 331) 1383739371 0.21627384175734674 treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432606_0.png resize: (173, 250) 1383739372 -2.490890640592418 treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432611_0.png resize: (545, 392) 1383739373 -0.2575565224656443 treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae_rle_crop_3958432614_0.png resize: (781, 894) 1383739374 0.5166465549239008 treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432608_0.png resize: (108, 151) 1383739375 -3.2492262291409255 treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432610_0.png resize: (103, 136) 1383739376 -0.6979228942748649 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 : 38 time used for this insertion : 0.013222217559814453 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.015538454055786133 save missing photos in datou_result : time spend for datou_step_exec : 8.147074699401855 time spend to save output : 0.03328680992126465 total time spend for step 6 : 8.18036150932312 step7:brightness Mon Sep 15 12: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 inside step calcul brightness treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62.jpg treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3.jpg treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab.jpg treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1.jpg treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f.jpg treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977.jpg treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e.jpg treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae.jpg treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432585_0.png treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432591_0.png treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432595_0.png treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432597_0.png treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432594_0.png treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432593_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432600_0.png treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432607_0.png treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432612_0.png treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae_rle_crop_3958432613_0.png treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432609_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432604_0.png treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432588_0.png treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432586_0.png treat image : temp/1757933429_3696972_1383733759_f37093fdb25b05c2d986531bcb2a9f62_rle_crop_3958432587_0.png treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432590_0.png treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432592_0.png treat image : temp/1757933429_3696972_1383733755_5e8ac31c9a8511b3bdefc225cc1cb0a3_rle_crop_3958432589_0.png treat image : temp/1757933429_3696972_1383733724_1b2667516e5fd6c2492f93dda09e7dab_rle_crop_3958432596_0.png treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1_rle_crop_3958432599_0.png treat image : temp/1757933429_3696972_1383733722_bbd7ef1683dc6c39dd15c77b7d3811b1_rle_crop_3958432598_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432605_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432601_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432603_0.png treat image : temp/1757933429_3696972_1383733719_1104df0042636e25aeb7b78e9e1c265f_rle_crop_3958432602_0.png treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432606_0.png treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432611_0.png treat image : temp/1757933429_3696972_1383733678_22f7975b6c5a642856739851fd858cae_rle_crop_3958432614_0.png treat image : temp/1757933429_3696972_1383733711_0a3814abaf25cb6cb755a603b5cb3977_rle_crop_3958432608_0.png treat image : temp/1757933429_3696972_1383733710_8837f67dedcbeed21595e7c2fdc4630e_rle_crop_3958432610_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 : 38 time used for this insertion : 0.015243053436279297 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.02300858497619629 save missing photos in datou_result : time spend for datou_step_exec : 2.435678482055664 time spend to save output : 0.0435638427734375 total time spend for step 7 : 2.4792423248291016 step8:velours_tree Mon Sep 15 12:51:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.293440580368042 time spend to save output : 4.57763671875e-05 total time spend for step 8 : 0.2934863567352295 step9:send_mail_cod Mon Sep 15 12:51:36 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_P26850415_15-09-2025_12_51_36.pdf 26850567 imagette268505671757933496 26850568 imagette268505681757933496 26850569 change filename to text .change filename to text .imagette268505691757933496 26850571 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 .imagette268505711757933496 26850572 imagette268505721757933497 26850573 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 .imagette268505731757933497 26850574 change filename to text .imagette268505741757933498 26850575 change filename to text .imagette268505751757933498 26850576 imagette268505761757933498 26850577 imagette268505771757933498 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26850415 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26850567,26850568,26850569,26850570,26850571,26850572,26850573,26850574,26850575,26850576,26850577?tags=background,pehd,autre,environnement,papier,mal_croppe,pet_clair,carton,metal,pet_fonce,flou args[1383733759] : ((1383733759, -1.8757893713601235, 492688767), (1383733759, 0.37906197149316384, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733755] : ((1383733755, -3.1936337604124474, 492609224), (1383733755, 0.36142221784825646, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733724] : ((1383733724, -3.716526394030069, 492609224), (1383733724, 0.49850170871586524, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733722] : ((1383733722, 0.7244645118587146, 492688767), (1383733722, 0.4246930575823651, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733719] : ((1383733719, -3.7827219874309903, 492609224), (1383733719, 0.4683022846119858, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733711] : ((1383733711, -3.156056518933304, 492609224), (1383733711, 0.41564628599936904, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733710] : ((1383733710, -1.1721028058647456, 492688767), (1383733710, 0.20696030887762093, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com args[1383733678] : ((1383733678, 1.6095893150665133, 492688767), (1383733678, 0.12623624181727783, 2107752395), '0.12830234857253087') We are sending mail with results at report@fotonower.com refus_total : 0.12830234857253087 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=26850415 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_P26850415_15-09-2025_12_51_36.pdf results_Auto_P26850415_15-09-2025_12_51_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26850415_15-09-2025_12_51_36.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','26850415','results_Auto_P26850415_15-09-2025_12_51_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26850415_15-09-2025_12_51_36.pdf','pdf','','0.32','0.12830234857253087') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26850415

https://www.fotonower.com/image?json=false&list_photos_id=1383733759
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733755
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733724
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733722
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733719
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733711
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733710
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383733678
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6095893150665133)

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

exemples de contaminants: autre: https://www.fotonower.com/view/26850569?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26850571?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26850573?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26850574?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26850575?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26850415_15-09-2025_12_51_36.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26850567,26850568,26850569,26850570,26850571,26850572,26850573,26850574,26850575,26850576,26850577?tags=background,pehd,autre,environnement,papier,mal_croppe,pet_clair,carton,metal,pet_fonce,flou.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 15 Sep 2025 10:51:40 GMT Content-Length: 0 Connection: close X-Message-Id: vbb3-IxgTju5psN9JS3FYw 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 [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] 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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.01647472381591797 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.065030336380005 time spend to save output : 0.01668691635131836 total time spend for step 9 : 4.081717252731323 step10:split_time_score Mon Sep 15 12:51:40 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('12', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15092025 26850415 Nombre de photos uploadées : 8 / 23040 (0%) 15092025 26850415 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 15092025 26850415 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0004734992980957031 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22131729125976562 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.04883231298732941 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26842775_15-09-2025_09_52_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26842775 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`=26842775 AND mptpi.`type`=3594 To do Qualite : 0.04090774096579218 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26842777_15-09-2025_10_02_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26842777 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`=26842777 AND mptpi.`type`=3594 To do Qualite : 0.02615415219907407 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26842797_15-09-2025_09_51_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26842797 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`=26842797 AND mptpi.`type`=3594 To do Qualite : 0.10658130787037039 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26842799_15-09-2025_10_51_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26842799 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`=26842799 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26849842 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26850411 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26850414 order by id desc limit 1 Qualite : 0.12830234857253087 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26850415_15-09-2025_12_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26850415 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`=26850415 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15092025': {'nb_upload': 8, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383733759, 1383733755, 1383733724, 1383733722, 1383733719, 1383733711, 1383733710, 1383733678] Looping around the photos to save general results len do output : 1 /26850415Didn'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, '3721964') ('3318', '26850415', '1383733759', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733755', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733724', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733722', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733719', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733711', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733710', None, None, None, None, None, '3721964') ('3318', None, None, None, None, None, None, None, '3721964') ('3318', '26850415', '1383733678', None, None, None, None, None, '3721964') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014025211334228516 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.732731580734253 time spend to save output : 0.014189720153808594 total time spend for step 10 : 3.7469213008880615 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 40.28user 16.97system 1:19.35elapsed 72%CPU (0avgtext+0avgdata 2714992maxresident)k 744392inputs+23392outputs (1668major+1442608minor)pagefaults 0swaps