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 : 1541970 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 : ['3657458'] with mtr_portfolio_ids : ['26478209'] and first list_photo_ids : [] new path : /proc/1541970/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.2046892642974854 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Sep 3 09:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6599 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-03 09:50:32.903121: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-03 09:50:32.928604: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-03 09:50:32.930033: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2994000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-03 09:50:32.930083: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-03 09:50:32.932815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-03 09:50:33.070514: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42d2cd30 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-03 09:50:33.070582: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-03 09:50:33.071930: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 09:50:33.072449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 09:50:33.075505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 09:50:33.078456: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 09:50:33.078993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 09:50:33.082320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 09:50:33.084085: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 09:50:33.089375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 09:50:33.090731: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 09:50:33.090834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 09:50:33.091525: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 09:50:33.091541: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 09:50:33.091552: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 09:50:33.093116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6060 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-03 09:50:33.377892: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 09:50:33.378000: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 09:50:33.378022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 09:50:33.378042: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 09:50:33.378060: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 09:50:33.378078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 09:50:33.378095: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 09:50:33.378113: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 09:50:33.379344: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 09:50:33.380613: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-03 09:50:33.380669: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-03 09:50:33.380691: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 09:50:33.380710: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-03 09:50:33.380728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-03 09:50:33.380746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-03 09:50:33.380765: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-03 09:50:33.380786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-03 09:50:33.382002: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-03 09:50:33.382034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-03 09:50:33.382044: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-03 09:50:33.382053: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-03 09:50:33.383367: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6060 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-03 09:50:41.658189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-03 09:50:41.883968: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.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: 19.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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.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: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 9 Detection mask done ! Trying to reset tf kernel 1543241 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 15 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6021 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.00023293495178222656 nb_pixel_total : 2806 time to create 1 rle with old method : 0.003282785415649414 length of segment : 91 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 5744 time to create 1 rle with old method : 0.006447553634643555 length of segment : 104 time for calcul the mask position with numpy : 0.0002048015594482422 nb_pixel_total : 9342 time to create 1 rle with old method : 0.010432958602905273 length of segment : 106 time for calcul the mask position with numpy : 0.00010442733764648438 nb_pixel_total : 3442 time to create 1 rle with old method : 0.003947257995605469 length of segment : 55 time for calcul the mask position with numpy : 0.0003936290740966797 nb_pixel_total : 16357 time to create 1 rle with old method : 0.017632007598876953 length of segment : 167 time for calcul the mask position with numpy : 0.00016069412231445312 nb_pixel_total : 4312 time to create 1 rle with old method : 0.00499272346496582 length of segment : 100 time for calcul the mask position with numpy : 0.00011897087097167969 nb_pixel_total : 3727 time to create 1 rle with old method : 0.00450444221496582 length of segment : 74 time for calcul the mask position with numpy : 0.00012612342834472656 nb_pixel_total : 5025 time to create 1 rle with old method : 0.005776643753051758 length of segment : 108 time for calcul the mask position with numpy : 0.0021867752075195312 nb_pixel_total : 98928 time to create 1 rle with old method : 0.10606694221496582 length of segment : 520 time for calcul the mask position with numpy : 0.0001964569091796875 nb_pixel_total : 10057 time to create 1 rle with old method : 0.011310338973999023 length of segment : 125 time for calcul the mask position with numpy : 0.00010037422180175781 nb_pixel_total : 3174 time to create 1 rle with old method : 0.0037412643432617188 length of segment : 93 time for calcul the mask position with numpy : 0.0015697479248046875 nb_pixel_total : 97157 time to create 1 rle with old method : 0.10474276542663574 length of segment : 522 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 5057 time to create 1 rle with old method : 0.005790233612060547 length of segment : 90 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 4101 time to create 1 rle with old method : 0.004557371139526367 length of segment : 93 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 4872 time to create 1 rle with old method : 0.005353689193725586 length of segment : 101 time for calcul the mask position with numpy : 0.00014281272888183594 nb_pixel_total : 6307 time to create 1 rle with old method : 0.007017374038696289 length of segment : 106 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 5764 time to create 1 rle with old method : 0.006514787673950195 length of segment : 104 time for calcul the mask position with numpy : 6.103515625e-05 nb_pixel_total : 2462 time to create 1 rle with old method : 0.002872467041015625 length of segment : 39 time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 6815 time to create 1 rle with old method : 0.007673740386962891 length of segment : 83 time for calcul the mask position with numpy : 8.893013000488281e-05 nb_pixel_total : 3494 time to create 1 rle with old method : 0.003880739212036133 length of segment : 84 time for calcul the mask position with numpy : 0.00016021728515625 nb_pixel_total : 7995 time to create 1 rle with old method : 0.009382247924804688 length of segment : 90 time for calcul the mask position with numpy : 0.00014019012451171875 nb_pixel_total : 6489 time to create 1 rle with old method : 0.007448673248291016 length of segment : 86 time for calcul the mask position with numpy : 0.0006847381591796875 nb_pixel_total : 55634 time to create 1 rle with old method : 0.06211352348327637 length of segment : 246 time for calcul the mask position with numpy : 7.343292236328125e-05 nb_pixel_total : 2188 time to create 1 rle with old method : 0.002561807632446289 length of segment : 63 time for calcul the mask position with numpy : 0.0002334117889404297 nb_pixel_total : 15482 time to create 1 rle with old method : 0.017602920532226562 length of segment : 134 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 11011 time to create 1 rle with old method : 0.01228642463684082 length of segment : 91 time for calcul the mask position with numpy : 0.0001518726348876953 nb_pixel_total : 9150 time to create 1 rle with old method : 0.010318756103515625 length of segment : 78 time for calcul the mask position with numpy : 0.0004792213439941406 nb_pixel_total : 29611 time to create 1 rle with old method : 0.03303980827331543 length of segment : 192 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 10865 time to create 1 rle with old method : 0.012449502944946289 length of segment : 123 time for calcul the mask position with numpy : 0.0006406307220458984 nb_pixel_total : 32691 time to create 1 rle with old method : 0.03540635108947754 length of segment : 339 time for calcul the mask position with numpy : 0.00011396408081054688 nb_pixel_total : 3788 time to create 1 rle with old method : 0.004464626312255859 length of segment : 74 time for calcul the mask position with numpy : 0.00012135505676269531 nb_pixel_total : 6671 time to create 1 rle with old method : 0.00772404670715332 length of segment : 105 time for calcul the mask position with numpy : 7.867813110351562e-05 nb_pixel_total : 2937 time to create 1 rle with old method : 0.003568410873413086 length of segment : 56 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 4997 time to create 1 rle with old method : 0.009177923202514648 length of segment : 80 time for calcul the mask position with numpy : 0.00051116943359375 nb_pixel_total : 10890 time to create 1 rle with old method : 0.012307405471801758 length of segment : 167 time spent for convertir_results : 1.4762530326843262 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 4689 save missing photos in datou_result : time spend for datou_step_exec : 22.893462419509888 time spend to save output : 0.32005882263183594 total time spend for step 1 : 23.213521242141724 step2:crop_condition Wed Sep 3 09:50:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 9 ! batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756885855_1541970 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.53148078918457 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1756885862_1541970 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2334880828857422 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756885864_1541970 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 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6811449527740479 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] Looping around the photos to save general results len do output : 35 /1381047622Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047623Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047624Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047637Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047649Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047651Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047652Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381047656Didn'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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 time used for this insertion : 0.021191835403442383 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.563969373703003 time spend to save output : 0.02284836769104004 total time spend for step 2 : 12.586817741394043 step3:rle_unique_nms_with_priority Wed Sep 3 09:51:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.30705690383911133 time for calcul the mask position with numpy : 0.12984442710876465 nb_pixel_total : 2065050 time to create 1 rle with new method : 0.3435795307159424 time for calcul the mask position with numpy : 0.00680994987487793 nb_pixel_total : 5744 time to create 1 rle with old method : 0.006545305252075195 time for calcul the mask position with numpy : 0.0066263675689697266 nb_pixel_total : 2806 time to create 1 rle with old method : 0.003161191940307617 create new chi : 0.5074765682220459 time to delete rle : 0.02884674072265625 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1470 TO DO : save crop sub photo not yet done ! save time : 0.12441396713256836 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 0.5459067821502686 time for calcul the mask position with numpy : 0.06631112098693848 nb_pixel_total : 1922410 time to create 1 rle with new method : 0.09017181396484375 time for calcul the mask position with numpy : 0.0069675445556640625 nb_pixel_total : 10057 time to create 1 rle with old method : 0.011261701583862305 time for calcul the mask position with numpy : 0.007403373718261719 nb_pixel_total : 98928 time to create 1 rle with old method : 0.1218252182006836 time for calcul the mask position with numpy : 0.006296634674072266 nb_pixel_total : 5025 time to create 1 rle with old method : 0.005730628967285156 time for calcul the mask position with numpy : 0.00672149658203125 nb_pixel_total : 3727 time to create 1 rle with old method : 0.004271030426025391 time for calcul the mask position with numpy : 0.006814241409301758 nb_pixel_total : 4312 time to create 1 rle with old method : 0.005986690521240234 time for calcul the mask position with numpy : 0.006880998611450195 nb_pixel_total : 16357 time to create 1 rle with old method : 0.018556594848632812 time for calcul the mask position with numpy : 0.007241725921630859 nb_pixel_total : 3442 time to create 1 rle with old method : 0.00391840934753418 time for calcul the mask position with numpy : 0.006516695022583008 nb_pixel_total : 9342 time to create 1 rle with old method : 0.010694265365600586 create new chi : 0.4038100242614746 time to delete rle : 0.0005273818969726562 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3570 TO DO : save crop sub photo not yet done ! save time : 0.262864351272583 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.08595967292785645 time for calcul the mask position with numpy : 0.027578353881835938 nb_pixel_total : 1959241 time to create 1 rle with new method : 0.09983491897583008 time for calcul the mask position with numpy : 0.0066471099853515625 nb_pixel_total : 4872 time to create 1 rle with old method : 0.00563502311706543 time for calcul the mask position with numpy : 0.0070209503173828125 nb_pixel_total : 4099 time to create 1 rle with old method : 0.004868030548095703 time for calcul the mask position with numpy : 0.008417129516601562 nb_pixel_total : 5057 time to create 1 rle with old method : 0.007639408111572266 time for calcul the mask position with numpy : 0.008904457092285156 nb_pixel_total : 97157 time to create 1 rle with old method : 0.12574410438537598 time for calcul the mask position with numpy : 0.006582498550415039 nb_pixel_total : 3174 time to create 1 rle with old method : 0.004038572311401367 create new chi : 0.32035279273986816 time to delete rle : 0.00041031837463378906 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2875 TO DO : save crop sub photo not yet done ! save time : 0.20472979545593262 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.36102724075317383 time for calcul the mask position with numpy : 0.08509993553161621 nb_pixel_total : 2034274 time to create 1 rle with new method : 0.09211611747741699 time for calcul the mask position with numpy : 0.0070264339447021484 nb_pixel_total : 6489 time to create 1 rle with old method : 0.007845163345336914 time for calcul the mask position with numpy : 0.006419181823730469 nb_pixel_total : 7995 time to create 1 rle with old method : 0.010369300842285156 time for calcul the mask position with numpy : 0.007174968719482422 nb_pixel_total : 3494 time to create 1 rle with old method : 0.0047113895416259766 time for calcul the mask position with numpy : 0.007626533508300781 nb_pixel_total : 6815 time to create 1 rle with old method : 0.008221626281738281 time for calcul the mask position with numpy : 0.006623268127441406 nb_pixel_total : 2462 time to create 1 rle with old method : 0.002810955047607422 time for calcul the mask position with numpy : 0.006613016128540039 nb_pixel_total : 5764 time to create 1 rle with old method : 0.006499528884887695 time for calcul the mask position with numpy : 0.00697636604309082 nb_pixel_total : 6307 time to create 1 rle with old method : 0.006901979446411133 create new chi : 0.28330445289611816 time to delete rle : 0.0003299713134765625 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 2264 TO DO : save crop sub photo not yet done ! save time : 0.19069218635559082 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.061247825622558594 time for calcul the mask position with numpy : 0.03215813636779785 nb_pixel_total : 2000318 time to create 1 rle with new method : 0.04269814491271973 time for calcul the mask position with numpy : 0.007999658584594727 nb_pixel_total : 15482 time to create 1 rle with old method : 0.01761484146118164 time for calcul the mask position with numpy : 0.007900238037109375 nb_pixel_total : 2166 time to create 1 rle with old method : 0.0024633407592773438 time for calcul the mask position with numpy : 0.008064508438110352 nb_pixel_total : 55634 time to create 1 rle with old method : 0.061513423919677734 create new chi : 0.18085741996765137 time to delete rle : 0.00047969818115234375 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1949 TO DO : save crop sub photo not yet done ! save time : 0.16457128524780273 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0648648738861084 time for calcul the mask position with numpy : 0.033504486083984375 nb_pixel_total : 2053439 time to create 1 rle with new method : 0.042026519775390625 time for calcul the mask position with numpy : 0.007799625396728516 nb_pixel_total : 9150 time to create 1 rle with old method : 0.010523319244384766 time for calcul the mask position with numpy : 0.007695913314819336 nb_pixel_total : 11011 time to create 1 rle with old method : 0.012349605560302734 create new chi : 0.12145447731018066 time to delete rle : 0.0004029273986816406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1418 TO DO : save crop sub photo not yet done ! save time : 0.12030029296875 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06484007835388184 time for calcul the mask position with numpy : 0.2158982753753662 nb_pixel_total : 2043989 time to create 1 rle with new method : 0.13348913192749023 time for calcul the mask position with numpy : 0.01268768310546875 nb_pixel_total : 29611 time to create 1 rle with old method : 0.03265118598937988 create new chi : 0.40607380867004395 time to delete rle : 0.00039124488830566406 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1464 TO DO : save crop sub photo not yet done ! save time : 0.13163018226623535 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.43336057662963867 time for calcul the mask position with numpy : 0.08396506309509277 nb_pixel_total : 2011651 time to create 1 rle with new method : 0.11935591697692871 time for calcul the mask position with numpy : 0.007525444030761719 nb_pixel_total : 4997 time to create 1 rle with old method : 0.005792140960693359 time for calcul the mask position with numpy : 0.007665872573852539 nb_pixel_total : 2937 time to create 1 rle with old method : 0.0034537315368652344 time for calcul the mask position with numpy : 0.007881402969360352 nb_pixel_total : 6671 time to create 1 rle with old method : 0.007640838623046875 time for calcul the mask position with numpy : 0.007544755935668945 nb_pixel_total : 3788 time to create 1 rle with old method : 0.00420069694519043 time for calcul the mask position with numpy : 0.007928133010864258 nb_pixel_total : 32691 time to create 1 rle with old method : 0.03649473190307617 time for calcul the mask position with numpy : 0.007340431213378906 nb_pixel_total : 10865 time to create 1 rle with old method : 0.012350797653198242 create new chi : 0.3300900459289551 time to delete rle : 0.0005533695220947266 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 2634 TO DO : save crop sub photo not yet done ! save time : 0.20435476303100586 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05203533172607422 time for calcul the mask position with numpy : 0.032128095626831055 nb_pixel_total : 2062710 time to create 1 rle with new method : 0.04543709754943848 time for calcul the mask position with numpy : 0.00821065902709961 nb_pixel_total : 10890 time to create 1 rle with old method : 0.012400150299072266 create new chi : 0.10775327682495117 time to delete rle : 0.00034618377685546875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1414 TO DO : save crop sub photo not yet done ! save time : 0.13225173950195312 map_output_result : {1381035326: (0.0, 'Should be the crop_list due to order', 0), 1381035296: (0.0, 'Should be the crop_list due to order', 0), 1381035288: (0.0, 'Should be the crop_list due to order', 0), 1381035267: (0.0, 'Should be the crop_list due to order', 0), 1381035266: (0.0, 'Should be the crop_list due to order', 0), 1381035264: (0.0, 'Should be the crop_list due to order', 0), 1381035256: (0.0, 'Should be the crop_list due to order', 0), 1381035239: (0.0, 'Should be the crop_list due to order', 0), 1381035219: (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 [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] Looping around the photos to save general results len do output : 9 /1381035326.Didn't retrieve data . /1381035296.Didn't retrieve data . /1381035288.Didn't retrieve data . /1381035267.Didn't retrieve data . /1381035266.Didn't retrieve data . /1381035264.Didn't retrieve data . /1381035256.Didn't retrieve data . /1381035239.Didn't retrieve data . /1381035219.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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.013771295547485352 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.5384392738342285 time spend to save output : 0.014233589172363281 total time spend for step 3 : 6.552672863006592 step4:ventilate_hashtags_in_portfolio Wed Sep 3 09:51:12 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 : 26478209 get user id for portfolio 26478209 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`=26478209 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pehd','pet_fonce','environnement','metal','background','flou','carton','mal_croppe','papier','pet_clair')) 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`=26478209 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pehd','pet_fonce','environnement','metal','background','flou','carton','mal_croppe','papier','pet_clair')) 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`=26478209 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','pehd','pet_fonce','environnement','metal','background','flou','carton','mal_croppe','papier','pet_clair')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26478811,26478812,26478813,26478814,26478815,26478816,26478817,26478818,26478819,26478820,26478821?tags=autre,pehd,pet_fonce,environnement,metal,background,flou,carton,mal_croppe,papier,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] Looping around the photos to save general results len do output : 1 /26478209. 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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.014553546905517578 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6862986087799072 time spend to save output : 0.014822721481323242 total time spend for step 4 : 1.7011213302612305 step5:final Wed Sep 3 09:51:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1381035326: ('0.027291130829903972',), 1381035296: ('0.027291130829903972',), 1381035288: ('0.027291130829903972',), 1381035267: ('0.027291130829903972',), 1381035266: ('0.027291130829903972',), 1381035264: ('0.027291130829903972',), 1381035256: ('0.027291130829903972',), 1381035239: ('0.027291130829903972',), 1381035219: ('0.027291130829903972',)} new output for save of step final : {1381035326: ('0.027291130829903972',), 1381035296: ('0.027291130829903972',), 1381035288: ('0.027291130829903972',), 1381035267: ('0.027291130829903972',), 1381035266: ('0.027291130829903972',), 1381035264: ('0.027291130829903972',), 1381035256: ('0.027291130829903972',), 1381035239: ('0.027291130829903972',), 1381035219: ('0.027291130829903972',)} [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] Looping around the photos to save general results len do output : 9 /1381035326.Didn't retrieve data . /1381035296.Didn't retrieve data . /1381035288.Didn't retrieve data . /1381035267.Didn't retrieve data . /1381035266.Didn't retrieve data . /1381035264.Didn't retrieve data . /1381035256.Didn't retrieve data . /1381035239.Didn't retrieve data . /1381035219.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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01718878746032715 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13085436820983887 time spend to save output : 0.01772022247314453 total time spend for step 5 : 0.1485745906829834 step6:blur_detection Wed Sep 3 09:51:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e.jpg resize: (1080, 1920) 1381035326 -0.7978316783771641 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a.jpg resize: (1080, 1920) 1381035296 -3.596559724360859 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93.jpg resize: (1080, 1920) 1381035288 0.4256248813080714 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50.jpg resize: (1080, 1920) 1381035267 -0.563573496607843 treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9.jpg resize: (1080, 1920) 1381035266 -0.068255275223806 treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a.jpg resize: (1080, 1920) 1381035264 -0.7130948466484538 treat image : temp/1756885828_1541970_1381035256_0aef66213ce3e926486e9af982b2d54c.jpg resize: (1080, 1920) 1381035256 0.33879738613132576 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70.jpg resize: (1080, 1920) 1381035239 0.5237057679351311 treat image : temp/1756885828_1541970_1381035219_fbb7a3a34375de955024630e7a337495.jpg resize: (1080, 1920) 1381035219 -0.673745693134878 treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e_rle_crop_3941797648_0.png resize: (104, 77) 1381047622 -0.9111220954285261 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797654_0.png resize: (108, 68) 1381047623 -0.4731041763001838 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797651_0.png resize: (164, 183) 1381047624 -1.2705519339719948 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797650_0.png resize: (54, 96) 1381047625 -1.2791093431729126 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797653_0.png resize: (74, 86) 1381047626 -1.3771082164576784 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797649_0.png resize: (106, 124) 1381047627 -1.352592863815244 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797652_0.png resize: (99, 77) 1381047628 -2.500311003017242 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797661_0.png resize: (101, 69) 1381047629 0.486324275504244 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797657_0.png resize: (77, 77) 1381047630 -0.2692185739819408 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797660_0.png resize: (91, 65) 1381047631 0.4620975637219814 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797659_0.png resize: (90, 95) 1381047632 -1.4312072190697729 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797662_0.png resize: (106, 99) 1381047633 -3.0065203023228433 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797664_0.png resize: (39, 75) 1381047634 7.89849122916595 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797665_0.png resize: (80, 130) 1381047635 -0.6197797660565062 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797668_0.png resize: (86, 112) 1381047636 -2.554695092542495 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797663_0.png resize: (104, 81) 1381047637 -0.7952550336363664 treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797671_0.png resize: (107, 202) 1381047638 -0.3955082508777336 treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797670_0.png resize: (63, 53) 1381047639 -0.38847390135324306 treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797669_0.png resize: (233, 308) 1381047640 -1.1295182114212716 treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a_rle_crop_3941797672_0.png resize: (91, 176) 1381047641 2.707008239716852 treat image : temp/1756885828_1541970_1381035256_0aef66213ce3e926486e9af982b2d54c_rle_crop_3941797674_0.png resize: (173, 288) 1381047642 -0.9716442604864247 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797677_0.png resize: (74, 79) 1381047643 0.26682885158658926 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797680_0.png resize: (79, 76) 1381047644 3.1260434187852018 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797678_0.png resize: (102, 98) 1381047645 4.45500259088853 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797676_0.png resize: (317, 233) 1381047646 -0.7438041384398368 treat image : temp/1756885828_1541970_1381035219_fbb7a3a34375de955024630e7a337495_rle_crop_3941797681_0.png resize: (167, 126) 1381047647 -1.2010987125944481 treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e_rle_crop_3941797647_0.png resize: (82, 67) 1381047648 -1.8738974728428888 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797667_0.png resize: (90, 133) 1381047649 -1.2419413286942946 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797675_0.png resize: (119, 126) 1381047650 -0.31472745523845586 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797656_0.png resize: (116, 116) 1381047651 -2.820770717901025 treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797655_0.png resize: (515, 340) 1381047652 -0.08416732231822935 treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797658_0.png resize: (519, 312) 1381047653 -0.28815672137174814 treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797666_0.png resize: (84, 54) 1381047654 -0.8052393203628931 treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a_rle_crop_3941797673_0.png resize: (78, 143) 1381047655 -1.5320743846769795 treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797679_0.png resize: (56, 72) 1381047656 0.13468595198557964 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 : 44 time used for this insertion : 0.01637101173400879 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.014614582061767578 save missing photos in datou_result : time spend for datou_step_exec : 7.477710962295532 time spend to save output : 0.03643655776977539 total time spend for step 6 : 7.514147520065308 step7:brightness Wed Sep 3 09:51: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 calcul brightness treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e.jpg treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a.jpg treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93.jpg treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50.jpg treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9.jpg treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a.jpg treat image : temp/1756885828_1541970_1381035256_0aef66213ce3e926486e9af982b2d54c.jpg treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70.jpg treat image : temp/1756885828_1541970_1381035219_fbb7a3a34375de955024630e7a337495.jpg treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e_rle_crop_3941797648_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797654_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797651_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797650_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797653_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797649_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797652_0.png treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797661_0.png treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797657_0.png treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797660_0.png treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797659_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797662_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797664_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797665_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797668_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797663_0.png treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797671_0.png treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797670_0.png treat image : temp/1756885828_1541970_1381035266_3f56552ab1956c0b0487706d11aa80e9_rle_crop_3941797669_0.png treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a_rle_crop_3941797672_0.png treat image : temp/1756885828_1541970_1381035256_0aef66213ce3e926486e9af982b2d54c_rle_crop_3941797674_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797677_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797680_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797678_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797676_0.png treat image : temp/1756885828_1541970_1381035219_fbb7a3a34375de955024630e7a337495_rle_crop_3941797681_0.png treat image : temp/1756885828_1541970_1381035326_4232bfa3f3271630da463699f23eb73e_rle_crop_3941797647_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797667_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797675_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797656_0.png treat image : temp/1756885828_1541970_1381035296_5e3e76fd6a17d22d81dd88002fba554a_rle_crop_3941797655_0.png treat image : temp/1756885828_1541970_1381035288_c067a03df5795b44818916abf58a5a93_rle_crop_3941797658_0.png treat image : temp/1756885828_1541970_1381035267_9954f0c50320c88ce4287b00a4c0ce50_rle_crop_3941797666_0.png treat image : temp/1756885828_1541970_1381035264_5d8b57259a3338e6811511820e4c993a_rle_crop_3941797673_0.png treat image : temp/1756885828_1541970_1381035239_3159442070f18b3d477dd1c34d136b70_rle_crop_3941797679_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 : 44 time used for this insertion : 0.018256187438964844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.017940759658813477 save missing photos in datou_result : time spend for datou_step_exec : 2.2115421295166016 time spend to save output : 0.041861534118652344 total time spend for step 7 : 2.253403663635254 step8:velours_tree Wed Sep 3 09:51:24 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.2606363296508789 time spend to save output : 6.508827209472656e-05 total time spend for step 8 : 0.26070141792297363 step9:send_mail_cod Wed Sep 3 09:51:24 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_P26478209_03-09-2025_09_51_24.pdf 26478811 imagette264788111756885884 26478812 imagette264788121756885884 26478813 imagette264788131756885884 26478815 imagette264788151756885884 26478816 imagette264788161756885884 26478817 imagette264788171756885884 26478818 change filename to text .change filename to text .change filename to text .imagette264788181756885884 26478819 imagette264788191756885884 26478820 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264788201756885884 26478821 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264788211756885885 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26478209 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26478811,26478812,26478813,26478814,26478815,26478816,26478817,26478818,26478819,26478820,26478821?tags=autre,pehd,pet_fonce,environnement,metal,background,flou,carton,mal_croppe,papier,pet_clair args[1381035326] : ((1381035326, -0.7978316783771641, 492688767), (1381035326, 0.5156768420144654, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035296] : ((1381035296, -3.596559724360859, 492609224), (1381035296, 0.530137162741497, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035288] : ((1381035288, 0.4256248813080714, 492688767), (1381035288, 0.8735878134180161, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035267] : ((1381035267, -0.563573496607843, 492688767), (1381035267, 0.6352018909537287, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035266] : ((1381035266, -0.068255275223806, 492688767), (1381035266, 0.7133399060944553, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035264] : ((1381035264, -0.7130948466484538, 492688767), (1381035264, 0.5974674001609082, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035256] : ((1381035256, 0.33879738613132576, 492688767), (1381035256, 1.042219690758303, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035239] : ((1381035239, 0.5237057679351311, 492688767), (1381035239, 0.9535577458900266, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com args[1381035219] : ((1381035219, -0.673745693134878, 492688767), (1381035219, 0.8548786151161325, 2107752395), '0.027291130829903972') We are sending mail with results at report@fotonower.com refus_total : 0.027291130829903972 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=26478209 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_P26478209_03-09-2025_09_51_24.pdf results_Auto_P26478209_03-09-2025_09_51_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.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','26478209','results_Auto_P26478209_03-09-2025_09_51_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.pdf','pdf','','0.16','0.027291130829903972') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26478209

