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 : 3970004 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 : ['3610745'] with mtr_portfolio_ids : ['26258329'] and first list_photo_ids : [] new path : /proc/3970004/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.329237461090088 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Aug 27 10:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10610 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 10:10:33.462322: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-27 10:10:33.496565: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 10:10:33.499448: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd11c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 10:10:33.499504: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 10:10:33.505153: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 10:10:33.690137: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x37ee5680 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 10:10:33.690185: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 10:10:33.691965: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:10:33.694086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:10:33.724977: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:10:33.743817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:10:33.747529: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:10:33.780536: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:10:33.785682: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:10:33.838497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:10:33.840289: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:10:33.840722: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:10:33.842446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 10:10:33.842466: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 10:10:33.842477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 10:10:33.844551: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9828 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-27 10:10:34.196738: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:10:34.196832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:10:34.196860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:10:34.196886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:10:34.196909: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:10:34.196933: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:10:34.196957: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:10:34.196981: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:10:34.198608: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:10:34.199869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 10:10:34.199900: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 10:10:34.199915: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:10:34.199929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 10:10:34.199942: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 10:10:34.199956: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 10:10:34.199969: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 10:10:34.199983: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 10:10:34.201278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 10:10:34.201308: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 10:10:34.201316: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 10:10:34.201324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 10:10:34.202658: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9828 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-27 10:10:43.154443: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 10:10:43.512466: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.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: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 3970611 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4775 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 10064 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.00015592575073242188 nb_pixel_total : 3901 time to create 1 rle with old method : 0.004785299301147461 length of segment : 48 time for calcul the mask position with numpy : 0.0017724037170410156 nb_pixel_total : 86312 time to create 1 rle with old method : 0.09522461891174316 length of segment : 594 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 8229 time to create 1 rle with old method : 0.009410381317138672 length of segment : 132 time for calcul the mask position with numpy : 0.00037384033203125 nb_pixel_total : 26582 time to create 1 rle with old method : 0.029803037643432617 length of segment : 114 time for calcul the mask position with numpy : 0.00022673606872558594 nb_pixel_total : 14596 time to create 1 rle with old method : 0.016992807388305664 length of segment : 107 time for calcul the mask position with numpy : 0.0001723766326904297 nb_pixel_total : 10847 time to create 1 rle with old method : 0.01228642463684082 length of segment : 105 time for calcul the mask position with numpy : 0.0014505386352539062 nb_pixel_total : 107446 time to create 1 rle with old method : 0.12089776992797852 length of segment : 523 time for calcul the mask position with numpy : 0.000286102294921875 nb_pixel_total : 18786 time to create 1 rle with old method : 0.022600173950195312 length of segment : 160 time for calcul the mask position with numpy : 0.000118255615234375 nb_pixel_total : 5974 time to create 1 rle with old method : 0.0072019100189208984 length of segment : 70 time for calcul the mask position with numpy : 0.0017535686492919922 nb_pixel_total : 125546 time to create 1 rle with old method : 0.1450483798980713 length of segment : 550 time for calcul the mask position with numpy : 0.000232696533203125 nb_pixel_total : 11551 time to create 1 rle with old method : 0.014498472213745117 length of segment : 187 time for calcul the mask position with numpy : 0.022076845169067383 nb_pixel_total : 1035596 time to create 1 rle with new method : 0.04964017868041992 length of segment : 1216 time for calcul the mask position with numpy : 0.00031065940856933594 nb_pixel_total : 7158 time to create 1 rle with old method : 0.008249759674072266 length of segment : 103 time for calcul the mask position with numpy : 0.00018334388732910156 nb_pixel_total : 3488 time to create 1 rle with old method : 0.0042498111724853516 length of segment : 91 time for calcul the mask position with numpy : 0.0006799697875976562 nb_pixel_total : 21289 time to create 1 rle with old method : 0.02513885498046875 length of segment : 185 time for calcul the mask position with numpy : 0.017400026321411133 nb_pixel_total : 697771 time to create 1 rle with new method : 0.0431826114654541 length of segment : 893 time for calcul the mask position with numpy : 0.002632617950439453 nb_pixel_total : 125941 time to create 1 rle with old method : 0.13466191291809082 length of segment : 764 time for calcul the mask position with numpy : 0.0030074119567871094 nb_pixel_total : 120352 time to create 1 rle with old method : 0.13541126251220703 length of segment : 530 time for calcul the mask position with numpy : 0.0026667118072509766 nb_pixel_total : 132380 time to create 1 rle with old method : 0.14588093757629395 length of segment : 545 time for calcul the mask position with numpy : 0.0003910064697265625 nb_pixel_total : 11938 time to create 1 rle with old method : 0.013527154922485352 length of segment : 147 time spent for convertir_results : 2.6122164726257324 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 20 chid ids of type : 3594 Number RLEs to save : 7064 save missing photos in datou_result : time spend for datou_step_exec : 28.478113889694214 time spend to save output : 0.9248440265655518 total time spend for step 1 : 29.402957916259766 step2:crop_condition Wed Aug 27 10:10:59 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 : 10 ! batch 1 Loaded 20 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756282260_3970004 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7436861991882324 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756282271_3970004 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 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.4950268268585205 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] Looping around the photos to save general results len do output : 20 /1379638987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639141Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379639164Didn'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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 70 time used for this insertion : 0.0351870059967041 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.59554672241211 time spend to save output : 0.03625941276550293 total time spend for step 2 : 17.631806135177612 step3:rle_unique_nms_with_priority Wed Aug 27 10:11:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 20 chid ids of type : 3594 +++++++++++++++++++++++ No data in photo_id : 1379631740 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.15801572799682617 time for calcul the mask position with numpy : 0.06842422485351562 nb_pixel_total : 1975158 time to create 1 rle with new method : 0.277646541595459 time for calcul the mask position with numpy : 0.007352113723754883 nb_pixel_total : 8229 time to create 1 rle with old method : 0.00947117805480957 time for calcul the mask position with numpy : 0.007024288177490234 nb_pixel_total : 86312 time to create 1 rle with old method : 0.09540796279907227 time for calcul the mask position with numpy : 0.006546497344970703 nb_pixel_total : 3901 time to create 1 rle with old method : 0.0045397281646728516 create new chi : 0.48659181594848633 time to delete rle : 0.03183269500732422 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2628 TO DO : save crop sub photo not yet done ! save time : 0.23764586448669434 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.12958121299743652 time for calcul the mask position with numpy : 0.07437825202941895 nb_pixel_total : 2032422 time to create 1 rle with new method : 0.19264626502990723 time for calcul the mask position with numpy : 0.007605314254760742 nb_pixel_total : 14596 time to create 1 rle with old method : 0.016672849655151367 time for calcul the mask position with numpy : 0.00858759880065918 nb_pixel_total : 26582 time to create 1 rle with old method : 0.029980897903442383 create new chi : 0.3338644504547119 time to delete rle : 0.0003783702850341797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1522 TO DO : save crop sub photo not yet done ! save time : 0.20177483558654785 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.14280009269714355 time for calcul the mask position with numpy : 0.06037783622741699 nb_pixel_total : 1936521 time to create 1 rle with new method : 0.09048819541931152 time for calcul the mask position with numpy : 0.0064465999603271484 nb_pixel_total : 18786 time to create 1 rle with old method : 0.021544694900512695 time for calcul the mask position with numpy : 0.006793022155761719 nb_pixel_total : 107446 time to create 1 rle with old method : 0.1234896183013916 time for calcul the mask position with numpy : 0.007150888442993164 nb_pixel_total : 10847 time to create 1 rle with old method : 0.016315698623657227 create new chi : 0.34377121925354004 time to delete rle : 0.0005230903625488281 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2656 TO DO : save crop sub photo not yet done ! save time : 0.4052608013153076 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.1319587230682373 time for calcul the mask position with numpy : 0.2549574375152588 nb_pixel_total : 906697 time to create 1 rle with new method : 0.1389756202697754 time for calcul the mask position with numpy : 0.014265775680541992 nb_pixel_total : 1023832 time to create 1 rle with new method : 0.19191598892211914 time for calcul the mask position with numpy : 0.006287574768066406 nb_pixel_total : 11551 time to create 1 rle with old method : 0.013222932815551758 time for calcul the mask position with numpy : 0.007342338562011719 nb_pixel_total : 125546 time to create 1 rle with old method : 0.14595842361450195 time for calcul the mask position with numpy : 0.008097171783447266 nb_pixel_total : 5974 time to create 1 rle with old method : 0.006766080856323242 create new chi : 0.8046650886535645 time to delete rle : 0.0006396770477294922 batch 1 Loaded 10 chid ids of type : 3594 ++++++Number RLEs to save : 5094 TO DO : save crop sub photo not yet done ! save time : 2.7020859718322754 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.10903024673461914 time for calcul the mask position with numpy : 0.024847984313964844 nb_pixel_total : 1225111 time to create 1 rle with new method : 0.10930180549621582 time for calcul the mask position with numpy : 0.008699417114257812 nb_pixel_total : 125941 time to create 1 rle with old method : 0.1528940200805664 time for calcul the mask position with numpy : 0.016061782836914062 nb_pixel_total : 697771 time to create 1 rle with new method : 0.21257662773132324 time for calcul the mask position with numpy : 0.008903026580810547 nb_pixel_total : 21289 time to create 1 rle with old method : 0.026834964752197266 time for calcul the mask position with numpy : 0.007659435272216797 nb_pixel_total : 3488 time to create 1 rle with old method : 0.004022121429443359 create new chi : 0.5918688774108887 time to delete rle : 0.0008831024169921875 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4946 TO DO : save crop sub photo not yet done ! save time : 17.713898181915283 No data in photo_id : 1379631694 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04593300819396973 time for calcul the mask position with numpy : 0.025150775909423828 nb_pixel_total : 1953248 time to create 1 rle with new method : 0.23001360893249512 time for calcul the mask position with numpy : 0.008795022964477539 nb_pixel_total : 120352 time to create 1 rle with old method : 0.14714312553405762 create new chi : 0.41156792640686035 time to delete rle : 0.0004069805145263672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2140 TO DO : save crop sub photo not yet done ! save time : 4.309085845947266 No data in photo_id : 1379631675 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06371164321899414 time for calcul the mask position with numpy : 0.043616294860839844 nb_pixel_total : 1929282 time to create 1 rle with new method : 0.09958338737487793 time for calcul the mask position with numpy : 0.00699925422668457 nb_pixel_total : 11938 time to create 1 rle with old method : 0.013529300689697266 time for calcul the mask position with numpy : 0.0072138309478759766 nb_pixel_total : 132380 time to create 1 rle with old method : 0.15142130851745605 create new chi : 0.3335554599761963 time to delete rle : 0.0005245208740234375 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2464 TO DO : save crop sub photo not yet done ! save time : 0.45094895362854004 map_output_result : {1379631740: (0.0, 'Should be the crop_list due to order', 0.0), 1379631707: (0.0, 'Should be the crop_list due to order', 0), 1379631705: (0.0, 'Should be the crop_list due to order', 0), 1379631703: (0.0, 'Should be the crop_list due to order', 0), 1379631697: (0.0, 'Should be the crop_list due to order', 0), 1379631695: (0.0, 'Should be the crop_list due to order', 0), 1379631694: (0.0, 'Should be the crop_list due to order', 0.0), 1379631677: (0.0, 'Should be the crop_list due to order', 0), 1379631675: (0.0, 'Should be the crop_list due to order', 0.0), 1379631674: (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 [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] Looping around the photos to save general results len do output : 10 /1379631740.Didn't retrieve data . /1379631707.Didn't retrieve data . /1379631705.Didn't retrieve data . /1379631703.Didn't retrieve data . /1379631697.Didn't retrieve data . /1379631695.Didn't retrieve data . /1379631694.Didn't retrieve data . /1379631677.Didn't retrieve data . /1379631675.Didn't retrieve data . /1379631674.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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.023493051528930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.521026849746704 time spend to save output : 0.02393198013305664 total time spend for step 3 : 30.54495882987976 step4:ventilate_hashtags_in_portfolio Wed Aug 27 10:11:47 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 : 26258329 get user id for portfolio 26258329 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`=26258329 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','mal_croppe','background','carton','autre','pehd','pet_fonce','metal','flou','papier')) 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`=26258329 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','mal_croppe','background','carton','autre','pehd','pet_fonce','metal','flou','papier')) 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`=26258329 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','mal_croppe','background','carton','autre','pehd','pet_fonce','metal','flou','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26259114,26259115,26259116,26259117,26259118,26259119,26259120,26259121,26259122,26259123,26259125?tags=environnement,pet_clair,mal_croppe,background,carton,autre,pehd,pet_fonce,metal,flou,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] Looping around the photos to save general results len do output : 1 /26258329. 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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.0248568058013916 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7619335651397705 time spend to save output : 0.025074005126953125 total time spend for step 4 : 1.7870075702667236 step5:final Wed Aug 27 10:11:49 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 : {1379631740: ('0.12330058834876545',), 1379631707: ('0.12330058834876545',), 1379631705: ('0.12330058834876545',), 1379631703: ('0.12330058834876545',), 1379631697: ('0.12330058834876545',), 1379631695: ('0.12330058834876545',), 1379631694: ('0.12330058834876545',), 1379631677: ('0.12330058834876545',), 1379631675: ('0.12330058834876545',), 1379631674: ('0.12330058834876545',)} new output for save of step final : {1379631740: ('0.12330058834876545',), 1379631707: ('0.12330058834876545',), 1379631705: ('0.12330058834876545',), 1379631703: ('0.12330058834876545',), 1379631697: ('0.12330058834876545',), 1379631695: ('0.12330058834876545',), 1379631694: ('0.12330058834876545',), 1379631677: ('0.12330058834876545',), 1379631675: ('0.12330058834876545',), 1379631674: ('0.12330058834876545',)} [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] Looping around the photos to save general results len do output : 10 /1379631740.Didn't retrieve data . /1379631707.Didn't retrieve data . /1379631705.Didn't retrieve data . /1379631703.Didn't retrieve data . /1379631697.Didn't retrieve data . /1379631695.Didn't retrieve data . /1379631694.Didn't retrieve data . /1379631677.Didn't retrieve data . /1379631675.Didn't retrieve data . /1379631674.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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01908135414123535 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1169288158416748 time spend to save output : 0.01979517936706543 total time spend for step 5 : 0.13672399520874023 step6:blur_detection Wed Aug 27 10:11:49 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/1756282228_3970004_1379631740_d8bb1f5d56fcc282596cb32ceeb8b7e9.jpg resize: (1080, 1920) 1379631740 -2.618122953254214 treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd.jpg resize: (1080, 1920) 1379631707 -2.9299271604481607 treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798.jpg resize: (1080, 1920) 1379631705 -2.6476753217596243 treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed.jpg resize: (1080, 1920) 1379631703 -2.5131077300360176 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112.jpg resize: (1080, 1920) 1379631697 -2.6507180271255617 treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc.jpg resize: (1080, 1920) 1379631695 -2.1373458653367066 treat image : temp/1756282228_3970004_1379631694_02857bb96ab21f91a8c3eca81ff2be4a.jpg resize: (1080, 1920) 1379631694 -1.6517663503377877 treat image : temp/1756282228_3970004_1379631677_1f6f4d2fdef5e570ca53aa06c42f8fca.jpg resize: (1080, 1920) 1379631677 -2.343125430706738 treat image : temp/1756282228_3970004_1379631675_2e9a020256d95d8101daae3517a63288.jpg resize: (1080, 1920) 1379631675 -2.7761048425627752 treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c.jpg resize: (1080, 1920) 1379631674 -2.82858102875978 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388894_0.png resize: (70, 122) 1379638987 -2.5943614755275606 treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388888_0.png resize: (132, 79) 1379639128 -2.394389954736691 treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388886_0.png resize: (48, 113) 1379639129 -0.9574898725173018 treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388887_0.png resize: (521, 342) 1379639132 -1.065770633944742 treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798_rle_crop_3932388889_0.png resize: (112, 312) 1379639133 -2.0995201977121285 treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798_rle_crop_3932388890_0.png resize: (84, 228) 1379639135 -4.907966052962904 treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388893_0.png resize: (157, 168) 1379639138 -1.9177607465934363 treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388891_0.png resize: (102, 128) 1379639139 -3.417583575136772 treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388892_0.png resize: (513, 338) 1379639141 -0.3154077025245096 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388897_0.png resize: (1003, 1205) 1379639144 -3.22657652142322 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388898_0.png resize: (103, 84) 1379639145 -1.7577775188528895 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388896_0.png resize: (186, 100) 1379639147 -3.6186857341181864 treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388895_0.png resize: (546, 374) 1379639150 -0.3572618725426913 treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388901_0.png resize: (891, 969) 1379639151 0.01593394901976805 treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388899_0.png resize: (91, 50) 1379639153 -0.30501215285468186 treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388900_0.png resize: (184, 171) 1379639156 -1.802217614752027 treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388902_0.png resize: (702, 361) 1379639158 -1.1860595809768508 treat image : temp/1756282228_3970004_1379631677_1f6f4d2fdef5e570ca53aa06c42f8fca_rle_crop_3932388903_0.png resize: (522, 366) 1379639159 0.1233585521662792 treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c_rle_crop_3932388905_0.png resize: (136, 121) 1379639162 -1.4796000842704125 treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c_rle_crop_3932388904_0.png resize: (538, 374) 1379639164 -0.1130844962148511 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 : 30 time used for this insertion : 0.019711971282958984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 30 time used for this insertion : 0.13278794288635254 save missing photos in datou_result : time spend for datou_step_exec : 9.230311870574951 time spend to save output : 0.15701603889465332 total time spend for step 6 : 9.387327909469604 step7:brightness Wed Aug 27 10:11:58 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/1756282228_3970004_1379631740_d8bb1f5d56fcc282596cb32ceeb8b7e9.jpg treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd.jpg treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798.jpg treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed.jpg treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112.jpg treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc.jpg treat image : temp/1756282228_3970004_1379631694_02857bb96ab21f91a8c3eca81ff2be4a.jpg treat image : temp/1756282228_3970004_1379631677_1f6f4d2fdef5e570ca53aa06c42f8fca.jpg treat image : temp/1756282228_3970004_1379631675_2e9a020256d95d8101daae3517a63288.jpg treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c.jpg treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388894_0.png treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388888_0.png treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388886_0.png treat image : temp/1756282228_3970004_1379631707_0aabeb8b45a797c7ef9a3e9275e245dd_rle_crop_3932388887_0.png treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798_rle_crop_3932388889_0.png treat image : temp/1756282228_3970004_1379631705_67fd10a24bbe48229fda39a4374ac798_rle_crop_3932388890_0.png treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388893_0.png treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388891_0.png treat image : temp/1756282228_3970004_1379631703_a029951b448818595a4647a7dff58aed_rle_crop_3932388892_0.png treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388897_0.png treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388898_0.png treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388896_0.png treat image : temp/1756282228_3970004_1379631697_a7075cbc64805a194385959cc52c8112_rle_crop_3932388895_0.png treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388901_0.png treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388899_0.png treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388900_0.png treat image : temp/1756282228_3970004_1379631695_5e590b88c6b3355a33cf12faa00ab4fc_rle_crop_3932388902_0.png treat image : temp/1756282228_3970004_1379631677_1f6f4d2fdef5e570ca53aa06c42f8fca_rle_crop_3932388903_0.png treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c_rle_crop_3932388905_0.png treat image : temp/1756282228_3970004_1379631674_c74f5ece2f0757a8891c460cdfc9e31c_rle_crop_3932388904_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 : 30 time used for this insertion : 0.0147705078125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 30 time used for this insertion : 0.1239938735961914 save missing photos in datou_result : time spend for datou_step_exec : 2.6341066360473633 time spend to save output : 0.14315414428710938 total time spend for step 7 : 2.7772607803344727 step8:velours_tree Wed Aug 27 10:12:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.13307714462280273 time spend to save output : 3.24249267578125e-05 total time spend for step 8 : 0.13310956954956055 step9:send_mail_cod Wed Aug 27 10:12:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P26258329_27-08-2025_10_12_01.pdf 26259115 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 .imagette262591151756282321 26259116 imagette262591161756282323 26259117 imagette262591171756282323 26259118 imagette262591181756282323 26259119 imagette262591191756282323 26259120 imagette262591201756282323 26259121 imagette262591211756282323 26259122 imagette262591221756282323 26259123 imagette262591231756282323 26259125 change filename to text .imagette262591251756282323 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26258329 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26259114,26259115,26259116,26259117,26259118,26259119,26259120,26259121,26259122,26259123,26259125?tags=environnement,pet_clair,mal_croppe,background,carton,autre,pehd,pet_fonce,metal,flou,papier args[1379631740] : ((1379631740, -2.618122953254214, 492609224), (1379631740, 0.6716231708560435, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631707] : ((1379631707, -2.9299271604481607, 492609224), (1379631707, 0.4837310078676965, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631705] : ((1379631705, -2.6476753217596243, 492609224), (1379631705, 0.48622797410923085, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631703] : ((1379631703, -2.5131077300360176, 492609224), (1379631703, 0.37103932057046496, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631697] : ((1379631697, -2.6507180271255617, 492609224), (1379631697, 0.41668504031948184, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631695] : ((1379631695, -2.1373458653367066, 492609224), (1379631695, 0.508771727495484, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631694] : ((1379631694, -1.6517663503377877, 492688767), (1379631694, 0.4446827799096249, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631677] : ((1379631677, -2.343125430706738, 492609224), (1379631677, 0.34275520799120934, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631675] : ((1379631675, -2.7761048425627752, 492609224), (1379631675, 0.3876005536324534, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com args[1379631674] : ((1379631674, -2.82858102875978, 492609224), (1379631674, 0.3914379001283002, 2107752395), '0.12330058834876545') We are sending mail with results at report@fotonower.com refus_total : 0.12330058834876545 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=26258329 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_P26258329_27-08-2025_10_12_01.pdf results_Auto_P26258329_27-08-2025_10_12_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258329_27-08-2025_10_12_01.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','26258329','results_Auto_P26258329_27-08-2025_10_12_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258329_27-08-2025_10_12_01.pdf','pdf','','0.36','0.12330058834876545') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26258329

https://www.fotonower.com/image?json=false&list_photos_id=1379631740
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631707
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631705
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631703
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631697
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631695
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631694
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631677
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631675
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379631674
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26259115?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26259125?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258329_27-08-2025_10_12_01.pdf.

Lien vers velours :https://www.fotonower.com/velours/26259114,26259115,26259116,26259117,26259118,26259119,26259120,26259121,26259122,26259123,26259125?tags=environnement,pet_clair,mal_croppe,background,carton,autre,pehd,pet_fonce,metal,flou,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 27 Aug 2025 08:12:05 GMT Content-Length: 0 Connection: close X-Message-Id: 5ajEqXC1TNSu7ger0A-liw 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 [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] 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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.08873271942138672 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6774771213531494 time spend to save output : 0.08907151222229004 total time spend for step 9 : 3.7665486335754395 step10:split_time_score Wed Aug 27 10:12: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27082025 26258329 Nombre de photos uploadées : 10 / 23040 (0%) 27082025 26258329 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 27082025 26258329 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006175041198730469 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21033906936645508 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.062204378858024684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26256001_27-08-2025_09_32_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26256001 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26256001 AND mptpi.`type`=3594 To do Qualite : 0.07180745918615984 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258328_27-08-2025_10_02_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258328 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`=26258328 AND mptpi.`type`=3594 To do Qualite : 0.12330058834876545 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258329_27-08-2025_10_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258329 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`=26258329 AND mptpi.`type`=3594 To do Qualite : 0.07669382122507122 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26258331_27-08-2025_09_54_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26258331 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26258331 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27082025': {'nb_upload': 10, '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 [1379631740, 1379631707, 1379631705, 1379631703, 1379631697, 1379631695, 1379631694, 1379631677, 1379631675, 1379631674] Looping around the photos to save general results len do output : 1 /26258329Didn'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, '3610745') ('3318', '26258329', '1379631740', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631707', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631705', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631703', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631697', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631695', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631694', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631677', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631675', None, None, None, None, None, '3610745') ('3318', None, None, None, None, None, None, None, '3610745') ('3318', '26258329', '1379631674', None, None, None, None, None, '3610745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.08288335800170898 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6270053386688232 time spend to save output : 0.08314132690429688 total time spend for step 10 : 0.7101466655731201 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 42.77user 19.99system 1:41.40elapsed 61%CPU (0avgtext+0avgdata 2713692maxresident)k 1324824inputs+26152outputs (4946major+1339044minor)pagefaults 0swaps