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 : 3935053 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 : ['4084368'] with mtr_portfolio_ids : ['28743779'] and first list_photo_ids : [] new path : /proc/3935053/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.4025650024414062 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 Thu Nov 20 14:10:31 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 : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-20 14:10:35.156967: 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-11-20 14:10:35.194489: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-20 14:10:35.197582: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0d68000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-20 14:10:35.197645: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-20 14:10:35.204325: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-20 14:10:35.516934: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x403b4f50 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-20 14:10:35.517007: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-20 14:10:35.519323: 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-11-20 14:10:35.521398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-20 14:10:35.559296: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-20 14:10:35.582498: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-20 14:10:35.587143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-20 14:10:35.625134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-20 14:10:35.630208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-20 14:10:35.697653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-20 14:10:35.699970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-20 14:10:35.700856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-20 14:10:35.703418: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-20 14:10:35.703448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-20 14:10:35.703463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-20 14:10:35.706334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-20 14:10:36.044377: 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-11-20 14:10:36.044497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-20 14:10:36.044521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-20 14:10:36.044541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-20 14:10:36.044561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-20 14:10:36.044581: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-20 14:10:36.044600: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-20 14:10:36.044621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-20 14:10:36.046369: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-20 14:10:36.047884: 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-11-20 14:10:36.047921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-20 14:10:36.047940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-20 14:10:36.047958: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-20 14:10:36.047975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-20 14:10:36.047992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-20 14:10:36.048009: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-20 14:10:36.048027: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-20 14:10:36.049673: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-20 14:10:36.049713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-20 14:10:36.049725: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-20 14:10:36.049735: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-20 14:10:36.051428: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-11-20 14:10:44.420023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-20 14:10:45.188450: 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 : 17 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3935649 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 417 tf kernel not reseted sub process len(results) : 17 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 17 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 : 5706 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.00023627281188964844 nb_pixel_total : 5398 time to create 1 rle with old method : 0.006319284439086914 length of segment : 60 time for calcul the mask position with numpy : 0.000164031982421875 nb_pixel_total : 6983 time to create 1 rle with old method : 0.007875204086303711 length of segment : 86 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 4077 time to create 1 rle with old method : 0.00470733642578125 length of segment : 69 time for calcul the mask position with numpy : 0.0002071857452392578 nb_pixel_total : 6577 time to create 1 rle with old method : 0.009005546569824219 length of segment : 102 time for calcul the mask position with numpy : 0.0002963542938232422 nb_pixel_total : 8298 time to create 1 rle with old method : 0.010632753372192383 length of segment : 119 time for calcul the mask position with numpy : 0.002947092056274414 nb_pixel_total : 110755 time to create 1 rle with old method : 0.12169647216796875 length of segment : 563 time for calcul the mask position with numpy : 0.0004551410675048828 nb_pixel_total : 15961 time to create 1 rle with old method : 0.018687009811401367 length of segment : 119 time for calcul the mask position with numpy : 0.0013647079467773438 nb_pixel_total : 86304 time to create 1 rle with old method : 0.09220170974731445 length of segment : 482 time for calcul the mask position with numpy : 0.011817216873168945 nb_pixel_total : 563508 time to create 1 rle with new method : 0.04802060127258301 length of segment : 1181 time for calcul the mask position with numpy : 0.0013384819030761719 nb_pixel_total : 85300 time to create 1 rle with old method : 0.09020638465881348 length of segment : 466 time for calcul the mask position with numpy : 0.0018048286437988281 nb_pixel_total : 100842 time to create 1 rle with old method : 0.11594510078430176 length of segment : 525 time for calcul the mask position with numpy : 0.0003540515899658203 nb_pixel_total : 24325 time to create 1 rle with old method : 0.030183792114257812 length of segment : 110 time for calcul the mask position with numpy : 0.0002484321594238281 nb_pixel_total : 9597 time to create 1 rle with old method : 0.012681961059570312 length of segment : 198 time for calcul the mask position with numpy : 0.00015282630920410156 nb_pixel_total : 3973 time to create 1 rle with old method : 0.004773378372192383 length of segment : 99 time for calcul the mask position with numpy : 0.0017426013946533203 nb_pixel_total : 105977 time to create 1 rle with old method : 0.12005853652954102 length of segment : 894 time for calcul the mask position with numpy : 0.016621828079223633 nb_pixel_total : 639179 time to create 1 rle with new method : 0.03730297088623047 length of segment : 969 time for calcul the mask position with numpy : 0.002465486526489258 nb_pixel_total : 105485 time to create 1 rle with old method : 0.11221909523010254 length of segment : 528 time for calcul the mask position with numpy : 0.0007517337799072266 nb_pixel_total : 35479 time to create 1 rle with old method : 0.03746962547302246 length of segment : 325 time for calcul the mask position with numpy : 0.0003330707550048828 nb_pixel_total : 7981 time to create 1 rle with old method : 0.00932621955871582 length of segment : 127 time for calcul the mask position with numpy : 0.00022983551025390625 nb_pixel_total : 2798 time to create 1 rle with old method : 0.0035800933837890625 length of segment : 71 time for calcul the mask position with numpy : 0.0005662441253662109 nb_pixel_total : 14868 time to create 1 rle with old method : 0.017255067825317383 length of segment : 267 time for calcul the mask position with numpy : 0.00015616416931152344 nb_pixel_total : 1931 time to create 1 rle with old method : 0.002394437789916992 length of segment : 38 time for calcul the mask position with numpy : 0.00020599365234375 nb_pixel_total : 7300 time to create 1 rle with old method : 0.008907556533813477 length of segment : 73 time for calcul the mask position with numpy : 0.0023276805877685547 nb_pixel_total : 98969 time to create 1 rle with old method : 0.11201810836791992 length of segment : 505 time for calcul the mask position with numpy : 0.00019025802612304688 nb_pixel_total : 7640 time to create 1 rle with old method : 0.00875544548034668 length of segment : 95 time for calcul the mask position with numpy : 0.00018906593322753906 nb_pixel_total : 6753 time to create 1 rle with old method : 0.011270999908447266 length of segment : 76 time for calcul the mask position with numpy : 0.0001575946807861328 nb_pixel_total : 3198 time to create 1 rle with old method : 0.003901243209838867 length of segment : 53 time for calcul the mask position with numpy : 0.0003216266632080078 nb_pixel_total : 8442 time to create 1 rle with old method : 0.010122060775756836 length of segment : 152 time for calcul the mask position with numpy : 0.0010142326354980469 nb_pixel_total : 8007 time to create 1 rle with old method : 0.016424179077148438 length of segment : 193 time for calcul the mask position with numpy : 0.0002181529998779297 nb_pixel_total : 3323 time to create 1 rle with old method : 0.006291389465332031 length of segment : 47 time for calcul the mask position with numpy : 0.0002980232238769531 nb_pixel_total : 5846 time to create 1 rle with old method : 0.010255098342895508 length of segment : 81 time for calcul the mask position with numpy : 0.0002906322479248047 nb_pixel_total : 4488 time to create 1 rle with old method : 0.008272647857666016 length of segment : 67 time spent for convertir_results : 2.639047861099243 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 8740 save missing photos in datou_result : time spend for datou_step_exec : 33.60918688774109 time spend to save output : 0.5550222396850586 total time spend for step 1 : 34.16420912742615 step2:crop_condition Thu Nov 20 14:11:05 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 : 17 ! batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763644266_3935053 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987988_0.png', 0, 97, 101, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987987_0.png', 0, 80, 69, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987986_0.png', 0, 95, 86, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987998_0.png', 0, 86, 99, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352236_573a9680ea78249408a7989a6d66c553_rle_crop_4039988004_0.png', 0, 54, 71, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352183_aaf6fbd7956508ee7d97f32deb74cab6_rle_crop_4039988005_0.png', 0, 138, 264, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988006_0.png', 0, 67, 38, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352132_297d7a72527930cb3683b41722d9e828_rle_crop_4039988009_0.png', 0, 97, 86, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988011_0.png', 0, 78, 52, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988012_0.png', 0, 75, 152, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352128_f82cb2374bf7e6dd0e04ff7a23275fca_rle_crop_4039988013_0.png', 0, 88, 192, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988015_0.png', 0, 93, 81, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644268), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988014_0.png', 0, 98, 47, 0, 1763644268,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.9615864753723145 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763644270_3935053 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644270), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987991_0.png', 0, 246, 119, 0, 1763644270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644270), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987989_0.png', 0, 94, 117, 0, 1763644270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644270), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352271_ab704d3f2014a940cd3eaa429e605fd4_rle_crop_4039988003_0.png', 0, 111, 104, 0, 1763644270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644270), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988007_0.png', 0, 118, 73, 0, 1763644270,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.24967622756958 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763644279_3935053 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352424_4bf0cb842dee3a4056628b74d2efc868_rle_crop_4039987985_0.png', 0, 107, 58, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987990_0.png', 0, 341, 532, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987993_0.png', 0, 972, 985, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987992_0.png', 0, 322, 465, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352345_2f813c75c0087faf63a353b425b56d8e_rle_crop_4039987994_0.png', 0, 330, 464, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987996_0.png', 0, 341, 102, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987997_0.png', 0, 83, 173, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987995_0.png', 0, 351, 516, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039988000_0.png', 0, 947, 962, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987999_0.png', 0, 344, 600, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988001_0.png', 0, 335, 526, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988008_0.png', 0, 328, 503, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644282), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988010_0.png', 0, 145, 62, 0, 1763644282,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.4605600833892822 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/1763644283_3935053 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644283), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988002_0.png', 0, 147, 304, 0, 1763644283,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1763644283), 0.0, 0.0, 14, '', 0, 0, '1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988016_0.png', 0, 87, 66, 0, 1763644283,'0',0) 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.7142336368560791 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 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 [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] Looping around the photos to save general results len do output : 32 /1395368437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368442Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368454Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368464Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368465Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368466Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368468Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395368481Didn'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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 113 time used for this insertion : 0.020604610443115234 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.808196783065796 time spend to save output : 0.021760225296020508 total time spend for step 2 : 18.829957008361816 step3:rle_unique_nms_with_priority Thu Nov 20 14:11:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1395352431 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05165362358093262 time for calcul the mask position with numpy : 0.44182777404785156 nb_pixel_total : 2068202 time to create 1 rle with new method : 0.09693765640258789 time for calcul the mask position with numpy : 0.012157201766967773 nb_pixel_total : 5398 time to create 1 rle with old method : 0.006382942199707031 create new chi : 0.5673441886901855 time to delete rle : 0.02454829216003418 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1200 TO DO : save crop sub photo not yet done ! save time : 0.11501407623291016 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.688692569732666 time for calcul the mask position with numpy : 0.07203865051269531 nb_pixel_total : 1920949 time to create 1 rle with new method : 0.19290614128112793 time for calcul the mask position with numpy : 0.008566141128540039 nb_pixel_total : 15961 time to create 1 rle with old method : 0.03150129318237305 time for calcul the mask position with numpy : 0.010812759399414062 nb_pixel_total : 110755 time to create 1 rle with old method : 0.12469911575317383 time for calcul the mask position with numpy : 0.006381034851074219 nb_pixel_total : 8298 time to create 1 rle with old method : 0.009273767471313477 time for calcul the mask position with numpy : 0.006670475006103516 nb_pixel_total : 6577 time to create 1 rle with old method : 0.007329463958740234 time for calcul the mask position with numpy : 0.006670713424682617 nb_pixel_total : 4077 time to create 1 rle with old method : 0.0045702457427978516 time for calcul the mask position with numpy : 0.0063664913177490234 nb_pixel_total : 6983 time to create 1 rle with old method : 0.007901430130004883 create new chi : 0.5107917785644531 time to delete rle : 0.00044918060302734375 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3196 TO DO : save crop sub photo not yet done ! save time : 0.21715831756591797 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0493464469909668 time for calcul the mask position with numpy : 0.018022537231445312 nb_pixel_total : 1423788 time to create 1 rle with new method : 0.033754587173461914 time for calcul the mask position with numpy : 0.010257959365844727 nb_pixel_total : 563508 time to create 1 rle with new method : 0.028969287872314453 time for calcul the mask position with numpy : 0.006552696228027344 nb_pixel_total : 86304 time to create 1 rle with old method : 0.09570503234863281 create new chi : 0.1938769817352295 time to delete rle : 0.0005586147308349609 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4406 TO DO : save crop sub photo not yet done ! save time : 0.27954745292663574 No data in photo_id : 1395352348 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03711986541748047 time for calcul the mask position with numpy : 0.024044513702392578 nb_pixel_total : 1988300 time to create 1 rle with new method : 0.034343719482421875 time for calcul the mask position with numpy : 0.007573127746582031 nb_pixel_total : 85300 time to create 1 rle with old method : 0.09709858894348145 create new chi : 0.16348934173583984 time to delete rle : 0.00032019615173339844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2012 TO DO : save crop sub photo not yet done ! save time : 0.14497756958007812 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05850958824157715 time for calcul the mask position with numpy : 0.19075226783752441 nb_pixel_total : 1938836 time to create 1 rle with new method : 0.35628700256347656 time for calcul the mask position with numpy : 0.012368202209472656 nb_pixel_total : 9597 time to create 1 rle with old method : 0.015890121459960938 time for calcul the mask position with numpy : 0.012266874313354492 nb_pixel_total : 24325 time to create 1 rle with old method : 0.03922700881958008 time for calcul the mask position with numpy : 0.01264500617980957 nb_pixel_total : 100842 time to create 1 rle with old method : 0.11469817161560059 create new chi : 0.7634646892547607 time to delete rle : 0.00031948089599609375 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 2746 TO DO : save crop sub photo not yet done ! save time : 0.1889939308166504 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05814242362976074 time for calcul the mask position with numpy : 0.0472111701965332 nb_pixel_total : 1324471 time to create 1 rle with new method : 0.21305322647094727 time for calcul the mask position with numpy : 0.016257524490356445 nb_pixel_total : 639179 time to create 1 rle with new method : 0.0852363109588623 time for calcul the mask position with numpy : 0.013348817825317383 nb_pixel_total : 105977 time to create 1 rle with old method : 0.11814594268798828 time for calcul the mask position with numpy : 0.011897087097167969 nb_pixel_total : 3973 time to create 1 rle with old method : 0.00449824333190918 create new chi : 0.5199024677276611 time to delete rle : 0.00064849853515625 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 5004 TO DO : save crop sub photo not yet done ! save time : 0.3139533996582031 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.048209190368652344 time for calcul the mask position with numpy : 0.13727283477783203 nb_pixel_total : 1932636 time to create 1 rle with new method : 0.2677640914916992 time for calcul the mask position with numpy : 0.012465238571166992 nb_pixel_total : 35479 time to create 1 rle with old method : 0.03997659683227539 time for calcul the mask position with numpy : 0.012560129165649414 nb_pixel_total : 105485 time to create 1 rle with old method : 0.12074136734008789 create new chi : 0.6028602123260498 time to delete rle : 0.00045561790466308594 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2786 TO DO : save crop sub photo not yet done ! save time : 0.18818998336791992 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06992530822753906 time for calcul the mask position with numpy : 0.036867618560791016 nb_pixel_total : 2065619 time to create 1 rle with new method : 0.10491704940795898 time for calcul the mask position with numpy : 0.012151479721069336 nb_pixel_total : 7981 time to create 1 rle with old method : 0.00896763801574707 create new chi : 0.17124605178833008 time to delete rle : 0.00027370452880859375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1334 TO DO : save crop sub photo not yet done ! save time : 0.11185622215270996 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04225349426269531 time for calcul the mask position with numpy : 0.028716325759887695 nb_pixel_total : 2070802 time to create 1 rle with new method : 0.1063699722290039 time for calcul the mask position with numpy : 0.006352663040161133 nb_pixel_total : 2798 time to create 1 rle with old method : 0.0031871795654296875 create new chi : 0.15456891059875488 time to delete rle : 0.0002391338348388672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1222 TO DO : save crop sub photo not yet done ! save time : 0.11217093467712402 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0325932502746582 time for calcul the mask position with numpy : 0.1512904167175293 nb_pixel_total : 2058732 time to create 1 rle with new method : 0.19953131675720215 time for calcul the mask position with numpy : 0.011966943740844727 nb_pixel_total : 14868 time to create 1 rle with old method : 0.016650915145874023 create new chi : 0.3896491527557373 time to delete rle : 0.00026607513427734375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1614 TO DO : save crop sub photo not yet done ! save time : 0.1376667022705078 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2576873302459717 time for calcul the mask position with numpy : 0.12530755996704102 nb_pixel_total : 1965400 time to create 1 rle with new method : 0.08203721046447754 time for calcul the mask position with numpy : 0.00672602653503418 nb_pixel_total : 98969 time to create 1 rle with old method : 0.11000180244445801 time for calcul the mask position with numpy : 0.00661778450012207 nb_pixel_total : 7300 time to create 1 rle with old method : 0.008279800415039062 time for calcul the mask position with numpy : 0.006750583648681641 nb_pixel_total : 1931 time to create 1 rle with old method : 0.0021889209747314453 create new chi : 0.3589179515838623 time to delete rle : 0.0004246234893798828 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2312 TO DO : save crop sub photo not yet done ! save time : 0.1801149845123291 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03546714782714844 time for calcul the mask position with numpy : 0.02209758758544922 nb_pixel_total : 2065960 time to create 1 rle with new method : 0.15981388092041016 time for calcul the mask position with numpy : 0.0062639713287353516 nb_pixel_total : 7640 time to create 1 rle with old method : 0.008548974990844727 create new chi : 0.20404386520385742 time to delete rle : 0.00020766258239746094 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1270 TO DO : save crop sub photo not yet done ! save time : 0.11353492736816406 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.119415283203125 time for calcul the mask position with numpy : 0.030599355697631836 nb_pixel_total : 2055207 time to create 1 rle with new method : 0.09513282775878906 time for calcul the mask position with numpy : 0.012229681015014648 nb_pixel_total : 8442 time to create 1 rle with old method : 0.009660005569458008 time for calcul the mask position with numpy : 0.012908458709716797 nb_pixel_total : 3198 time to create 1 rle with old method : 0.0038051605224609375 time for calcul the mask position with numpy : 0.012903451919555664 nb_pixel_total : 6753 time to create 1 rle with old method : 0.00800323486328125 create new chi : 0.19584417343139648 time to delete rle : 0.0003001689910888672 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1642 TO DO : save crop sub photo not yet done ! save time : 0.1318199634552002 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03303980827331543 time for calcul the mask position with numpy : 0.025824785232543945 nb_pixel_total : 2065593 time to create 1 rle with new method : 0.09697270393371582 time for calcul the mask position with numpy : 0.01181650161743164 nb_pixel_total : 8007 time to create 1 rle with old method : 0.009026765823364258 create new chi : 0.1508924961090088 time to delete rle : 0.00023317337036132812 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1466 TO DO : save crop sub photo not yet done ! save time : 0.11255979537963867 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0725395679473877 time for calcul the mask position with numpy : 0.10912466049194336 nb_pixel_total : 2059943 time to create 1 rle with new method : 0.14629864692687988 time for calcul the mask position with numpy : 0.00621485710144043 nb_pixel_total : 4488 time to create 1 rle with old method : 0.0050506591796875 time for calcul the mask position with numpy : 0.006081581115722656 nb_pixel_total : 5846 time to create 1 rle with old method : 0.006578683853149414 time for calcul the mask position with numpy : 0.006050825119018555 nb_pixel_total : 3323 time to create 1 rle with old method : 0.0037772655487060547 create new chi : 0.29985713958740234 time to delete rle : 0.00029277801513671875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1470 TO DO : save crop sub photo not yet done ! save time : 0.11806106567382812 map_output_result : {1395352431: (0.0, 'Should be the crop_list due to order', 0.0), 1395352424: (0.0, 'Should be the crop_list due to order', 0), 1395352407: (0.0, 'Should be the crop_list due to order', 0), 1395352363: (0.0, 'Should be the crop_list due to order', 0), 1395352348: (0.0, 'Should be the crop_list due to order', 0.0), 1395352345: (0.0, 'Should be the crop_list due to order', 0), 1395352342: (0.0, 'Should be the crop_list due to order', 0), 1395352338: (0.0, 'Should be the crop_list due to order', 0), 1395352335: (0.0, 'Should be the crop_list due to order', 0), 1395352271: (0.0, 'Should be the crop_list due to order', 0), 1395352236: (0.0, 'Should be the crop_list due to order', 0), 1395352183: (0.0, 'Should be the crop_list due to order', 0), 1395352180: (0.0, 'Should be the crop_list due to order', 0), 1395352132: (0.0, 'Should be the crop_list due to order', 0), 1395352131: (0.0, 'Should be the crop_list due to order', 0), 1395352128: (0.0, 'Should be the crop_list due to order', 0), 1395352125: (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 [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] Looping around the photos to save general results len do output : 17 /1395352431.Didn't retrieve data . /1395352424.Didn't retrieve data . /1395352407.Didn't retrieve data . /1395352363.Didn't retrieve data . /1395352348.Didn't retrieve data . /1395352345.Didn't retrieve data . /1395352342.Didn't retrieve data . /1395352338.Didn't retrieve data . /1395352335.Didn't retrieve data . /1395352271.Didn't retrieve data . /1395352236.Didn't retrieve data . /1395352183.Didn't retrieve data . /1395352180.Didn't retrieve data . /1395352132.Didn't retrieve data . /1395352131.Didn't retrieve data . /1395352128.Didn't retrieve data . /1395352125.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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.01401376724243164 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.891534090042114 time spend to save output : 0.014700889587402344 total time spend for step 3 : 9.906234979629517 step4:ventilate_hashtags_in_portfolio Thu Nov 20 14:11:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28743779 get user id for portfolio 28743779 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`=28743779 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','background','autre','flou','pet_fonce','pehd','mal_croppe','metal','carton','pet_clair')) 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`=28743779 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','background','autre','flou','pet_fonce','pehd','mal_croppe','metal','carton','pet_clair')) 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`=28743779 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','background','autre','flou','pet_fonce','pehd','mal_croppe','metal','carton','pet_clair')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28743940,28743941,28743942,28743943,28743944,28743945,28743946,28743947,28743948,28743949,28743950?tags=papier,environnement,background,autre,flou,pet_fonce,pehd,mal_croppe,metal,carton,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] Looping around the photos to save general results len do output : 1 /28743779. 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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015122652053833008 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6570100784301758 time spend to save output : 0.015415430068969727 total time spend for step 4 : 1.6724255084991455 step5:final Thu Nov 20 14:11:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1395352431: ('0.05956001497821351',), 1395352424: ('0.05956001497821351',), 1395352407: ('0.05956001497821351',), 1395352363: ('0.05956001497821351',), 1395352348: ('0.05956001497821351',), 1395352345: ('0.05956001497821351',), 1395352342: ('0.05956001497821351',), 1395352338: ('0.05956001497821351',), 1395352335: ('0.05956001497821351',), 1395352271: ('0.05956001497821351',), 1395352236: ('0.05956001497821351',), 1395352183: ('0.05956001497821351',), 1395352180: ('0.05956001497821351',), 1395352132: ('0.05956001497821351',), 1395352131: ('0.05956001497821351',), 1395352128: ('0.05956001497821351',), 1395352125: ('0.05956001497821351',)} new output for save of step final : {1395352431: ('0.05956001497821351',), 1395352424: ('0.05956001497821351',), 1395352407: ('0.05956001497821351',), 1395352363: ('0.05956001497821351',), 1395352348: ('0.05956001497821351',), 1395352345: ('0.05956001497821351',), 1395352342: ('0.05956001497821351',), 1395352338: ('0.05956001497821351',), 1395352335: ('0.05956001497821351',), 1395352271: ('0.05956001497821351',), 1395352236: ('0.05956001497821351',), 1395352183: ('0.05956001497821351',), 1395352180: ('0.05956001497821351',), 1395352132: ('0.05956001497821351',), 1395352131: ('0.05956001497821351',), 1395352128: ('0.05956001497821351',), 1395352125: ('0.05956001497821351',)} [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] Looping around the photos to save general results len do output : 17 /1395352431.Didn't retrieve data . /1395352424.Didn't retrieve data . /1395352407.Didn't retrieve data . /1395352363.Didn't retrieve data . /1395352348.Didn't retrieve data . /1395352345.Didn't retrieve data . /1395352342.Didn't retrieve data . /1395352338.Didn't retrieve data . /1395352335.Didn't retrieve data . /1395352271.Didn't retrieve data . /1395352236.Didn't retrieve data . /1395352183.Didn't retrieve data . /1395352180.Didn't retrieve data . /1395352132.Didn't retrieve data . /1395352131.Didn't retrieve data . /1395352128.Didn't retrieve data . /1395352125.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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 51 time used for this insertion : 0.016737699508666992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1296088695526123 time spend to save output : 0.01760101318359375 total time spend for step 5 : 0.14720988273620605 step6:blur_detection Thu Nov 20 14:11:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1763644228_3935053_1395352431_0651333d784900635f72c19eadf1517a.jpg resize: (1080, 1920) 1395352431 0.40669046580077595 treat image : temp/1763644228_3935053_1395352424_4bf0cb842dee3a4056628b74d2efc868.jpg resize: (1080, 1920) 1395352424 2.0978571923158533 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf.jpg resize: (1080, 1920) 1395352407 -4.467402610728007 treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673.jpg resize: (1080, 1920) 1395352363 -0.5740264878903257 treat image : temp/1763644228_3935053_1395352348_ccf4ea4713b639fd04d8d6b3208f547f.jpg resize: (1080, 1920) 1395352348 -0.9541781552217673 treat image : temp/1763644228_3935053_1395352345_2f813c75c0087faf63a353b425b56d8e.jpg resize: (1080, 1920) 1395352345 0.7202775480345863 treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf.jpg resize: (1080, 1920) 1395352342 -4.348957401040624 treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8.jpg resize: (1080, 1920) 1395352338 -0.18456480505568132 treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09.jpg resize: (1080, 1920) 1395352335 -4.055629739409929 treat image : temp/1763644228_3935053_1395352271_ab704d3f2014a940cd3eaa429e605fd4.jpg resize: (1080, 1920) 1395352271 3.479364929035689 treat image : temp/1763644228_3935053_1395352236_573a9680ea78249408a7989a6d66c553.jpg resize: (1080, 1920) 1395352236 -4.553235541447124 treat image : temp/1763644228_3935053_1395352183_aaf6fbd7956508ee7d97f32deb74cab6.jpg resize: (1080, 1920) 1395352183 -1.7409805347637135 treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988.jpg resize: (1080, 1920) 1395352180 -4.459956244568341 treat image : temp/1763644228_3935053_1395352132_297d7a72527930cb3683b41722d9e828.jpg resize: (1080, 1920) 1395352132 -0.08535562901712154 treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a.jpg resize: (1080, 1920) 1395352131 0.9571763615854509 treat image : temp/1763644228_3935053_1395352128_f82cb2374bf7e6dd0e04ff7a23275fca.jpg resize: (1080, 1920) 1395352128 2.012546767433543 treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010.jpg resize: (1080, 1920) 1395352125 -4.211913365014205 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987988_0.png resize: (101, 97) 1395368437 -2.7052335359588526 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987987_0.png resize: (69, 80) 1395368438 -3.189691405328302 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987986_0.png resize: (86, 95) 1395368439 5.749077566126143 treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987998_0.png resize: (99, 86) 1395368440 -2.580449282729178 treat image : temp/1763644228_3935053_1395352236_573a9680ea78249408a7989a6d66c553_rle_crop_4039988004_0.png resize: (71, 54) 1395368441 -0.5169452374404205 treat image : temp/1763644228_3935053_1395352183_aaf6fbd7956508ee7d97f32deb74cab6_rle_crop_4039988005_0.png resize: (264, 138) 1395368442 -1.2242369174950143 treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988006_0.png resize: (38, 67) 1395368443 3.8936082622445856 treat image : temp/1763644228_3935053_1395352132_297d7a72527930cb3683b41722d9e828_rle_crop_4039988009_0.png resize: (86, 97) 1395368444 0.6580355122790913 treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988011_0.png resize: (52, 78) 1395368445 1.1757251870462944 treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988012_0.png resize: (152, 75) 1395368446 -0.394257687109352 treat image : temp/1763644228_3935053_1395352128_f82cb2374bf7e6dd0e04ff7a23275fca_rle_crop_4039988013_0.png resize: (192, 88) 1395368447 -2.2524120876735703 treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988015_0.png resize: (81, 93) 1395368449 0.5223618664595963 treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988014_0.png resize: (47, 98) 1395368450 -3.0608276349168424 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987991_0.png resize: (119, 246) 1395368451 -1.8241957532033062 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987989_0.png resize: (117, 94) 1395368452 -3.6165783334953376 treat image : temp/1763644228_3935053_1395352271_ab704d3f2014a940cd3eaa429e605fd4_rle_crop_4039988003_0.png resize: (104, 111) 1395368453 -1.8519294323953366 treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988007_0.png resize: (73, 118) 1395368454 -2.3060204107805875 treat image : temp/1763644228_3935053_1395352424_4bf0cb842dee3a4056628b74d2efc868_rle_crop_4039987985_0.png resize: (58, 107) 1395368463 2.9963304573353424 treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987990_0.png resize: (532, 341) 1395368464 -0.3323357890517352 treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987993_0.png resize: (985, 972) 1395368465 0.40942920575022634 treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987992_0.png resize: (465, 322) 1395368466 -0.195773910487812 treat image : temp/1763644228_3935053_1395352345_2f813c75c0087faf63a353b425b56d8e_rle_crop_4039987994_0.png resize: (464, 330) 1395368467 -0.2638155678083356 treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987996_0.png resize: (102, 341) 1395368468 -3.244311378358662 treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987997_0.png resize: (173, 83) 1395368469 -3.3380707468602404 treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987995_0.png resize: (516, 351) 1395368470 -0.5987493992558849 treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039988000_0.png resize: (962, 947) 1395368471 0.6795423594915891 treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987999_0.png resize: (600, 344) 1395368472 -1.2665820950510414 treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988001_0.png resize: (526, 335) 1395368473 -0.21991146721593616 treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988008_0.png resize: (503, 328) 1395368474 -0.21965957614362755 treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988010_0.png resize: (62, 145) 1395368475 -3.4325670340346757 treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988002_0.png resize: (304, 147) 1395368480 -0.35733767470776207 treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988016_0.png resize: (66, 87) 1395368481 -0.8715755749590408 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 49 time used for this insertion : 0.012555599212646484 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.013250112533569336 save missing photos in datou_result : time spend for datou_step_exec : 14.839660167694092 time spend to save output : 0.030806541442871094 total time spend for step 6 : 14.870466709136963 step7:brightness Thu Nov 20 14:11:50 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1763644228_3935053_1395352431_0651333d784900635f72c19eadf1517a.jpg treat image : temp/1763644228_3935053_1395352424_4bf0cb842dee3a4056628b74d2efc868.jpg treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf.jpg treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673.jpg treat image : temp/1763644228_3935053_1395352348_ccf4ea4713b639fd04d8d6b3208f547f.jpg treat image : temp/1763644228_3935053_1395352345_2f813c75c0087faf63a353b425b56d8e.jpg treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf.jpg treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8.jpg treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09.jpg treat image : temp/1763644228_3935053_1395352271_ab704d3f2014a940cd3eaa429e605fd4.jpg treat image : temp/1763644228_3935053_1395352236_573a9680ea78249408a7989a6d66c553.jpg treat image : temp/1763644228_3935053_1395352183_aaf6fbd7956508ee7d97f32deb74cab6.jpg treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988.jpg treat image : temp/1763644228_3935053_1395352132_297d7a72527930cb3683b41722d9e828.jpg treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a.jpg treat image : temp/1763644228_3935053_1395352128_f82cb2374bf7e6dd0e04ff7a23275fca.jpg treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010.jpg treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987988_0.png treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987987_0.png treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987986_0.png treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987998_0.png treat image : temp/1763644228_3935053_1395352236_573a9680ea78249408a7989a6d66c553_rle_crop_4039988004_0.png treat image : temp/1763644228_3935053_1395352183_aaf6fbd7956508ee7d97f32deb74cab6_rle_crop_4039988005_0.png treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988006_0.png treat image : temp/1763644228_3935053_1395352132_297d7a72527930cb3683b41722d9e828_rle_crop_4039988009_0.png treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988011_0.png treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988012_0.png treat image : temp/1763644228_3935053_1395352128_f82cb2374bf7e6dd0e04ff7a23275fca_rle_crop_4039988013_0.png treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988015_0.png treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988014_0.png treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987991_0.png treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987989_0.png treat image : temp/1763644228_3935053_1395352271_ab704d3f2014a940cd3eaa429e605fd4_rle_crop_4039988003_0.png treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988007_0.png treat image : temp/1763644228_3935053_1395352424_4bf0cb842dee3a4056628b74d2efc868_rle_crop_4039987985_0.png treat image : temp/1763644228_3935053_1395352407_faa95942a5e6c1b62cdc4edad0744bdf_rle_crop_4039987990_0.png treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987993_0.png treat image : temp/1763644228_3935053_1395352363_955e347b617633472117e8276f39b673_rle_crop_4039987992_0.png treat image : temp/1763644228_3935053_1395352345_2f813c75c0087faf63a353b425b56d8e_rle_crop_4039987994_0.png treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987996_0.png treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987997_0.png treat image : temp/1763644228_3935053_1395352342_afbfe0cedc378211a602413473789abf_rle_crop_4039987995_0.png treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039988000_0.png treat image : temp/1763644228_3935053_1395352338_de92fc6c38c3bec139cf7a71abd88dd8_rle_crop_4039987999_0.png treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988001_0.png treat image : temp/1763644228_3935053_1395352180_2a21159e00c94daf2df29a2425b8e988_rle_crop_4039988008_0.png treat image : temp/1763644228_3935053_1395352131_9b4ed92effe793891fcc0fb3fdbd1b5a_rle_crop_4039988010_0.png treat image : temp/1763644228_3935053_1395352335_7180f5b82fe4733c4565daac73504e09_rle_crop_4039988002_0.png treat image : temp/1763644228_3935053_1395352125_24ca9b7a57395a3a11e4f6f23b077010_rle_crop_4039988016_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 49 time used for this insertion : 0.014757156372070312 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.0128173828125 save missing photos in datou_result : time spend for datou_step_exec : 4.202159881591797 time spend to save output : 0.0326845645904541 total time spend for step 7 : 4.234844446182251 step8:velours_tree Thu Nov 20 14:11: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 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.13231444358825684 time spend to save output : 3.337860107421875e-05 total time spend for step 8 : 0.13234782218933105 step9:send_mail_cod Thu Nov 20 14:11:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P28743779_20-11-2025_14_11_55.pdf 28743940 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 .imagette287439401763644315 28743942 imagette287439421763644315 28743943 change filename to text .change filename to text .imagette287439431763644315 28743944 imagette287439441763644316 28743945 imagette287439451763644316 28743946 imagette287439461763644316 28743947 imagette287439471763644316 28743948 imagette287439481763644316 28743949 change filename to text .change filename to text .change filename to text .change filename to text .imagette287439491763644316 28743950 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 .imagette287439501763644316 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28743779 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28743940,28743941,28743942,28743943,28743944,28743945,28743946,28743947,28743948,28743949,28743950?tags=papier,environnement,background,autre,flou,pet_fonce,pehd,mal_croppe,metal,carton,pet_clair args[1395352431] : ((1395352431, 0.40669046580077595, 492688767), (1395352431, 0.7184407573926967, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352424] : ((1395352424, 2.0978571923158533, 492688767), (1395352424, 0.6239094185135201, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352407] : ((1395352407, -4.467402610728007, 492609224), (1395352407, 0.6782023062004222, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352363] : ((1395352363, -0.5740264878903257, 492688767), (1395352363, 1.3060079696201998, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352348] : ((1395352348, -0.9541781552217673, 492688767), (1395352348, 0.16593776767931534, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352345] : ((1395352345, 0.7202775480345863, 492688767), (1395352345, 0.6279768171572845, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352342] : ((1395352342, -4.348957401040624, 492609224), (1395352342, 0.4756710474402197, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352338] : ((1395352338, -0.18456480505568132, 492688767), (1395352338, 0.8912135458324283, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352335] : ((1395352335, -4.055629739409929, 492609224), (1395352335, 0.49030518217895785, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352271] : ((1395352271, 3.479364929035689, 492688767), (1395352271, 0.3732865599900695, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352236] : ((1395352236, -4.553235541447124, 492609224), (1395352236, 0.3905317875012745, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352183] : ((1395352183, -1.7409805347637135, 492688767), (1395352183, 0.7531226384413154, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352180] : ((1395352180, -4.459956244568341, 492609224), (1395352180, 0.24642011021709384, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352132] : ((1395352132, -0.08535562901712154, 492688767), (1395352132, 0.6197498263434398, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352131] : ((1395352131, 0.9571763615854509, 492688767), (1395352131, 0.5436990937961791, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352128] : ((1395352128, 2.012546767433543, 492688767), (1395352128, 0.680245025538082, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com args[1395352125] : ((1395352125, -4.211913365014205, 492609224), (1395352125, 0.3839865293894417, 2107752395), '0.05956001497821351') We are sending mail with results at report@fotonower.com refus_total : 0.05956001497821351 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28743779 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_P28743779_20-11-2025_14_11_55.pdf results_Auto_P28743779_20-11-2025_14_11_55.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743779_20-11-2025_14_11_55.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','28743779','results_Auto_P28743779_20-11-2025_14_11_55.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743779_20-11-2025_14_11_55.pdf','pdf','','0.34','0.05956001497821351') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28743779

https://www.fotonower.com/image?json=false&list_photos_id=1395352431
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352424
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.0978571923158533)
https://www.fotonower.com/image?json=false&list_photos_id=1395352407
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352363
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352348
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352345
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352342
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352338
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352335
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352271
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.479364929035689)
https://www.fotonower.com/image?json=false&list_photos_id=1395352236
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352183
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352180
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352132
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352131
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395352128
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.012546767433543)
https://www.fotonower.com/image?json=false&list_photos_id=1395352125
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28743940?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28743943?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28743949?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28743950?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743779_20-11-2025_14_11_55.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28743940,28743941,28743942,28743943,28743944,28743945,28743946,28743947,28743948,28743949,28743950?tags=papier,environnement,background,autre,flou,pet_fonce,pehd,mal_croppe,metal,carton,pet_clair.


L'équipe Fotonower 202 b'' Date: Thu, 20 Nov 2025 13:11:59 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: SU3eSHeaTVOsv5rZzmD9xg 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 [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] 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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.01519322395324707 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.377570867538452 time spend to save output : 0.015426158905029297 total time spend for step 9 : 4.3929970264434814 step10:split_time_score Thu Nov 20 14:11:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 17),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20112025 28743779 Nombre de photos uploadées : 17 / 23040 (0%) 20112025 28743779 Nombre de photos taguées (types de déchets): 0 / 17 (0%) 20112025 28743779 Nombre de photos taguées (volume) : 0 / 17 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008790493011474609 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19593143463134766 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28742809 order by id desc limit 1 Qualite : 0.04091500946969698 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28741478_20-11-2025_13_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28741478 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`=28741478 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28743775 order by id desc limit 1 Qualite : 0.05956001497821351 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28743779_20-11-2025_14_11_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28743779 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`=28743779 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20112025': {'nb_upload': 17, '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 [1395352431, 1395352424, 1395352407, 1395352363, 1395352348, 1395352345, 1395352342, 1395352338, 1395352335, 1395352271, 1395352236, 1395352183, 1395352180, 1395352132, 1395352131, 1395352128, 1395352125] Looping around the photos to save general results len do output : 1 /28743779Didn'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, '4084368') ('3318', '28743779', '1395352431', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352424', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352407', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352363', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352348', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352345', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352342', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352338', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352335', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352271', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352236', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352183', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352180', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352132', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352131', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352128', None, None, None, None, None, '4084368') ('3318', None, None, None, None, None, None, None, '4084368') ('3318', '28743779', '1395352125', None, None, None, None, None, '4084368') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014725685119628906 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.8727314472198486 time spend to save output : 0.014876365661621094 total time spend for step 10 : 2.8876078128814697 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 52.31user 22.71system 1:36.28elapsed 77%CPU (0avgtext+0avgdata 2897888maxresident)k 2228904inputs+22888outputs (8078major+1661522minor)pagefaults 0swaps