https://www.fotonower.com/image?json=false&list_photos_id=1381035326
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035296
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035288
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035267
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035266
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035264
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035256
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035239
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381035219
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26478818?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26478820?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26478821?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26478811,26478812,26478813,26478814,26478815,26478816,26478817,26478818,26478819,26478820,26478821?tags=autre,pehd,pet_fonce,environnement,metal,background,flou,carton,mal_croppe,papier,pet_clair.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 03 Sep 2025 07:51:27 GMT Content-Length: 0 Connection: close X-Message-Id: PeFmLiZbTEm4he4fPXYcQw 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 [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] 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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.016277313232421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.3596673011779785 time spend to save output : 0.016484737396240234 total time spend for step 9 : 3.3761520385742188 step10:split_time_score Wed Sep 3 09:51:27 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'}] (('07', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 03092025 26478209 Nombre de photos uploadées : 9 / 23040 (0%) 03092025 26478209 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 03092025 26478209 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004055500030517578 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21391916275024414 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.027291130829903972 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478209_03-09-2025_09_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478209 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`=26478209 AND mptpi.`type`=3594 To do Qualite : 0.12315901491769546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26478214_03-09-2025_09_41_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26478214 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`=26478214 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'03092025': {'nb_upload': 9, '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 [1381035326, 1381035296, 1381035288, 1381035267, 1381035266, 1381035264, 1381035256, 1381035239, 1381035219] Looping around the photos to save general results len do output : 1 /26478209Didn'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, '3657458') ('3318', '26478209', '1381035326', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035296', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035288', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035267', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035266', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035264', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035256', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035239', None, None, None, None, None, '3657458') ('3318', None, None, None, None, None, None, None, '3657458') ('3318', '26478209', '1381035219', None, None, None, None, None, '3657458') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01669168472290039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5234761238098145 time spend to save output : 0.016964435577392578 total time spend for step 10 : 0.540440559387207 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 31.07user 16.03system 1:03.34elapsed 74%CPU (0avgtext+0avgdata 2744184maxresident)k 514968inputs+10232outputs (99major+1457179minor)pagefaults 0swaps