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 : 2576197 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 : ['3499833'] with mtr_portfolio_ids : ['25876475'] and first list_photo_ids : [] new path : /proc/2576197/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.220682144165039 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Aug 11 13:30:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-11 13:30:32.722897: 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-11 13:30:32.747309: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-11 13:30:32.749531: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fa2ec000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-11 13:30:32.749593: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-11 13:30:32.753605: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-11 13:30:32.921531: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x357ca270 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-11 13:30:32.921599: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-11 13:30:32.923099: 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-11 13:30:32.923541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 13:30:32.926941: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 13:30:32.929997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 13:30:32.930510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 13:30:32.933365: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 13:30:32.934353: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 13:30:32.938645: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 13:30:32.940131: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 13:30:32.940205: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 13:30:32.940955: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-11 13:30:32.940970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-11 13:30:32.940979: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-11 13:30:32.942292: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-11 13:30:33.204397: 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-11 13:30:33.204492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 13:30:33.204516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 13:30:33.204537: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 13:30:33.204557: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 13:30:33.204577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 13:30:33.204597: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 13:30:33.204617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 13:30:33.206222: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 13:30:33.207689: 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-11 13:30:33.207747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-11 13:30:33.207767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 13:30:33.207784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-11 13:30:33.207801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-11 13:30:33.207818: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-11 13:30:33.207835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-11 13:30:33.207853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-11 13:30:33.209297: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-11 13:30:33.209327: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-11 13:30:33.209336: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-11 13:30:33.209343: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-11 13:30:33.210703: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-11 13:30:40.524962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-11 13:30:40.741984: 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 17 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 : 5 Detection mask done ! Trying to reset tf kernel 2576925 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1888 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 7177 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.00026988983154296875 nb_pixel_total : 10249 time to create 1 rle with old method : 0.011905193328857422 length of segment : 122 time for calcul the mask position with numpy : 0.0003421306610107422 nb_pixel_total : 20186 time to create 1 rle with old method : 0.02327442169189453 length of segment : 175 time for calcul the mask position with numpy : 0.0019333362579345703 nb_pixel_total : 122213 time to create 1 rle with old method : 0.13523387908935547 length of segment : 544 time for calcul the mask position with numpy : 0.0001308917999267578 nb_pixel_total : 5974 time to create 1 rle with old method : 0.00693821907043457 length of segment : 50 time for calcul the mask position with numpy : 0.0001761913299560547 nb_pixel_total : 8862 time to create 1 rle with old method : 0.010492801666259766 length of segment : 90 time for calcul the mask position with numpy : 0.00011205673217773438 nb_pixel_total : 5310 time to create 1 rle with old method : 0.006139516830444336 length of segment : 106 time for calcul the mask position with numpy : 5.316734313964844e-05 nb_pixel_total : 1299 time to create 1 rle with old method : 0.0016562938690185547 length of segment : 39 time for calcul the mask position with numpy : 9.036064147949219e-05 nb_pixel_total : 3111 time to create 1 rle with old method : 0.003651857376098633 length of segment : 81 time for calcul the mask position with numpy : 0.0001373291015625 nb_pixel_total : 8120 time to create 1 rle with old method : 0.00934147834777832 length of segment : 116 time for calcul the mask position with numpy : 0.0001811981201171875 nb_pixel_total : 8916 time to create 1 rle with old method : 0.010385990142822266 length of segment : 111 time for calcul the mask position with numpy : 0.00015592575073242188 nb_pixel_total : 7990 time to create 1 rle with old method : 0.009277582168579102 length of segment : 113 time for calcul the mask position with numpy : 0.0014286041259765625 nb_pixel_total : 110392 time to create 1 rle with old method : 0.12004232406616211 length of segment : 522 time for calcul the mask position with numpy : 0.00014829635620117188 nb_pixel_total : 8483 time to create 1 rle with old method : 0.009501934051513672 length of segment : 153 time for calcul the mask position with numpy : 0.0001385211944580078 nb_pixel_total : 8656 time to create 1 rle with old method : 0.009526968002319336 length of segment : 131 time for calcul the mask position with numpy : 0.00017380714416503906 nb_pixel_total : 9945 time to create 1 rle with old method : 0.011193513870239258 length of segment : 111 time for calcul the mask position with numpy : 0.00012135505676269531 nb_pixel_total : 5555 time to create 1 rle with old method : 0.006256580352783203 length of segment : 84 time for calcul the mask position with numpy : 7.939338684082031e-05 nb_pixel_total : 3914 time to create 1 rle with old method : 0.0045278072357177734 length of segment : 54 time for calcul the mask position with numpy : 9.059906005859375e-05 nb_pixel_total : 4012 time to create 1 rle with old method : 0.004590034484863281 length of segment : 80 time for calcul the mask position with numpy : 0.0001990795135498047 nb_pixel_total : 9605 time to create 1 rle with old method : 0.01116323471069336 length of segment : 102 time for calcul the mask position with numpy : 8.821487426757812e-05 nb_pixel_total : 2993 time to create 1 rle with old method : 0.0034978389739990234 length of segment : 67 time for calcul the mask position with numpy : 7.534027099609375e-05 nb_pixel_total : 2259 time to create 1 rle with old method : 0.0026361942291259766 length of segment : 67 time for calcul the mask position with numpy : 0.00046324729919433594 nb_pixel_total : 29290 time to create 1 rle with old method : 0.03291487693786621 length of segment : 184 time for calcul the mask position with numpy : 0.0015993118286132812 nb_pixel_total : 116558 time to create 1 rle with old method : 0.12856507301330566 length of segment : 499 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 8596 time to create 1 rle with old method : 0.009979724884033203 length of segment : 126 time for calcul the mask position with numpy : 0.000247955322265625 nb_pixel_total : 17363 time to create 1 rle with old method : 0.019728422164916992 length of segment : 140 time for calcul the mask position with numpy : 0.00013518333435058594 nb_pixel_total : 5519 time to create 1 rle with old method : 0.006463527679443359 length of segment : 89 time for calcul the mask position with numpy : 7.2479248046875e-05 nb_pixel_total : 2647 time to create 1 rle with old method : 0.003058195114135742 length of segment : 75 time spent for convertir_results : 1.409827470779419 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 27 chid ids of type : 3594 Number RLEs to save : 4031 save missing photos in datou_result : time spend for datou_step_exec : 21.277441263198853 time spend to save output : 0.3184776306152344 total time spend for step 1 : 21.595918893814087 step2:crop_condition Mon Aug 11 13:30:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 8 ! batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754911852_2576197 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.371411085128784 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754911857_2576197 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.356961727142334 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754911859_2576197 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 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0958969593048096 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754911860_2576197 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 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1270463466644287 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] Looping around the photos to save general results len do output : 27 /1376434891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434908Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376434919Didn'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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 89 time used for this insertion : 0.024132966995239258 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.146119832992554 time spend to save output : 0.025330066680908203 total time spend for step 2 : 10.171449899673462 step3:rle_unique_nms_with_priority Mon Aug 11 13:31:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.40314459800720215 time for calcul the mask position with numpy : 0.23904895782470703 nb_pixel_total : 1920952 time to create 1 rle with new method : 0.20718884468078613 time for calcul the mask position with numpy : 0.006899595260620117 nb_pixel_total : 122213 time to create 1 rle with old method : 0.13236355781555176 time for calcul the mask position with numpy : 0.006600856781005859 nb_pixel_total : 20186 time to create 1 rle with old method : 0.021972179412841797 time for calcul the mask position with numpy : 0.0062139034271240234 nb_pixel_total : 10249 time to create 1 rle with old method : 0.011176824569702148 create new chi : 0.6414649486541748 time to delete rle : 0.025303125381469727 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2762 TO DO : save crop sub photo not yet done ! save time : 0.18716001510620117 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3028562068939209 time for calcul the mask position with numpy : 0.15472650527954102 nb_pixel_total : 2052155 time to create 1 rle with new method : 0.09530258178710938 time for calcul the mask position with numpy : 0.006015777587890625 nb_pixel_total : 1299 time to create 1 rle with old method : 0.001485586166381836 time for calcul the mask position with numpy : 0.005974769592285156 nb_pixel_total : 5310 time to create 1 rle with old method : 0.005979776382446289 time for calcul the mask position with numpy : 0.006044149398803711 nb_pixel_total : 8862 time to create 1 rle with old method : 0.009618759155273438 time for calcul the mask position with numpy : 0.006249904632568359 nb_pixel_total : 5974 time to create 1 rle with old method : 0.006543636322021484 create new chi : 0.3075549602508545 time to delete rle : 0.0002288818359375 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 1650 TO DO : save crop sub photo not yet done ! save time : 0.14766216278076172 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0355830192565918 time for calcul the mask position with numpy : 0.021889448165893555 nb_pixel_total : 2070489 time to create 1 rle with new method : 0.1846637725830078 time for calcul the mask position with numpy : 0.005982398986816406 nb_pixel_total : 3111 time to create 1 rle with old method : 0.00347137451171875 create new chi : 0.22272396087646484 time to delete rle : 0.000213623046875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1242 TO DO : save crop sub photo not yet done ! save time : 0.11375236511230469 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03359866142272949 time for calcul the mask position with numpy : 0.020067930221557617 nb_pixel_total : 2065480 time to create 1 rle with new method : 0.12766027450561523 time for calcul the mask position with numpy : 0.005907535552978516 nb_pixel_total : 8120 time to create 1 rle with old method : 0.008801937103271484 create new chi : 0.17260146141052246 time to delete rle : 0.0002295970916748047 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1312 TO DO : save crop sub photo not yet done ! save time : 0.12021327018737793 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0698862075805664 time for calcul the mask position with numpy : 0.22242116928100586 nb_pixel_total : 2056694 time to create 1 rle with new method : 0.09923982620239258 time for calcul the mask position with numpy : 0.006676435470581055 nb_pixel_total : 7990 time to create 1 rle with old method : 0.009056568145751953 time for calcul the mask position with numpy : 0.006062507629394531 nb_pixel_total : 8916 time to create 1 rle with old method : 0.010118961334228516 create new chi : 0.36423754692077637 time to delete rle : 0.0002467632293701172 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1528 TO DO : save crop sub photo not yet done ! save time : 0.13697409629821777 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.16785430908203125 time for calcul the mask position with numpy : 0.15488147735595703 nb_pixel_total : 1954160 time to create 1 rle with new method : 0.09458160400390625 time for calcul the mask position with numpy : 0.0061337947845458984 nb_pixel_total : 565 time to create 1 rle with old method : 0.00072479248046875 time for calcul the mask position with numpy : 0.006026744842529297 nb_pixel_total : 8483 time to create 1 rle with old method : 0.009224176406860352 time for calcul the mask position with numpy : 0.006274700164794922 nb_pixel_total : 110392 time to create 1 rle with old method : 0.1202085018157959 create new chi : 0.40766358375549316 time to delete rle : 0.0003180503845214844 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2515 TO DO : save crop sub photo not yet done ! save time : 0.19007349014282227 nb_obj : 12 nb_hashtags : 4 time to prepare the origin masks : 0.6209149360656738 time for calcul the mask position with numpy : 0.07171154022216797 nb_pixel_total : 1857991 time to create 1 rle with new method : 0.20546722412109375 time for calcul the mask position with numpy : 0.010125875473022461 nb_pixel_total : 5519 time to create 1 rle with old method : 0.006161212921142578 time for calcul the mask position with numpy : 0.009958028793334961 nb_pixel_total : 17363 time to create 1 rle with old method : 0.019080638885498047 time for calcul the mask position with numpy : 0.009849071502685547 nb_pixel_total : 8596 time to create 1 rle with old method : 0.009393453598022461 time for calcul the mask position with numpy : 0.007220745086669922 nb_pixel_total : 116558 time to create 1 rle with old method : 0.1254117488861084 time for calcul the mask position with numpy : 0.0066661834716796875 nb_pixel_total : 29290 time to create 1 rle with old method : 0.03206324577331543 time for calcul the mask position with numpy : 0.006407976150512695 nb_pixel_total : 2259 time to create 1 rle with old method : 0.0025920867919921875 time for calcul the mask position with numpy : 0.0065534114837646484 nb_pixel_total : 2993 time to create 1 rle with old method : 0.003428936004638672 time for calcul the mask position with numpy : 0.006376028060913086 nb_pixel_total : 9605 time to create 1 rle with old method : 0.011075019836425781 time for calcul the mask position with numpy : 0.00656437873840332 nb_pixel_total : 4012 time to create 1 rle with old method : 0.004513740539550781 time for calcul the mask position with numpy : 0.008134841918945312 nb_pixel_total : 3914 time to create 1 rle with old method : 0.004416227340698242 time for calcul the mask position with numpy : 0.0063457489013671875 nb_pixel_total : 5555 time to create 1 rle with old method : 0.00635075569152832 time for calcul the mask position with numpy : 0.006249427795410156 nb_pixel_total : 9945 time to create 1 rle with old method : 0.011121273040771484 create new chi : 0.6135227680206299 time to delete rle : 0.0005476474761962891 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++Number RLEs to save : 4286 TO DO : save crop sub photo not yet done ! save time : 0.2943277359008789 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05743408203125 time for calcul the mask position with numpy : 0.028339862823486328 nb_pixel_total : 2070953 time to create 1 rle with new method : 0.031351327896118164 time for calcul the mask position with numpy : 0.005971670150756836 nb_pixel_total : 2647 time to create 1 rle with old method : 0.002979278564453125 create new chi : 0.08119678497314453 time to delete rle : 0.00020885467529296875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1230 TO DO : save crop sub photo not yet done ! save time : 0.11314558982849121 map_output_result : {1376425526: (0.0, 'Should be the crop_list due to order', 0), 1376425443: (0.0, 'Should be the crop_list due to order', 0), 1376425418: (0.0, 'Should be the crop_list due to order', 0), 1376425388: (0.0, 'Should be the crop_list due to order', 0), 1376425362: (0.0, 'Should be the crop_list due to order', 0), 1376425338: (0.0, 'Should be the crop_list due to order', 0), 1376425237: (0.0, 'Should be the crop_list due to order', 0), 1376425039: (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 [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] Looping around the photos to save general results len do output : 8 /1376425526.Didn't retrieve data . /1376425443.Didn't retrieve data . /1376425418.Didn't retrieve data . /1376425388.Didn't retrieve data . /1376425362.Didn't retrieve data . /1376425338.Didn't retrieve data . /1376425237.Didn't retrieve data . /1376425039.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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.012837409973144531 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.120980262756348 time spend to save output : 0.013193607330322266 total time spend for step 3 : 6.13417387008667 step4:ventilate_hashtags_in_portfolio Mon Aug 11 13:31:07 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 : 25876475 get user id for portfolio 25876475 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`=25876475 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','autre','environnement','pehd','papier','carton','pet_clair','mal_croppe','flou','background','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`=25876475 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','autre','environnement','pehd','papier','carton','pet_clair','mal_croppe','flou','background','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`=25876475 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','autre','environnement','pehd','papier','carton','pet_clair','mal_croppe','flou','background','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25876616,25876617,25876618,25876619,25876620,25876621,25876622,25876623,25876624,25876625,25876626?tags=pet_fonce,autre,environnement,pehd,papier,carton,pet_clair,mal_croppe,flou,background,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] Looping around the photos to save general results len do output : 1 /25876475. 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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014054059982299805 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6380665302276611 time spend to save output : 0.014286279678344727 total time spend for step 4 : 1.6523528099060059 step5:final Mon Aug 11 13:31:09 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 : {1376425526: ('0.032547622492283955',), 1376425443: ('0.032547622492283955',), 1376425418: ('0.032547622492283955',), 1376425388: ('0.032547622492283955',), 1376425362: ('0.032547622492283955',), 1376425338: ('0.032547622492283955',), 1376425237: ('0.032547622492283955',), 1376425039: ('0.032547622492283955',)} new output for save of step final : {1376425526: ('0.032547622492283955',), 1376425443: ('0.032547622492283955',), 1376425418: ('0.032547622492283955',), 1376425388: ('0.032547622492283955',), 1376425362: ('0.032547622492283955',), 1376425338: ('0.032547622492283955',), 1376425237: ('0.032547622492283955',), 1376425039: ('0.032547622492283955',)} [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] Looping around the photos to save general results len do output : 8 /1376425526.Didn't retrieve data . /1376425443.Didn't retrieve data . /1376425418.Didn't retrieve data . /1376425388.Didn't retrieve data . /1376425362.Didn't retrieve data . /1376425338.Didn't retrieve data . /1376425237.Didn't retrieve data . /1376425039.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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.015618324279785156 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11812305450439453 time spend to save output : 0.0160372257232666 total time spend for step 5 : 0.13416028022766113 step6:blur_detection Mon Aug 11 13:31:09 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/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a.jpg resize: (1080, 1920) 1376425526 0.9207018164481252 treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf.jpg resize: (1080, 1920) 1376425443 1.163796453070971 treat image : temp/1754911828_2576197_1376425418_fb9439451a862c6ce14902584274326c.jpg resize: (1080, 1920) 1376425418 1.834146033499403 treat image : temp/1754911828_2576197_1376425388_b4fb9e443cdc298faf90ddb4a1dee923.jpg resize: (1080, 1920) 1376425388 -0.05371695085492517 treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663.jpg resize: (1080, 1920) 1376425362 0.45094109309614605 treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914.jpg resize: (1080, 1920) 1376425338 0.20795919211634878 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7.jpg resize: (1080, 1920) 1376425237 0.48909642817962784 treat image : temp/1754911828_2576197_1376425039_2f3d0b9517e4eeb5501cbc54ad4081d8.jpg resize: (1080, 1920) 1376425039 -0.3204991694249553 treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031099_0.png resize: (49, 137) 1376434891 3.4437624211278526 treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031102_0.png resize: (38, 47) 1376434892 4.366205630113242 treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031101_0.png resize: (98, 86) 1376434893 -2.872711018462738 treat image : temp/1754911828_2576197_1376425418_fb9439451a862c6ce14902584274326c_rle_crop_3911031103_0.png resize: (81, 73) 1376434894 -1.1251193588985446 treat image : temp/1754911828_2576197_1376425388_b4fb9e443cdc298faf90ddb4a1dee923_rle_crop_3911031104_0.png resize: (110, 113) 1376434895 -0.709044488200574 treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663_rle_crop_3911031106_0.png resize: (107, 145) 1376434896 0.1012789597017935 treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663_rle_crop_3911031105_0.png resize: (96, 167) 1376434897 -1.4949440012702482 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031121_0.png resize: (88, 102) 1376434898 -0.26399433381255183 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031116_0.png resize: (67, 59) 1376434899 -2.2094879503186076 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031111_0.png resize: (84, 98) 1376434900 0.18908798764602158 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031110_0.png resize: (111, 139) 1376434901 -0.5367241428064061 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031114_0.png resize: (83, 216) 1376434902 -1.3313885898373454 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031115_0.png resize: (67, 70) 1376434903 -0.015237276739485016 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031112_0.png resize: (54, 93) 1376434904 2.270615672922736 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031113_0.png resize: (73, 81) 1376434905 -0.7976415461516094 treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031097_0.png resize: (149, 199) 1376434906 -1.7694831743603254 treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031100_0.png resize: (86, 172) 1376434907 -1.8203485195944178 treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031107_0.png resize: (520, 366) 1376434908 0.04026010382717381 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031117_0.png resize: (177, 300) 1376434909 -1.6097626014498165 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031118_0.png resize: (496, 365) 1376434910 0.20628907628167112 treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031098_0.png resize: (543, 353) 1376434913 0.3598426964279337 treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031109_0.png resize: (131, 80) 1376434914 -3.311658090803535 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031120_0.png resize: (103, 232) 1376434915 0.1855313693351819 treat image : temp/1754911828_2576197_1376425039_2f3d0b9517e4eeb5501cbc54ad4081d8_rle_crop_3911031122_0.png resize: (74, 47) 1376434916 0.7397872852462695 treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031096_0.png resize: (122, 113) 1376434917 -2.921154710206273 treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031108_0.png resize: (130, 88) 1376434918 -3.5554645932844173 treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031119_0.png resize: (124, 97) 1376434919 -2.208043659183352 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 : 35 time used for this insertion : 0.02062368392944336 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.013911962509155273 save missing photos in datou_result : time spend for datou_step_exec : 6.725306749343872 time spend to save output : 0.03986310958862305 total time spend for step 6 : 6.765169858932495 step7:brightness Mon Aug 11 13:31: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 calcul brightness treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a.jpg treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf.jpg treat image : temp/1754911828_2576197_1376425418_fb9439451a862c6ce14902584274326c.jpg treat image : temp/1754911828_2576197_1376425388_b4fb9e443cdc298faf90ddb4a1dee923.jpg treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663.jpg treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914.jpg treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7.jpg treat image : temp/1754911828_2576197_1376425039_2f3d0b9517e4eeb5501cbc54ad4081d8.jpg treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031099_0.png treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031102_0.png treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031101_0.png treat image : temp/1754911828_2576197_1376425418_fb9439451a862c6ce14902584274326c_rle_crop_3911031103_0.png treat image : temp/1754911828_2576197_1376425388_b4fb9e443cdc298faf90ddb4a1dee923_rle_crop_3911031104_0.png treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663_rle_crop_3911031106_0.png treat image : temp/1754911828_2576197_1376425362_7ba9ac76afcd5e20d8bcc06721111663_rle_crop_3911031105_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031121_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031116_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031111_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031110_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031114_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031115_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031112_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031113_0.png treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031097_0.png treat image : temp/1754911828_2576197_1376425443_c83eee1bd7a35bc91502b75803ead7bf_rle_crop_3911031100_0.png treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031107_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031117_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031118_0.png treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031098_0.png treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031109_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031120_0.png treat image : temp/1754911828_2576197_1376425039_2f3d0b9517e4eeb5501cbc54ad4081d8_rle_crop_3911031122_0.png treat image : temp/1754911828_2576197_1376425526_48ed9137b40553efc38938a9cb28ff0a_rle_crop_3911031096_0.png treat image : temp/1754911828_2576197_1376425338_0da450aff0fa4e298dea91764ea58914_rle_crop_3911031108_0.png treat image : temp/1754911828_2576197_1376425237_645ebefcf33887639cfc29156adbc9e7_rle_crop_3911031119_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 : 35 time used for this insertion : 0.017212867736816406 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.015750646591186523 save missing photos in datou_result : time spend for datou_step_exec : 1.9019887447357178 time spend to save output : 0.03791499137878418 total time spend for step 7 : 1.939903736114502 step8:velours_tree Mon Aug 11 13:31:18 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.18964481353759766 time spend to save output : 5.1021575927734375e-05 total time spend for step 8 : 0.1896958351135254 step9:send_mail_cod Mon Aug 11 13:31:18 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_P25876475_11-08-2025_13_31_18.pdf 25876616 imagette258766161754911878 25876617 change filename to text .change filename to text .change filename to text .imagette258766171754911878 25876619 imagette258766191754911878 25876620 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette258766201754911878 25876621 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette258766211754911879 25876622 change filename to text .change filename to text .change filename to text .change filename to text .imagette258766221754911879 25876623 imagette258766231754911879 25876624 imagette258766241754911879 25876625 imagette258766251754911879 25876626 imagette258766261754911879 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25876475 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25876616,25876617,25876618,25876619,25876620,25876621,25876622,25876623,25876624,25876625,25876626?tags=pet_fonce,autre,environnement,pehd,papier,carton,pet_clair,mal_croppe,flou,background,metal args[1376425526] : ((1376425526, 0.9207018164481252, 492688767), (1376425526, 0.36369873130689656, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425443] : ((1376425443, 1.163796453070971, 492688767), (1376425443, 0.33767626912227455, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425418] : ((1376425418, 1.834146033499403, 492688767), (1376425418, 0.5706362902336353, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425388] : ((1376425388, -0.05371695085492517, 492688767), (1376425388, 0.9064650280891121, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425362] : ((1376425362, 0.45094109309614605, 492688767), (1376425362, 0.369748917415696, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425338] : ((1376425338, 0.20795919211634878, 492688767), (1376425338, 0.43296418777589285, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425237] : ((1376425237, 0.48909642817962784, 492688767), (1376425237, 0.21927827180040493, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com args[1376425039] : ((1376425039, -0.3204991694249553, 492688767), (1376425039, 0.6943156274302483, 2107752395), '0.032547622492283955') We are sending mail with results at report@fotonower.com refus_total : 0.032547622492283955 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=25876475 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_P25876475_11-08-2025_13_31_18.pdf results_Auto_P25876475_11-08-2025_13_31_18.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876475_11-08-2025_13_31_18.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','25876475','results_Auto_P25876475_11-08-2025_13_31_18.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876475_11-08-2025_13_31_18.pdf','pdf','','0.15','0.032547622492283955') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25876475

https://www.fotonower.com/image?json=false&list_photos_id=1376425526
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376425443
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.163796453070971)
https://www.fotonower.com/image?json=false&list_photos_id=1376425418
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.834146033499403)
https://www.fotonower.com/image?json=false&list_photos_id=1376425388
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376425362
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376425338
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376425237
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376425039
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/25876617?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25876620?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25876621?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25876622?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876475_11-08-2025_13_31_18.pdf.

Lien vers velours :https://www.fotonower.com/velours/25876616,25876617,25876618,25876619,25876620,25876621,25876622,25876623,25876624,25876625,25876626?tags=pet_fonce,autre,environnement,pehd,papier,carton,pet_clair,mal_croppe,flou,background,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 11 Aug 2025 11:31:21 GMT Content-Length: 0 Connection: close X-Message-Id: 9bag7Q-GQv-BUJdRNiGRGA 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 [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] 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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.015273094177246094 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2924153804779053 time spend to save output : 0.015494108200073242 total time spend for step 9 : 3.3079094886779785 step10:split_time_score Mon Aug 11 13:31:21 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'}] (('12', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 11082025 25876475 Nombre de photos uploadées : 8 / 23040 (0%) 11082025 25876475 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 11082025 25876475 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.1920928955078125e-05 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005695819854736328 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20231389999389648 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.16853715102413025 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867656_11-08-2025_08_53_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867656 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`=25867656 AND mptpi.`type`=3594 To do Qualite : 0.2745930748456791 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25867659_11-08-2025_08_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25867659 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`=25867659 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876444 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876448 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876450 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876453 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876454 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876456 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876458 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876465 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876469 order by id desc limit 1 Qualite : 0.032547622492283955 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25876475_11-08-2025_13_31_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25876475 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`=25876475 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'11082025': {'nb_upload': 8, '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 [1376425526, 1376425443, 1376425418, 1376425388, 1376425362, 1376425338, 1376425237, 1376425039] Looping around the photos to save general results len do output : 1 /25876475Didn'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, '3499833') ('3318', '25876475', '1376425526', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425443', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425418', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425388', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425362', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425338', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425237', None, None, None, None, None, '3499833') ('3318', None, None, None, None, None, None, None, '3499833') ('3318', '25876475', '1376425039', None, None, None, None, None, '3499833') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.015253067016601562 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.385184288024902 time spend to save output : 0.015465974807739258 total time spend for step 10 : 9.400650262832642 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 28.85user 15.82system 1:06.40elapsed 67%CPU (0avgtext+0avgdata 2711076maxresident)k 504088inputs+8832outputs (95major+1343247minor)pagefaults 0swaps