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 : 1621963 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 : ['3972456'] with mtr_portfolio_ids : ['28012682'] and first list_photo_ids : [] new path : /proc/1621963/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.9615209102630615 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 Fri Oct 31 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 : 10842 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-31 14:10:34.058604: 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-10-31 14:10:34.086517: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-31 14:10:34.088554: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8c98000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-31 14:10:34.088609: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-31 14:10:34.092483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-31 14:10:34.229603: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x25058260 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-31 14:10:34.229653: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-31 14:10:34.231092: 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-10-31 14:10:34.231482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 14:10:34.234430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 14:10:34.236898: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 14:10:34.237273: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 14:10:34.239807: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 14:10:34.241052: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 14:10:34.246506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 14:10:34.248364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 14:10:34.248455: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 14:10:34.249431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 14:10:34.249448: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 14:10:34.249459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 14:10:34.251212: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10-31 14:10:34.554219: 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-10-31 14:10:34.554396: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 14:10:34.554449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 14:10:34.554491: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 14:10:34.554519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 14:10:34.554555: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 14:10:34.554594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 14:10:34.554621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 14:10:34.556438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 14:10:34.557908: 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-10-31 14:10:34.557982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 14:10:34.557999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 14:10:34.558014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 14:10:34.558028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 14:10:34.558042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 14:10:34.558056: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 14:10:34.558070: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 14:10:34.559399: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 14:10:34.559444: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 14:10:34.559454: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 14:10:34.559463: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 14:10:34.560837: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-10-31 14:10:41.954113: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 14:10:42.165967: 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 59.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: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 49.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: 64.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: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 Detection mask done ! Trying to reset tf kernel 1622684 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 736 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 6025 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.000213623046875 nb_pixel_total : 6291 time to create 1 rle with old method : 0.007936954498291016 length of segment : 111 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 8686 time to create 1 rle with old method : 0.010764122009277344 length of segment : 120 time for calcul the mask position with numpy : 0.00010514259338378906 nb_pixel_total : 4127 time to create 1 rle with old method : 0.005186319351196289 length of segment : 60 time for calcul the mask position with numpy : 7.677078247070312e-05 nb_pixel_total : 2740 time to create 1 rle with old method : 0.0034399032592773438 length of segment : 71 time for calcul the mask position with numpy : 0.0007300376892089844 nb_pixel_total : 35978 time to create 1 rle with old method : 0.04261517524719238 length of segment : 346 time for calcul the mask position with numpy : 0.0002219676971435547 nb_pixel_total : 6300 time to create 1 rle with old method : 0.007875680923461914 length of segment : 176 time for calcul the mask position with numpy : 0.00013637542724609375 nb_pixel_total : 4232 time to create 1 rle with old method : 0.007132768630981445 length of segment : 65 time for calcul the mask position with numpy : 0.00015282630920410156 nb_pixel_total : 6711 time to create 1 rle with old method : 0.011340141296386719 length of segment : 59 time for calcul the mask position with numpy : 0.0002455711364746094 nb_pixel_total : 7353 time to create 1 rle with old method : 0.012439489364624023 length of segment : 132 time for calcul the mask position with numpy : 0.0007383823394775391 nb_pixel_total : 45050 time to create 1 rle with old method : 0.0590205192565918 length of segment : 528 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 6291 time to create 1 rle with old method : 0.007264614105224609 length of segment : 125 time for calcul the mask position with numpy : 0.00017905235290527344 nb_pixel_total : 6946 time to create 1 rle with old method : 0.008217811584472656 length of segment : 85 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 5431 time to create 1 rle with old method : 0.006414175033569336 length of segment : 126 time for calcul the mask position with numpy : 0.00018095970153808594 nb_pixel_total : 6292 time to create 1 rle with old method : 0.00721430778503418 length of segment : 105 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 3912 time to create 1 rle with old method : 0.004810810089111328 length of segment : 58 time for calcul the mask position with numpy : 0.00021767616271972656 nb_pixel_total : 9856 time to create 1 rle with old method : 0.011556386947631836 length of segment : 105 time for calcul the mask position with numpy : 0.0017321109771728516 nb_pixel_total : 91084 time to create 1 rle with old method : 0.1081545352935791 length of segment : 530 time for calcul the mask position with numpy : 0.0002703666687011719 nb_pixel_total : 5159 time to create 1 rle with old method : 0.0061991214752197266 length of segment : 172 time for calcul the mask position with numpy : 0.0003314018249511719 nb_pixel_total : 10291 time to create 1 rle with old method : 0.012033462524414062 length of segment : 230 time for calcul the mask position with numpy : 0.0002932548522949219 nb_pixel_total : 13526 time to create 1 rle with old method : 0.01681995391845703 length of segment : 116 time for calcul the mask position with numpy : 0.00046563148498535156 nb_pixel_total : 26333 time to create 1 rle with old method : 0.032330989837646484 length of segment : 177 time for calcul the mask position with numpy : 0.014695405960083008 nb_pixel_total : 724615 time to create 1 rle with new method : 0.026630878448486328 length of segment : 1008 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 7173 time to create 1 rle with old method : 0.008414030075073242 length of segment : 198 time for calcul the mask position with numpy : 9.226799011230469e-05 nb_pixel_total : 3220 time to create 1 rle with old method : 0.003922700881958008 length of segment : 58 time for calcul the mask position with numpy : 0.0011746883392333984 nb_pixel_total : 89027 time to create 1 rle with old method : 0.10658121109008789 length of segment : 218 time for calcul the mask position with numpy : 0.0003046989440917969 nb_pixel_total : 6141 time to create 1 rle with old method : 0.007401466369628906 length of segment : 106 time for calcul the mask position with numpy : 0.0001442432403564453 nb_pixel_total : 1742 time to create 1 rle with old method : 0.0021665096282958984 length of segment : 50 time for calcul the mask position with numpy : 0.00036072731018066406 nb_pixel_total : 8917 time to create 1 rle with old method : 0.010861635208129883 length of segment : 110 time for calcul the mask position with numpy : 0.0002970695495605469 nb_pixel_total : 8426 time to create 1 rle with old method : 0.01373910903930664 length of segment : 119 time for calcul the mask position with numpy : 0.0002994537353515625 nb_pixel_total : 5253 time to create 1 rle with old method : 0.01004171371459961 length of segment : 57 time for calcul the mask position with numpy : 0.00043487548828125 nb_pixel_total : 7267 time to create 1 rle with old method : 0.013557672500610352 length of segment : 100 time for calcul the mask position with numpy : 0.0006203651428222656 nb_pixel_total : 6156 time to create 1 rle with old method : 0.011816263198852539 length of segment : 139 time for calcul the mask position with numpy : 0.00019359588623046875 nb_pixel_total : 2726 time to create 1 rle with old method : 0.0036363601684570312 length of segment : 79 time for calcul the mask position with numpy : 0.00011873245239257812 nb_pixel_total : 2378 time to create 1 rle with old method : 0.003086566925048828 length of segment : 43 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 1903 time to create 1 rle with old method : 0.0024814605712890625 length of segment : 63 time for calcul the mask position with numpy : 0.00017070770263671875 nb_pixel_total : 2927 time to create 1 rle with old method : 0.0051686763763427734 length of segment : 44 time for calcul the mask position with numpy : 0.0002694129943847656 nb_pixel_total : 8023 time to create 1 rle with old method : 0.013475656509399414 length of segment : 74 time for calcul the mask position with numpy : 0.00025153160095214844 nb_pixel_total : 3961 time to create 1 rle with old method : 0.006023406982421875 length of segment : 90 time spent for convertir_results : 1.7984800338745117 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 38 chid ids of type : 3594 Number RLEs to save : 6053 save missing photos in datou_result : time spend for datou_step_exec : 26.670488119125366 time spend to save output : 0.37491941452026367 total time spend for step 1 : 27.04540753364563 step2:crop_condition Fri Oct 31 14:10:58 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 : 13 ! batch 1 Loaded 38 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 28 About to insert : list_path_to_insert length 28 new photo from crops ! About to upload 28 photos upload in portfolio : 3736932 init cache_photo without model_param we have 28 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761916260_1621963 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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989532_0.png', 0, 100, 173, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989528_0.png', 0, 105, 110, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989530_0.png', 0, 54, 71, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989529_0.png', 0, 81, 60, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989527_0.png', 0, 101, 111, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989534_0.png', 0, 171, 59, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989533_0.png', 0, 91, 65, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989538_0.png', 0, 120, 84, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989537_0.png', 0, 71, 118, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989539_0.png', 0, 108, 126, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989544_0.png', 0, 75, 172, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989542_0.png', 0, 185, 90, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989541_0.png', 0, 86, 57, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989540_0.png', 0, 102, 101, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989546_0.png', 0, 174, 112, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989545_0.png', 0, 93, 230, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057558_77d3c37fb5e5b61f9abd92fccc7ff80e_rle_crop_4009989549_0.png', 0, 82, 175, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989551_0.png', 0, 635, 197, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989550_0.png', 0, 82, 57, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989554_0.png', 0, 112, 103, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989556_0.png', 0, 123, 57, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989553_0.png', 0, 51, 50, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989557_0.png', 0, 108, 100, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989558_0.png', 0, 130, 113, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989560_0.png', 0, 75, 43, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989559_0.png', 0, 87, 61, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989564_0.png', 0, 62, 90, 0, 1761916265,'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(1761916265), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989561_0.png', 0, 42, 63, 0, 1761916265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 28 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.393046855926514 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761916267_1621963 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(1761916267), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989535_0.png', 0, 121, 130, 0, 1761916267,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5471100807189941 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761916272_1621963 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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058211_26f6cd7dc30e3a04444e0747956bcf4e_rle_crop_4009989536_0.png', 0, 224, 309, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989543_0.png', 0, 267, 528, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989548_0.png', 0, 1015, 974, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989547_0.png', 0, 207, 164, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057400_fbb7202b289d933cd6b2232c78703276_rle_crop_4009989552_0.png', 0, 97, 86, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989555_0.png', 0, 112, 104, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989562_0.png', 0, 85, 44, 0, 1761916273,'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(1761916273), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989563_0.png', 0, 143, 68, 0, 1761916273,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.1153128147125244 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761916274_1621963 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(1761916274), 0.0, 0.0, 14, '', 0, 0, '1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989531_0.png', 0, 159, 343, 0, 1761916274,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5905768871307373 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] Looping around the photos to save general results len do output : 38 /1391207822Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207824Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207825Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207826Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207827Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207839Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207840Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207841Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207843Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207845Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207846Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207847Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207851Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207860Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207873Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391207940Didn'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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 127 time used for this insertion : 0.015330076217651367 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.445019245147705 time spend to save output : 0.01677989959716797 total time spend for step 2 : 16.461799144744873 step3:rle_unique_nms_with_priority Fri Oct 31 14:11:14 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 38 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.15972447395324707 time for calcul the mask position with numpy : 1.142836093902588 nb_pixel_total : 2009478 time to create 1 rle with new method : 0.23238277435302734 time for calcul the mask position with numpy : 0.006620883941650391 nb_pixel_total : 6300 time to create 1 rle with old method : 0.0075836181640625 time for calcul the mask position with numpy : 0.007124423980712891 nb_pixel_total : 35978 time to create 1 rle with old method : 0.0434873104095459 time for calcul the mask position with numpy : 0.0066051483154296875 nb_pixel_total : 2740 time to create 1 rle with old method : 0.0032520294189453125 time for calcul the mask position with numpy : 0.007006168365478516 nb_pixel_total : 4127 time to create 1 rle with old method : 0.004897117614746094 time for calcul the mask position with numpy : 0.006656169891357422 nb_pixel_total : 8686 time to create 1 rle with old method : 0.011483192443847656 time for calcul the mask position with numpy : 0.008036136627197266 nb_pixel_total : 6291 time to create 1 rle with old method : 0.008873701095581055 create new chi : 1.5089800357818604 time to delete rle : 0.025859594345092773 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2848 TO DO : save crop sub photo not yet done ! save time : 0.20179414749145508 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08240127563476562 time for calcul the mask position with numpy : 0.023066282272338867 nb_pixel_total : 2055304 time to create 1 rle with new method : 0.06199026107788086 time for calcul the mask position with numpy : 0.0058863162994384766 nb_pixel_total : 7353 time to create 1 rle with old method : 0.008130550384521484 time for calcul the mask position with numpy : 0.006122589111328125 nb_pixel_total : 6711 time to create 1 rle with old method : 0.007403373718261719 time for calcul the mask position with numpy : 0.005768537521362305 nb_pixel_total : 4232 time to create 1 rle with old method : 0.004689455032348633 create new chi : 0.12334370613098145 time to delete rle : 0.00023818016052246094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1592 TO DO : save crop sub photo not yet done ! save time : 0.12305831909179688 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03926205635070801 time for calcul the mask position with numpy : 0.019866943359375 nb_pixel_total : 2028550 time to create 1 rle with new method : 0.03856015205383301 time for calcul the mask position with numpy : 0.0059163570404052734 nb_pixel_total : 45050 time to create 1 rle with old method : 0.05000019073486328 create new chi : 0.11463475227355957 time to delete rle : 0.00027561187744140625 batch 1 Loaded 3 chid ids of type : 3594 ++++Number RLEs to save : 2136 TO DO : save crop sub photo not yet done ! save time : 0.14110994338989258 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.061043739318847656 time for calcul the mask position with numpy : 0.35379815101623535 nb_pixel_total : 2054932 time to create 1 rle with new method : 0.07333207130432129 time for calcul the mask position with numpy : 0.005753517150878906 nb_pixel_total : 5431 time to create 1 rle with old method : 0.0063288211822509766 time for calcul the mask position with numpy : 0.0058438777923583984 nb_pixel_total : 6946 time to create 1 rle with old method : 0.007857799530029297 time for calcul the mask position with numpy : 0.005903482437133789 nb_pixel_total : 6291 time to create 1 rle with old method : 0.007029056549072266 create new chi : 0.47501349449157715 time to delete rle : 0.0003097057342529297 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1752 TO DO : save crop sub photo not yet done ! save time : 0.1262052059173584 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.1806349754333496 time for calcul the mask position with numpy : 0.18918323516845703 nb_pixel_total : 1957297 time to create 1 rle with new method : 0.08365988731384277 time for calcul the mask position with numpy : 0.006167888641357422 nb_pixel_total : 5159 time to create 1 rle with old method : 0.006062030792236328 time for calcul the mask position with numpy : 0.006339073181152344 nb_pixel_total : 91084 time to create 1 rle with old method : 0.1094827651977539 time for calcul the mask position with numpy : 0.006556272506713867 nb_pixel_total : 9856 time to create 1 rle with old method : 0.01595926284790039 time for calcul the mask position with numpy : 0.006631612777709961 nb_pixel_total : 3912 time to create 1 rle with old method : 0.0063402652740478516 time for calcul the mask position with numpy : 0.006551504135131836 nb_pixel_total : 6292 time to create 1 rle with old method : 0.010170221328735352 create new chi : 0.4642958641052246 time to delete rle : 0.0005712509155273438 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3020 TO DO : save crop sub photo not yet done ! save time : 0.19144773483276367 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.0892946720123291 time for calcul the mask position with numpy : 0.12786102294921875 nb_pixel_total : 1298850 time to create 1 rle with new method : 0.07137632369995117 time for calcul the mask position with numpy : 0.01360011100769043 nb_pixel_total : 724600 time to create 1 rle with new method : 0.10482573509216309 time for calcul the mask position with numpy : 0.006218433380126953 nb_pixel_total : 26333 time to create 1 rle with old method : 0.03798556327819824 time for calcul the mask position with numpy : 0.0067729949951171875 nb_pixel_total : 13526 time to create 1 rle with old method : 0.021771907806396484 time for calcul the mask position with numpy : 0.0066487789154052734 nb_pixel_total : 10291 time to create 1 rle with old method : 0.01660466194152832 create new chi : 0.4217977523803711 time to delete rle : 0.0006997585296630859 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4128 TO DO : save crop sub photo not yet done ! save time : 0.24948716163635254 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05328202247619629 time for calcul the mask position with numpy : 0.01901531219482422 nb_pixel_total : 2066427 time to create 1 rle with new method : 0.12764596939086914 time for calcul the mask position with numpy : 0.006038188934326172 nb_pixel_total : 7173 time to create 1 rle with old method : 0.008278608322143555 create new chi : 0.16122007369995117 time to delete rle : 0.00021386146545410156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1476 TO DO : save crop sub photo not yet done ! save time : 0.1151893138885498 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05513811111450195 time for calcul the mask position with numpy : 0.026517868041992188 nb_pixel_total : 1981353 time to create 1 rle with new method : 0.1474766731262207 time for calcul the mask position with numpy : 0.006508827209472656 nb_pixel_total : 89027 time to create 1 rle with old method : 0.10268688201904297 time for calcul the mask position with numpy : 0.0062749385833740234 nb_pixel_total : 3220 time to create 1 rle with old method : 0.003760814666748047 create new chi : 0.3006443977355957 time to delete rle : 0.00028061866760253906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1632 TO DO : save crop sub photo not yet done ! save time : 0.12485527992248535 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03356051445007324 time for calcul the mask position with numpy : 0.025821208953857422 nb_pixel_total : 2067459 time to create 1 rle with new method : 0.07085752487182617 time for calcul the mask position with numpy : 0.005921363830566406 nb_pixel_total : 6141 time to create 1 rle with old method : 0.0070285797119140625 create new chi : 0.11575436592102051 time to delete rle : 0.00020766258239746094 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1292 TO DO : save crop sub photo not yet done ! save time : 0.10232424736022949 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08811426162719727 time for calcul the mask position with numpy : 0.05543708801269531 nb_pixel_total : 2049262 time to create 1 rle with new method : 0.14412808418273926 time for calcul the mask position with numpy : 0.006007194519042969 nb_pixel_total : 5253 time to create 1 rle with old method : 0.0059871673583984375 time for calcul the mask position with numpy : 0.005897998809814453 nb_pixel_total : 8426 time to create 1 rle with old method : 0.009310722351074219 time for calcul the mask position with numpy : 0.005921840667724609 nb_pixel_total : 8917 time to create 1 rle with old method : 0.010205268859863281 time for calcul the mask position with numpy : 0.005889177322387695 nb_pixel_total : 1742 time to create 1 rle with old method : 0.0019261837005615234 create new chi : 0.2612428665161133 time to delete rle : 0.00030922889709472656 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1752 TO DO : save crop sub photo not yet done ! save time : 0.12930870056152344 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0416412353515625 time for calcul the mask position with numpy : 0.019002914428710938 nb_pixel_total : 2060177 time to create 1 rle with new method : 0.11609745025634766 time for calcul the mask position with numpy : 0.005907773971557617 nb_pixel_total : 6156 time to create 1 rle with old method : 0.006958961486816406 time for calcul the mask position with numpy : 0.005746126174926758 nb_pixel_total : 7267 time to create 1 rle with old method : 0.008205413818359375 create new chi : 0.16860461235046387 time to delete rle : 0.00026154518127441406 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1558 TO DO : save crop sub photo not yet done ! save time : 0.12254786491394043 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04109001159667969 time for calcul the mask position with numpy : 0.01910233497619629 nb_pixel_total : 2068496 time to create 1 rle with new method : 0.07410979270935059 time for calcul the mask position with numpy : 0.0059087276458740234 nb_pixel_total : 2378 time to create 1 rle with old method : 0.002777099609375 time for calcul the mask position with numpy : 0.0059506893157958984 nb_pixel_total : 2726 time to create 1 rle with old method : 0.003237009048461914 create new chi : 0.11855006217956543 time to delete rle : 0.0002295970916748047 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1324 TO DO : save crop sub photo not yet done ! save time : 0.1088111400604248 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.14622068405151367 time for calcul the mask position with numpy : 0.07099223136901855 nb_pixel_total : 2056786 time to create 1 rle with new method : 0.10939335823059082 time for calcul the mask position with numpy : 0.006260871887207031 nb_pixel_total : 3961 time to create 1 rle with old method : 0.004595041275024414 time for calcul the mask position with numpy : 0.006218433380126953 nb_pixel_total : 8023 time to create 1 rle with old method : 0.009306192398071289 time for calcul the mask position with numpy : 0.006399393081665039 nb_pixel_total : 2927 time to create 1 rle with old method : 0.0035400390625 time for calcul the mask position with numpy : 0.006238222122192383 nb_pixel_total : 1903 time to create 1 rle with old method : 0.0023069381713867188 create new chi : 0.2364025115966797 time to delete rle : 0.0003135204315185547 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1622 TO DO : save crop sub photo not yet done ! save time : 0.13144230842590332 map_output_result : {1391058416: (0.0, 'Should be the crop_list due to order', 0), 1391058281: (0.0, 'Should be the crop_list due to order', 0), 1391058211: (0.0, 'Should be the crop_list due to order', 0), 1391057569: (0.0, 'Should be the crop_list due to order', 0), 1391057567: (0.0, 'Should be the crop_list due to order', 0), 1391057565: (0.0, 'Should be the crop_list due to order', 0), 1391057558: (0.0, 'Should be the crop_list due to order', 0), 1391057520: (0.0, 'Should be the crop_list due to order', 0), 1391057400: (0.0, 'Should be the crop_list due to order', 0), 1391057359: (0.0, 'Should be the crop_list due to order', 0), 1391057303: (0.0, 'Should be the crop_list due to order', 0), 1391057263: (0.0, 'Should be the crop_list due to order', 0), 1391056625: (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 [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] Looping around the photos to save general results len do output : 13 /1391058416.Didn't retrieve data . /1391058281.Didn't retrieve data . /1391058211.Didn't retrieve data . /1391057569.Didn't retrieve data . /1391057567.Didn't retrieve data . /1391057565.Didn't retrieve data . /1391057558.Didn't retrieve data . /1391057520.Didn't retrieve data . /1391057400.Didn't retrieve data . /1391057359.Didn't retrieve data . /1391057303.Didn't retrieve data . /1391057263.Didn't retrieve data . /1391056625.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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.009668588638305664 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.8488078117370605 time spend to save output : 0.01016855239868164 total time spend for step 3 : 7.858976364135742 step4:ventilate_hashtags_in_portfolio Fri Oct 31 14:11:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 28012682 get user id for portfolio 28012682 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`=28012682 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','metal','carton','flou','mal_croppe','background','papier','autre','environnement')) 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`=28012682 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','metal','carton','flou','mal_croppe','background','papier','autre','environnement')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28012682 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','pehd','pet_fonce','metal','carton','flou','mal_croppe','background','papier','autre','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28025683,28025684,28025685,28025686,28025687,28025688,28025689,28025690,28025691,28025692,28025693?tags=pet_clair,pehd,pet_fonce,metal,carton,flou,mal_croppe,background,papier,autre,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] Looping around the photos to save general results len do output : 1 /28012682. 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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.012413501739501953 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6312801837921143 time spend to save output : 0.012686491012573242 total time spend for step 4 : 0.6439666748046875 step5:final Fri Oct 31 14:11:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1391058416: ('0.044605776650047474',), 1391058281: ('0.044605776650047474',), 1391058211: ('0.044605776650047474',), 1391057569: ('0.044605776650047474',), 1391057567: ('0.044605776650047474',), 1391057565: ('0.044605776650047474',), 1391057558: ('0.044605776650047474',), 1391057520: ('0.044605776650047474',), 1391057400: ('0.044605776650047474',), 1391057359: ('0.044605776650047474',), 1391057303: ('0.044605776650047474',), 1391057263: ('0.044605776650047474',), 1391056625: ('0.044605776650047474',)} new output for save of step final : {1391058416: ('0.044605776650047474',), 1391058281: ('0.044605776650047474',), 1391058211: ('0.044605776650047474',), 1391057569: ('0.044605776650047474',), 1391057567: ('0.044605776650047474',), 1391057565: ('0.044605776650047474',), 1391057558: ('0.044605776650047474',), 1391057520: ('0.044605776650047474',), 1391057400: ('0.044605776650047474',), 1391057359: ('0.044605776650047474',), 1391057303: ('0.044605776650047474',), 1391057263: ('0.044605776650047474',), 1391056625: ('0.044605776650047474',)} [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] Looping around the photos to save general results len do output : 13 /1391058416.Didn't retrieve data . /1391058281.Didn't retrieve data . /1391058211.Didn't retrieve data . /1391057569.Didn't retrieve data . /1391057567.Didn't retrieve data . /1391057565.Didn't retrieve data . /1391057558.Didn't retrieve data . /1391057520.Didn't retrieve data . /1391057400.Didn't retrieve data . /1391057359.Didn't retrieve data . /1391057303.Didn't retrieve data . /1391057263.Didn't retrieve data . /1391056625.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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.010339021682739258 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11405587196350098 time spend to save output : 0.011039018630981445 total time spend for step 5 : 0.12509489059448242 step6:blur_detection Fri Oct 31 14:11:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80.jpg resize: (1080, 1920) 1391058416 -3.12714154632914 treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd.jpg resize: (1080, 1920) 1391058281 -0.6303113382850694 treat image : temp/1761916229_1621963_1391058211_26f6cd7dc30e3a04444e0747956bcf4e.jpg resize: (1080, 1920) 1391058211 -0.05156015355790001 treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89.jpg resize: (1080, 1920) 1391057569 -0.5881209970517088 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f.jpg resize: (1080, 1920) 1391057567 -4.307336049997833 treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb.jpg resize: (1080, 1920) 1391057565 2.049647433988053 treat image : temp/1761916229_1621963_1391057558_77d3c37fb5e5b61f9abd92fccc7ff80e.jpg resize: (1080, 1920) 1391057558 -4.167939678700258 treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1.jpg resize: (1080, 1920) 1391057520 1.594434779744435 treat image : temp/1761916229_1621963_1391057400_fbb7202b289d933cd6b2232c78703276.jpg resize: (1080, 1920) 1391057400 -0.28482931125085736 treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106.jpg resize: (1080, 1920) 1391057359 0.8623434261772 treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0.jpg resize: (1080, 1920) 1391057303 -4.042524685035968 treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc.jpg resize: (1080, 1920) 1391057263 -3.9881810977519168 treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495.jpg resize: (1080, 1920) 1391056625 1.5406936867325334 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989532_0.png resize: (173, 100) 1391207822 -2.464119117253278 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989528_0.png resize: (110, 105) 1391207824 -0.6240146846296903 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989530_0.png resize: (71, 54) 1391207825 -2.610057042324328 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989529_0.png resize: (60, 81) 1391207826 -1.6321610499743089 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989527_0.png resize: (111, 101) 1391207827 -1.81256636227108 treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989534_0.png resize: (59, 171) 1391207829 -1.492553959198207 treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989533_0.png resize: (65, 91) 1391207831 -0.018519834029789465 treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989538_0.png resize: (84, 120) 1391207832 -0.6175410247591742 treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989537_0.png resize: (118, 71) 1391207834 1.8008528057269373 treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989539_0.png resize: (126, 108) 1391207835 -1.6210796103698335 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989544_0.png resize: (172, 75) 1391207837 -2.8596748889190327 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989542_0.png resize: (90, 185) 1391207839 -2.0672676017111913 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989541_0.png resize: (57, 86) 1391207840 -0.991125195176739 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989540_0.png resize: (101, 102) 1391207841 -1.5847480126429017 treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989546_0.png resize: (112, 174) 1391207843 -0.42512576636477123 treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989545_0.png resize: (230, 93) 1391207845 -2.4729995516884706 treat image : temp/1761916229_1621963_1391057558_77d3c37fb5e5b61f9abd92fccc7ff80e_rle_crop_4009989549_0.png resize: (175, 82) 1391207846 -2.3822925723793174 treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989551_0.png resize: (197, 635) 1391207847 -0.6700759213436702 treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989550_0.png resize: (57, 82) 1391207849 0.04925692569748219 treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989554_0.png resize: (103, 112) 1391207851 0.35137494002411496 treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989556_0.png resize: (57, 123) 1391207852 0.857255842955054 treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989553_0.png resize: (50, 51) 1391207853 3.337190284606562 treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989557_0.png resize: (100, 108) 1391207855 -1.0409472623403413 treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989558_0.png resize: (113, 130) 1391207857 -1.891786132745116 treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989560_0.png resize: (43, 75) 1391207858 -1.982655272897434 treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989559_0.png resize: (61, 87) 1391207859 -3.1342060204328193 treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989564_0.png resize: (90, 62) 1391207860 0.3530010736497181 treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989561_0.png resize: (63, 42) 1391207863 -0.27113892358698677 treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989535_0.png resize: (130, 121) 1391207873 -1.46390542411463 treat image : temp/1761916229_1621963_1391058211_26f6cd7dc30e3a04444e0747956bcf4e_rle_crop_4009989536_0.png resize: (309, 224) 1391207922 -1.74826553810398 treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989543_0.png resize: (528, 267) 1391207924 0.14134147642165423 treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989548_0.png resize: (974, 1015) 1391207925 0.9706657788427262 treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989547_0.png resize: (164, 207) 1391207926 -1.7938044130246904 treat image : temp/1761916229_1621963_1391057400_fbb7202b289d933cd6b2232c78703276_rle_crop_4009989552_0.png resize: (86, 97) 1391207927 -2.424735426544506 treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989555_0.png resize: (104, 112) 1391207928 -0.0634529636147487 treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989562_0.png resize: (44, 85) 1391207930 0.817877246821844 treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989563_0.png resize: (68, 143) 1391207931 0.36620081310459374 treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989531_0.png resize: (343, 159) 1391207940 -1.0799109025308675 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 : 51 time used for this insertion : 0.01136326789855957 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.011741161346435547 save missing photos in datou_result : time spend for datou_step_exec : 11.278923273086548 time spend to save output : 0.02821040153503418 total time spend for step 6 : 11.307133674621582 step7:brightness Fri Oct 31 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 inside step calcul brightness treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80.jpg treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd.jpg treat image : temp/1761916229_1621963_1391058211_26f6cd7dc30e3a04444e0747956bcf4e.jpg treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89.jpg treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f.jpg treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb.jpg treat image : temp/1761916229_1621963_1391057558_77d3c37fb5e5b61f9abd92fccc7ff80e.jpg treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1.jpg treat image : temp/1761916229_1621963_1391057400_fbb7202b289d933cd6b2232c78703276.jpg treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106.jpg treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0.jpg treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc.jpg treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495.jpg treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989532_0.png treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989528_0.png treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989530_0.png treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989529_0.png treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989527_0.png treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989534_0.png treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989533_0.png treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989538_0.png treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989537_0.png treat image : temp/1761916229_1621963_1391057569_c9e605465e9fa9811fee2297f4b82f89_rle_crop_4009989539_0.png treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989544_0.png treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989542_0.png treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989541_0.png treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989540_0.png treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989546_0.png treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989545_0.png treat image : temp/1761916229_1621963_1391057558_77d3c37fb5e5b61f9abd92fccc7ff80e_rle_crop_4009989549_0.png treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989551_0.png treat image : temp/1761916229_1621963_1391057520_3f89a2c0c2305c7b0036b0adc5d791c1_rle_crop_4009989550_0.png treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989554_0.png treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989556_0.png treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989553_0.png treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989557_0.png treat image : temp/1761916229_1621963_1391057303_dee5b9fdd90f090fe7ff7e474e26dda0_rle_crop_4009989558_0.png treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989560_0.png treat image : temp/1761916229_1621963_1391057263_232fc9df7f66ed3a0a61c627d6ce1efc_rle_crop_4009989559_0.png treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989564_0.png treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989561_0.png treat image : temp/1761916229_1621963_1391058281_ef909e350cb6e1dc453d2f5a85bceddd_rle_crop_4009989535_0.png treat image : temp/1761916229_1621963_1391058211_26f6cd7dc30e3a04444e0747956bcf4e_rle_crop_4009989536_0.png treat image : temp/1761916229_1621963_1391057567_d5d73861e68954aaad804b625aafff8f_rle_crop_4009989543_0.png treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989548_0.png treat image : temp/1761916229_1621963_1391057565_b082b4e00330f196b4431f8c5674b2cb_rle_crop_4009989547_0.png treat image : temp/1761916229_1621963_1391057400_fbb7202b289d933cd6b2232c78703276_rle_crop_4009989552_0.png treat image : temp/1761916229_1621963_1391057359_8adab448a6f5404feac6dca91baa5106_rle_crop_4009989555_0.png treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989562_0.png treat image : temp/1761916229_1621963_1391056625_6f736ad919a4d23597417064993f4495_rle_crop_4009989563_0.png treat image : temp/1761916229_1621963_1391058416_73ed244c2df20a797a8c61fbd0e96b80_rle_crop_4009989531_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 : 51 time used for this insertion : 0.011896610260009766 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.013051986694335938 save missing photos in datou_result : time spend for datou_step_exec : 3.421966314315796 time spend to save output : 0.029880762100219727 total time spend for step 7 : 3.4518470764160156 step8:velours_tree Fri Oct 31 14:11:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.1330571174621582 time spend to save output : 3.4332275390625e-05 total time spend for step 8 : 0.13309144973754883 step9:send_mail_cod Fri Oct 31 14:11:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P28012682_31-10-2025_14_11_38.pdf 28025683 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 .imagette280256831761916298 28025684 imagette280256841761916298 28025685 imagette280256851761916298 28025686 imagette280256861761916298 28025687 change filename to text .imagette280256871761916299 28025688 imagette280256881761916299 28025689 imagette280256891761916299 28025690 imagette280256901761916299 28025691 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette280256911761916299 28025692 change filename to text .imagette280256921761916300 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28012682 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28025683,28025684,28025685,28025686,28025687,28025688,28025689,28025690,28025691,28025692,28025693?tags=pet_clair,pehd,pet_fonce,metal,carton,flou,mal_croppe,background,papier,autre,environnement args[1391058416] : ((1391058416, -3.12714154632914, 492609224), (1391058416, 0.376248824985372, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391058281] : ((1391058281, -0.6303113382850694, 492688767), (1391058281, 0.4834016109390187, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391058211] : ((1391058211, -0.05156015355790001, 492688767), (1391058211, 0.9024251712939556, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057569] : ((1391057569, -0.5881209970517088, 492688767), (1391057569, 0.9226736146310178, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057567] : ((1391057567, -4.307336049997833, 492609224), (1391057567, 0.42429999114473943, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057565] : ((1391057565, 2.049647433988053, 492688767), (1391057565, 1.1004320843127118, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057558] : ((1391057558, -4.167939678700258, 492609224), (1391057558, 0.5486001267983188, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057520] : ((1391057520, 1.594434779744435, 492688767), (1391057520, 0.5242710521920784, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057400] : ((1391057400, -0.28482931125085736, 492688767), (1391057400, 1.0698343440356204, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057359] : ((1391057359, 0.8623434261772, 492688767), (1391057359, 0.5155339386346388, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057303] : ((1391057303, -4.042524685035968, 492609224), (1391057303, 0.4873283407811931, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391057263] : ((1391057263, -3.9881810977519168, 492609224), (1391057263, 0.45504869462128666, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com args[1391056625] : ((1391056625, 1.5406936867325334, 492688767), (1391056625, 0.36737727076786536, 2107752395), '0.044605776650047474') We are sending mail with results at report@fotonower.com refus_total : 0.044605776650047474 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=28012682 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_P28012682_31-10-2025_14_11_38.pdf results_Auto_P28012682_31-10-2025_14_11_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012682_31-10-2025_14_11_38.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','28012682','results_Auto_P28012682_31-10-2025_14_11_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012682_31-10-2025_14_11_38.pdf','pdf','','0.24','0.044605776650047474') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28012682

https://www.fotonower.com/image?json=false&list_photos_id=1391058416
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391058281
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391058211
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057569
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057567
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057565
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.049647433988053)
https://www.fotonower.com/image?json=false&list_photos_id=1391057558
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057520
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.594434779744435)
https://www.fotonower.com/image?json=false&list_photos_id=1391057400
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057359
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057303
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391057263
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391056625
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5406936867325334)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28025683?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28025687?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28025691?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28025692?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012682_31-10-2025_14_11_38.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28025683,28025684,28025685,28025686,28025687,28025688,28025689,28025690,28025691,28025692,28025693?tags=pet_clair,pehd,pet_fonce,metal,carton,flou,mal_croppe,background,papier,autre,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 31 Oct 2025 13:11:42 GMT Content-Length: 0 Connection: close X-Message-Id: zWxcj_DyQ3G6Hz1Xc8YhPg 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 [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] 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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.010913372039794922 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.144607305526733 time spend to save output : 0.011209487915039062 total time spend for step 9 : 4.1558167934417725 step10:split_time_score Fri Oct 31 14:11:42 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31102025 28012682 Nombre de photos uploadées : 13 / 23040 (0%) 31102025 28012682 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 31102025 28012682 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.1682510375976562e-05 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007126331329345703 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2119441032409668 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 = 28006911 order by id desc limit 1 Qualite : 0.043131775655864193 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012680_31-10-2025_12_11_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012680 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`=28012680 AND mptpi.`type`=3594 To do Qualite : 0.01856717785493827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012681_31-10-2025_10_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012681 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`=28012681 AND mptpi.`type`=3594 To do Qualite : 0.044605776650047474 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012682_31-10-2025_14_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012682 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`=28012682 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31102025': {'nb_upload': 13, '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 [1391058416, 1391058281, 1391058211, 1391057569, 1391057567, 1391057565, 1391057558, 1391057520, 1391057400, 1391057359, 1391057303, 1391057263, 1391056625] Looping around the photos to save general results len do output : 1 /28012682Didn'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, '3972456') ('3318', '28012682', '1391058416', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058281', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391058211', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057569', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057567', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057565', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057558', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057520', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057400', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057359', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057303', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391057263', None, None, None, None, None, '3972456') ('3318', None, None, None, None, None, None, None, '3972456') ('3318', '28012682', '1391056625', None, None, None, None, None, '3972456') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.011836767196655273 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8160841464996338 time spend to save output : 0.012136697769165039 total time spend for step 10 : 1.8282208442687988 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 41.47user 20.22system 1:19.52elapsed 77%CPU (0avgtext+0avgdata 2746008maxresident)k 512088inputs+16104outputs (268major+1364768minor)pagefaults 0swaps