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 : 3343761 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 : ['4102353'] with mtr_portfolio_ids : ['28828435'] and first list_photo_ids : [] new path : /proc/3343761/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.9059534072875977 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Nov 24 12:40:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-24 12:40:36.236728: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-24 12:40:36.270740: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-24 12:40:36.476915: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2f10000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-24 12:40:36.476961: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-24 12:40:36.481940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-24 12:40:36.832664: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2beebc70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-24 12:40:36.832719: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-24 12:40:36.834846: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 12:40:36.837289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 12:40:36.867300: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 12:40:36.884460: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 12:40:36.888098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 12:40:36.917454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 12:40:36.921469: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 12:40:36.972308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 12:40:36.973833: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 12:40:36.974226: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 12:40:36.975653: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-24 12:40:36.975671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-24 12:40:36.975680: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-24 12:40:36.977280: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-24 12:40:37.380406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 12:40:37.380527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 12:40:37.380544: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 12:40:37.380561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 12:40:37.380576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 12:40:37.380591: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 12:40:37.380606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 12:40:37.380622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 12:40:37.381783: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 12:40:37.382943: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 12:40:37.382976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 12:40:37.382991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 12:40:37.383006: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 12:40:37.383020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 12:40:37.383034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 12:40:37.383048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 12:40:37.383063: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 12:40:37.384220: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 12:40:37.384254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-24 12:40:37.384261: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-24 12:40:37.384268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-24 12:40:37.385469: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-24 12:40:42.173791: W tensorflow/core/framework/cpu_allocator_impl.cc:81] Allocation of 51380224 exceeds 10% of free system memory. 2025-11-24 12:40:46.171400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 12:40:46.525352: 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 : 20 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 0 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 44.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: 23.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: 41.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: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 11 Detection mask done ! Trying to reset tf kernel 3346035 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 20 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 20 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 : 10998 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'] DEBUG bbox = [375, 1500, 525, 1632] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003414154052734375 nb_pixel_total : 10427 time to create 1 rle with old method : 0.014813423156738281 length of segment : 145 DEBUG bbox = [963, 447, 1077, 552] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 7272 time to create 1 rle with old method : 0.008493900299072266 length of segment : 114 DEBUG bbox = [483, 1479, 1080, 1902] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0021729469299316406 nb_pixel_total : 114020 time to create 1 rle with old method : 0.13345766067504883 length of segment : 543 DEBUG bbox = [438, 879, 663, 1089] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004680156707763672 nb_pixel_total : 23028 time to create 1 rle with old method : 0.026869773864746094 length of segment : 222 DEBUG bbox = [894, 465, 1080, 672] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00036025047302246094 nb_pixel_total : 19789 time to create 1 rle with old method : 0.023773670196533203 length of segment : 171 DEBUG bbox = [3, 1410, 60, 1503] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 3816 time to create 1 rle with old method : 0.004793405532836914 length of segment : 56 DEBUG bbox = [312, 891, 402, 1035] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013947486877441406 nb_pixel_total : 7369 time to create 1 rle with old method : 0.008851051330566406 length of segment : 87 DEBUG bbox = [681, 1530, 807, 1668] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 5978 time to create 1 rle with old method : 0.0071926116943359375 length of segment : 111 DEBUG bbox = [987, 1254, 1077, 1470] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020933151245117188 nb_pixel_total : 9552 time to create 1 rle with old method : 0.011355876922607422 length of segment : 92 DEBUG bbox = [960, 1293, 1065, 1425] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 9317 time to create 1 rle with old method : 0.0108489990234375 length of segment : 91 DEBUG bbox = [0, 1053, 42, 1137] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.341934204101562e-05 nb_pixel_total : 2500 time to create 1 rle with old method : 0.003085613250732422 length of segment : 37 DEBUG bbox = [726, 840, 834, 930] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010943412780761719 nb_pixel_total : 5734 time to create 1 rle with old method : 0.0068628787994384766 length of segment : 103 DEBUG bbox = [471, 1290, 543, 1374] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010204315185546875 nb_pixel_total : 3293 time to create 1 rle with old method : 0.004146099090576172 length of segment : 63 DEBUG bbox = [294, 1437, 453, 1503] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00014400482177734375 nb_pixel_total : 5943 time to create 1 rle with old method : 0.006843090057373047 length of segment : 158 DEBUG bbox = [1029, 783, 1077, 852] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 6.890296936035156e-05 nb_pixel_total : 2403 time to create 1 rle with old method : 0.0030002593994140625 length of segment : 48 DEBUG bbox = [213, 1656, 408, 1818] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002913475036621094 nb_pixel_total : 19885 time to create 1 rle with old method : 0.022893190383911133 length of segment : 195 DEBUG bbox = [438, 1425, 756, 1659] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006120204925537109 nb_pixel_total : 34418 time to create 1 rle with old method : 0.03812384605407715 length of segment : 287 DEBUG bbox = [867, 741, 1014, 822] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 3832 time to create 1 rle with old method : 0.004624366760253906 length of segment : 124 DEBUG bbox = [636, 1158, 702, 1284] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 3092 time to create 1 rle with old method : 0.003980398178100586 length of segment : 84 DEBUG bbox = [816, 1104, 1080, 1518] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0008618831634521484 nb_pixel_total : 64313 time to create 1 rle with old method : 0.07394027709960938 length of segment : 252 DEBUG bbox = [999, 780, 1074, 846] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.465217590332031e-05 nb_pixel_total : 3494 time to create 1 rle with old method : 0.004131793975830078 length of segment : 73 DEBUG bbox = [477, 813, 594, 936] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 5745 time to create 1 rle with old method : 0.007017374038696289 length of segment : 98 DEBUG bbox = [840, 207, 1080, 588] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006301403045654297 nb_pixel_total : 40755 time to create 1 rle with old method : 0.04699897766113281 length of segment : 208 DEBUG bbox = [480, 1287, 543, 1371] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.1552734375e-05 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0036602020263671875 length of segment : 59 DEBUG bbox = [60, 957, 411, 1119] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004925727844238281 nb_pixel_total : 32943 time to create 1 rle with old method : 0.03684639930725098 length of segment : 336 DEBUG bbox = [576, 795, 636, 876] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.131431579589844e-05 nb_pixel_total : 2743 time to create 1 rle with old method : 0.003526926040649414 length of segment : 56 DEBUG bbox = [945, 480, 1029, 570] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010371208190917969 nb_pixel_total : 4523 time to create 1 rle with old method : 0.005535602569580078 length of segment : 73 DEBUG bbox = [690, 1146, 789, 1329] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001728534698486328 nb_pixel_total : 12309 time to create 1 rle with old method : 0.014729976654052734 length of segment : 96 DEBUG bbox = [1023, 633, 1071, 747] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.369850158691406e-05 nb_pixel_total : 4419 time to create 1 rle with old method : 0.00538945198059082 length of segment : 51 DEBUG bbox = [333, 1050, 462, 1191] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002155303955078125 nb_pixel_total : 11671 time to create 1 rle with old method : 0.013968229293823242 length of segment : 125 DEBUG bbox = [915, 750, 1074, 987] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00032901763916015625 nb_pixel_total : 25900 time to create 1 rle with old method : 0.030222654342651367 length of segment : 150 DEBUG bbox = [51, 960, 387, 1134] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004591941833496094 nb_pixel_total : 28371 time to create 1 rle with old method : 0.03270912170410156 length of segment : 322 DEBUG bbox = [30, 942, 459, 1125] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006799697875976562 nb_pixel_total : 38330 time to create 1 rle with old method : 0.043901681900024414 length of segment : 399 DEBUG bbox = [849, 741, 960, 855] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018167495727539062 nb_pixel_total : 6290 time to create 1 rle with old method : 0.007810831069946289 length of segment : 84 DEBUG bbox = [786, 981, 1077, 1434] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0009818077087402344 nb_pixel_total : 60864 time to create 1 rle with old method : 0.06967663764953613 length of segment : 288 DEBUG bbox = [417, 993, 540, 1050] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000110626220703125 nb_pixel_total : 4663 time to create 1 rle with old method : 0.005434513092041016 length of segment : 120 DEBUG bbox = [156, 1071, 276, 1158] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012302398681640625 nb_pixel_total : 7577 time to create 1 rle with old method : 0.009154796600341797 length of segment : 107 DEBUG bbox = [792, 981, 1077, 1413] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0007677078247070312 nb_pixel_total : 42885 time to create 1 rle with old method : 0.05060291290283203 length of segment : 321 DEBUG bbox = [1029, 861, 1074, 930] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 1811 time to create 1 rle with old method : 0.0024051666259765625 length of segment : 39 DEBUG bbox = [837, 1305, 1053, 1566] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005376338958740234 nb_pixel_total : 39345 time to create 1 rle with old method : 0.04548978805541992 length of segment : 230 DEBUG bbox = [9, 1434, 66, 1581] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011730194091796875 nb_pixel_total : 6559 time to create 1 rle with old method : 0.007858753204345703 length of segment : 54 DEBUG bbox = [0, 1695, 126, 1842] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016999244689941406 nb_pixel_total : 4609 time to create 1 rle with old method : 0.005898952484130859 length of segment : 112 DEBUG bbox = [858, 0, 1071, 126] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00024437904357910156 nb_pixel_total : 12696 time to create 1 rle with old method : 0.015403032302856445 length of segment : 194 DEBUG bbox = [918, 972, 1056, 1098] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022363662719726562 nb_pixel_total : 12611 time to create 1 rle with old method : 0.014931440353393555 length of segment : 130 DEBUG bbox = [459, 1536, 1080, 1875] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0011892318725585938 nb_pixel_total : 84308 time to create 1 rle with old method : 0.09607362747192383 length of segment : 493 DEBUG bbox = [897, 324, 1059, 498] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002713203430175781 nb_pixel_total : 14022 time to create 1 rle with old method : 0.016923189163208008 length of segment : 161 DEBUG bbox = [762, 714, 966, 807] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000213623046875 nb_pixel_total : 11322 time to create 1 rle with old method : 0.013833999633789062 length of segment : 196 DEBUG bbox = [6, 1473, 66, 1533] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.534027099609375e-05 nb_pixel_total : 2272 time to create 1 rle with old method : 0.0031681060791015625 length of segment : 57 DEBUG bbox = [852, 882, 1065, 1044] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000484466552734375 nb_pixel_total : 23528 time to create 1 rle with old method : 0.027626991271972656 length of segment : 213 DEBUG bbox = [663, 723, 765, 810] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 4945 time to create 1 rle with old method : 0.006072998046875 length of segment : 94 DEBUG bbox = [0, 1323, 87, 1410] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.012222290039062e-05 nb_pixel_total : 4530 time to create 1 rle with old method : 0.005383014678955078 length of segment : 76 time spent for convertir_results : 2.5561881065368652 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 51 chid ids of type : 3594 Number RLEs to save : 7998 save missing photos in datou_result : time spend for datou_step_exec : 33.679280519485474 time spend to save output : 0.5699770450592041 total time spend for step 1 : 34.24925756454468 step2:crop_condition Mon Nov 24 12:41:06 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 : 20 ! batch 1 Loaded 51 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 ! map_result returned by crop_photo_return_map_crop : length : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763984468_3343761 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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617173_0.png', 0, 111, 145, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617179_0.png', 0, 132, 87, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876034_7105cf60f90905521957aedd07245e74_rle_crop_4043617180_0.png', 0, 125, 111, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875993_a64c496143d7ce91ef05946db09e79f4_rle_crop_4043617181_0.png', 0, 184, 88, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617184_0.png', 0, 87, 103, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617185_0.png', 0, 81, 63, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617186_0.png', 0, 62, 158, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617187_0.png', 0, 61, 47, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617189_0.png', 0, 204, 285, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617190_0.png', 0, 62, 124, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617191_0.png', 0, 121, 56, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617193_0.png', 0, 59, 73, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617195_0.png', 0, 342, 204, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617196_0.png', 0, 78, 59, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617198_0.png', 0, 71, 56, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617199_0.png', 0, 86, 71, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617200_0.png', 0, 172, 95, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617201_0.png', 0, 112, 48, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617203_0.png', 0, 226, 150, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875952_9cfc9cd550c0bbfc7e09b9d26f9697a7_rle_crop_4043617208_0.png', 0, 52, 120, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617211_0.png', 0, 65, 39, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617214_0.png', 0, 139, 112, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617216_0.png', 0, 123, 128, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617219_0.png', 0, 74, 195, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617221_0.png', 0, 148, 211, 0, 1763984473,'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(1763984473), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617222_0.png', 0, 86, 94, 0, 1763984473,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.079388380050659 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763984475_3343761 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(1763984476), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617174_0.png', 0, 96, 114, 0, 1763984476,'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(1763984476), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876038_fda5c1582473f2aebff741b5d3a49ccf_rle_crop_4043617176_0.png', 0, 154, 214, 0, 1763984476,'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(1763984476), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617194_0.png', 0, 92, 98, 0, 1763984476,'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(1763984476), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617202_0.png', 0, 126, 122, 0, 1763984476,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1970086097717285 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763984479_3343761 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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617175_0.png', 0, 352, 540, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617177_0.png', 0, 184, 165, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617178_0.png', 0, 87, 56, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617183_0.png', 0, 81, 37, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617188_0.png', 0, 156, 195, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617192_0.png', 0, 397, 250, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617206_0.png', 0, 107, 82, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617207_0.png', 0, 358, 258, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875949_063f65b3db87b4a1799bd4df9db418ea_rle_crop_4043617209_0.png', 0, 82, 104, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617210_0.png', 0, 384, 218, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617212_0.png', 0, 254, 208, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617213_0.png', 0, 147, 54, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617215_0.png', 0, 108, 194, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875881_859ed0a341bcc8977712242875963e7a_rle_crop_4043617217_0.png', 0, 282, 487, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617218_0.png', 0, 147, 153, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617220_0.png', 0, 55, 57, 0, 1763984481,'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(1763984481), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617223_0.png', 0, 76, 76, 0, 1763984481,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.46921443939209 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1763984483_3343761 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(1763984484), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617182_0.png', 0, 129, 89, 0, 1763984484,'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(1763984484), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617197_0.png', 0, 134, 335, 0, 1763984484,'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(1763984484), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617204_0.png', 0, 133, 321, 0, 1763984484,'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(1763984484), 0.0, 0.0, 14, '', 0, 0, '1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617205_0.png', 0, 144, 399, 0, 1763984484,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.36435866355896 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] Looping around the photos to save general results len do output : 51 /1395887699Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887700Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887701Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887702Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887716Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887717Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887722Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887723Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887724Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887728Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395887752Didn'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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 173 time used for this insertion : 0.030645132064819336 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.921926498413086 time spend to save output : 0.032705068588256836 total time spend for step 2 : 17.954631567001343 step3:rle_unique_nms_with_priority Mon Nov 24 12:41:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 51 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2609250545501709 time for calcul the mask position with numpy : 0.05358624458312988 nb_pixel_total : 1941881 time to create 1 rle with new method : 0.09152817726135254 time for calcul the mask position with numpy : 0.007717132568359375 nb_pixel_total : 114020 time to create 1 rle with old method : 0.12576603889465332 time for calcul the mask position with numpy : 0.005807161331176758 nb_pixel_total : 7272 time to create 1 rle with old method : 0.007949352264404297 time for calcul the mask position with numpy : 0.005666971206665039 nb_pixel_total : 10427 time to create 1 rle with old method : 0.013005256652832031 create new chi : 0.32181453704833984 time to delete rle : 0.03145766258239746 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2684 TO DO : save crop sub photo not yet done ! save time : 0.2376232147216797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0746316909790039 time for calcul the mask position with numpy : 0.07724928855895996 nb_pixel_total : 2050572 time to create 1 rle with new method : 0.13975930213928223 time for calcul the mask position with numpy : 0.0069463253021240234 nb_pixel_total : 23028 time to create 1 rle with old method : 0.02679586410522461 create new chi : 0.25108838081359863 time to delete rle : 0.0002970695495605469 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1524 TO DO : save crop sub photo not yet done ! save time : 0.1660473346710205 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.10756421089172363 time for calcul the mask position with numpy : 0.03525257110595703 nb_pixel_total : 2042626 time to create 1 rle with new method : 0.08655667304992676 time for calcul the mask position with numpy : 0.006551265716552734 nb_pixel_total : 7369 time to create 1 rle with old method : 0.00850987434387207 time for calcul the mask position with numpy : 0.006433010101318359 nb_pixel_total : 3816 time to create 1 rle with old method : 0.004488468170166016 time for calcul the mask position with numpy : 0.007091999053955078 nb_pixel_total : 19789 time to create 1 rle with old method : 0.024622440338134766 create new chi : 0.19118571281433105 time to delete rle : 0.00034689903259277344 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1708 TO DO : save crop sub photo not yet done ! save time : 0.15365958213806152 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03233623504638672 time for calcul the mask position with numpy : 0.019775867462158203 nb_pixel_total : 2067622 time to create 1 rle with new method : 0.1452345848083496 time for calcul the mask position with numpy : 0.006000995635986328 nb_pixel_total : 5978 time to create 1 rle with old method : 0.00709223747253418 create new chi : 0.1858670711517334 time to delete rle : 0.00022912025451660156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1302 TO DO : save crop sub photo not yet done ! save time : 0.1367635726928711 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.09069228172302246 time for calcul the mask position with numpy : 0.11006665229797363 nb_pixel_total : 2064048 time to create 1 rle with new method : 0.07905149459838867 time for calcul the mask position with numpy : 0.006081104278564453 nb_pixel_total : 9552 time to create 1 rle with old method : 0.010721445083618164 create new chi : 0.21550703048706055 time to delete rle : 0.00023984909057617188 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1264 TO DO : save crop sub photo not yet done ! save time : 0.130218505859375 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10161399841308594 time for calcul the mask position with numpy : 0.669954776763916 nb_pixel_total : 2061783 time to create 1 rle with new method : 0.12556195259094238 time for calcul the mask position with numpy : 0.006006956100463867 nb_pixel_total : 2500 time to create 1 rle with old method : 0.0028715133666992188 time for calcul the mask position with numpy : 0.00627899169921875 nb_pixel_total : 9317 time to create 1 rle with old method : 0.010592937469482422 create new chi : 0.8317251205444336 time to delete rle : 0.00024819374084472656 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1336 TO DO : save crop sub photo not yet done ! save time : 0.1450824737548828 No data in photo_id : 1395875984 nb_obj : 9 nb_hashtags : 2 time to prepare the origin masks : 0.3010594844818115 time for calcul the mask position with numpy : 0.056955575942993164 nb_pixel_total : 1930687 time to create 1 rle with new method : 0.08596324920654297 time for calcul the mask position with numpy : 0.0070858001708984375 nb_pixel_total : 64313 time to create 1 rle with old method : 0.07076191902160645 time for calcul the mask position with numpy : 0.006506919860839844 nb_pixel_total : 3092 time to create 1 rle with old method : 0.0038895606994628906 time for calcul the mask position with numpy : 0.005681514739990234 nb_pixel_total : 3832 time to create 1 rle with old method : 0.004194974899291992 time for calcul the mask position with numpy : 0.005977630615234375 nb_pixel_total : 34418 time to create 1 rle with old method : 0.038959503173828125 time for calcul the mask position with numpy : 0.006705045700073242 nb_pixel_total : 19885 time to create 1 rle with old method : 0.023027420043945312 time for calcul the mask position with numpy : 0.0067098140716552734 nb_pixel_total : 2403 time to create 1 rle with old method : 0.0039348602294921875 time for calcul the mask position with numpy : 0.0066089630126953125 nb_pixel_total : 5943 time to create 1 rle with old method : 0.009636163711547852 time for calcul the mask position with numpy : 0.006468772888183594 nb_pixel_total : 3293 time to create 1 rle with old method : 0.005334138870239258 time for calcul the mask position with numpy : 0.006808042526245117 nb_pixel_total : 5734 time to create 1 rle with old method : 0.009301185607910156 create new chi : 0.38048577308654785 time to delete rle : 0.0006890296936035156 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3708 TO DO : save crop sub photo not yet done ! save time : 0.2897346019744873 nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 0.09873557090759277 time for calcul the mask position with numpy : 0.09084439277648926 nb_pixel_total : 1972444 time to create 1 rle with new method : 0.07831764221191406 time for calcul the mask position with numpy : 0.006364107131958008 nb_pixel_total : 12309 time to create 1 rle with old method : 0.014126300811767578 time for calcul the mask position with numpy : 0.006273984909057617 nb_pixel_total : 170 time to create 1 rle with old method : 0.0002186298370361328 time for calcul the mask position with numpy : 0.005958080291748047 nb_pixel_total : 2743 time to create 1 rle with old method : 0.0032393932342529297 time for calcul the mask position with numpy : 0.006154060363769531 nb_pixel_total : 32943 time to create 1 rle with old method : 0.037531137466430664 time for calcul the mask position with numpy : 0.008916854858398438 nb_pixel_total : 2997 time to create 1 rle with old method : 0.006037235260009766 time for calcul the mask position with numpy : 0.0061986446380615234 nb_pixel_total : 40755 time to create 1 rle with old method : 0.04597330093383789 time for calcul the mask position with numpy : 0.005851268768310547 nb_pixel_total : 5745 time to create 1 rle with old method : 0.006421804428100586 time for calcul the mask position with numpy : 0.006016969680786133 nb_pixel_total : 3494 time to create 1 rle with old method : 0.0040705204010009766 create new chi : 0.3494889736175537 time to delete rle : 0.0004436969757080078 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 2975 TO DO : save crop sub photo not yet done ! save time : 0.22542595863342285 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.05479598045349121 time for calcul the mask position with numpy : 0.018595218658447266 nb_pixel_total : 2003239 time to create 1 rle with new method : 0.09910988807678223 time for calcul the mask position with numpy : 0.007153749465942383 nb_pixel_total : 28371 time to create 1 rle with old method : 0.03162240982055664 time for calcul the mask position with numpy : 0.0062558650970458984 nb_pixel_total : 25900 time to create 1 rle with old method : 0.02903890609741211 time for calcul the mask position with numpy : 0.0058786869049072266 nb_pixel_total : 11671 time to create 1 rle with old method : 0.013301849365234375 time for calcul the mask position with numpy : 0.0061779022216796875 nb_pixel_total : 4419 time to create 1 rle with old method : 0.005067348480224609 create new chi : 0.22272086143493652 time to delete rle : 0.0003936290740966797 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2376 TO DO : save crop sub photo not yet done ! save time : 0.20038080215454102 No data in photo_id : 1395875961 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05887317657470703 time for calcul the mask position with numpy : 0.02011585235595703 nb_pixel_total : 1968116 time to create 1 rle with new method : 0.033016204833984375 time for calcul the mask position with numpy : 0.0061986446380615234 nb_pixel_total : 60864 time to create 1 rle with old method : 0.06952857971191406 time for calcul the mask position with numpy : 0.006314277648925781 nb_pixel_total : 6290 time to create 1 rle with old method : 0.007176399230957031 time for calcul the mask position with numpy : 0.006392717361450195 nb_pixel_total : 38330 time to create 1 rle with old method : 0.04400038719177246 create new chi : 0.19321084022521973 time to delete rle : 0.00042557716369628906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2622 TO DO : save crop sub photo not yet done ! save time : 0.22466778755187988 No data in photo_id : 1395875954 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.049721717834472656 time for calcul the mask position with numpy : 0.019549131393432617 nb_pixel_total : 2068937 time to create 1 rle with new method : 0.15166044235229492 time for calcul the mask position with numpy : 0.005904197692871094 nb_pixel_total : 4663 time to create 1 rle with old method : 0.005072593688964844 create new chi : 0.189347505569458 time to delete rle : 0.000255584716796875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1320 TO DO : save crop sub photo not yet done ! save time : 0.12467169761657715 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04467463493347168 time for calcul the mask position with numpy : 0.13417673110961914 nb_pixel_total : 2066023 time to create 1 rle with new method : 0.0760951042175293 time for calcul the mask position with numpy : 0.006421566009521484 nb_pixel_total : 7577 time to create 1 rle with old method : 0.009124279022216797 create new chi : 0.23928093910217285 time to delete rle : 0.0002219676971435547 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1294 TO DO : save crop sub photo not yet done ! save time : 0.13178563117980957 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.08562827110290527 time for calcul the mask position with numpy : 0.05951499938964844 nb_pixel_total : 2028904 time to create 1 rle with new method : 0.09822916984558105 time for calcul the mask position with numpy : 0.008613109588623047 nb_pixel_total : 1811 time to create 1 rle with old method : 0.0021772384643554688 time for calcul the mask position with numpy : 0.010193586349487305 nb_pixel_total : 42885 time to create 1 rle with old method : 0.04836249351501465 create new chi : 0.23835349082946777 time to delete rle : 0.0004107952117919922 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1800 TO DO : save crop sub photo not yet done ! save time : 0.15893077850341797 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.9951629638671875 time for calcul the mask position with numpy : 0.08931899070739746 nb_pixel_total : 1997780 time to create 1 rle with new method : 0.08684086799621582 time for calcul the mask position with numpy : 0.006140232086181641 nb_pixel_total : 12611 time to create 1 rle with old method : 0.014285564422607422 time for calcul the mask position with numpy : 0.006203413009643555 nb_pixel_total : 12696 time to create 1 rle with old method : 0.014657974243164062 time for calcul the mask position with numpy : 0.006136417388916016 nb_pixel_total : 4609 time to create 1 rle with old method : 0.005328655242919922 time for calcul the mask position with numpy : 0.005987644195556641 nb_pixel_total : 6559 time to create 1 rle with old method : 0.007556438446044922 time for calcul the mask position with numpy : 0.006576061248779297 nb_pixel_total : 39345 time to create 1 rle with old method : 0.0466618537902832 create new chi : 0.3052403926849365 time to delete rle : 0.00042891502380371094 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2520 TO DO : save crop sub photo not yet done ! save time : 0.22375273704528809 No data in photo_id : 1395875884 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03899812698364258 time for calcul the mask position with numpy : 0.01828145980834961 nb_pixel_total : 1989292 time to create 1 rle with new method : 0.028326988220214844 time for calcul the mask position with numpy : 0.006574392318725586 nb_pixel_total : 84308 time to create 1 rle with old method : 0.09465336799621582 create new chi : 0.14815568923950195 time to delete rle : 0.00032639503479003906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2066 TO DO : save crop sub photo not yet done ! save time : 0.18774747848510742 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.1151432991027832 time for calcul the mask position with numpy : 0.058493614196777344 nb_pixel_total : 2012981 time to create 1 rle with new method : 0.08629345893859863 time for calcul the mask position with numpy : 0.010266304016113281 nb_pixel_total : 4530 time to create 1 rle with old method : 0.008248329162597656 time for calcul the mask position with numpy : 0.008758068084716797 nb_pixel_total : 4945 time to create 1 rle with old method : 0.0073778629302978516 time for calcul the mask position with numpy : 0.006345987319946289 nb_pixel_total : 23528 time to create 1 rle with old method : 0.02849125862121582 time for calcul the mask position with numpy : 0.006528377532958984 nb_pixel_total : 2272 time to create 1 rle with old method : 0.0027208328247070312 time for calcul the mask position with numpy : 0.006580352783203125 nb_pixel_total : 11322 time to create 1 rle with old method : 0.013025283813476562 time for calcul the mask position with numpy : 0.0061762332916259766 nb_pixel_total : 14022 time to create 1 rle with old method : 0.0159759521484375 create new chi : 0.2809164524078369 time to delete rle : 0.00047278404235839844 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 2674 TO DO : save crop sub photo not yet done ! save time : 0.21760892868041992 map_output_result : {1395876041: (0.0, 'Should be the crop_list due to order', 0), 1395876038: (0.0, 'Should be the crop_list due to order', 0), 1395876036: (0.0, 'Should be the crop_list due to order', 0), 1395876034: (0.0, 'Should be the crop_list due to order', 0), 1395875993: (0.0, 'Should be the crop_list due to order', 0), 1395875991: (0.0, 'Should be the crop_list due to order', 0), 1395875984: (0.0, 'Should be the crop_list due to order', 0.0), 1395875982: (0.0, 'Should be the crop_list due to order', 0), 1395875979: (0.0, 'Should be the crop_list due to order', 0), 1395875976: (0.0, 'Should be the crop_list due to order', 0), 1395875961: (0.0, 'Should be the crop_list due to order', 0.0), 1395875958: (0.0, 'Should be the crop_list due to order', 0), 1395875954: (0.0, 'Should be the crop_list due to order', 0.0), 1395875952: (0.0, 'Should be the crop_list due to order', 0), 1395875949: (0.0, 'Should be the crop_list due to order', 0), 1395875945: (0.0, 'Should be the crop_list due to order', 0), 1395875898: (0.0, 'Should be the crop_list due to order', 0), 1395875884: (0.0, 'Should be the crop_list due to order', 0.0), 1395875881: (0.0, 'Should be the crop_list due to order', 0), 1395875806: (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 [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] Looping around the photos to save general results len do output : 20 /1395876041.Didn't retrieve data . /1395876038.Didn't retrieve data . /1395876036.Didn't retrieve data . /1395876034.Didn't retrieve data . /1395875993.Didn't retrieve data . /1395875991.Didn't retrieve data . /1395875984.Didn't retrieve data . /1395875982.Didn't retrieve data . /1395875979.Didn't retrieve data . /1395875976.Didn't retrieve data . /1395875961.Didn't retrieve data . /1395875958.Didn't retrieve data . /1395875954.Didn't retrieve data . /1395875952.Didn't retrieve data . /1395875949.Didn't retrieve data . /1395875945.Didn't retrieve data . /1395875898.Didn't retrieve data . /1395875884.Didn't retrieve data . /1395875881.Didn't retrieve data . /1395875806.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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.01897740364074707 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.5468270778656 time spend to save output : 0.019629478454589844 total time spend for step 3 : 10.56645655632019 step4:ventilate_hashtags_in_portfolio Mon Nov 24 12:41:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28828435 get user id for portfolio 28828435 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`=28828435 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','environnement','pet_fonce','mal_croppe','carton','papier','background','metal','flou')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28828435 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','environnement','pet_fonce','mal_croppe','carton','papier','background','metal','flou')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28828435 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pet_clair','pehd','environnement','pet_fonce','mal_croppe','carton','papier','background','metal','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28829834,28829835,28829836,28829837,28829838,28829839,28829840,28829841,28829842,28829843,28829844?tags=autre,pet_clair,pehd,environnement,pet_fonce,mal_croppe,carton,papier,background,metal,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] Looping around the photos to save general results len do output : 1 /28828435. 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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.019800424575805664 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0144143104553223 time spend to save output : 0.02013373374938965 total time spend for step 4 : 2.034548044204712 step5:final Mon Nov 24 12:41:37 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 : {1395876041: ('0.021958550347222217',), 1395876038: ('0.021958550347222217',), 1395876036: ('0.021958550347222217',), 1395876034: ('0.021958550347222217',), 1395875993: ('0.021958550347222217',), 1395875991: ('0.021958550347222217',), 1395875984: ('0.021958550347222217',), 1395875982: ('0.021958550347222217',), 1395875979: ('0.021958550347222217',), 1395875976: ('0.021958550347222217',), 1395875961: ('0.021958550347222217',), 1395875958: ('0.021958550347222217',), 1395875954: ('0.021958550347222217',), 1395875952: ('0.021958550347222217',), 1395875949: ('0.021958550347222217',), 1395875945: ('0.021958550347222217',), 1395875898: ('0.021958550347222217',), 1395875884: ('0.021958550347222217',), 1395875881: ('0.021958550347222217',), 1395875806: ('0.021958550347222217',)} new output for save of step final : {1395876041: ('0.021958550347222217',), 1395876038: ('0.021958550347222217',), 1395876036: ('0.021958550347222217',), 1395876034: ('0.021958550347222217',), 1395875993: ('0.021958550347222217',), 1395875991: ('0.021958550347222217',), 1395875984: ('0.021958550347222217',), 1395875982: ('0.021958550347222217',), 1395875979: ('0.021958550347222217',), 1395875976: ('0.021958550347222217',), 1395875961: ('0.021958550347222217',), 1395875958: ('0.021958550347222217',), 1395875954: ('0.021958550347222217',), 1395875952: ('0.021958550347222217',), 1395875949: ('0.021958550347222217',), 1395875945: ('0.021958550347222217',), 1395875898: ('0.021958550347222217',), 1395875884: ('0.021958550347222217',), 1395875881: ('0.021958550347222217',), 1395875806: ('0.021958550347222217',)} [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] Looping around the photos to save general results len do output : 20 /1395876041.Didn't retrieve data . /1395876038.Didn't retrieve data . /1395876036.Didn't retrieve data . /1395876034.Didn't retrieve data . /1395875993.Didn't retrieve data . /1395875991.Didn't retrieve data . /1395875984.Didn't retrieve data . /1395875982.Didn't retrieve data . /1395875979.Didn't retrieve data . /1395875976.Didn't retrieve data . /1395875961.Didn't retrieve data . /1395875958.Didn't retrieve data . /1395875954.Didn't retrieve data . /1395875952.Didn't retrieve data . /1395875949.Didn't retrieve data . /1395875945.Didn't retrieve data . /1395875898.Didn't retrieve data . /1395875884.Didn't retrieve data . /1395875881.Didn't retrieve data . /1395875806.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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.018277645111083984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15868401527404785 time spend to save output : 0.019262313842773438 total time spend for step 5 : 0.1779463291168213 step6:blur_detection Mon Nov 24 12:41:37 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/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab.jpg resize: (1080, 1920) 1395876041 -0.6062744495746428 treat image : temp/1763984429_3343761_1395876038_fda5c1582473f2aebff741b5d3a49ccf.jpg resize: (1080, 1920) 1395876038 0.44366417051877505 treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e.jpg resize: (1080, 1920) 1395876036 2.2399734731275367 treat image : temp/1763984429_3343761_1395876034_7105cf60f90905521957aedd07245e74.jpg resize: (1080, 1920) 1395876034 -3.790727792398124 treat image : temp/1763984429_3343761_1395875993_a64c496143d7ce91ef05946db09e79f4.jpg resize: (1080, 1920) 1395875993 0.2486200261155366 treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663.jpg resize: (1080, 1920) 1395875991 -2.7939261124990376 treat image : temp/1763984429_3343761_1395875984_b0d2673eaf0789f47113f20b83e30b2b.jpg resize: (1080, 1920) 1395875984 2.8795818350914795 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722.jpg resize: (1080, 1920) 1395875982 -1.7734052846246944 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac.jpg resize: (1080, 1920) 1395875979 -2.153770458622943 treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a.jpg resize: (1080, 1920) 1395875976 -0.9270789519209622 treat image : temp/1763984429_3343761_1395875961_411c042f9ff50430804883e31e3169f5.jpg resize: (1080, 1920) 1395875961 1.3573924799965138 treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b.jpg resize: (1080, 1920) 1395875958 -3.4509595464422103 treat image : temp/1763984429_3343761_1395875954_9c7b165dea40c12feecd8b2e22026bc9.jpg resize: (1080, 1920) 1395875954 0.03177574124183196 treat image : temp/1763984429_3343761_1395875952_9cfc9cd550c0bbfc7e09b9d26f9697a7.jpg resize: (1080, 1920) 1395875952 -0.4103216422247055 treat image : temp/1763984429_3343761_1395875949_063f65b3db87b4a1799bd4df9db418ea.jpg resize: (1080, 1920) 1395875949 0.5875223911322532 treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037.jpg resize: (1080, 1920) 1395875945 0.028680974188620447 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33.jpg resize: (1080, 1920) 1395875898 -1.8905103996144175 treat image : temp/1763984429_3343761_1395875884_b3399fafbb3b4d614d09f269467868ad.jpg resize: (1080, 1920) 1395875884 -0.21215978414235048 treat image : temp/1763984429_3343761_1395875881_859ed0a341bcc8977712242875963e7a.jpg resize: (1080, 1920) 1395875881 -0.18415507957327687 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e.jpg resize: (1080, 1920) 1395875806 -0.45937968644626426 treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617173_0.png resize: (145, 111) 1395887699 -1.3887372973668026 treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617179_0.png resize: (87, 132) 1395887700 -2.132509210043037 treat image : temp/1763984429_3343761_1395876034_7105cf60f90905521957aedd07245e74_rle_crop_4043617180_0.png resize: (111, 125) 1395887701 -3.322221232743945 treat image : temp/1763984429_3343761_1395875993_a64c496143d7ce91ef05946db09e79f4_rle_crop_4043617181_0.png resize: (88, 184) 1395887702 -3.1878283733204493 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617184_0.png resize: (103, 87) 1395887703 -0.14288402509225862 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617185_0.png resize: (63, 81) 1395887704 -1.250972715706449 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617186_0.png resize: (158, 62) 1395887705 -2.0680136709644894 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617187_0.png resize: (47, 61) 1395887706 -0.6705949557392311 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617189_0.png resize: (285, 204) 1395887707 -1.4828587761956373 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617190_0.png resize: (124, 62) 1395887708 -2.9757902689633235 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617191_0.png resize: (56, 121) 1395887709 -2.333524243072543 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617193_0.png resize: (73, 59) 1395887710 0.004541473176134697 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617195_0.png resize: (204, 342) 1395887711 -1.357220934698882 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617196_0.png resize: (59, 78) 1395887712 -1.0198935191288452 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617198_0.png resize: (56, 71) 1395887713 2.288286877215281 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617199_0.png resize: (71, 86) 1395887714 -0.9546315011072248 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617200_0.png resize: (95, 172) 1395887715 -0.07014788476182203 treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617201_0.png resize: (48, 112) 1395887716 -0.6622200431800277 treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617203_0.png resize: (150, 226) 1395887717 -2.698419251986298 treat image : temp/1763984429_3343761_1395875952_9cfc9cd550c0bbfc7e09b9d26f9697a7_rle_crop_4043617208_0.png resize: (120, 52) 1395887718 -0.0020790478163971076 treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617211_0.png resize: (39, 65) 1395887719 2.02505280658339 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617214_0.png resize: (112, 139) 1395887720 -2.4996126847036333 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617216_0.png resize: (128, 123) 1395887721 -3.945530966301873 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617219_0.png resize: (195, 74) 1395887722 -6.081045566636634 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617221_0.png resize: (211, 148) 1395887723 -0.379937541380215 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617222_0.png resize: (94, 86) 1395887724 -1.1607067789916272 treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617174_0.png resize: (114, 96) 1395887725 -1.48096390287193 treat image : temp/1763984429_3343761_1395876038_fda5c1582473f2aebff741b5d3a49ccf_rle_crop_4043617176_0.png resize: (214, 154) 1395887726 -1.2787853688695712 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617194_0.png resize: (98, 92) 1395887727 -1.705990326838715 treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617202_0.png resize: (122, 126) 1395887728 -0.43631248352594276 treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617175_0.png resize: (540, 352) 1395887731 0.2909726351245168 treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617177_0.png resize: (165, 184) 1395887732 -0.7661328885472337 treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617178_0.png resize: (56, 87) 1395887733 0.057541092259499764 treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617183_0.png resize: (37, 81) 1395887734 4.571745662430549 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617188_0.png resize: (195, 156) 1395887735 -2.4749847437648635 treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617192_0.png resize: (250, 397) 1395887736 -2.709299277322625 treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617206_0.png resize: (82, 107) 1395887737 -4.935536583038094 treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617207_0.png resize: (258, 358) 1395887738 -4.207575647203349 treat image : temp/1763984429_3343761_1395875949_063f65b3db87b4a1799bd4df9db418ea_rle_crop_4043617209_0.png resize: (104, 82) 1395887739 -1.9621429404472035 treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617210_0.png resize: (218, 384) 1395887740 -1.7469252660086318 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617212_0.png resize: (208, 254) 1395887741 -1.203918265409995 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617213_0.png resize: (54, 147) 1395887742 -0.10956282040031047 treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617215_0.png resize: (194, 108) 1395887743 -0.654305636423229 treat image : temp/1763984429_3343761_1395875881_859ed0a341bcc8977712242875963e7a_rle_crop_4043617217_0.png resize: (487, 282) 1395887744 0.282378964521495 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617218_0.png resize: (153, 147) 1395887745 -2.6659248788482124 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617220_0.png resize: (57, 55) 1395887746 0.2901374800889054 treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617223_0.png resize: (76, 76) 1395887747 -1.1135144660234573 treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617182_0.png resize: (89, 129) 1395887749 0.584639284261408 treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617197_0.png resize: (335, 134) 1395887750 -0.9546596362272758 treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617204_0.png resize: (321, 133) 1395887751 -1.153986780657 treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617205_0.png resize: (399, 144) 1395887752 -1.0551751868517394 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 : 71 time used for this insertion : 0.018215417861938477 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 71 time used for this insertion : 0.018709897994995117 save missing photos in datou_result : time spend for datou_step_exec : 15.814875364303589 time spend to save output : 0.04270601272583008 total time spend for step 6 : 15.857581377029419 step7:brightness Mon Nov 24 12:41:53 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/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab.jpg treat image : temp/1763984429_3343761_1395876038_fda5c1582473f2aebff741b5d3a49ccf.jpg treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e.jpg treat image : temp/1763984429_3343761_1395876034_7105cf60f90905521957aedd07245e74.jpg treat image : temp/1763984429_3343761_1395875993_a64c496143d7ce91ef05946db09e79f4.jpg treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663.jpg treat image : temp/1763984429_3343761_1395875984_b0d2673eaf0789f47113f20b83e30b2b.jpg treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722.jpg treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac.jpg treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a.jpg treat image : temp/1763984429_3343761_1395875961_411c042f9ff50430804883e31e3169f5.jpg treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b.jpg treat image : temp/1763984429_3343761_1395875954_9c7b165dea40c12feecd8b2e22026bc9.jpg treat image : temp/1763984429_3343761_1395875952_9cfc9cd550c0bbfc7e09b9d26f9697a7.jpg treat image : temp/1763984429_3343761_1395875949_063f65b3db87b4a1799bd4df9db418ea.jpg treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037.jpg treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33.jpg treat image : temp/1763984429_3343761_1395875884_b3399fafbb3b4d614d09f269467868ad.jpg treat image : temp/1763984429_3343761_1395875881_859ed0a341bcc8977712242875963e7a.jpg treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e.jpg treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617173_0.png treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617179_0.png treat image : temp/1763984429_3343761_1395876034_7105cf60f90905521957aedd07245e74_rle_crop_4043617180_0.png treat image : temp/1763984429_3343761_1395875993_a64c496143d7ce91ef05946db09e79f4_rle_crop_4043617181_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617184_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617185_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617186_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617187_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617189_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617190_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617191_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617193_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617195_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617196_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617198_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617199_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617200_0.png treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617201_0.png treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617203_0.png treat image : temp/1763984429_3343761_1395875952_9cfc9cd550c0bbfc7e09b9d26f9697a7_rle_crop_4043617208_0.png treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617211_0.png treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617214_0.png treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617216_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617219_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617221_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617222_0.png treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617174_0.png treat image : temp/1763984429_3343761_1395876038_fda5c1582473f2aebff741b5d3a49ccf_rle_crop_4043617176_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617194_0.png treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617202_0.png treat image : temp/1763984429_3343761_1395876041_15eaf89f09aab3e8b5006120df9f6bab_rle_crop_4043617175_0.png treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617177_0.png treat image : temp/1763984429_3343761_1395876036_c7a2132154cacb588b35c7309e1f981e_rle_crop_4043617178_0.png treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617183_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617188_0.png treat image : temp/1763984429_3343761_1395875982_fd5707db6fe32f38934c329a44874722_rle_crop_4043617192_0.png treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617206_0.png treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617207_0.png treat image : temp/1763984429_3343761_1395875949_063f65b3db87b4a1799bd4df9db418ea_rle_crop_4043617209_0.png treat image : temp/1763984429_3343761_1395875945_8c6381b9821a2d57e2a3b4d5947a6037_rle_crop_4043617210_0.png treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617212_0.png treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617213_0.png treat image : temp/1763984429_3343761_1395875898_a3fcf0ba9f5d5929ed864ea1f9320a33_rle_crop_4043617215_0.png treat image : temp/1763984429_3343761_1395875881_859ed0a341bcc8977712242875963e7a_rle_crop_4043617217_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617218_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617220_0.png treat image : temp/1763984429_3343761_1395875806_dafd895382a35915bea2a47b14a5a79e_rle_crop_4043617223_0.png treat image : temp/1763984429_3343761_1395875991_7042ba0c5e276acee7c337a8b22af663_rle_crop_4043617182_0.png treat image : temp/1763984429_3343761_1395875979_947e51b388951260f24ca94f2ea7c9ac_rle_crop_4043617197_0.png treat image : temp/1763984429_3343761_1395875976_968d2d03ddc1fb9098b694cf9c8da51a_rle_crop_4043617204_0.png treat image : temp/1763984429_3343761_1395875958_5a22abd5b0f1374912cfbf47c7d4496b_rle_crop_4043617205_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 : 71 time used for this insertion : 0.019119977951049805 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 71 time used for this insertion : 0.016538143157958984 save missing photos in datou_result : time spend for datou_step_exec : 4.436434030532837 time spend to save output : 0.041483163833618164 total time spend for step 7 : 4.477917194366455 step8:velours_tree Mon Nov 24 12:41:57 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.2500481605529785 time spend to save output : 0.07293081283569336 total time spend for step 8 : 0.3229789733886719 step9:send_mail_cod Mon Nov 24 12:41:57 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_P28828435_24-11-2025_12_41_57.pdf 28829834 change filename to text .change filename to text .change filename to text .change filename to text .imagette288298341763984517 28829835 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 .imagette288298351763984518 28829836 imagette288298361763984519 28829838 imagette288298381763984519 28829839 imagette288298391763984519 28829840 change filename to text .change filename to text .change filename to text .change filename to text .imagette288298401763984519 28829841 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 .imagette288298411763984519 28829842 imagette288298421763984521 28829843 imagette288298431763984521 28829844 imagette288298441763984521 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28828435 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28829834,28829835,28829836,28829837,28829838,28829839,28829840,28829841,28829842,28829843,28829844?tags=autre,pet_clair,pehd,environnement,pet_fonce,mal_croppe,carton,papier,background,metal,flou args[1395876041] : ((1395876041, -0.6062744495746428, 492688767), (1395876041, 0.45732375434421657, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395876038] : ((1395876038, 0.44366417051877505, 492688767), (1395876038, 0.7212780859125714, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395876036] : ((1395876036, 2.2399734731275367, 492688767), (1395876036, 0.6022133137985647, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395876034] : ((1395876034, -3.790727792398124, 492609224), (1395876034, 0.36962538134704165, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875993] : ((1395875993, 0.2486200261155366, 492688767), (1395875993, 0.6400845273299423, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875991] : ((1395875991, -2.7939261124990376, 492609224), (1395875991, 0.35068189600040495, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875984] : ((1395875984, 2.8795818350914795, 492688767), (1395875984, 0.31077879338759784, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875982] : ((1395875982, -1.7734052846246944, 492688767), (1395875982, 0.4645586572550388, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875979] : ((1395875979, -2.153770458622943, 492609224), (1395875979, 0.338210851664309, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875976] : ((1395875976, -0.9270789519209622, 492688767), (1395875976, 0.6372694674353282, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875961] : ((1395875961, 1.3573924799965138, 492688767), (1395875961, 0.7909664600146573, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875958] : ((1395875958, -3.4509595464422103, 492609224), (1395875958, 0.36512877045083864, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875954] : ((1395875954, 0.03177574124183196, 492688767), (1395875954, 0.5974845766816246, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875952] : ((1395875952, -0.4103216422247055, 492688767), (1395875952, 1.1137624616041721, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875949] : ((1395875949, 0.5875223911322532, 492688767), (1395875949, 1.0551046714595684, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875945] : ((1395875945, 0.028680974188620447, 492688767), (1395875945, 0.8345941434768424, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875898] : ((1395875898, -1.8905103996144175, 492688767), (1395875898, 0.2843180071510655, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875884] : ((1395875884, -0.21215978414235048, 492688767), (1395875884, 0.7220407222038746, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875881] : ((1395875881, -0.18415507957327687, 492688767), (1395875881, 0.8173158883874398, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com args[1395875806] : ((1395875806, -0.45937968644626426, 492688767), (1395875806, 0.49012177879198493, 2107752395), '0.021958550347222217') We are sending mail with results at report@fotonower.com refus_total : 0.021958550347222217 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=28828435 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_P28828435_24-11-2025_12_41_57.pdf results_Auto_P28828435_24-11-2025_12_41_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828435_24-11-2025_12_41_57.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','28828435','results_Auto_P28828435_24-11-2025_12_41_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828435_24-11-2025_12_41_57.pdf','pdf','','0.28','0.021958550347222217') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28828435

https://www.fotonower.com/image?json=false&list_photos_id=1395876041
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395876038
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395876036
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.2399734731275367)
https://www.fotonower.com/image?json=false&list_photos_id=1395876034
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875993
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875991
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875984
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.8795818350914795)
https://www.fotonower.com/image?json=false&list_photos_id=1395875982
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875979
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875976
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875961
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3573924799965138)
https://www.fotonower.com/image?json=false&list_photos_id=1395875958
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875954
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875952
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875949
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875945
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875898
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875884
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875881
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395875806
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/28829834?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28829835?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28829840?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28829841?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828435_24-11-2025_12_41_57.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28829834,28829835,28829836,28829837,28829838,28829839,28829840,28829841,28829842,28829843,28829844?tags=autre,pet_clair,pehd,environnement,pet_fonce,mal_croppe,carton,papier,background,metal,flou.


L'équipe Fotonower 202 b'' Date: Mon, 24 Nov 2025 11:42:03 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: OPqVaAhJQ2yfylT3HpWQ7Q 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 [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] 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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016527652740478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.243969440460205 time spend to save output : 0.016928911209106445 total time spend for step 9 : 5.2608983516693115 step10:split_time_score Mon Nov 24 12:42:03 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'}] (('10', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24112025 28828435 Nombre de photos uploadées : 20 / 23040 (0%) 24112025 28828435 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 24112025 28828435 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009381771087646484 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2447199821472168 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 = 28828426 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828428 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828431 order by id desc limit 1 Qualite : 0.25237177426268853 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828433_24-11-2025_12_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828433 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`=28828433 AND mptpi.`type`=3594 To do Qualite : 0.021958550347222217 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828435_24-11-2025_12_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828435 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`=28828435 AND mptpi.`type`=3594 To do Qualite : 0.05147855581275721 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828444_24-11-2025_12_11_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828444 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`=28828444 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24112025': {'nb_upload': 20, '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 [1395876041, 1395876038, 1395876036, 1395876034, 1395875993, 1395875991, 1395875984, 1395875982, 1395875979, 1395875976, 1395875961, 1395875958, 1395875954, 1395875952, 1395875949, 1395875945, 1395875898, 1395875884, 1395875881, 1395875806] Looping around the photos to save general results len do output : 1 /28828435Didn'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, '4102353') ('3318', '28828435', '1395876041', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876038', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876036', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395876034', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875993', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875991', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875984', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875982', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875979', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875976', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875961', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875958', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875954', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875952', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875949', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875945', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875898', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875884', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875881', None, None, None, None, None, '4102353') ('3318', None, None, None, None, None, None, None, '4102353') ('3318', '28828435', '1395875806', None, None, None, None, None, '4102353') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.019278526306152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.310176134109497 time spend to save output : 0.019586563110351562 total time spend for step 10 : 4.329762697219849 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 48.36user 21.65system 1:41.91elapsed 68%CPU (0avgtext+0avgdata 3000208maxresident)k 2388520inputs+20152outputs (9401major+1883941minor)pagefaults 0swaps