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 : 659184 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 : ['4136855'] with mtr_portfolio_ids : ['29004314'] and first list_photo_ids : [] new path : /proc/659184/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.1402559280395508 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Nov 28 17:20:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-28 17:20:32.321578: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-28 17:20:32.346437: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-28 17:20:32.347850: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fe84c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-28 17:20:32.347902: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-28 17:20:32.350539: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-28 17:20:32.632843: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x32052df0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-28 17:20:32.632895: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-28 17:20:32.633956: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 17:20:32.634291: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 17:20:32.636481: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 17:20:32.638631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 17:20:32.638950: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 17:20:32.641247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 17:20:32.642320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 17:20:32.646861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 17:20:32.648324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 17:20:32.648406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 17:20:32.649176: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-28 17:20:32.649191: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-28 17:20:32.649199: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-28 17:20:32.650546: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-28 17:20:32.918084: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 17:20:32.918195: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 17:20:32.918212: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 17:20:32.918227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 17:20:32.918240: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 17:20:32.918253: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 17:20:32.918266: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 17:20:32.918299: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 17:20:32.919489: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 17:20:32.920600: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 17:20:32.920629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 17:20:32.920642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 17:20:32.920655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 17:20:32.920668: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 17:20:32.920681: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 17:20:32.920693: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 17:20:32.920706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 17:20:32.921881: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 17:20:32.921914: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-28 17:20:32.921922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-28 17:20:32.921929: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-28 17:20:32.923159: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-28 17:20:41.573502: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 17:20:41.756322: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 0 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 659827 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5377 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 10666 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [888, 945, 963, 1053] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 4316 time to create 1 rle with old method : 0.005358695983886719 length of segment : 77 DEBUG bbox = [954, 1047, 1068, 1257] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002777576446533203 nb_pixel_total : 15973 time to create 1 rle with old method : 0.017778873443603516 length of segment : 114 DEBUG bbox = [939, 771, 1077, 1071] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004305839538574219 nb_pixel_total : 28740 time to create 1 rle with old method : 0.0319828987121582 length of segment : 137 DEBUG bbox = [939, 759, 1068, 1071] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00037288665771484375 nb_pixel_total : 27616 time to create 1 rle with old method : 0.030945777893066406 length of segment : 119 DEBUG bbox = [834, 1131, 996, 1281] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020694732666015625 nb_pixel_total : 12516 time to create 1 rle with old method : 0.013799190521240234 length of segment : 140 DEBUG bbox = [126, 645, 393, 735] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002033710479736328 nb_pixel_total : 11344 time to create 1 rle with old method : 0.012470245361328125 length of segment : 206 DEBUG bbox = [108, 654, 399, 744] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004956722259521484 nb_pixel_total : 11160 time to create 1 rle with old method : 0.011845827102661133 length of segment : 259 DEBUG bbox = [597, 1293, 654, 1398] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 4899 time to create 1 rle with old method : 0.0055658817291259766 length of segment : 54 DEBUG bbox = [222, 1518, 1014, 1920] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0030031204223632812 nb_pixel_total : 184786 time to create 1 rle with new method : 0.007795572280883789 length of segment : 815 DEBUG bbox = [1026, 645, 1077, 807] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 5923 time to create 1 rle with old method : 0.006930112838745117 length of segment : 50 DEBUG bbox = [6, 1407, 105, 1506] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012040138244628906 nb_pixel_total : 7111 time to create 1 rle with old method : 0.008101224899291992 length of segment : 101 DEBUG bbox = [363, 1275, 510, 1338] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011301040649414062 nb_pixel_total : 6757 time to create 1 rle with old method : 0.007408857345581055 length of segment : 144 DEBUG bbox = [852, 426, 1068, 831] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005550384521484375 nb_pixel_total : 26118 time to create 1 rle with old method : 0.030169010162353516 length of segment : 252 DEBUG bbox = [729, 1176, 801, 1299] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010585784912109375 nb_pixel_total : 5294 time to create 1 rle with old method : 0.006331205368041992 length of segment : 69 DEBUG bbox = [156, 642, 393, 726] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00019359588623046875 nb_pixel_total : 10640 time to create 1 rle with old method : 0.011902332305908203 length of segment : 212 DEBUG bbox = [825, 1338, 951, 1497] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000171661376953125 nb_pixel_total : 10218 time to create 1 rle with old method : 0.011041402816772461 length of segment : 108 DEBUG bbox = [951, 1212, 1074, 1407] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001823902130126953 nb_pixel_total : 11418 time to create 1 rle with old method : 0.012305021286010742 length of segment : 132 DEBUG bbox = [993, 1128, 1074, 1323] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001785755157470703 nb_pixel_total : 12255 time to create 1 rle with old method : 0.013373851776123047 length of segment : 75 DEBUG bbox = [165, 642, 387, 720] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018858909606933594 nb_pixel_total : 9354 time to create 1 rle with old method : 0.010305643081665039 length of segment : 200 time spent for convertir_results : 0.9977717399597168 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 19 chid ids of type : 3594 Number RLEs to save : 3264 save missing photos in datou_result : time spend for datou_step_exec : 23.33506727218628 time spend to save output : 0.2603175640106201 total time spend for step 1 : 23.5953848361969 step2:crop_condition Fri Nov 28 17:20:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 9 ! batch 1 Loaded 19 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 ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764346855_659184 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679046_0.png', 0, 291, 115, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679043_0.png', 0, 107, 67, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666590_f540b24d4bf5730219fc70b4ee595a28_rle_crop_4049679048_0.png', 0, 77, 205, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679052_0.png', 0, 152, 48, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679049_0.png', 0, 77, 247, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679050_0.png', 0, 101, 54, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679051_0.png', 0, 398, 733, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679054_0.png', 0, 63, 144, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679057_0.png', 0, 76, 205, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679056_0.png', 0, 121, 69, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679059_0.png', 0, 169, 105, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346857), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679061_0.png', 0, 69, 198, 0, 1764346857,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.041736364364624 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 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764346858_659184 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679045_0.png', 0, 290, 123, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679044_0.png', 0, 190, 114, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679047_0.png', 0, 130, 140, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679055_0.png', 0, 328, 173, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679053_0.png', 0, 99, 97, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679058_0.png', 0, 141, 107, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1764346860), 0.0, 0.0, 14, '', 0, 0, '1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679060_0.png', 0, 188, 75, 0, 1764346860,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6316752433776855 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1396666626, 1396666590, 1396666587, 1396666584, 1396666581, 1396666576, 1396666556, 1396666554, 1396666551] Looping around the photos to save general results len do output : 19 /1396685469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685471Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685472Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685473Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685474Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685475Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685476Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685477Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685486Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685487Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685488Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685489Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396685490Didn'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, '4136855') ('3318', '29004314', '1396666626', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666590', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666587', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666584', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666581', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666576', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666556', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666554', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666551', None, None, None, None, None, '4136855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.02043294906616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.927421569824219 time spend to save output : 0.02146625518798828 total time spend for step 2 : 7.948887825012207 step3:rle_unique_nms_with_priority Fri Nov 28 17:21:01 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 1.4764494895935059 time for calcul the mask position with numpy : 0.21022582054138184 nb_pixel_total : 2011712 time to create 1 rle with new method : 0.12336611747741699 time for calcul the mask position with numpy : 0.006273984909057617 nb_pixel_total : 12516 time to create 1 rle with old method : 0.015634775161743164 time for calcul the mask position with numpy : 0.006894350051879883 nb_pixel_total : 343 time to create 1 rle with old method : 0.0006539821624755859 time for calcul the mask position with numpy : 0.0063974857330322266 nb_pixel_total : 28740 time to create 1 rle with old method : 0.030473709106445312 time for calcul the mask position with numpy : 0.0075531005859375 nb_pixel_total : 15973 time to create 1 rle with old method : 0.02059030532836914 time for calcul the mask position with numpy : 0.006853818893432617 nb_pixel_total : 4316 time to create 1 rle with old method : 0.004823923110961914 create new chi : 0.4499080181121826 time to delete rle : 0.04410576820373535 batch 1 Loaded 11 chid ids of type : 3594 ++++++++Number RLEs to save : 2110 TO DO : save crop sub photo not yet done ! save time : 0.18091511726379395 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0770258903503418 time for calcul the mask position with numpy : 0.2165844440460205 nb_pixel_total : 2062256 time to create 1 rle with new method : 0.06895136833190918 time for calcul the mask position with numpy : 0.00679779052734375 nb_pixel_total : 11344 time to create 1 rle with old method : 0.01251673698425293 create new chi : 0.3051173686981201 time to delete rle : 0.00024175643920898438 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1492 TO DO : save crop sub photo not yet done ! save time : 0.13165903091430664 No data in photo_id : 1396666587 No data in photo_id : 1396666584 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.06665492057800293 time for calcul the mask position with numpy : 0.026657581329345703 nb_pixel_total : 1866832 time to create 1 rle with new method : 0.21197867393493652 time for calcul the mask position with numpy : 0.006927013397216797 nb_pixel_total : 5923 time to create 1 rle with old method : 0.006178379058837891 time for calcul the mask position with numpy : 0.0074176788330078125 nb_pixel_total : 184786 time to create 1 rle with new method : 0.7414958477020264 time for calcul the mask position with numpy : 0.0060269832611083984 nb_pixel_total : 4899 time to create 1 rle with old method : 0.0052716732025146484 time for calcul the mask position with numpy : 0.006173372268676758 nb_pixel_total : 11160 time to create 1 rle with old method : 0.012344837188720703 create new chi : 1.0405197143554688 time to delete rle : 0.00047397613525390625 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 3436 TO DO : save crop sub photo not yet done ! save time : 0.25562191009521484 No data in photo_id : 1396666576 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08660316467285156 time for calcul the mask position with numpy : 0.698237419128418 nb_pixel_total : 2033614 time to create 1 rle with new method : 0.07996940612792969 time for calcul the mask position with numpy : 0.005933046340942383 nb_pixel_total : 26118 time to create 1 rle with old method : 0.027530908584594727 time for calcul the mask position with numpy : 0.007134437561035156 nb_pixel_total : 6757 time to create 1 rle with old method : 0.007067203521728516 time for calcul the mask position with numpy : 0.009519815444946289 nb_pixel_total : 7111 time to create 1 rle with old method : 0.007597208023071289 create new chi : 0.8520781993865967 time to delete rle : 0.00036263465881347656 batch 1 Loaded 7 chid ids of type : 3594 +++++++++++Number RLEs to save : 2074 TO DO : save crop sub photo not yet done ! save time : 0.17913413047790527 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.27697205543518066 time for calcul the mask position with numpy : 0.4915492534637451 nb_pixel_total : 2036030 time to create 1 rle with new method : 0.08928918838500977 time for calcul the mask position with numpy : 0.0059888362884521484 nb_pixel_total : 11418 time to create 1 rle with old method : 0.012336015701293945 time for calcul the mask position with numpy : 0.006262779235839844 nb_pixel_total : 10218 time to create 1 rle with old method : 0.01089620590209961 time for calcul the mask position with numpy : 0.005949258804321289 nb_pixel_total : 10640 time to create 1 rle with old method : 0.011412382125854492 time for calcul the mask position with numpy : 0.006531953811645508 nb_pixel_total : 5294 time to create 1 rle with old method : 0.005571603775024414 create new chi : 0.6558270454406738 time to delete rle : 0.00031185150146484375 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2122 TO DO : save crop sub photo not yet done ! save time : 0.17723941802978516 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03936433792114258 time for calcul the mask position with numpy : 0.019585609436035156 nb_pixel_total : 2051991 time to create 1 rle with new method : 0.23546504974365234 time for calcul the mask position with numpy : 0.00589299201965332 nb_pixel_total : 9354 time to create 1 rle with old method : 0.010035514831542969 time for calcul the mask position with numpy : 0.005705595016479492 nb_pixel_total : 12255 time to create 1 rle with old method : 0.013293981552124023 create new chi : 0.2965402603149414 time to delete rle : 0.0002486705780029297 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1630 TO DO : save crop sub photo not yet done ! save time : 0.1437976360321045 map_output_result : {1396666626: (0.0, 'Should be the crop_list due to order', 0), 1396666590: (0.0, 'Should be the crop_list due to order', 0), 1396666587: (0.0, 'Should be the crop_list due to order', 0.0), 1396666584: (0.0, 'Should be the crop_list due to order', 0.0), 1396666581: (0.0, 'Should be the crop_list due to order', 0), 1396666576: (0.0, 'Should be the crop_list due to order', 0.0), 1396666556: (0.0, 'Should be the crop_list due to order', 0), 1396666554: (0.0, 'Should be the crop_list due to order', 0), 1396666551: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1396666626, 1396666590, 1396666587, 1396666584, 1396666581, 1396666576, 1396666556, 1396666554, 1396666551] Looping around the photos to save general results len do output : 9 /1396666626.Didn't retrieve data . /1396666590.Didn't retrieve data . /1396666587.Didn't retrieve data . /1396666584.Didn't retrieve data . /1396666581.Didn't retrieve data . /1396666576.Didn't retrieve data . /1396666556.Didn't retrieve data . /1396666554.Didn't retrieve data . /1396666551.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, '4136855') ('3318', '29004314', '1396666626', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666590', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666587', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666584', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666581', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666576', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666556', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666554', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666551', None, None, None, None, None, '4136855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01488804817199707 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.066981792449951 time spend to save output : 0.015244722366333008 total time spend for step 3 : 7.082226514816284 step4:ventilate_hashtags_in_portfolio Fri Nov 28 17:21:08 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 : 29004314 get user id for portfolio 29004314 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`=29004314 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','background','autre','pehd','metal','papier','pet_fonce','pet_clair','carton','mal_croppe')) 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`=29004314 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','background','autre','pehd','metal','papier','pet_fonce','pet_clair','carton','mal_croppe')) 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`=29004314 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','background','autre','pehd','metal','papier','pet_fonce','pet_clair','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29004769,29004770,29004771,29004772,29004773,29004774,29004775,29004776,29004777,29004778,29004779?tags=environnement,flou,background,autre,pehd,metal,papier,pet_fonce,pet_clair,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396666626, 1396666590, 1396666587, 1396666584, 1396666581, 1396666576, 1396666556, 1396666554, 1396666551] Looping around the photos to save general results len do output : 1 /29004314. 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, '4136855') ('3318', '29004314', '1396666626', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666590', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666587', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666584', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666581', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666576', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666556', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666554', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666551', None, None, None, None, None, '4136855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.0161893367767334 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9595577716827393 time spend to save output : 0.016423940658569336 total time spend for step 4 : 1.9759817123413086 step5:final Fri Nov 28 17:21:10 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 : {1396666626: ('0.020317054612482857',), 1396666590: ('0.020317054612482857',), 1396666587: ('0.020317054612482857',), 1396666584: ('0.020317054612482857',), 1396666581: ('0.020317054612482857',), 1396666576: ('0.020317054612482857',), 1396666556: ('0.020317054612482857',), 1396666554: ('0.020317054612482857',), 1396666551: ('0.020317054612482857',)} new output for save of step final : {1396666626: ('0.020317054612482857',), 1396666590: ('0.020317054612482857',), 1396666587: ('0.020317054612482857',), 1396666584: ('0.020317054612482857',), 1396666581: ('0.020317054612482857',), 1396666576: ('0.020317054612482857',), 1396666556: ('0.020317054612482857',), 1396666554: ('0.020317054612482857',), 1396666551: ('0.020317054612482857',)} [1396666626, 1396666590, 1396666587, 1396666584, 1396666581, 1396666576, 1396666556, 1396666554, 1396666551] Looping around the photos to save general results len do output : 9 /1396666626.Didn't retrieve data . /1396666590.Didn't retrieve data . /1396666587.Didn't retrieve data . /1396666584.Didn't retrieve data . /1396666581.Didn't retrieve data . /1396666576.Didn't retrieve data . /1396666556.Didn't retrieve data . /1396666554.Didn't retrieve data . /1396666551.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, '4136855') ('3318', '29004314', '1396666626', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666590', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666587', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666584', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666581', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666576', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666556', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666554', None, None, None, None, None, '4136855') ('3318', None, None, None, None, None, None, None, '4136855') ('3318', '29004314', '1396666551', None, None, None, None, None, '4136855') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01476144790649414 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14495491981506348 time spend to save output : 0.015214681625366211 total time spend for step 5 : 0.1601696014404297 step6:blur_detection Fri Nov 28 17:21:10 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/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f.jpg resize: (1080, 1920) 1396666626 -0.21598947663345572 treat image : temp/1764346828_659184_1396666590_f540b24d4bf5730219fc70b4ee595a28.jpg resize: (1080, 1920) 1396666590 0.8214863718528567 treat image : temp/1764346828_659184_1396666587_6bd7f73c09b2119e65156072e11e67c8.jpg resize: (1080, 1920) 1396666587 -0.17046961638702987 treat image : temp/1764346828_659184_1396666584_fddb0c51e0abb32523a848885d08e8c5.jpg resize: (1080, 1920) 1396666584 0.08711855087183058 treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750.jpg resize: (1080, 1920) 1396666581 1.2167889970826766 treat image : temp/1764346828_659184_1396666576_8d9497179c5c413227693ef895646dec.jpg resize: (1080, 1920) 1396666576 3.1101145048021834 treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8.jpg resize: (1080, 1920) 1396666556 -0.7961700035823412 treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d.jpg resize: (1080, 1920) 1396666554 -0.8665851738122491 treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135.jpg resize: (1080, 1920) 1396666551 0.5579544033395284 treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679046_0.png resize: (115, 291) 1396685469 -0.08356117751181989 treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679043_0.png resize: (67, 107) 1396685470 -0.764949684045447 treat image : temp/1764346828_659184_1396666590_f540b24d4bf5730219fc70b4ee595a28_rle_crop_4049679048_0.png resize: (205, 77) 1396685471 0.6786631877982284 treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679052_0.png resize: (48, 152) 1396685472 -2.483858537176842 treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679049_0.png resize: (247, 77) 1396685473 0.12842899751984577 treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679050_0.png resize: (54, 101) 1396685474 4.845079398133935 treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679051_0.png resize: (733, 398) 1396685475 -0.43578234157219814 treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679054_0.png resize: (144, 63) 1396685476 -0.93630051623912 treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679057_0.png resize: (205, 76) 1396685477 0.4973923412955233 treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679056_0.png resize: (69, 121) 1396685478 0.8701500650207978 treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679059_0.png resize: (105, 169) 1396685479 -1.270956639918384 treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679061_0.png resize: (198, 69) 1396685480 0.7134396578049116 treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679045_0.png resize: (123, 290) 1396685484 -0.44310474447743037 treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679044_0.png resize: (114, 190) 1396685485 -0.8993970288954589 treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679047_0.png resize: (140, 130) 1396685486 -0.8486626461405227 treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679055_0.png resize: (173, 328) 1396685487 -2.8224889989844217 treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679053_0.png resize: (97, 99) 1396685488 -2.2074170369984136 treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679058_0.png resize: (107, 141) 1396685489 -1.2701265423086514 treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679060_0.png resize: (75, 188) 1396685490 -4.542496735305378 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 : 28 time used for this insertion : 0.017213821411132812 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.015197992324829102 save missing photos in datou_result : time spend for datou_step_exec : 7.174148082733154 time spend to save output : 0.03810477256774902 total time spend for step 6 : 7.212252855300903 step7:brightness Fri Nov 28 17:21:17 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/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f.jpg treat image : temp/1764346828_659184_1396666590_f540b24d4bf5730219fc70b4ee595a28.jpg treat image : temp/1764346828_659184_1396666587_6bd7f73c09b2119e65156072e11e67c8.jpg treat image : temp/1764346828_659184_1396666584_fddb0c51e0abb32523a848885d08e8c5.jpg treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750.jpg treat image : temp/1764346828_659184_1396666576_8d9497179c5c413227693ef895646dec.jpg treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8.jpg treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d.jpg treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135.jpg treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679046_0.png treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679043_0.png treat image : temp/1764346828_659184_1396666590_f540b24d4bf5730219fc70b4ee595a28_rle_crop_4049679048_0.png treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679052_0.png treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679049_0.png treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679050_0.png treat image : temp/1764346828_659184_1396666581_a0d1636d05a528c2edcf797fe5a1b750_rle_crop_4049679051_0.png treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679054_0.png treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679057_0.png treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679056_0.png treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679059_0.png treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679061_0.png treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679045_0.png treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679044_0.png treat image : temp/1764346828_659184_1396666626_b2911b2e845dad6b32ea9378db94af6f_rle_crop_4049679047_0.png treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679055_0.png treat image : temp/1764346828_659184_1396666556_b95125a41dd152a88cdd3ac06ada20f8_rle_crop_4049679053_0.png treat image : temp/1764346828_659184_1396666554_cab064c60360a5b619906fc9fe65ce4d_rle_crop_4049679058_0.png treat image : temp/1764346828_659184_1396666551_4151c78514442b4226dc57a46a304135_rle_crop_4049679060_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 : 28 time used for this insertion : 0.017630577087402344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.017139196395874023 save missing photos in datou_result : time spend for datou_step_exec : 2.1296186447143555 time spend to save output : 0.04077410697937012 total time spend for step 7 : 2.1703927516937256 step8:velours_tree Fri Nov 28 17:21:19 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.09275317192077637 time spend to save output : 4.5299530029296875e-05 total time spend for step 8 : 0.09279847145080566 step9:send_mail_cod Fri Nov 28 17:21:19 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_P29004314_28-11-2025_17_21_19.pdf 29004770 imagette290047701764346879 29004771 imagette290047711764346879 29004772 imagette290047721764346879 29004773 imagette290047731764346879 29004774 imagette290047741764346879 29004775 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 .imagette290047751764346879 29004776 imagette290047761764346880 29004777 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 .imagette290047771764346880 29004778 imagette290047781764346881 29004779 imagette290047791764346881 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29004314 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29004769,29004770,29004771,29004772,29004773,29004774,29004775,29004776,29004777,29004778,29004779?tags=environnement,flou,background,autre,pehd,metal,papier,pet_fonce,pet_clair,carton,mal_croppe args[1396666626] : ((1396666626, -0.21598947663345572, 492688767), (1396666626, 0.8934147513283047, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666590] : ((1396666590, 0.8214863718528567, 492688767), (1396666590, 1.076252053385447, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666587] : ((1396666587, -0.17046961638702987, 492688767), (1396666587, 1.120101287278175, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666584] : ((1396666584, 0.08711855087183058, 492688767), (1396666584, 0.5191321085116036, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666581] : ((1396666581, 1.2167889970826766, 492688767), (1396666581, 0.4660029933482788, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666576] : ((1396666576, 3.1101145048021834, 492688767), (1396666576, 0.5988117250967474, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666556] : ((1396666556, -0.7961700035823412, 492688767), (1396666556, 0.5820070620715853, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666554] : ((1396666554, -0.8665851738122491, 492688767), (1396666554, 0.5700149884616342, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com args[1396666551] : ((1396666551, 0.5579544033395284, 492688767), (1396666551, 0.4462305098328434, 2107752395), '0.020317054612482857') We are sending mail with results at report@fotonower.com refus_total : 0.020317054612482857 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29004314 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_P29004314_28-11-2025_17_21_19.pdf results_Auto_P29004314_28-11-2025_17_21_19.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29004314_28-11-2025_17_21_19.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','29004314','results_Auto_P29004314_28-11-2025_17_21_19.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29004314_28-11-2025_17_21_19.pdf','pdf','','0.14','0.020317054612482857') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/29004314

https://www.fotonower.com/image?json=false&list_photos_id=1396666626
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666590
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666587
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666584
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666581
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2167889970826766)
https://www.fotonower.com/image?json=false&list_photos_id=1396666576
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.1101145048021834)
https://www.fotonower.com/image?json=false&list_photos_id=1396666556
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666554
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396666551
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/29004775?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/29004777?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29004314_28-11-2025_17_21_19.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/29004769,29004770,29004771,29004772,29004773,29004774,29004775,29004776,29004777,29004778,29004779?tags=environnement,flou,background,autre,pehd,metal,papier,pet_fonce,pet_clair,carton,mal_croppe.


L'équipe Fotonower ERROR in datou_step_exec, will save and exit ! __init__() got an unexpected keyword argument 'content_type' File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2659, in datou_step_exec return send_or_copy.datou_step_exec_send_mail_cod(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_send_or_copy.py", line 782, in datou_step_exec_send_mail_cod refus_total,list_results_prediagnostique_in_mail = cod.send_mail_to_client(context, args, portfolio_id, list_photo_id, sujet, dest_mail, File "/home/admin/workarea/git/Velours/python/prod/cod/main_cod.py", line 220, in send_mail_to_client ses_mailer.send_email_with_attachment(sender = "report@fotonower.com", receivers=mail_list, subject=subjet_for_mail, body_html= message_in_mail, File "/home/admin/workarea/git/Velours/python/mtr/ses_mailer.py", line 73, in send_email_with_attachment attachment = SendSmtpEmailAttachment( [1396666626, 1396666590, 1396666587, 1396666584, 1396666581, 1396666576, 1396666556, 1396666554, 1396666551] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014444589614868164 save_final ERROR in last step send_mail_cod, __init__() got an unexpected keyword argument 'content_type' time spend for datou_step_exec : 2.72253155708313 time spend to save output : 0.016362667083740234 total time spend for step 8 : 2.73889422416687 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 27.58user 17.86system 0:56.72elapsed 80%CPU (0avgtext+0avgdata 2717652maxresident)k 86112inputs+8424outputs (23major+1283069minor)pagefaults 0swaps