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 : 3887959 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 : ['3610747'] with mtr_portfolio_ids : ['26258331'] and first list_photo_ids : [] new path : /proc/3887959/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.524118423461914 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Aug 27 09:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10165 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 09:50:33.743696: 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-08-27 09:50:33.768669: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 09:50:33.771010: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd688000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 09:50:33.771063: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 09:50:33.775535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 09:50:33.899881: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x204f96a0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 09:50:33.899932: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 09:50:33.901477: 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-08-27 09:50:33.901887: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 09:50:33.904883: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 09:50:33.907748: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 09:50:33.908249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 09:50:33.911120: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 09:50:33.912596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 09:50:33.918020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 09:50:33.920484: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 09:50:33.920595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 09:50:33.921898: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 09:50:33.921930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 09:50:33.921948: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 09:50:33.927419: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9269 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-08-27 09:50:34.222447: 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-08-27 09:50:34.222550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 09:50:34.222578: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 09:50:34.222602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 09:50:34.222629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 09:50:34.222653: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 09:50:34.222676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 09:50:34.222699: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 09:50:34.224387: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 09:50:34.225865: 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-08-27 09:50:34.225921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 09:50:34.225944: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 09:50:34.225968: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 09:50:34.225992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 09:50:34.226016: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 09:50:34.226040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 09:50:34.226064: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 09:50:34.227738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 09:50:34.227773: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 09:50:34.227788: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 09:50:34.227800: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 09:50:34.229560: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9269 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-08-27 09:50:43.950757: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 09:50:44.193767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 3888572 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 300 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5589 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0003407001495361328 nb_pixel_total : 11834 time to create 1 rle with old method : 0.014076948165893555 length of segment : 112 time for calcul the mask position with numpy : 0.0001430511474609375 nb_pixel_total : 5567 time to create 1 rle with old method : 0.0068073272705078125 length of segment : 94 time for calcul the mask position with numpy : 0.0002899169921875 nb_pixel_total : 12508 time to create 1 rle with old method : 0.01465749740600586 length of segment : 173 time for calcul the mask position with numpy : 0.002557992935180664 nb_pixel_total : 87815 time to create 1 rle with old method : 0.1021265983581543 length of segment : 574 time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 5102 time to create 1 rle with old method : 0.0058324337005615234 length of segment : 103 time for calcul the mask position with numpy : 0.004937648773193359 nb_pixel_total : 245499 time to create 1 rle with new method : 0.039258718490600586 length of segment : 926 time for calcul the mask position with numpy : 0.00011897087097167969 nb_pixel_total : 3148 time to create 1 rle with old method : 0.0037338733673095703 length of segment : 59 time for calcul the mask position with numpy : 0.012389659881591797 nb_pixel_total : 666887 time to create 1 rle with new method : 0.03216361999511719 length of segment : 1053 time for calcul the mask position with numpy : 0.0002837181091308594 nb_pixel_total : 11376 time to create 1 rle with old method : 0.012663841247558594 length of segment : 178 time for calcul the mask position with numpy : 0.0003600120544433594 nb_pixel_total : 24280 time to create 1 rle with old method : 0.02589893341064453 length of segment : 244 time for calcul the mask position with numpy : 0.0002510547637939453 nb_pixel_total : 15409 time to create 1 rle with old method : 0.017308473587036133 length of segment : 133 time for calcul the mask position with numpy : 0.0015544891357421875 nb_pixel_total : 88570 time to create 1 rle with old method : 0.1124267578125 length of segment : 468 time for calcul the mask position with numpy : 0.0003376007080078125 nb_pixel_total : 6459 time to create 1 rle with old method : 0.007543087005615234 length of segment : 102 time for calcul the mask position with numpy : 0.0001518726348876953 nb_pixel_total : 3967 time to create 1 rle with old method : 0.00490880012512207 length of segment : 43 time for calcul the mask position with numpy : 0.021453857421875 nb_pixel_total : 750935 time to create 1 rle with new method : 0.05038928985595703 length of segment : 975 time for calcul the mask position with numpy : 0.0004062652587890625 nb_pixel_total : 6427 time to create 1 rle with old method : 0.007435798645019531 length of segment : 128 time for calcul the mask position with numpy : 0.0005192756652832031 nb_pixel_total : 12338 time to create 1 rle with old method : 0.014340639114379883 length of segment : 181 time for calcul the mask position with numpy : 0.00024080276489257812 nb_pixel_total : 5581 time to create 1 rle with old method : 0.0066070556640625 length of segment : 90 time for calcul the mask position with numpy : 0.00026726722717285156 nb_pixel_total : 8042 time to create 1 rle with old method : 0.00972294807434082 length of segment : 81 time for calcul the mask position with numpy : 0.0027658939361572266 nb_pixel_total : 116975 time to create 1 rle with old method : 0.12822198867797852 length of segment : 530 time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 7053 time to create 1 rle with old method : 0.008430242538452148 length of segment : 74 time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 6031 time to create 1 rle with old method : 0.007113456726074219 length of segment : 101 time for calcul the mask position with numpy : 0.00020074844360351562 nb_pixel_total : 4573 time to create 1 rle with old method : 0.005408048629760742 length of segment : 71 time for calcul the mask position with numpy : 0.0008754730224609375 nb_pixel_total : 27331 time to create 1 rle with old method : 0.031653404235839844 length of segment : 278 time for calcul the mask position with numpy : 0.00021600723266601562 nb_pixel_total : 6504 time to create 1 rle with old method : 0.007804155349731445 length of segment : 102 time spent for convertir_results : 2.0048279762268066 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 25 chid ids of type : 3594 Number RLEs to save : 6873 save missing photos in datou_result : time spend for datou_step_exec : 25.41767168045044 time spend to save output : 51.75740957260132 total time spend for step 1 : 77.17508125305176 step2:crop_condition Wed Aug 27 09:51:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 13 ! batch 1 Loaded 25 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281110_3887959 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.9415085315704346 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281115_3887959 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8582308292388916 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1756281123_3887959 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.6086997985839844 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 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756281127_3887959 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9190473556518555 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 25 /1379634508Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634509Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634510Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634511Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634512Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634513Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634514Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634515Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634516Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634517Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634518Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634523Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634524Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634525Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634526Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634527Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634529Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634530Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634531Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634532Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634533Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634534Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379634538Didn'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, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 88 time used for this insertion : 0.19925761222839355 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.12691831588745 time spend to save output : 0.20029664039611816 total time spend for step 2 : 20.32721495628357 step3:rle_unique_nms_with_priority Wed Aug 27 09:52: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 25 chid ids of type : 3594 +++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.19346976280212402 time for calcul the mask position with numpy : 0.3642129898071289 nb_pixel_total : 2061766 time to create 1 rle with new method : 0.0747213363647461 time for calcul the mask position with numpy : 0.0066606998443603516 nb_pixel_total : 11834 time to create 1 rle with old method : 0.01334691047668457 create new chi : 0.4696390628814697 time to delete rle : 0.028792142868041992 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1304 TO DO : save crop sub photo not yet done ! save time : 11.808293581008911 No data in photo_id : 1379632010 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.2334585189819336 time for calcul the mask position with numpy : 0.2836265563964844 nb_pixel_total : 2055525 time to create 1 rle with new method : 0.11912131309509277 time for calcul the mask position with numpy : 0.0068225860595703125 nb_pixel_total : 12508 time to create 1 rle with old method : 0.014344453811645508 time for calcul the mask position with numpy : 0.007632255554199219 nb_pixel_total : 5567 time to create 1 rle with old method : 0.006556987762451172 create new chi : 0.4491720199584961 time to delete rle : 0.00026798248291015625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1614 TO DO : save crop sub photo not yet done ! save time : 8.680238246917725 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.07408738136291504 time for calcul the mask position with numpy : 0.05923962593078613 nb_pixel_total : 1807975 time to create 1 rle with new method : 0.13798022270202637 time for calcul the mask position with numpy : 0.007569551467895508 nb_pixel_total : 172708 time to create 1 rle with new method : 0.09099507331848145 time for calcul the mask position with numpy : 0.006501436233520508 nb_pixel_total : 5102 time to create 1 rle with old method : 0.005670785903930664 time for calcul the mask position with numpy : 0.0075452327728271484 nb_pixel_total : 87815 time to create 1 rle with old method : 0.10150480270385742 create new chi : 0.4284396171569824 time to delete rle : 0.0005350112915039062 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 4256 TO DO : save crop sub photo not yet done ! save time : 32.022419452667236 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.060025930404663086 time for calcul the mask position with numpy : 0.017438411712646484 nb_pixel_total : 1392189 time to create 1 rle with new method : 0.07932853698730469 time for calcul the mask position with numpy : 0.0063838958740234375 nb_pixel_total : 11376 time to create 1 rle with old method : 0.015102148056030273 time for calcul the mask position with numpy : 0.014089822769165039 nb_pixel_total : 666887 time to create 1 rle with new method : 0.32307934761047363 time for calcul the mask position with numpy : 0.007671833038330078 nb_pixel_total : 3148 time to create 1 rle with old method : 0.005018472671508789 create new chi : 0.477858304977417 time to delete rle : 0.0007588863372802734 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3660 TO DO : save crop sub photo not yet done ! save time : 28.62241768836975 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03470325469970703 time for calcul the mask position with numpy : 0.02187180519104004 nb_pixel_total : 2049320 time to create 1 rle with new method : 0.030903339385986328 time for calcul the mask position with numpy : 0.006560087203979492 nb_pixel_total : 24280 time to create 1 rle with old method : 0.0292818546295166 create new chi : 0.09601736068725586 time to delete rle : 0.0002620220184326172 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1568 TO DO : save crop sub photo not yet done ! save time : 8.022550344467163 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03834891319274902 time for calcul the mask position with numpy : 0.02161431312561035 nb_pixel_total : 2058191 time to create 1 rle with new method : 0.0882411003112793 time for calcul the mask position with numpy : 0.006508588790893555 nb_pixel_total : 15409 time to create 1 rle with old method : 0.017286062240600586 create new chi : 0.14490103721618652 time to delete rle : 0.00028204917907714844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1346 TO DO : save crop sub photo not yet done ! save time : 13.33664083480835 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.4556589126586914 time for calcul the mask position with numpy : 0.2283484935760498 nb_pixel_total : 1978571 time to create 1 rle with new method : 0.0783700942993164 time for calcul the mask position with numpy : 0.006647825241088867 nb_pixel_total : 6459 time to create 1 rle with old method : 0.00735020637512207 time for calcul the mask position with numpy : 0.00658106803894043 nb_pixel_total : 88570 time to create 1 rle with old method : 0.09666252136230469 create new chi : 0.43492579460144043 time to delete rle : 0.00035834312438964844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2220 TO DO : save crop sub photo not yet done ! save time : 10.260709047317505 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07507562637329102 time for calcul the mask position with numpy : 0.022696971893310547 nb_pixel_total : 1318698 time to create 1 rle with new method : 0.12685680389404297 time for calcul the mask position with numpy : 0.01299905776977539 nb_pixel_total : 750935 time to create 1 rle with new method : 0.29288244247436523 time for calcul the mask position with numpy : 0.01052093505859375 nb_pixel_total : 3967 time to create 1 rle with old method : 0.004508495330810547 create new chi : 0.4885401725769043 time to delete rle : 0.0004870891571044922 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3116 TO DO : save crop sub photo not yet done ! save time : 1.779625415802002 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.13580679893493652 time for calcul the mask position with numpy : 0.088226318359375 nb_pixel_total : 2054835 time to create 1 rle with new method : 0.293224573135376 time for calcul the mask position with numpy : 0.00653529167175293 nb_pixel_total : 12338 time to create 1 rle with old method : 0.013707876205444336 time for calcul the mask position with numpy : 0.0061588287353515625 nb_pixel_total : 6427 time to create 1 rle with old method : 0.007192134857177734 create new chi : 0.4257802963256836 time to delete rle : 0.0003101825714111328 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1698 TO DO : save crop sub photo not yet done ! save time : 1.0097284317016602 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.589876651763916 time for calcul the mask position with numpy : 0.0655374526977539 nb_pixel_total : 1935949 time to create 1 rle with new method : 0.6426928043365479 time for calcul the mask position with numpy : 0.006237030029296875 nb_pixel_total : 7053 time to create 1 rle with old method : 0.007860183715820312 time for calcul the mask position with numpy : 0.007343292236328125 nb_pixel_total : 116975 time to create 1 rle with old method : 0.1287078857421875 time for calcul the mask position with numpy : 0.006512880325317383 nb_pixel_total : 8042 time to create 1 rle with old method : 0.009089946746826172 time for calcul the mask position with numpy : 0.006547689437866211 nb_pixel_total : 5581 time to create 1 rle with old method : 0.0062313079833984375 create new chi : 0.8971860408782959 time to delete rle : 0.0004000663757324219 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2630 TO DO : save crop sub photo not yet done ! save time : 0.6201047897338867 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.041379690170288086 time for calcul the mask position with numpy : 0.06614565849304199 nb_pixel_total : 2062996 time to create 1 rle with new method : 0.1925647258758545 time for calcul the mask position with numpy : 0.006356239318847656 nb_pixel_total : 4573 time to create 1 rle with old method : 0.005215644836425781 time for calcul the mask position with numpy : 0.006154537200927734 nb_pixel_total : 6031 time to create 1 rle with old method : 0.006622314453125 create new chi : 0.2934548854827881 time to delete rle : 0.0002307891845703125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1424 TO DO : save crop sub photo not yet done ! save time : 1.4999570846557617 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04466533660888672 time for calcul the mask position with numpy : 0.25418925285339355 nb_pixel_total : 2039765 time to create 1 rle with new method : 0.08601140975952148 time for calcul the mask position with numpy : 0.006492137908935547 nb_pixel_total : 6504 time to create 1 rle with old method : 0.007079124450683594 time for calcul the mask position with numpy : 0.006316184997558594 nb_pixel_total : 27331 time to create 1 rle with old method : 0.031206130981445312 create new chi : 0.4032623767852783 time to delete rle : 0.0004456043243408203 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1840 TO DO : save crop sub photo not yet done ! save time : 0.20710277557373047 map_output_result : {1379632028: (0.0, 'Should be the crop_list due to order', 0), 1379632010: (0.0, 'Should be the crop_list due to order', 0.0), 1379631959: (0.0, 'Should be the crop_list due to order', 0), 1379631956: (0.0, 'Should be the crop_list due to order', 0), 1379631937: (0.0, 'Should be the crop_list due to order', 0), 1379631909: (0.0, 'Should be the crop_list due to order', 0), 1379631886: (0.0, 'Should be the crop_list due to order', 0), 1379631873: (0.0, 'Should be the crop_list due to order', 0), 1379631848: (0.0, 'Should be the crop_list due to order', 0), 1379631844: (0.0, 'Should be the crop_list due to order', 0), 1379631837: (0.0, 'Should be the crop_list due to order', 0), 1379631836: (0.0, 'Should be the crop_list due to order', 0), 1379631834: (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 [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 13 /1379632028.Didn't retrieve data . /1379632010.Didn't retrieve data . /1379631959.Didn't retrieve data . /1379631956.Didn't retrieve data . /1379631937.Didn't retrieve data . /1379631909.Didn't retrieve data . /1379631886.Didn't retrieve data . /1379631873.Didn't retrieve data . /1379631848.Didn't retrieve data . /1379631844.Didn't retrieve data . /1379631837.Didn't retrieve data . /1379631836.Didn't retrieve data . /1379631834.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, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.11572504043579102 save_final save missing photos in datou_result : time spend for datou_step_exec : 125.66138052940369 time spend to save output : 0.11630463600158691 total time spend for step 3 : 125.77768516540527 step4:ventilate_hashtags_in_portfolio Wed Aug 27 09:54:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26258331 get user id for portfolio 26258331 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`=26258331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','autre','flou','pet_fonce','mal_croppe','environnement','pet_clair','background','papier','pehd','metal')) 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`=26258331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','autre','flou','pet_fonce','mal_croppe','environnement','pet_clair','background','papier','pehd','metal')) 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`=26258331 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','autre','flou','pet_fonce','mal_croppe','environnement','pet_clair','background','papier','pehd','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26258569,26258570,26258571,26258572,26258573,26258574,26258575,26258576,26258577,26258578,26258579?tags=carton,autre,flou,pet_fonce,mal_croppe,environnement,pet_clair,background,papier,pehd,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 1 /26258331. 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, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.8215136528015137 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7079963684082031 time spend to save output : 0.821871280670166 total time spend for step 4 : 2.529867649078369 step5:final Wed Aug 27 09:54:16 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 : {1379632028: ('0.07669382122507122',), 1379632010: ('0.07669382122507122',), 1379631959: ('0.07669382122507122',), 1379631956: ('0.07669382122507122',), 1379631937: ('0.07669382122507122',), 1379631909: ('0.07669382122507122',), 1379631886: ('0.07669382122507122',), 1379631873: ('0.07669382122507122',), 1379631848: ('0.07669382122507122',), 1379631844: ('0.07669382122507122',), 1379631837: ('0.07669382122507122',), 1379631836: ('0.07669382122507122',), 1379631834: ('0.07669382122507122',)} new output for save of step final : {1379632028: ('0.07669382122507122',), 1379632010: ('0.07669382122507122',), 1379631959: ('0.07669382122507122',), 1379631956: ('0.07669382122507122',), 1379631937: ('0.07669382122507122',), 1379631909: ('0.07669382122507122',), 1379631886: ('0.07669382122507122',), 1379631873: ('0.07669382122507122',), 1379631848: ('0.07669382122507122',), 1379631844: ('0.07669382122507122',), 1379631837: ('0.07669382122507122',), 1379631836: ('0.07669382122507122',), 1379631834: ('0.07669382122507122',)} [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 13 /1379632028.Didn't retrieve data . /1379632010.Didn't retrieve data . /1379631959.Didn't retrieve data . /1379631956.Didn't retrieve data . /1379631937.Didn't retrieve data . /1379631909.Didn't retrieve data . /1379631886.Didn't retrieve data . /1379631873.Didn't retrieve data . /1379631848.Didn't retrieve data . /1379631844.Didn't retrieve data . /1379631837.Didn't retrieve data . /1379631836.Didn't retrieve data . /1379631834.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, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.025825023651123047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11486101150512695 time spend to save output : 0.026344776153564453 total time spend for step 5 : 0.1412057876586914 step6:blur_detection Wed Aug 27 09:54:16 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/1756281029_3887959_1379632028_1706b0520fee26fcd04c6a0f10ea287d.jpg resize: (1080, 1920) 1379632028 -0.9342596014757925 treat image : temp/1756281029_3887959_1379632010_7643341b16b23d416189ce7e10639964.jpg resize: (1080, 1920) 1379632010 -2.311986772959005 treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7.jpg resize: (1080, 1920) 1379631959 -2.5416687471967583 treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6.jpg resize: (1080, 1920) 1379631956 -2.6034371706367314 treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000.jpg resize: (1080, 1920) 1379631937 -2.6904038546478564 treat image : temp/1756281029_3887959_1379631909_f520788c96cb9c2c4986a847af14fcfe.jpg resize: (1080, 1920) 1379631909 -1.9262806369717234 treat image : temp/1756281029_3887959_1379631886_97a16ec5ffbd919499fee1be50ad9c71.jpg resize: (1080, 1920) 1379631886 -2.2235691556514405 treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb.jpg resize: (1080, 1920) 1379631873 -3.0046849648932703 treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312.jpg resize: (1080, 1920) 1379631848 -2.8343237871899767 treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a.jpg resize: (1080, 1920) 1379631844 -2.27712102643579 treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127.jpg resize: (1080, 1920) 1379631837 -2.824688304564096 treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb.jpg resize: (1080, 1920) 1379631836 -2.9650190948798363 treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303.jpg resize: (1080, 1920) 1379631834 -1.9583902990489956 treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7_rle_crop_3932353262_0.png resize: (94, 87) 1379634508 -1.3518770285400998 treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353265_0.png resize: (103, 82) 1379634509 -0.5295943869359828 treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353266_0.png resize: (559, 945) 1379634510 -0.5448060531367326 treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353264_0.png resize: (413, 855) 1379634511 0.15572319751942734 treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353269_0.png resize: (178, 117) 1379634512 -0.60740209400372 treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353267_0.png resize: (57, 61) 1379634513 -3.247979118816758 treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a_rle_crop_3932353277_0.png resize: (181, 126) 1379634514 -0.5238156914155642 treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353278_0.png resize: (90, 87) 1379634515 -0.8075353362919087 treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb_rle_crop_3932353282_0.png resize: (101, 89) 1379634516 -1.8231909744297439 treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303_rle_crop_3932353285_0.png resize: (95, 101) 1379634517 -1.5595170266279152 treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb_rle_crop_3932353273_0.png resize: (102, 89) 1379634518 -1.378682423917172 treat image : temp/1756281029_3887959_1379632028_1706b0520fee26fcd04c6a0f10ea287d_rle_crop_3932353261_0.png resize: (112, 144) 1379634523 -1.369722600714639 treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7_rle_crop_3932353263_0.png resize: (171, 121) 1379634524 -4.03729100412189 treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353268_0.png resize: (934, 890) 1379634525 0.36358064443609855 treat image : temp/1756281029_3887959_1379631909_f520788c96cb9c2c4986a847af14fcfe_rle_crop_3932353270_0.png resize: (237, 125) 1379634526 -1.3538070629720778 treat image : temp/1756281029_3887959_1379631886_97a16ec5ffbd919499fee1be50ad9c71_rle_crop_3932353271_0.png resize: (132, 153) 1379634527 -2.916267864081004 treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb_rle_crop_3932353272_0.png resize: (464, 355) 1379634529 -0.6179046445294036 treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312_rle_crop_3932353275_0.png resize: (974, 1098) 1379634530 -0.3716798004275392 treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312_rle_crop_3932353274_0.png resize: (43, 112) 1379634531 -3.7498925660871314 treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353281_0.png resize: (74, 127) 1379634532 -5.239753368074881 treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353279_0.png resize: (75, 155) 1379634533 -2.7611000918038586 treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353280_0.png resize: (525, 370) 1379634534 0.008808020738220013 treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303_rle_crop_3932353284_0.png resize: (239, 163) 1379634535 -1.903708869764941 treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a_rle_crop_3932353276_0.png resize: (128, 68) 1379634537 -4.513531821524037 treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb_rle_crop_3932353283_0.png resize: (71, 91) 1379634538 -4.074021663924396 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 : 38 time used for this insertion : 0.015593767166137695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.02114415168762207 save missing photos in datou_result : time spend for datou_step_exec : 12.003511905670166 time spend to save output : 0.04382205009460449 total time spend for step 6 : 12.04733395576477 step7:brightness Wed Aug 27 09:54:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1756281029_3887959_1379632028_1706b0520fee26fcd04c6a0f10ea287d.jpg treat image : temp/1756281029_3887959_1379632010_7643341b16b23d416189ce7e10639964.jpg treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7.jpg treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6.jpg treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000.jpg treat image : temp/1756281029_3887959_1379631909_f520788c96cb9c2c4986a847af14fcfe.jpg treat image : temp/1756281029_3887959_1379631886_97a16ec5ffbd919499fee1be50ad9c71.jpg treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb.jpg treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312.jpg treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a.jpg treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127.jpg treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb.jpg treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303.jpg treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7_rle_crop_3932353262_0.png treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353265_0.png treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353266_0.png treat image : temp/1756281029_3887959_1379631956_d47325c42c1ba39f47d31525c1e145e6_rle_crop_3932353264_0.png treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353269_0.png treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353267_0.png treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a_rle_crop_3932353277_0.png treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353278_0.png treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb_rle_crop_3932353282_0.png treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303_rle_crop_3932353285_0.png treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb_rle_crop_3932353273_0.png treat image : temp/1756281029_3887959_1379632028_1706b0520fee26fcd04c6a0f10ea287d_rle_crop_3932353261_0.png treat image : temp/1756281029_3887959_1379631959_7ccc483091118a48609ed9cdc2390aa7_rle_crop_3932353263_0.png treat image : temp/1756281029_3887959_1379631937_f2712f848de55459a392770ed890e000_rle_crop_3932353268_0.png treat image : temp/1756281029_3887959_1379631909_f520788c96cb9c2c4986a847af14fcfe_rle_crop_3932353270_0.png treat image : temp/1756281029_3887959_1379631886_97a16ec5ffbd919499fee1be50ad9c71_rle_crop_3932353271_0.png treat image : temp/1756281029_3887959_1379631873_c4ed0e76333d3e4ede4fa8cd1d7fbcbb_rle_crop_3932353272_0.png treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312_rle_crop_3932353275_0.png treat image : temp/1756281029_3887959_1379631848_b37839d8ce6393148e7d5b942299a312_rle_crop_3932353274_0.png treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353281_0.png treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353279_0.png treat image : temp/1756281029_3887959_1379631837_7569bd1a7d94828d0d19c68a0a0a9127_rle_crop_3932353280_0.png treat image : temp/1756281029_3887959_1379631834_ee90a15db96ef5a068ad505d61f5b303_rle_crop_3932353284_0.png treat image : temp/1756281029_3887959_1379631844_cdae5d57b314c39f5ee9877c85a4256a_rle_crop_3932353276_0.png treat image : temp/1756281029_3887959_1379631836_579dee7d0c555f19ddf4c4190a717eeb_rle_crop_3932353283_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 : 38 time used for this insertion : 0.016947507858276367 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.08681130409240723 save missing photos in datou_result : time spend for datou_step_exec : 3.4436984062194824 time spend to save output : 0.10917878150939941 total time spend for step 7 : 3.552877187728882 step8:velours_tree Wed Aug 27 09:54:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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.15600991249084473 time spend to save output : 4.5299530029296875e-05 total time spend for step 8 : 0.15605521202087402 step9:send_mail_cod Wed Aug 27 09:54:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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_P26258331_27-08-2025_09_54_32.pdf 26258569 change filename to text .imagette262585691756281272 26258570 imagette262585701756281272 26258571 imagette262585711756281272 26258572 change filename to text .change filename to text .imagette262585721756281272 26258573 imagette262585731756281272 26258575 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 .imagette262585751756281272 26258576 imagette262585761756281273 26258577 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 .imagette262585771756281273 26258578 imagette262585781756281274 26258579 imagette262585791756281274 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26258331 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26258569,26258570,26258571,26258572,26258573,26258574,26258575,26258576,26258577,26258578,26258579?tags=carton,autre,flou,pet_fonce,mal_croppe,environnement,pet_clair,background,papier,pehd,metal args[1379632028] : ((1379632028, -0.9342596014757925, 492688767), (1379632028, 0.700551364371863, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379632010] : ((1379632010, -2.311986772959005, 492609224), (1379632010, 0.5905833367537995, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631959] : ((1379631959, -2.5416687471967583, 492609224), (1379631959, 0.5616840498427056, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631956] : ((1379631956, -2.6034371706367314, 492609224), (1379631956, 0.7472127846290685, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631937] : ((1379631937, -2.6904038546478564, 492609224), (1379631937, 0.5610277031569924, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631909] : ((1379631909, -1.9262806369717234, 492688767), (1379631909, 0.7571994645789518, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631886] : ((1379631886, -2.2235691556514405, 492609224), (1379631886, 0.5422730198929042, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631873] : ((1379631873, -3.0046849648932703, 492609224), (1379631873, 0.5544185002792243, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631848] : ((1379631848, -2.8343237871899767, 492609224), (1379631848, 0.621204551954909, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631844] : ((1379631844, -2.27712102643579, 492609224), (1379631844, 0.7976036862478356, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631837] : ((1379631837, -2.824688304564096, 492609224), (1379631837, 0.5063321936617261, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631836] : ((1379631836, -2.9650190948798363, 492609224), (1379631836, 0.5164255632913024, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com args[1379631834] : ((1379631834, -1.9583902990489956, 492688767), (1379631834, 0.5513417174678373, 2107752395), '0.07669382122507122') We are sending mail with results at report@fotonower.com refus_total : 0.07669382122507122 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26258331 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_P26258331_27-08-2025_09_54_32.pdf results_Auto_P26258331_27-08-2025_09_54_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.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','26258331','results_Auto_P26258331_27-08-2025_09_54_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.pdf','pdf','','0.32','0.07669382122507122') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26258331

https://www.fotonower.com/image?json=false&list_photos_id=1379632028
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379632010
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631959
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631956
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631937
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631909
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631886
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631873
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631848
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631844
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631837
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631836
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631834
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26258569?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26258572?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26258575?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26258577?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.pdf.

Lien vers velours :https://www.fotonower.com/velours/26258569,26258570,26258571,26258572,26258573,26258574,26258575,26258576,26258577,26258578,26258579?tags=carton,autre,flou,pet_fonce,mal_croppe,environnement,pet_clair,background,papier,pehd,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 27 Aug 2025 07:54:35 GMT Content-Length: 0 Connection: close X-Message-Id: wgLubfziRSuznzy42JovWw Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.0928351879119873 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.1266939640045166 time spend to save output : 0.0931394100189209 total time spend for step 9 : 3.2198333740234375 step10:split_time_score Wed Aug 27 09:54:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27082025 26258331 Nombre de photos uploadées : 13 / 23040 (0%) 27082025 26258331 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 27082025 26258331 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007207393646240234 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2077624797821045 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.062204378858024684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26256001_27-08-2025_09_32_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26256001 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26256001 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258328 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258329 order by id desc limit 1 Qualite : 0.07669382122507122 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258331 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26258331 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27082025': {'nb_upload': 13, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1379632028, 1379632010, 1379631959, 1379631956, 1379631937, 1379631909, 1379631886, 1379631873, 1379631848, 1379631844, 1379631837, 1379631836, 1379631834] Looping around the photos to save general results len do output : 1 /26258331Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632028', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379632010', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631959', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631956', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631937', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631909', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631886', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631873', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631848', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631844', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631837', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631836', None, None, None, None, None, '3610747') ('3318', None, None, None, None, None, None, None, '3610747') ('3318', '26258331', '1379631834', None, None, None, None, None, '3610747') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.07215690612792969 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5531787872314453 time spend to save output : 0.07243895530700684 total time spend for step 10 : 2.625617742538452 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 46.11user 20.77system 4:13.02elapsed 26%CPU (0avgtext+0avgdata 2772668maxresident)k 512024inputs+20840outputs (440major+1585625minor)pagefaults 0swaps