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 : 253291 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 : ['3520285'] with mtr_portfolio_ids : ['25940143'] and first list_photo_ids : [] new path : /proc/253291/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.9196569919586182 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Aug 13 17: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 : 10643 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-13 17:30:32.402771: 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-13 17:30:32.428548: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-13 17:30:32.430404: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f4bb4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-13 17:30:32.430451: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-13 17:30:32.433504: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-13 17:30:32.628876: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1a10f620 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-13 17:30:32.628915: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-13 17:30:32.631065: 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-13 17:30:32.631488: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 17:30:32.634374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 17:30:32.637148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 17:30:32.637553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 17:30:32.639964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 17:30:32.641227: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 17:30:32.645972: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 17:30:32.647771: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 17:30:32.647853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 17:30:32.648823: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-13 17:30:32.648845: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-13 17:30:32.648856: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-13 17:30:32.650429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9715 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-13 17:30:32.911387: 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-13 17:30:32.911510: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 17:30:32.911540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 17:30:32.911568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 17:30:32.911594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 17:30:32.911620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 17:30:32.911645: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 17:30:32.911671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 17:30:32.913731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 17:30:32.914839: 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-13 17:30:32.914867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-13 17:30:32.914881: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 17:30:32.914893: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-13 17:30:32.914905: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-13 17:30:32.914918: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-13 17:30:32.914930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-13 17:30:32.914943: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-13 17:30:32.916080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-13 17:30:32.916114: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-13 17:30:32.916122: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-13 17:30:32.916129: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-13 17:30:32.917326: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9715 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-13 17:30:39.596224: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-13 17:30:39.779852: 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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.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: 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 58.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: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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 253873 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1574 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 6863 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.0002570152282714844 nb_pixel_total : 3842 time to create 1 rle with old method : 0.004914999008178711 length of segment : 143 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 3424 time to create 1 rle with old method : 0.0042874813079833984 length of segment : 72 time for calcul the mask position with numpy : 0.00014281272888183594 nb_pixel_total : 5391 time to create 1 rle with old method : 0.0064182281494140625 length of segment : 80 time for calcul the mask position with numpy : 0.0004925727844238281 nb_pixel_total : 26842 time to create 1 rle with old method : 0.03061985969543457 length of segment : 184 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 2250 time to create 1 rle with old method : 0.002655029296875 length of segment : 53 time for calcul the mask position with numpy : 0.001960277557373047 nb_pixel_total : 113437 time to create 1 rle with old method : 0.12334442138671875 length of segment : 500 time for calcul the mask position with numpy : 8.225440979003906e-05 nb_pixel_total : 2456 time to create 1 rle with old method : 0.0027704238891601562 length of segment : 52 time for calcul the mask position with numpy : 0.00010466575622558594 nb_pixel_total : 4557 time to create 1 rle with old method : 0.005219697952270508 length of segment : 73 time for calcul the mask position with numpy : 0.0015530586242675781 nb_pixel_total : 111507 time to create 1 rle with old method : 0.11858510971069336 length of segment : 542 time for calcul the mask position with numpy : 8.869171142578125e-05 nb_pixel_total : 2636 time to create 1 rle with old method : 0.0029816627502441406 length of segment : 56 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 4557 time to create 1 rle with old method : 0.005019426345825195 length of segment : 85 time for calcul the mask position with numpy : 0.0014297962188720703 nb_pixel_total : 107061 time to create 1 rle with old method : 0.1140739917755127 length of segment : 513 time for calcul the mask position with numpy : 0.0014300346374511719 nb_pixel_total : 78566 time to create 1 rle with old method : 0.08402895927429199 length of segment : 489 time for calcul the mask position with numpy : 0.00026869773864746094 nb_pixel_total : 11163 time to create 1 rle with old method : 0.012584924697875977 length of segment : 139 time for calcul the mask position with numpy : 0.016694307327270508 nb_pixel_total : 934024 time to create 1 rle with new method : 0.030312538146972656 length of segment : 1550 time for calcul the mask position with numpy : 0.0016794204711914062 nb_pixel_total : 116357 time to create 1 rle with old method : 0.12288689613342285 length of segment : 530 time for calcul the mask position with numpy : 0.0004127025604248047 nb_pixel_total : 14757 time to create 1 rle with old method : 0.01624774932861328 length of segment : 141 time for calcul the mask position with numpy : 0.0019431114196777344 nb_pixel_total : 92774 time to create 1 rle with old method : 0.09902095794677734 length of segment : 310 time for calcul the mask position with numpy : 0.00170135498046875 nb_pixel_total : 99924 time to create 1 rle with old method : 0.10567688941955566 length of segment : 514 time for calcul the mask position with numpy : 0.002314329147338867 nb_pixel_total : 101009 time to create 1 rle with old method : 0.1067352294921875 length of segment : 519 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 5836 time to create 1 rle with old method : 0.006581306457519531 length of segment : 99 time for calcul the mask position with numpy : 0.018626689910888672 nb_pixel_total : 1011238 time to create 1 rle with new method : 0.032331228256225586 length of segment : 1644 time for calcul the mask position with numpy : 0.00013399124145507812 nb_pixel_total : 2062 time to create 1 rle with old method : 0.0024018287658691406 length of segment : 105 time for calcul the mask position with numpy : 0.0012285709381103516 nb_pixel_total : 16842 time to create 1 rle with old method : 0.018399715423583984 length of segment : 424 time for calcul the mask position with numpy : 0.00040984153747558594 nb_pixel_total : 2473 time to create 1 rle with old method : 0.0050809383392333984 length of segment : 55 time for calcul the mask position with numpy : 0.0033082962036132812 nb_pixel_total : 118373 time to create 1 rle with old method : 0.13176250457763672 length of segment : 524 time for calcul the mask position with numpy : 0.00018715858459472656 nb_pixel_total : 8348 time to create 1 rle with old method : 0.009804010391235352 length of segment : 71 time spent for convertir_results : 2.8459880352020264 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 : 9467 save missing photos in datou_result : time spend for datou_step_exec : 22.084439754486084 time spend to save output : 0.5666346549987793 total time spend for step 1 : 22.651074409484863 step2:crop_condition Wed Aug 13 17:30:52 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 : 11 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755099053_253291 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 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.3085153102874756 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755099056_253291 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5683226585388184 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 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755099057_253291 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9660139083862305 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755099069_253291 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.2411952018737793 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/1755099073_253291 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 : 0.9525377750396729 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] Looping around the photos to save general results len do output : 27 /1376763131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376763254Didn'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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 92 time used for this insertion : 0.015795230865478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.586108684539795 time spend to save output : 0.016671180725097656 total time spend for step 2 : 21.602779865264893 step3:rle_unique_nms_with_priority Wed Aug 13 17:31:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04348111152648926 time for calcul the mask position with numpy : 0.03317666053771973 nb_pixel_total : 2069758 time to create 1 rle with new method : 0.046640634536743164 time for calcul the mask position with numpy : 0.006869792938232422 nb_pixel_total : 3842 time to create 1 rle with old method : 0.004411458969116211 create new chi : 0.09602975845336914 time to delete rle : 0.021786212921142578 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1366 TO DO : save crop sub photo not yet done ! save time : 0.11092376708984375 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10225391387939453 time for calcul the mask position with numpy : 0.032514333724975586 nb_pixel_total : 2064785 time to create 1 rle with new method : 0.05953335762023926 time for calcul the mask position with numpy : 0.007652997970581055 nb_pixel_total : 5391 time to create 1 rle with old method : 0.0062525272369384766 time for calcul the mask position with numpy : 0.007524728775024414 nb_pixel_total : 3424 time to create 1 rle with old method : 0.004056215286254883 create new chi : 0.12397146224975586 time to delete rle : 0.0004582405090332031 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1384 TO DO : save crop sub photo not yet done ! save time : 0.11204314231872559 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.11787939071655273 time for calcul the mask position with numpy : 0.0807504653930664 nb_pixel_total : 1928615 time to create 1 rle with new method : 0.10503101348876953 time for calcul the mask position with numpy : 0.007562398910522461 nb_pixel_total : 2456 time to create 1 rle with old method : 0.002836942672729492 time for calcul the mask position with numpy : 0.009003639221191406 nb_pixel_total : 113437 time to create 1 rle with old method : 0.12755465507507324 time for calcul the mask position with numpy : 0.007475852966308594 nb_pixel_total : 2250 time to create 1 rle with old method : 0.002605915069580078 time for calcul the mask position with numpy : 0.007688283920288086 nb_pixel_total : 26842 time to create 1 rle with old method : 0.030805587768554688 create new chi : 0.3897867202758789 time to delete rle : 0.0007178783416748047 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2658 TO DO : save crop sub photo not yet done ! save time : 0.17676138877868652 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.09562134742736816 time for calcul the mask position with numpy : 0.0635373592376709 nb_pixel_total : 1946252 time to create 1 rle with new method : 0.09238696098327637 time for calcul the mask position with numpy : 0.007351875305175781 nb_pixel_total : 4091 time to create 1 rle with old method : 0.004900693893432617 time for calcul the mask position with numpy : 0.007352352142333984 nb_pixel_total : 4557 time to create 1 rle with old method : 0.00525975227355957 time for calcul the mask position with numpy : 0.007344484329223633 nb_pixel_total : 2636 time to create 1 rle with old method : 0.003080129623413086 time for calcul the mask position with numpy : 0.008542776107788086 nb_pixel_total : 111507 time to create 1 rle with old method : 0.12633466720581055 time for calcul the mask position with numpy : 0.007298469543457031 nb_pixel_total : 4557 time to create 1 rle with old method : 0.005279064178466797 create new chi : 0.34499549865722656 time to delete rle : 0.0008161067962646484 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 3114 TO DO : save crop sub photo not yet done ! save time : 0.2102499008178711 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.053766727447509766 time for calcul the mask position with numpy : 0.029541969299316406 nb_pixel_total : 1995034 time to create 1 rle with new method : 0.04056286811828613 time for calcul the mask position with numpy : 0.008629560470581055 nb_pixel_total : 78566 time to create 1 rle with old method : 0.08640885353088379 create new chi : 0.16562867164611816 time to delete rle : 0.00048613548278808594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2058 TO DO : save crop sub photo not yet done ! save time : 0.15333914756774902 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07528185844421387 time for calcul the mask position with numpy : 0.02016592025756836 nb_pixel_total : 1139576 time to create 1 rle with new method : 0.049669742584228516 time for calcul the mask position with numpy : 0.01642131805419922 nb_pixel_total : 922861 time to create 1 rle with new method : 0.047566890716552734 time for calcul the mask position with numpy : 0.0070645809173583984 nb_pixel_total : 11163 time to create 1 rle with old method : 0.011830329895019531 create new chi : 0.16128015518188477 time to delete rle : 0.0008728504180908203 batch 1 Loaded 5 chid ids of type : 3594 +++++Number RLEs to save : 4458 TO DO : save crop sub photo not yet done ! save time : 0.27736926078796387 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05304908752441406 time for calcul the mask position with numpy : 0.04658174514770508 nb_pixel_total : 1942486 time to create 1 rle with new method : 0.060667991638183594 time for calcul the mask position with numpy : 0.007796525955200195 nb_pixel_total : 14757 time to create 1 rle with old method : 0.016942739486694336 time for calcul the mask position with numpy : 0.00859832763671875 nb_pixel_total : 116357 time to create 1 rle with old method : 0.1312425136566162 create new chi : 0.27727222442626953 time to delete rle : 0.0006031990051269531 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2422 TO DO : save crop sub photo not yet done ! save time : 0.1620025634765625 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0600428581237793 time for calcul the mask position with numpy : 0.030350923538208008 nb_pixel_total : 1880902 time to create 1 rle with new method : 0.049707889556884766 time for calcul the mask position with numpy : 0.00842142105102539 nb_pixel_total : 99924 time to create 1 rle with old method : 0.11075973510742188 time for calcul the mask position with numpy : 0.007802486419677734 nb_pixel_total : 92774 time to create 1 rle with old method : 0.10057854652404785 create new chi : 0.3124210834503174 time to delete rle : 0.0004258155822753906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2728 TO DO : save crop sub photo not yet done ! save time : 0.19199013710021973 No data in photo_id : 1376754611 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.10407328605651855 time for calcul the mask position with numpy : 0.021752119064331055 nb_pixel_total : 958969 time to create 1 rle with new method : 0.05266308784484863 time for calcul the mask position with numpy : 0.007158517837524414 nb_pixel_total : 2062 time to create 1 rle with old method : 0.002481222152709961 time for calcul the mask position with numpy : 0.020087480545043945 nb_pixel_total : 1005724 time to create 1 rle with new method : 0.0502934455871582 time for calcul the mask position with numpy : 0.007249355316162109 nb_pixel_total : 5836 time to create 1 rle with old method : 0.006514549255371094 time for calcul the mask position with numpy : 0.007745981216430664 nb_pixel_total : 101009 time to create 1 rle with old method : 0.10999417304992676 create new chi : 0.29490232467651367 time to delete rle : 0.0011105537414550781 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 5810 TO DO : save crop sub photo not yet done ! save time : 0.3325028419494629 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09049057960510254 time for calcul the mask position with numpy : 0.03483176231384277 nb_pixel_total : 1927564 time to create 1 rle with new method : 0.050231218338012695 time for calcul the mask position with numpy : 0.007561445236206055 nb_pixel_total : 8348 time to create 1 rle with old method : 0.01036524772644043 time for calcul the mask position with numpy : 0.008323192596435547 nb_pixel_total : 118373 time to create 1 rle with old method : 0.1362454891204834 time for calcul the mask position with numpy : 0.0071446895599365234 nb_pixel_total : 2473 time to create 1 rle with old method : 0.002821683883666992 time for calcul the mask position with numpy : 0.007082939147949219 nb_pixel_total : 16842 time to create 1 rle with old method : 0.018475770950317383 create new chi : 0.28658461570739746 time to delete rle : 0.0006165504455566406 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3228 TO DO : save crop sub photo not yet done ! save time : 0.19947123527526855 map_output_result : {1376754644: (0.0, 'Should be the crop_list due to order', 0), 1376754643: (0.0, 'Should be the crop_list due to order', 0), 1376754642: (0.0, 'Should be the crop_list due to order', 0), 1376754641: (0.0, 'Should be the crop_list due to order', 0), 1376754624: (0.0, 'Should be the crop_list due to order', 0), 1376754623: (0.0, 'Should be the crop_list due to order', 0), 1376754621: (0.0, 'Should be the crop_list due to order', 0), 1376754619: (0.0, 'Should be the crop_list due to order', 0), 1376754611: (0.0, 'Should be the crop_list due to order', 0.0), 1376754608: (0.0, 'Should be the crop_list due to order', 0), 1376754588: (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 [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] Looping around the photos to save general results len do output : 11 /1376754644.Didn't retrieve data . /1376754643.Didn't retrieve data . /1376754642.Didn't retrieve data . /1376754641.Didn't retrieve data . /1376754624.Didn't retrieve data . /1376754623.Didn't retrieve data . /1376754621.Didn't retrieve data . /1376754619.Didn't retrieve data . /1376754611.Didn't retrieve data . /1376754608.Didn't retrieve data . /1376754588.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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.013423919677734375 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.575871706008911 time spend to save output : 0.014133691787719727 total time spend for step 3 : 5.590005397796631 step4:ventilate_hashtags_in_portfolio Wed Aug 13 17:31:19 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 25940143 get user id for portfolio 25940143 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`=25940143 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','environnement','flou','papier','carton','mal_croppe','pehd','metal','pet_clair','autre')) 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`=25940143 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','environnement','flou','papier','carton','mal_croppe','pehd','metal','pet_clair','autre')) 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`=25940143 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','pet_fonce','environnement','flou','papier','carton','mal_croppe','pehd','metal','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25940890,25940891,25940892,25940893,25940894,25940895,25940896,25940897,25940898,25940899,25940900?tags=background,pet_fonce,environnement,flou,papier,carton,mal_croppe,pehd,metal,pet_clair,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] Looping around the photos to save general results len do output : 1 /25940143. 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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01457071304321289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6221990585327148 time spend to save output : 0.015033245086669922 total time spend for step 4 : 1.6372323036193848 step5:final Wed Aug 13 17: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 ! 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 : {1376754644: ('0.12635289527216603',), 1376754643: ('0.12635289527216603',), 1376754642: ('0.12635289527216603',), 1376754641: ('0.12635289527216603',), 1376754624: ('0.12635289527216603',), 1376754623: ('0.12635289527216603',), 1376754621: ('0.12635289527216603',), 1376754619: ('0.12635289527216603',), 1376754611: ('0.12635289527216603',), 1376754608: ('0.12635289527216603',), 1376754588: ('0.12635289527216603',)} new output for save of step final : {1376754644: ('0.12635289527216603',), 1376754643: ('0.12635289527216603',), 1376754642: ('0.12635289527216603',), 1376754641: ('0.12635289527216603',), 1376754624: ('0.12635289527216603',), 1376754623: ('0.12635289527216603',), 1376754621: ('0.12635289527216603',), 1376754619: ('0.12635289527216603',), 1376754611: ('0.12635289527216603',), 1376754608: ('0.12635289527216603',), 1376754588: ('0.12635289527216603',)} [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] Looping around the photos to save general results len do output : 11 /1376754644.Didn't retrieve data . /1376754643.Didn't retrieve data . /1376754642.Didn't retrieve data . /1376754641.Didn't retrieve data . /1376754624.Didn't retrieve data . /1376754623.Didn't retrieve data . /1376754621.Didn't retrieve data . /1376754619.Didn't retrieve data . /1376754611.Didn't retrieve data . /1376754608.Didn't retrieve data . /1376754588.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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.013506889343261719 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11749815940856934 time spend to save output : 0.014189481735229492 total time spend for step 5 : 0.13168764114379883 step6:blur_detection Wed Aug 13 17: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 ! 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/1755099027_253291_1376754644_db6488300ac3ec819f5ee11d6cbbe69e.jpg resize: (1080, 1920) 1376754644 -0.7302108321171732 treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69.jpg resize: (1080, 1920) 1376754643 -0.6196455795791864 treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b.jpg resize: (1080, 1920) 1376754642 -3.794835585501462 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab.jpg resize: (1080, 1920) 1376754641 -0.23479791188493263 treat image : temp/1755099027_253291_1376754624_e03eac51fd04645d15d1df09b6e17bfb.jpg resize: (1080, 1920) 1376754624 -0.6350767729735906 treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09.jpg resize: (1080, 1920) 1376754623 -0.5653192989069747 treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3.jpg resize: (1080, 1920) 1376754621 -1.0084232223945366 treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220.jpg resize: (1080, 1920) 1376754619 -0.4326155601479531 treat image : temp/1755099027_253291_1376754611_67cd2d9816a79739f1e192068d679d0e.jpg resize: (1080, 1920) 1376754611 1.411063130896843 treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd.jpg resize: (1080, 1920) 1376754608 -4.45040242463452 treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50.jpg resize: (1080, 1920) 1376754588 -5.241794320732784 treat image : temp/1755099027_253291_1376754644_db6488300ac3ec819f5ee11d6cbbe69e_rle_crop_3912921517_0.png resize: (143, 66) 1376763131 -2.4290924365003703 treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921521_0.png resize: (53, 55) 1376763132 -2.950140764955019 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921524_0.png resize: (73, 95) 1376763133 1.3109666378220586 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921527_0.png resize: (85, 64) 1376763134 1.427503665744354 treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09_rle_crop_3912921530_0.png resize: (135, 193) 1376763136 -1.7213275381476971 treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921539_0.png resize: (104, 56) 1376763137 -2.822076656277017 treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921540_0.png resize: (424, 181) 1376763138 -1.996102369990545 treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921541_0.png resize: (55, 72) 1376763141 -1.5113737398026585 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921525_0.png resize: (515, 352) 1376763151 -0.5667735370434057 treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69_rle_crop_3912921519_0.png resize: (75, 98) 1376763170 -0.8331108352025075 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921526_0.png resize: (56, 66) 1376763171 -1.0442983581207617 treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69_rle_crop_3912921518_0.png resize: (72, 58) 1376763230 0.5331940594764103 treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921520_0.png resize: (166, 241) 1376763231 -3.9781591276313524 treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921522_0.png resize: (500, 349) 1376763232 -0.02727743369310618 treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921528_0.png resize: (513, 327) 1376763233 0.051832227988119595 treat image : temp/1755099027_253291_1376754624_e03eac51fd04645d15d1df09b6e17bfb_rle_crop_3912921529_0.png resize: (485, 320) 1376763234 -0.3582533110833876 treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09_rle_crop_3912921531_0.png resize: (989, 1189) 1376763235 -1.8622229984919068 treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3_rle_crop_3912921532_0.png resize: (530, 379) 1376763236 0.3272288090059212 treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220_rle_crop_3912921534_0.png resize: (304, 394) 1376763237 -0.4320928197611846 treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220_rle_crop_3912921535_0.png resize: (509, 322) 1376763238 0.4992911988290536 treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921538_0.png resize: (1001, 1258) 1376763239 -5.067170283661152 treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921536_0.png resize: (518, 332) 1376763240 0.4140221487129123 treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921543_0.png resize: (71, 160) 1376763241 -4.701825581924786 treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921542_0.png resize: (516, 378) 1376763242 -0.37314002210920705 treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921523_0.png resize: (52, 59) 1376763252 4.899856541082081 treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3_rle_crop_3912921533_0.png resize: (133, 141) 1376763253 -1.6688433367511948 treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921537_0.png resize: (99, 78) 1376763254 -1.5259250525385568 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.013335943222045898 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.014119625091552734 save missing photos in datou_result : time spend for datou_step_exec : 10.313625574111938 time spend to save output : 0.032364845275878906 total time spend for step 6 : 10.345990419387817 step7:brightness Wed Aug 13 17:31:31 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/1755099027_253291_1376754644_db6488300ac3ec819f5ee11d6cbbe69e.jpg treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69.jpg treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b.jpg treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab.jpg treat image : temp/1755099027_253291_1376754624_e03eac51fd04645d15d1df09b6e17bfb.jpg treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09.jpg treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3.jpg treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220.jpg treat image : temp/1755099027_253291_1376754611_67cd2d9816a79739f1e192068d679d0e.jpg treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd.jpg treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50.jpg treat image : temp/1755099027_253291_1376754644_db6488300ac3ec819f5ee11d6cbbe69e_rle_crop_3912921517_0.png treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921521_0.png treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921524_0.png treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921527_0.png treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09_rle_crop_3912921530_0.png treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921539_0.png treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921540_0.png treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921541_0.png treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921525_0.png treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69_rle_crop_3912921519_0.png treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921526_0.png treat image : temp/1755099027_253291_1376754643_c47a758c81feeb47e84e3b514dc20f69_rle_crop_3912921518_0.png treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921520_0.png treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921522_0.png treat image : temp/1755099027_253291_1376754641_5d417dbfbe66ff314f23d0db759b39ab_rle_crop_3912921528_0.png treat image : temp/1755099027_253291_1376754624_e03eac51fd04645d15d1df09b6e17bfb_rle_crop_3912921529_0.png treat image : temp/1755099027_253291_1376754623_a4c6b202eb762d9f55526579b1762f09_rle_crop_3912921531_0.png treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3_rle_crop_3912921532_0.png treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220_rle_crop_3912921534_0.png treat image : temp/1755099027_253291_1376754619_e0d8bfa986f00e2559b06cae16100220_rle_crop_3912921535_0.png treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921538_0.png treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921536_0.png treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921543_0.png treat image : temp/1755099027_253291_1376754588_c745b09626b35db949d35910f3267a50_rle_crop_3912921542_0.png treat image : temp/1755099027_253291_1376754642_89f9fe098baceff9a54fab0d588cea2b_rle_crop_3912921523_0.png treat image : temp/1755099027_253291_1376754621_c2d7fbd05983b8ebb8d67fb5c1603cb3_rle_crop_3912921533_0.png treat image : temp/1755099027_253291_1376754608_4631758f4cdc32188766121bbcc9b4bd_rle_crop_3912921537_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.013452291488647461 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.012987375259399414 save missing photos in datou_result : time spend for datou_step_exec : 2.8252034187316895 time spend to save output : 0.030483484268188477 total time spend for step 7 : 2.855686902999878 step8:velours_tree Wed Aug 13 17:31:34 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.12972426414489746 time spend to save output : 3.170967102050781e-05 total time spend for step 8 : 0.12975597381591797 step9:send_mail_cod Wed Aug 13 17:31:34 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_P25940143_13-08-2025_17_31_34.pdf 25940890 imagette259408901755099094 25940891 imagette259408911755099094 25940893 imagette259408931755099094 25940894 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 .imagette259408941755099094 25940895 change filename to text .imagette259408951755099094 25940896 imagette259408961755099095 25940897 imagette259408971755099095 25940898 change filename to text .change filename to text .imagette259408981755099095 25940899 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 .imagette259408991755099095 25940900 change filename to text .change filename to text .change filename to text .imagette259409001755099096 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25940143 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25940890,25940891,25940892,25940893,25940894,25940895,25940896,25940897,25940898,25940899,25940900?tags=background,pet_fonce,environnement,flou,papier,carton,mal_croppe,pehd,metal,pet_clair,autre args[1376754644] : ((1376754644, -0.7302108321171732, 492688767), (1376754644, 0.7344389569069931, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754643] : ((1376754643, -0.6196455795791864, 492688767), (1376754643, 0.8026009926008296, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754642] : ((1376754642, -3.794835585501462, 492609224), (1376754642, 0.5012974522201973, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754641] : ((1376754641, -0.23479791188493263, 492688767), (1376754641, 0.4466372887360632, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754624] : ((1376754624, -0.6350767729735906, 492688767), (1376754624, 0.9339569705217429, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754623] : ((1376754623, -0.5653192989069747, 492688767), (1376754623, 0.9890285533475243, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754621] : ((1376754621, -1.0084232223945366, 492688767), (1376754621, 0.36213257504038604, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754619] : ((1376754619, -0.4326155601479531, 492688767), (1376754619, 1.0302524598247962, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754611] : ((1376754611, 1.411063130896843, 492688767), (1376754611, 0.4516737589277619, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754608] : ((1376754608, -4.45040242463452, 492609224), (1376754608, 0.3792157435936155, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com args[1376754588] : ((1376754588, -5.241794320732784, 492609224), (1376754588, 0.4392474746770283, 2107752395), '0.12635289527216603') We are sending mail with results at report@fotonower.com refus_total : 0.12635289527216603 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=25940143 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_P25940143_13-08-2025_17_31_34.pdf results_Auto_P25940143_13-08-2025_17_31_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940143_13-08-2025_17_31_34.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','25940143','results_Auto_P25940143_13-08-2025_17_31_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940143_13-08-2025_17_31_34.pdf','pdf','','0.44','0.12635289527216603') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25940143

https://www.fotonower.com/image?json=false&list_photos_id=1376754644
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754643
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754642
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754641
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754624
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754623
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754621
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754619
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754611
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.411063130896843)
https://www.fotonower.com/image?json=false&list_photos_id=1376754608
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376754588
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25940894?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25940895?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/25940898?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25940899?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25940900?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940143_13-08-2025_17_31_34.pdf.

Lien vers velours :https://www.fotonower.com/velours/25940890,25940891,25940892,25940893,25940894,25940895,25940896,25940897,25940898,25940899,25940900?tags=background,pet_fonce,environnement,flou,papier,carton,mal_croppe,pehd,metal,pet_clair,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 13 Aug 2025 15:31:38 GMT Content-Length: 0 Connection: close X-Message-Id: GkFZYS5pQ3ODmgfYW9DFEA 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 [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] 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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.012862682342529297 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.876803398132324 time spend to save output : 0.013102054595947266 total time spend for step 9 : 3.8899054527282715 step10:split_time_score Wed Aug 13 17:31:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('15', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13082025 25940143 Nombre de photos uploadées : 11 / 23040 (0%) 13082025 25940143 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 13082025 25940143 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 3.5762786865234375e-06 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.00040078163146972656 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19541716575622559 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940069 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940073 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940088 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940104 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940107 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940112 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940114 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940122 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940126 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940133 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940136 order by id desc limit 1 Qualite : 0.12635289527216603 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940143_13-08-2025_17_31_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940143 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`=25940143 AND mptpi.`type`=3594 To do Qualite : 0.12353614267676769 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25940146_13-08-2025_17_21_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25940146 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`=25940146 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13082025': {'nb_upload': 11, '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 [1376754644, 1376754643, 1376754642, 1376754641, 1376754624, 1376754623, 1376754621, 1376754619, 1376754611, 1376754608, 1376754588] Looping around the photos to save general results len do output : 1 /25940143Didn'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, '3520285') ('3318', '25940143', '1376754644', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754643', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754642', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754641', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754624', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754623', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754621', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754619', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754611', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754608', None, None, None, None, None, '3520285') ('3318', None, None, None, None, None, None, None, '3520285') ('3318', '25940143', '1376754588', None, None, None, None, None, '3520285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.013362407684326172 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.079298734664917 time spend to save output : 0.013695240020751953 total time spend for step 10 : 11.092993974685669 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 46.44user 13.44system 1:24.52elapsed 70%CPU (0avgtext+0avgdata 2747900maxresident)k 522600inputs+36064outputs (235major+1189996minor)pagefaults 0swaps