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 : 3377228 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 : ['3690680'] with mtr_portfolio_ids : ['26724009'] and first list_photo_ids : [] new path : /proc/3377228/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.5444965362548828 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 Wed Sep 10 17:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10593 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-10 17:40:33.304117: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-10 17:40:33.328776: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-10 17:40:33.330856: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2b6c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-10 17:40:33.330887: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-10 17:40:33.334982: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-10 17:40:33.514599: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x43508290 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-10 17:40:33.514662: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-10 17:40:33.515863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 17:40:33.516816: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 17:40:33.522234: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 17:40:33.524850: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 17:40:33.526365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 17:40:33.531077: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 17:40:33.532360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 17:40:33.538503: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 17:40:33.540045: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 17:40:33.540133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 17:40:33.540949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-10 17:40:33.540970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-10 17:40:33.540980: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-10 17:40:33.542383: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9812 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-10 17:40:33.837124: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 17:40:33.837232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 17:40:33.837263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 17:40:33.837290: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 17:40:33.837319: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 17:40:33.837347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 17:40:33.837372: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 17:40:33.837405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 17:40:33.839094: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 17:40:33.840684: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-10 17:40:33.840728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-10 17:40:33.840757: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 17:40:33.840782: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-10 17:40:33.840808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-10 17:40:33.840836: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-10 17:40:33.840861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-10 17:40:33.840887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-10 17:40:33.842831: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-10 17:40:33.842869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-10 17:40:33.842882: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-10 17:40:33.842894: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-10 17:40:33.844624: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9812 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-10 17:40:42.257369: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-10 17:40:42.464247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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 : 12 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 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 : 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3377792 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4281 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5078 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.00027632713317871094 nb_pixel_total : 9498 time to create 1 rle with old method : 0.01032114028930664 length of segment : 122 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 8305 time to create 1 rle with old method : 0.009223699569702148 length of segment : 106 time for calcul the mask position with numpy : 0.012200355529785156 nb_pixel_total : 633988 time to create 1 rle with new method : 0.043686866760253906 length of segment : 908 time for calcul the mask position with numpy : 0.0001983642578125 nb_pixel_total : 9766 time to create 1 rle with old method : 0.010650157928466797 length of segment : 114 time for calcul the mask position with numpy : 0.0003490447998046875 nb_pixel_total : 8492 time to create 1 rle with old method : 0.0096282958984375 length of segment : 95 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 9943 time to create 1 rle with old method : 0.01136326789855957 length of segment : 93 time for calcul the mask position with numpy : 0.0003631114959716797 nb_pixel_total : 12100 time to create 1 rle with old method : 0.013642072677612305 length of segment : 274 time for calcul the mask position with numpy : 0.0003287792205810547 nb_pixel_total : 20456 time to create 1 rle with old method : 0.026246070861816406 length of segment : 108 time for calcul the mask position with numpy : 0.00033402442932128906 nb_pixel_total : 21244 time to create 1 rle with old method : 0.0256195068359375 length of segment : 112 time for calcul the mask position with numpy : 0.0023217201232910156 nb_pixel_total : 104342 time to create 1 rle with old method : 0.1092979907989502 length of segment : 514 time for calcul the mask position with numpy : 0.0002338886260986328 nb_pixel_total : 11283 time to create 1 rle with old method : 0.012823343276977539 length of segment : 103 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 6057 time to create 1 rle with old method : 0.006994724273681641 length of segment : 73 time for calcul the mask position with numpy : 0.0001800060272216797 nb_pixel_total : 10515 time to create 1 rle with old method : 0.01160573959350586 length of segment : 129 time for calcul the mask position with numpy : 0.00019407272338867188 nb_pixel_total : 9552 time to create 1 rle with old method : 0.010515928268432617 length of segment : 144 time for calcul the mask position with numpy : 0.0028924942016601562 nb_pixel_total : 181711 time to create 1 rle with new method : 0.008490800857543945 length of segment : 451 time for calcul the mask position with numpy : 0.021681547164916992 nb_pixel_total : 1318840 time to create 1 rle with new method : 0.1275310516357422 length of segment : 1460 time for calcul the mask position with numpy : 0.0005657672882080078 nb_pixel_total : 14975 time to create 1 rle with old method : 0.016126155853271484 length of segment : 137 time for calcul the mask position with numpy : 0.00037860870361328125 nb_pixel_total : 11181 time to create 1 rle with old method : 0.012571334838867188 length of segment : 114 time for calcul the mask position with numpy : 0.0005843639373779297 nb_pixel_total : 8888 time to create 1 rle with old method : 0.009861230850219727 length of segment : 157 time for calcul the mask position with numpy : 0.000316619873046875 nb_pixel_total : 3166 time to create 1 rle with old method : 0.003628969192504883 length of segment : 100 time for calcul the mask position with numpy : 0.0005459785461425781 nb_pixel_total : 15647 time to create 1 rle with old method : 0.017243146896362305 length of segment : 183 time for calcul the mask position with numpy : 0.00034046173095703125 nb_pixel_total : 6861 time to create 1 rle with old method : 0.0078012943267822266 length of segment : 79 time for calcul the mask position with numpy : 0.03699946403503418 nb_pixel_total : 1151001 time to create 1 rle with new method : 0.08832955360412598 length of segment : 1396 time for calcul the mask position with numpy : 0.000640869140625 nb_pixel_total : 16032 time to create 1 rle with old method : 0.018578052520751953 length of segment : 156 time for calcul the mask position with numpy : 0.00028443336486816406 nb_pixel_total : 7972 time to create 1 rle with old method : 0.00970911979675293 length of segment : 70 time for calcul the mask position with numpy : 0.0021631717681884766 nb_pixel_total : 92714 time to create 1 rle with old method : 0.10389208793640137 length of segment : 485 time for calcul the mask position with numpy : 0.027016878128051758 nb_pixel_total : 1069791 time to create 1 rle with new method : 0.06168079376220703 length of segment : 1565 time for calcul the mask position with numpy : 0.0004279613494873047 nb_pixel_total : 23546 time to create 1 rle with old method : 0.028034448623657227 length of segment : 119 time spent for convertir_results : 3.1207871437072754 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 9367 save missing photos in datou_result : time spend for datou_step_exec : 27.007999897003174 time spend to save output : 0.5570120811462402 total time spend for step 1 : 27.565011978149414 step2:crop_condition Wed Sep 10 17:40: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! batch 1 Loaded 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757518859_3377228 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.7731523513793945 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757518866_3377228 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9083356857299805 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757518884_3377228 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.655238628387451 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] Looping around the photos to save general results len do output : 28 /1383072318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072328Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072330Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072408Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072409Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072410Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072411Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072412Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072413Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072414Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1383072415Didn'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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 96 time used for this insertion : 0.02019953727722168 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.679032564163208 time spend to save output : 0.02151799201965332 total time spend for step 2 : 30.70055055618286 step3:rle_unique_nms_with_priority Wed Sep 10 17:41:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.547987699508667 time for calcul the mask position with numpy : 0.18368053436279297 nb_pixel_total : 2064102 time to create 1 rle with new method : 0.08337855339050293 time for calcul the mask position with numpy : 0.006178379058837891 nb_pixel_total : 9498 time to create 1 rle with old method : 0.01045680046081543 create new chi : 0.2944674491882324 time to delete rle : 0.028034687042236328 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1324 TO DO : save crop sub photo not yet done ! save time : 0.11350178718566895 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.44617223739624023 time for calcul the mask position with numpy : 0.20380306243896484 nb_pixel_total : 1431307 time to create 1 rle with new method : 0.08421015739440918 time for calcul the mask position with numpy : 0.011719942092895508 nb_pixel_total : 633988 time to create 1 rle with new method : 0.16327261924743652 time for calcul the mask position with numpy : 0.007069826126098633 nb_pixel_total : 8305 time to create 1 rle with old method : 0.009485483169555664 create new chi : 0.49007248878479004 time to delete rle : 0.0005011558532714844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3108 TO DO : save crop sub photo not yet done ! save time : 0.22182059288024902 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06491589546203613 time for calcul the mask position with numpy : 0.03987884521484375 nb_pixel_total : 2033299 time to create 1 rle with new method : 0.1288588047027588 time for calcul the mask position with numpy : 0.00626373291015625 nb_pixel_total : 12100 time to create 1 rle with old method : 0.012693166732788086 time for calcul the mask position with numpy : 0.005678415298461914 nb_pixel_total : 9943 time to create 1 rle with old method : 0.011374711990356445 time for calcul the mask position with numpy : 0.0058040618896484375 nb_pixel_total : 8492 time to create 1 rle with old method : 0.008876323699951172 time for calcul the mask position with numpy : 0.0057256221771240234 nb_pixel_total : 9766 time to create 1 rle with old method : 0.010958433151245117 create new chi : 0.24806475639343262 time to delete rle : 0.00033736228942871094 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2232 TO DO : save crop sub photo not yet done ! save time : 0.16784000396728516 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032787322998046875 time for calcul the mask position with numpy : 0.020457983016967773 nb_pixel_total : 2053144 time to create 1 rle with new method : 0.2935326099395752 time for calcul the mask position with numpy : 0.006267070770263672 nb_pixel_total : 20456 time to create 1 rle with old method : 0.02447676658630371 create new chi : 0.34497809410095215 time to delete rle : 0.0002224445343017578 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1296 TO DO : save crop sub photo not yet done ! save time : 0.11524772644042969 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03283524513244629 time for calcul the mask position with numpy : 0.01893019676208496 nb_pixel_total : 2052356 time to create 1 rle with new method : 0.027350425720214844 time for calcul the mask position with numpy : 0.005820035934448242 nb_pixel_total : 21244 time to create 1 rle with old method : 0.022159814834594727 create new chi : 0.08578848838806152 time to delete rle : 0.0002162456512451172 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1304 TO DO : save crop sub photo not yet done ! save time : 0.10410428047180176 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.35506391525268555 time for calcul the mask position with numpy : 0.0647878646850586 nb_pixel_total : 1941403 time to create 1 rle with new method : 0.19120240211486816 time for calcul the mask position with numpy : 0.0073795318603515625 nb_pixel_total : 10515 time to create 1 rle with old method : 0.01124429702758789 time for calcul the mask position with numpy : 0.005991697311401367 nb_pixel_total : 6057 time to create 1 rle with old method : 0.0065212249755859375 time for calcul the mask position with numpy : 0.0059278011322021484 nb_pixel_total : 11283 time to create 1 rle with old method : 0.01230168342590332 time for calcul the mask position with numpy : 0.006518840789794922 nb_pixel_total : 104342 time to create 1 rle with old method : 0.11733007431030273 create new chi : 0.4397928714752197 time to delete rle : 0.00029277801513671875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2718 TO DO : save crop sub photo not yet done ! save time : 0.18847227096557617 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06486392021179199 time for calcul the mask position with numpy : 0.011176109313964844 nb_pixel_total : 702212 time to create 1 rle with new method : 0.09575653076171875 time for calcul the mask position with numpy : 0.06339788436889648 nb_pixel_total : 1180125 time to create 1 rle with new method : 0.24909734725952148 time for calcul the mask position with numpy : 0.008643150329589844 nb_pixel_total : 181711 time to create 1 rle with new method : 0.14575648307800293 time for calcul the mask position with numpy : 0.007512569427490234 nb_pixel_total : 9552 time to create 1 rle with old method : 0.010541915893554688 create new chi : 0.6105008125305176 time to delete rle : 0.0008401870727539062 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 4997 TO DO : save crop sub photo not yet done ! save time : 0.322892427444458 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3438143730163574 time for calcul the mask position with numpy : 0.14508461952209473 nb_pixel_total : 2035390 time to create 1 rle with new method : 0.20641446113586426 time for calcul the mask position with numpy : 0.006392717361450195 nb_pixel_total : 3166 time to create 1 rle with old method : 0.0034911632537841797 time for calcul the mask position with numpy : 0.011194229125976562 nb_pixel_total : 8888 time to create 1 rle with old method : 0.010191917419433594 time for calcul the mask position with numpy : 0.010548830032348633 nb_pixel_total : 11181 time to create 1 rle with old method : 0.012657642364501953 time for calcul the mask position with numpy : 0.010388612747192383 nb_pixel_total : 14975 time to create 1 rle with old method : 0.017624616622924805 create new chi : 0.44452810287475586 time to delete rle : 0.0006465911865234375 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2096 TO DO : save crop sub photo not yet done ! save time : 0.16468286514282227 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0707709789276123 time for calcul the mask position with numpy : 0.012122869491577148 nb_pixel_total : 922599 time to create 1 rle with new method : 0.13180923461914062 time for calcul the mask position with numpy : 0.04492759704589844 nb_pixel_total : 1128493 time to create 1 rle with new method : 0.1008603572845459 time for calcul the mask position with numpy : 0.0075838565826416016 nb_pixel_total : 6861 time to create 1 rle with old method : 0.007730007171630859 time for calcul the mask position with numpy : 0.006852388381958008 nb_pixel_total : 15647 time to create 1 rle with old method : 0.017026424407958984 create new chi : 0.3517322540283203 time to delete rle : 0.0006656646728515625 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 4396 TO DO : save crop sub photo not yet done ! save time : 0.27053022384643555 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04938459396362305 time for calcul the mask position with numpy : 0.019858598709106445 nb_pixel_total : 2049596 time to create 1 rle with new method : 0.09232521057128906 time for calcul the mask position with numpy : 0.0062255859375 nb_pixel_total : 7972 time to create 1 rle with old method : 0.008873701095581055 time for calcul the mask position with numpy : 0.006100177764892578 nb_pixel_total : 16032 time to create 1 rle with old method : 0.017986059188842773 create new chi : 0.1625213623046875 time to delete rle : 0.00032448768615722656 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1532 TO DO : save crop sub photo not yet done ! save time : 0.12572145462036133 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.14773964881896973 time for calcul the mask position with numpy : 0.136063814163208 nb_pixel_total : 892023 time to create 1 rle with new method : 0.10253620147705078 time for calcul the mask position with numpy : 0.006244182586669922 nb_pixel_total : 19072 time to create 1 rle with old method : 0.020371437072753906 time for calcul the mask position with numpy : 0.1761026382446289 nb_pixel_total : 1069791 time to create 1 rle with new method : 0.08165335655212402 time for calcul the mask position with numpy : 0.006935834884643555 nb_pixel_total : 92714 time to create 1 rle with old method : 0.10104560852050781 create new chi : 0.6473684310913086 time to delete rle : 0.0007450580596923828 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 5360 TO DO : save crop sub photo not yet done ! save time : 0.3329296112060547 No data in photo_id : 1383063624 map_output_result : {1383066358: (0.0, 'Should be the crop_list due to order', 0), 1383066275: (0.0, 'Should be the crop_list due to order', 0), 1383066210: (0.0, 'Should be the crop_list due to order', 0), 1383064971: (0.0, 'Should be the crop_list due to order', 0), 1383064904: (0.0, 'Should be the crop_list due to order', 0), 1383064852: (0.0, 'Should be the crop_list due to order', 0), 1383064802: (0.0, 'Should be the crop_list due to order', 0), 1383064756: (0.0, 'Should be the crop_list due to order', 0), 1383064710: (0.0, 'Should be the crop_list due to order', 0), 1383063732: (0.0, 'Should be the crop_list due to order', 0), 1383063686: (0.0, 'Should be the crop_list due to order', 0), 1383063624: (0.0, 'Should be the crop_list due to order', 0.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 [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] Looping around the photos to save general results len do output : 12 /1383066358.Didn't retrieve data . /1383066275.Didn't retrieve data . /1383066210.Didn't retrieve data . /1383064971.Didn't retrieve data . /1383064904.Didn't retrieve data . /1383064852.Didn't retrieve data . /1383064802.Didn't retrieve data . /1383064756.Didn't retrieve data . /1383064710.Didn't retrieve data . /1383063732.Didn't retrieve data . /1383063686.Didn't retrieve data . /1383063624.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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013573408126831055 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.821762084960938 time spend to save output : 0.014111042022705078 total time spend for step 3 : 8.835873126983643 step4:ventilate_hashtags_in_portfolio Wed Sep 10 17: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 beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26724009 get user id for portfolio 26724009 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`=26724009 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','papier','pet_fonce','autre','mal_croppe','carton','environnement','flou','pet_clair','metal','pehd')) 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`=26724009 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','papier','pet_fonce','autre','mal_croppe','carton','environnement','flou','pet_clair','metal','pehd')) 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`=26724009 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','papier','pet_fonce','autre','mal_croppe','carton','environnement','flou','pet_clair','metal','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26724043,26724044,26724045,26724046,26724047,26724048,26724049,26724050,26724051,26724052,26724053?tags=background,papier,pet_fonce,autre,mal_croppe,carton,environnement,flou,pet_clair,metal,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] Looping around the photos to save general results len do output : 1 /26724009. 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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.014792919158935547 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6797492504119873 time spend to save output : 0.015050888061523438 total time spend for step 4 : 1.6948001384735107 step5:final Wed Sep 10 17:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1383066358: ('0.18615648308899177',), 1383066275: ('0.18615648308899177',), 1383066210: ('0.18615648308899177',), 1383064971: ('0.18615648308899177',), 1383064904: ('0.18615648308899177',), 1383064852: ('0.18615648308899177',), 1383064802: ('0.18615648308899177',), 1383064756: ('0.18615648308899177',), 1383064710: ('0.18615648308899177',), 1383063732: ('0.18615648308899177',), 1383063686: ('0.18615648308899177',), 1383063624: ('0.18615648308899177',)} new output for save of step final : {1383066358: ('0.18615648308899177',), 1383066275: ('0.18615648308899177',), 1383066210: ('0.18615648308899177',), 1383064971: ('0.18615648308899177',), 1383064904: ('0.18615648308899177',), 1383064852: ('0.18615648308899177',), 1383064802: ('0.18615648308899177',), 1383064756: ('0.18615648308899177',), 1383064710: ('0.18615648308899177',), 1383063732: ('0.18615648308899177',), 1383063686: ('0.18615648308899177',), 1383063624: ('0.18615648308899177',)} [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] Looping around the photos to save general results len do output : 12 /1383066358.Didn't retrieve data . /1383066275.Didn't retrieve data . /1383066210.Didn't retrieve data . /1383064971.Didn't retrieve data . /1383064904.Didn't retrieve data . /1383064852.Didn't retrieve data . /1383064802.Didn't retrieve data . /1383064756.Didn't retrieve data . /1383064710.Didn't retrieve data . /1383063732.Didn't retrieve data . /1383063686.Didn't retrieve data . /1383063624.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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013309717178344727 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11831450462341309 time spend to save output : 0.013821601867675781 total time spend for step 5 : 0.13213610649108887 step6:blur_detection Wed Sep 10 17:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1757518828_3377228_1383066358_82d0a5ee08ce87e143deddbbada312b1.jpg resize: (1080, 1920) 1383066358 1.6746960786036418 treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721.jpg resize: (1080, 1920) 1383066275 0.3377238543742208 treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca.jpg resize: (1080, 1920) 1383066210 0.05000613366716567 treat image : temp/1757518828_3377228_1383064971_b396368ad261176500777a93a618cadf.jpg resize: (1080, 1920) 1383064971 0.9725056991732399 treat image : temp/1757518828_3377228_1383064904_5df654913925c3e77cad80951dacebd7.jpg resize: (1080, 1920) 1383064904 -0.5199503039541166 treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d.jpg resize: (1080, 1920) 1383064852 -0.8624508681491179 treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db.jpg resize: (1080, 1920) 1383064802 0.1439611639939344 treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974.jpg resize: (1080, 1920) 1383064756 0.8745147500546657 treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948.jpg resize: (1080, 1920) 1383064710 -0.6085976870105015 treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873.jpg resize: (1080, 1920) 1383063732 -0.22608966729988358 treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7.jpg resize: (1080, 1920) 1383063686 2.3841736566431173 treat image : temp/1757518828_3377228_1383063624_467c9aa05755340238c46b555cdd1762.jpg resize: (1080, 1920) 1383063624 4.434826314659816 treat image : temp/1757518828_3377228_1383066358_82d0a5ee08ce87e143deddbbada312b1_rle_crop_3954211919_0.png resize: (121, 111) 1383072318 -0.34229016732859424 treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721_rle_crop_3954211920_0.png resize: (104, 118) 1383072319 1.5346123375400296 treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211925_0.png resize: (259, 98) 1383072320 -2.2679802607806963 treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211930_0.png resize: (73, 115) 1383072321 -0.3029774870013079 treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211929_0.png resize: (103, 177) 1383072322 -0.4136403465303789 treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211932_0.png resize: (142, 104) 1383072324 -1.4690770309250945 treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211937_0.png resize: (157, 107) 1383072325 -0.636726622419626 treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211935_0.png resize: (135, 153) 1383072326 -0.5331445524948496 treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211938_0.png resize: (100, 74) 1383072328 -2.424528971013521 treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211940_0.png resize: (79, 120) 1383072329 -0.3313536224567051 treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211939_0.png resize: (183, 118) 1383072330 -4.557352063208149 treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873_rle_crop_3954211942_0.png resize: (156, 190) 1383072331 0.6211687022171767 treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873_rle_crop_3954211943_0.png resize: (70, 145) 1383072333 -1.1448218678503337 treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721_rle_crop_3954211921_0.png resize: (908, 948) 1383072353 -0.037356294164444394 treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211936_0.png resize: (114, 120) 1383072354 0.5817364991911121 treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211923_0.png resize: (95, 117) 1383072402 -3.192214077303961 treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211922_0.png resize: (114, 102) 1383072403 -2.3681177567525755 treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211924_0.png resize: (92, 168) 1383072404 -0.6869424299605386 treat image : temp/1757518828_3377228_1383064971_b396368ad261176500777a93a618cadf_rle_crop_3954211926_0.png resize: (90, 314) 1383072406 -1.8009847999820967 treat image : temp/1757518828_3377228_1383064904_5df654913925c3e77cad80951dacebd7_rle_crop_3954211927_0.png resize: (105, 308) 1383072407 -0.9874236119364346 treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211931_0.png resize: (123, 110) 1383072408 -2.2469270846072793 treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211928_0.png resize: (503, 384) 1383072409 -0.3076422592950078 treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211934_0.png resize: (1013, 1442) 1383072410 -0.36977553749077974 treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211933_0.png resize: (400, 916) 1383072411 -1.5189680267013754 treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211941_0.png resize: (993, 1404) 1383072412 -1.9247916817662494 treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211945_0.png resize: (956, 1422) 1383072413 -0.34861788858779746 treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211946_0.png resize: (119, 243) 1383072414 -2.380000975426622 treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211944_0.png resize: (481, 333) 1383072415 0.10283037940405876 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 : 40 time used for this insertion : 0.012660741806030273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.013629436492919922 save missing photos in datou_result : time spend for datou_step_exec : 11.77493691444397 time spend to save output : 0.6488142013549805 total time spend for step 6 : 12.42375111579895 step7:brightness Wed Sep 10 17:41:51 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/1757518828_3377228_1383066358_82d0a5ee08ce87e143deddbbada312b1.jpg treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721.jpg treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca.jpg treat image : temp/1757518828_3377228_1383064971_b396368ad261176500777a93a618cadf.jpg treat image : temp/1757518828_3377228_1383064904_5df654913925c3e77cad80951dacebd7.jpg treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d.jpg treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db.jpg treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974.jpg treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948.jpg treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873.jpg treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7.jpg treat image : temp/1757518828_3377228_1383063624_467c9aa05755340238c46b555cdd1762.jpg treat image : temp/1757518828_3377228_1383066358_82d0a5ee08ce87e143deddbbada312b1_rle_crop_3954211919_0.png treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721_rle_crop_3954211920_0.png treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211925_0.png treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211930_0.png treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211929_0.png treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211932_0.png treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211937_0.png treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211935_0.png treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211938_0.png treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211940_0.png treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211939_0.png treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873_rle_crop_3954211942_0.png treat image : temp/1757518828_3377228_1383063732_babbb57c8c80d20efc506fd5933f3873_rle_crop_3954211943_0.png treat image : temp/1757518828_3377228_1383066275_b46d77ec351fab489cf41cc93522d721_rle_crop_3954211921_0.png treat image : temp/1757518828_3377228_1383064756_44f0c7542298dfb47b26960606e49974_rle_crop_3954211936_0.png treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211923_0.png treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211922_0.png treat image : temp/1757518828_3377228_1383066210_262b414786dc7c280bbc11d661c6efca_rle_crop_3954211924_0.png treat image : temp/1757518828_3377228_1383064971_b396368ad261176500777a93a618cadf_rle_crop_3954211926_0.png treat image : temp/1757518828_3377228_1383064904_5df654913925c3e77cad80951dacebd7_rle_crop_3954211927_0.png treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211931_0.png treat image : temp/1757518828_3377228_1383064852_034eeba3554fad768a488dd9cb658c6d_rle_crop_3954211928_0.png treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211934_0.png treat image : temp/1757518828_3377228_1383064802_c5ea358dbba49543b68776a0353a69db_rle_crop_3954211933_0.png treat image : temp/1757518828_3377228_1383064710_5d20caf2ef0531ec586e23c25549a948_rle_crop_3954211941_0.png treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211945_0.png treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211946_0.png treat image : temp/1757518828_3377228_1383063686_da23fcd21f83762a32d2d2f87649e4e7_rle_crop_3954211944_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 : 40 time used for this insertion : 0.013907194137573242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.013580560684204102 save missing photos in datou_result : time spend for datou_step_exec : 3.2915048599243164 time spend to save output : 0.032479286193847656 total time spend for step 7 : 3.323984146118164 step8:velours_tree Wed Sep 10 17:41:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.25740599632263184 time spend to save output : 3.838539123535156e-05 total time spend for step 8 : 0.2574443817138672 step9:send_mail_cod Wed Sep 10 17:41:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P26724009_10-09-2025_17_41_54.pdf 26724043 imagette267240431757518914 26724044 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 .imagette267240441757518914 26724045 imagette267240451757518915 26724046 imagette267240461757518915 26724047 imagette267240471757518915 26724048 change filename to text .change filename to text .imagette267240481757518915 26724050 imagette267240501757518915 26724051 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 .imagette267240511757518915 26724052 imagette267240521757518916 26724053 imagette267240531757518917 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26724009 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26724043,26724044,26724045,26724046,26724047,26724048,26724049,26724050,26724051,26724052,26724053?tags=background,papier,pet_fonce,autre,mal_croppe,carton,environnement,flou,pet_clair,metal,pehd args[1383066358] : ((1383066358, 1.6746960786036418, 492688767), (1383066358, 0.611724444005633, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383066275] : ((1383066275, 0.3377238543742208, 492688767), (1383066275, 0.46107924789610255, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383066210] : ((1383066210, 0.05000613366716567, 492688767), (1383066210, 0.4573633068265312, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064971] : ((1383064971, 0.9725056991732399, 492688767), (1383064971, 0.6062226186908142, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064904] : ((1383064904, -0.5199503039541166, 492688767), (1383064904, 0.8098249105418641, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064852] : ((1383064852, -0.8624508681491179, 492688767), (1383064852, 0.417129456299897, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064802] : ((1383064802, 0.1439611639939344, 492688767), (1383064802, 0.9016366024879113, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064756] : ((1383064756, 0.8745147500546657, 492688767), (1383064756, 0.6555150485832578, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383064710] : ((1383064710, -0.6085976870105015, 492688767), (1383064710, 0.3419882293754955, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383063732] : ((1383063732, -0.22608966729988358, 492688767), (1383063732, 0.8001981912103558, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383063686] : ((1383063686, 2.3841736566431173, 492688767), (1383063686, 0.2627120240530851, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com args[1383063624] : ((1383063624, 4.434826314659816, 492688767), (1383063624, 0.2935682697072798, 2107752395), '0.18615648308899177') We are sending mail with results at report@fotonower.com refus_total : 0.18615648308899177 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26724009 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_P26724009_10-09-2025_17_41_54.pdf results_Auto_P26724009_10-09-2025_17_41_54.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724009_10-09-2025_17_41_54.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','26724009','results_Auto_P26724009_10-09-2025_17_41_54.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724009_10-09-2025_17_41_54.pdf','pdf','','0.56','0.18615648308899177') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26724009

https://www.fotonower.com/image?json=false&list_photos_id=1383066358
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6746960786036418)
https://www.fotonower.com/image?json=false&list_photos_id=1383066275
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383066210
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064971
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064904
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064852
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064802
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064756
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383064710
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383063732
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1383063686
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.3841736566431173)
https://www.fotonower.com/image?json=false&list_photos_id=1383063624
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.434826314659816)

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

exemples de contaminants: papier: https://www.fotonower.com/view/26724044?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26724048?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26724051?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724009_10-09-2025_17_41_54.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26724043,26724044,26724045,26724046,26724047,26724048,26724049,26724050,26724051,26724052,26724053?tags=background,papier,pet_fonce,autre,mal_croppe,carton,environnement,flou,pet_clair,metal,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 10 Sep 2025 15:41:59 GMT Content-Length: 0 Connection: close X-Message-Id: 6WCpoinsSxaz1TWlTYaG4Q 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 [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] 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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.012855052947998047 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.046777725219727 time spend to save output : 0.013051748275756836 total time spend for step 9 : 4.059829473495483 step10:split_time_score Wed Sep 10 17:41:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('17', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10092025 26724009 Nombre de photos uploadées : 12 / 23040 (0%) 10092025 26724009 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 10092025 26724009 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006392002105712891 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2008974552154541 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.08979048295454548 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26712868_10-09-2025_17_26_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26712868 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`=26712868 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713944 order by id desc limit 1 Qualite : 0.12233618812838642 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26713945_10-09-2025_09_12_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713945 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26713945 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26713963 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26716828 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26716830 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26719857 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26717897 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722888 order by id desc limit 1 Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722891_10-09-2025_17_31_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722891 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`=26722891 AND mptpi.`type`=3594 To do Qualite : 0.062443335262345676 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26722894_10-09-2025_17_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26722894 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`=26722894 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724005 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724007 order by id desc limit 1 Qualite : 0.18615648308899177 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26724009_10-09-2025_17_41_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26724009 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`=26724009 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10092025': {'nb_upload': 12, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383066358, 1383066275, 1383066210, 1383064971, 1383064904, 1383064852, 1383064802, 1383064756, 1383064710, 1383063732, 1383063686, 1383063624] Looping around the photos to save general results len do output : 1 /26724009Didn'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, '3690680') ('3318', '26724009', '1383066358', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066275', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383066210', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064971', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064904', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064852', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064802', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064756', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383064710', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063732', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063686', None, None, None, None, None, '3690680') ('3318', None, None, None, None, None, None, None, '3690680') ('3318', '26724009', '1383063624', None, None, None, None, None, '3690680') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.012697696685791016 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.840104579925537 time spend to save output : 0.012959718704223633 total time spend for step 10 : 9.85306429862976 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 56.15user 21.37system 1:43.55elapsed 74%CPU (0avgtext+0avgdata 2812532maxresident)k 669240inputs+38976outputs (1493major+1806140minor)pagefaults 0swaps