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 : 3184394 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 : ['3637004'] with mtr_portfolio_ids : ['26331661'] and first list_photo_ids : [] new path : /proc/3184394/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.762474775314331 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 Fri Aug 29 15: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 : 10604 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-29 15:10:32.735383: 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-29 15:10:32.760556: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-29 15:10:32.762499: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fbd44000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-29 15:10:32.762559: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-29 15:10:32.766578: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-29 15:10:32.937765: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xd339b90 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-29 15:10:32.937831: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-29 15:10:32.939374: 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-29 15:10:32.939808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 15:10:32.943049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 15:10:32.946114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 15:10:32.946651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 15:10:32.949848: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 15:10:32.950949: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 15:10:32.955727: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 15:10:32.957359: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 15:10:32.957453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 15:10:32.958269: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 15:10:32.958285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 15:10:32.958294: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 15:10:32.959711: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 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-29 15:10:33.231136: 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-29 15:10:33.231266: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 15:10:33.231289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 15:10:33.231315: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 15:10:33.231336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 15:10:33.231362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 15:10:33.231385: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 15:10:33.231411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 15:10:33.232994: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 15:10:33.234486: 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-29 15:10:33.234521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-29 15:10:33.234540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 15:10:33.234556: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-29 15:10:33.234573: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-29 15:10:33.234588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-29 15:10:33.234604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-29 15:10:33.234620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-29 15:10:33.235877: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-29 15:10:33.235922: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-29 15:10:33.235932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-29 15:10:33.235939: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-29 15:10:33.237278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9823 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-29 15:10:42.556083: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-29 15:10:42.783131: 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 : 14 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 : 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.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: 20.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: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 42.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: 12.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 3185019 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5313 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 10604 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.0017852783203125 nb_pixel_total : 79932 time to create 1 rle with old method : 0.08849740028381348 length of segment : 485 time for calcul the mask position with numpy : 0.0007753372192382812 nb_pixel_total : 45599 time to create 1 rle with old method : 0.050042152404785156 length of segment : 339 time for calcul the mask position with numpy : 0.00012493133544921875 nb_pixel_total : 6311 time to create 1 rle with old method : 0.007355213165283203 length of segment : 76 time for calcul the mask position with numpy : 0.00024247169494628906 nb_pixel_total : 16797 time to create 1 rle with old method : 0.018840312957763672 length of segment : 170 time for calcul the mask position with numpy : 0.005612373352050781 nb_pixel_total : 325807 time to create 1 rle with new method : 0.014417886734008789 length of segment : 613 time for calcul the mask position with numpy : 0.00010657310485839844 nb_pixel_total : 3697 time to create 1 rle with old method : 0.0045680999755859375 length of segment : 54 time for calcul the mask position with numpy : 0.0001766681671142578 nb_pixel_total : 7395 time to create 1 rle with old method : 0.008797883987426758 length of segment : 114 time for calcul the mask position with numpy : 0.00011181831359863281 nb_pixel_total : 5269 time to create 1 rle with old method : 0.0059947967529296875 length of segment : 100 time for calcul the mask position with numpy : 0.0003192424774169922 nb_pixel_total : 6458 time to create 1 rle with old method : 0.0077135562896728516 length of segment : 234 time for calcul the mask position with numpy : 0.0001850128173828125 nb_pixel_total : 8821 time to create 1 rle with old method : 0.010156631469726562 length of segment : 152 time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 3907 time to create 1 rle with old method : 0.0048601627349853516 length of segment : 87 time for calcul the mask position with numpy : 0.00015091896057128906 nb_pixel_total : 6899 time to create 1 rle with old method : 0.007971048355102539 length of segment : 107 time for calcul the mask position with numpy : 7.200241088867188e-05 nb_pixel_total : 2247 time to create 1 rle with old method : 0.0028047561645507812 length of segment : 42 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 6961 time to create 1 rle with old method : 0.007979869842529297 length of segment : 127 time for calcul the mask position with numpy : 0.0002186298370361328 nb_pixel_total : 11214 time to create 1 rle with old method : 0.012238264083862305 length of segment : 179 time for calcul the mask position with numpy : 6.866455078125e-05 nb_pixel_total : 2309 time to create 1 rle with old method : 0.002720355987548828 length of segment : 45 time for calcul the mask position with numpy : 0.00028395652770996094 nb_pixel_total : 23131 time to create 1 rle with old method : 0.025920391082763672 length of segment : 246 time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 7568 time to create 1 rle with old method : 0.008676528930664062 length of segment : 126 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 7357 time to create 1 rle with old method : 0.008335113525390625 length of segment : 74 time for calcul the mask position with numpy : 0.0004379749298095703 nb_pixel_total : 32350 time to create 1 rle with old method : 0.0416717529296875 length of segment : 153 time for calcul the mask position with numpy : 0.0003199577331542969 nb_pixel_total : 11407 time to create 1 rle with old method : 0.016696929931640625 length of segment : 187 time for calcul the mask position with numpy : 0.00011539459228515625 nb_pixel_total : 5375 time to create 1 rle with old method : 0.006299495697021484 length of segment : 64 time for calcul the mask position with numpy : 0.00018024444580078125 nb_pixel_total : 12889 time to create 1 rle with old method : 0.014824628829956055 length of segment : 164 time for calcul the mask position with numpy : 0.00014710426330566406 nb_pixel_total : 7152 time to create 1 rle with old method : 0.008122682571411133 length of segment : 150 time for calcul the mask position with numpy : 0.0001163482666015625 nb_pixel_total : 4680 time to create 1 rle with old method : 0.0054209232330322266 length of segment : 123 time for calcul the mask position with numpy : 0.0002396106719970703 nb_pixel_total : 14250 time to create 1 rle with old method : 0.0161590576171875 length of segment : 184 time for calcul the mask position with numpy : 0.0006203651428222656 nb_pixel_total : 25917 time to create 1 rle with old method : 0.029389619827270508 length of segment : 262 time for calcul the mask position with numpy : 0.00357818603515625 nb_pixel_total : 10132 time to create 1 rle with old method : 0.011935949325561523 length of segment : 260 time for calcul the mask position with numpy : 0.0016491413116455078 nb_pixel_total : 52232 time to create 1 rle with old method : 0.05875658988952637 length of segment : 354 time for calcul the mask position with numpy : 0.0006365776062011719 nb_pixel_total : 22519 time to create 1 rle with old method : 0.02530217170715332 length of segment : 177 time for calcul the mask position with numpy : 0.0010676383972167969 nb_pixel_total : 24573 time to create 1 rle with old method : 0.027598857879638672 length of segment : 233 time for calcul the mask position with numpy : 0.00019407272338867188 nb_pixel_total : 3581 time to create 1 rle with old method : 0.004148960113525391 length of segment : 74 time for calcul the mask position with numpy : 0.0020241737365722656 nb_pixel_total : 82540 time to create 1 rle with old method : 0.09019088745117188 length of segment : 416 time for calcul the mask position with numpy : 0.00029158592224121094 nb_pixel_total : 6955 time to create 1 rle with old method : 0.007901430130004883 length of segment : 113 time for calcul the mask position with numpy : 0.0003159046173095703 nb_pixel_total : 10022 time to create 1 rle with old method : 0.011392593383789062 length of segment : 138 time for calcul the mask position with numpy : 0.0006580352783203125 nb_pixel_total : 22678 time to create 1 rle with old method : 0.025613069534301758 length of segment : 210 time for calcul the mask position with numpy : 0.00024008750915527344 nb_pixel_total : 6659 time to create 1 rle with old method : 0.007776975631713867 length of segment : 63 time spent for convertir_results : 1.8821403980255127 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 37 chid ids of type : 3594 Number RLEs to save : 6695 save missing photos in datou_result : time spend for datou_step_exec : 27.139208793640137 time spend to save output : 0.46834516525268555 total time spend for step 1 : 27.607553958892822 step2:crop_condition Fri Aug 29 15:10:57 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 : 14 ! batch 1 Loaded 37 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756473060_3184394 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.294523000717163 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756473068_3184394 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8948812484741211 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756473070_3184394 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.5488181114196777 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! 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/1756473074_3184394 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.6640160083770752 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1756473075_3184394 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.5964441299438477 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] Looping around the photos to save general results len do output : 37 /1380116302Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116304Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116306Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116322Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116325Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116327Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116329Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116333Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116334Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116336Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116338Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116339Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116345Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116346Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380116350Didn'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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 125 time used for this insertion : 0.025252103805541992 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.563374042510986 time spend to save output : 0.02684307098388672 total time spend for step 2 : 18.590217113494873 step3:rle_unique_nms_with_priority Fri Aug 29 15: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 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 37 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1380111500 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.6646032333374023 time for calcul the mask position with numpy : 0.058669328689575195 nb_pixel_total : 1948069 time to create 1 rle with new method : 0.18916606903076172 time for calcul the mask position with numpy : 0.006459951400756836 nb_pixel_total : 45599 time to create 1 rle with old method : 0.04981803894042969 time for calcul the mask position with numpy : 0.006544589996337891 nb_pixel_total : 79932 time to create 1 rle with old method : 0.08778262138366699 create new chi : 0.4086005687713623 time to delete rle : 0.02055954933166504 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2728 TO DO : save crop sub photo not yet done ! save time : 0.20535635948181152 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.19312572479248047 time for calcul the mask position with numpy : 0.11261558532714844 nb_pixel_total : 1730996 time to create 1 rle with new method : 0.07584977149963379 time for calcul the mask position with numpy : 0.008226871490478516 nb_pixel_total : 319496 time to create 1 rle with new method : 0.1102609634399414 time for calcul the mask position with numpy : 0.00652623176574707 nb_pixel_total : 16797 time to create 1 rle with old method : 0.01912522315979004 time for calcul the mask position with numpy : 0.0060045719146728516 nb_pixel_total : 6311 time to create 1 rle with old method : 0.0072901248931884766 create new chi : 0.3565797805786133 time to delete rle : 0.0003845691680908203 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 2798 TO DO : save crop sub photo not yet done ! save time : 0.21764183044433594 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.34426283836364746 time for calcul the mask position with numpy : 0.05630016326904297 nb_pixel_total : 2038053 time to create 1 rle with new method : 0.2871396541595459 time for calcul the mask position with numpy : 0.006701946258544922 nb_pixel_total : 3907 time to create 1 rle with old method : 0.004374980926513672 time for calcul the mask position with numpy : 0.0063211917877197266 nb_pixel_total : 8821 time to create 1 rle with old method : 0.009560585021972656 time for calcul the mask position with numpy : 0.006173372268676758 nb_pixel_total : 6458 time to create 1 rle with old method : 0.007301807403564453 time for calcul the mask position with numpy : 0.006713390350341797 nb_pixel_total : 5269 time to create 1 rle with old method : 0.005800724029541016 time for calcul the mask position with numpy : 0.0059206485748291016 nb_pixel_total : 7395 time to create 1 rle with old method : 0.008266210556030273 time for calcul the mask position with numpy : 0.005956888198852539 nb_pixel_total : 3697 time to create 1 rle with old method : 0.0039730072021484375 create new chi : 0.43147730827331543 time to delete rle : 0.0003838539123535156 batch 1 Loaded 13 chid ids of type : 3594 ++++++++++Number RLEs to save : 2562 TO DO : save crop sub photo not yet done ! save time : 0.19331598281860352 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06578230857849121 time for calcul the mask position with numpy : 0.019803524017333984 nb_pixel_total : 2046279 time to create 1 rle with new method : 0.3625040054321289 time for calcul the mask position with numpy : 0.006036281585693359 nb_pixel_total : 11214 time to create 1 rle with old method : 0.01196432113647461 time for calcul the mask position with numpy : 0.005913496017456055 nb_pixel_total : 6961 time to create 1 rle with old method : 0.007746219635009766 time for calcul the mask position with numpy : 0.006285905838012695 nb_pixel_total : 2247 time to create 1 rle with old method : 0.002450704574584961 time for calcul the mask position with numpy : 0.005764007568359375 nb_pixel_total : 6899 time to create 1 rle with old method : 0.007433414459228516 create new chi : 0.44326233863830566 time to delete rle : 0.00031113624572753906 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1990 TO DO : save crop sub photo not yet done ! save time : 0.1571664810180664 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.18310904502868652 time for calcul the mask position with numpy : 0.13132667541503906 nb_pixel_total : 2040592 time to create 1 rle with new method : 0.08382630348205566 time for calcul the mask position with numpy : 0.006273031234741211 nb_pixel_total : 7568 time to create 1 rle with old method : 0.008198738098144531 time for calcul the mask position with numpy : 0.006098270416259766 nb_pixel_total : 23131 time to create 1 rle with old method : 0.02570343017578125 time for calcul the mask position with numpy : 0.00619053840637207 nb_pixel_total : 2309 time to create 1 rle with old method : 0.0025415420532226562 create new chi : 0.2821474075317383 time to delete rle : 0.0003082752227783203 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1914 TO DO : save crop sub photo not yet done ! save time : 0.15801739692687988 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.033792972564697266 time for calcul the mask position with numpy : 0.018819808959960938 nb_pixel_total : 2066243 time to create 1 rle with new method : 0.1272881031036377 time for calcul the mask position with numpy : 0.005957126617431641 nb_pixel_total : 7357 time to create 1 rle with old method : 0.008106470108032227 create new chi : 0.16745758056640625 time to delete rle : 0.00020837783813476562 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1228 TO DO : save crop sub photo not yet done ! save time : 0.11304473876953125 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03211379051208496 time for calcul the mask position with numpy : 0.01928997039794922 nb_pixel_total : 2041250 time to create 1 rle with new method : 0.12506389617919922 time for calcul the mask position with numpy : 0.006168365478515625 nb_pixel_total : 32350 time to create 1 rle with old method : 0.03476119041442871 create new chi : 0.19617557525634766 time to delete rle : 0.00023055076599121094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1386 TO DO : save crop sub photo not yet done ! save time : 0.1251354217529297 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.2309865951538086 time for calcul the mask position with numpy : 0.11369633674621582 nb_pixel_total : 2036777 time to create 1 rle with new method : 0.12844014167785645 time for calcul the mask position with numpy : 0.006241798400878906 nb_pixel_total : 7152 time to create 1 rle with old method : 0.007876157760620117 time for calcul the mask position with numpy : 0.005780935287475586 nb_pixel_total : 12889 time to create 1 rle with old method : 0.013634920120239258 time for calcul the mask position with numpy : 0.005820274353027344 nb_pixel_total : 5375 time to create 1 rle with old method : 0.0057830810546875 time for calcul the mask position with numpy : 0.006124258041381836 nb_pixel_total : 11407 time to create 1 rle with old method : 0.012527227401733398 create new chi : 0.31606340408325195 time to delete rle : 0.0003528594970703125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2210 TO DO : save crop sub photo not yet done ! save time : 0.18853402137756348 No data in photo_id : 1380111306 No data in photo_id : 1380111305 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.23154377937316895 time for calcul the mask position with numpy : 0.11577224731445312 nb_pixel_total : 1967963 time to create 1 rle with new method : 0.08155465126037598 time for calcul the mask position with numpy : 0.0064487457275390625 nb_pixel_total : 52129 time to create 1 rle with old method : 0.05932140350341797 time for calcul the mask position with numpy : 0.006586790084838867 nb_pixel_total : 8661 time to create 1 rle with old method : 0.010373353958129883 time for calcul the mask position with numpy : 0.0062236785888671875 nb_pixel_total : 25917 time to create 1 rle with old method : 0.029256343841552734 time for calcul the mask position with numpy : 0.006449460983276367 nb_pixel_total : 14250 time to create 1 rle with old method : 0.016308307647705078 time for calcul the mask position with numpy : 0.006516218185424805 nb_pixel_total : 4680 time to create 1 rle with old method : 0.005542278289794922 create new chi : 0.36151647567749023 time to delete rle : 0.00048613548278808594 batch 1 Loaded 11 chid ids of type : 3594 +++++++++++Number RLEs to save : 3342 TO DO : save crop sub photo not yet done ! save time : 0.2396683692932129 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.20910072326660156 time for calcul the mask position with numpy : 0.13327622413635254 nb_pixel_total : 1923410 time to create 1 rle with new method : 0.19699907302856445 time for calcul the mask position with numpy : 0.006135225296020508 nb_pixel_total : 10022 time to create 1 rle with old method : 0.011210918426513672 time for calcul the mask position with numpy : 0.006095170974731445 nb_pixel_total : 6955 time to create 1 rle with old method : 0.007869243621826172 time for calcul the mask position with numpy : 0.006487131118774414 nb_pixel_total : 82540 time to create 1 rle with old method : 0.0936739444732666 time for calcul the mask position with numpy : 0.006071805953979492 nb_pixel_total : 3581 time to create 1 rle with old method : 0.0041332244873046875 time for calcul the mask position with numpy : 0.006328582763671875 nb_pixel_total : 24573 time to create 1 rle with old method : 0.02721381187438965 time for calcul the mask position with numpy : 0.006297588348388672 nb_pixel_total : 22519 time to create 1 rle with old method : 0.025258302688598633 create new chi : 0.5472946166992188 time to delete rle : 0.00045752525329589844 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3382 TO DO : save crop sub photo not yet done ! save time : 0.2730443477630615 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06486392021179199 time for calcul the mask position with numpy : 0.022305965423583984 nb_pixel_total : 2044263 time to create 1 rle with new method : 0.041237592697143555 time for calcul the mask position with numpy : 0.006223917007446289 nb_pixel_total : 6659 time to create 1 rle with old method : 0.0076999664306640625 time for calcul the mask position with numpy : 0.006540775299072266 nb_pixel_total : 22678 time to create 1 rle with old method : 0.02503347396850586 create new chi : 0.10937190055847168 time to delete rle : 0.00033020973205566406 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1626 TO DO : save crop sub photo not yet done ! save time : 0.14555621147155762 map_output_result : {1380111500: (0.0, 'Should be the crop_list due to order', 0.0), 1380111466: (0.0, 'Should be the crop_list due to order', 0), 1380111428: (0.0, 'Should be the crop_list due to order', 0), 1380111405: (0.0, 'Should be the crop_list due to order', 0), 1380111389: (0.0, 'Should be the crop_list due to order', 0), 1380111383: (0.0, 'Should be the crop_list due to order', 0), 1380111321: (0.0, 'Should be the crop_list due to order', 0), 1380111317: (0.0, 'Should be the crop_list due to order', 0), 1380111314: (0.0, 'Should be the crop_list due to order', 0), 1380111306: (0.0, 'Should be the crop_list due to order', 0.0), 1380111305: (0.0, 'Should be the crop_list due to order', 0.0), 1380111303: (0.0, 'Should be the crop_list due to order', 0), 1380111263: (0.0, 'Should be the crop_list due to order', 0), 1380111262: (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 [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] Looping around the photos to save general results len do output : 14 /1380111500.Didn't retrieve data . /1380111466.Didn't retrieve data . /1380111428.Didn't retrieve data . /1380111405.Didn't retrieve data . /1380111389.Didn't retrieve data . /1380111383.Didn't retrieve data . /1380111321.Didn't retrieve data . /1380111317.Didn't retrieve data . /1380111314.Didn't retrieve data . /1380111306.Didn't retrieve data . /1380111305.Didn't retrieve data . /1380111303.Didn't retrieve data . /1380111263.Didn't retrieve data . /1380111262.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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.0144500732421875 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.306238174438477 time spend to save output : 0.014970064163208008 total time spend for step 3 : 8.321208238601685 step4:ventilate_hashtags_in_portfolio Fri Aug 29 15:11:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26331661 get user id for portfolio 26331661 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`=26331661 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','flou','papier','pet_clair','pehd','background','metal','pet_fonce','carton','mal_croppe','environnement')) 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`=26331661 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','flou','papier','pet_clair','pehd','background','metal','pet_fonce','carton','mal_croppe','environnement')) AND mptpi.`min_score`=0.5 To do 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`=26331661 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','flou','papier','pet_clair','pehd','background','metal','pet_fonce','carton','mal_croppe','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26331960,26331961,26331962,26331963,26331964,26331965,26331966,26331967,26331968,26331969,26331970?tags=autre,flou,papier,pet_clair,pehd,background,metal,pet_fonce,carton,mal_croppe,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] Looping around the photos to save general results len do output : 1 /26331661. 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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.015643596649169922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7079005241394043 time spend to save output : 0.015916109085083008 total time spend for step 4 : 0.7238166332244873 step5:final Fri Aug 29 15:11:25 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 : {1380111500: ('0.031887435240299834',), 1380111466: ('0.031887435240299834',), 1380111428: ('0.031887435240299834',), 1380111405: ('0.031887435240299834',), 1380111389: ('0.031887435240299834',), 1380111383: ('0.031887435240299834',), 1380111321: ('0.031887435240299834',), 1380111317: ('0.031887435240299834',), 1380111314: ('0.031887435240299834',), 1380111306: ('0.031887435240299834',), 1380111305: ('0.031887435240299834',), 1380111303: ('0.031887435240299834',), 1380111263: ('0.031887435240299834',), 1380111262: ('0.031887435240299834',)} new output for save of step final : {1380111500: ('0.031887435240299834',), 1380111466: ('0.031887435240299834',), 1380111428: ('0.031887435240299834',), 1380111405: ('0.031887435240299834',), 1380111389: ('0.031887435240299834',), 1380111383: ('0.031887435240299834',), 1380111321: ('0.031887435240299834',), 1380111317: ('0.031887435240299834',), 1380111314: ('0.031887435240299834',), 1380111306: ('0.031887435240299834',), 1380111305: ('0.031887435240299834',), 1380111303: ('0.031887435240299834',), 1380111263: ('0.031887435240299834',), 1380111262: ('0.031887435240299834',)} [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] Looping around the photos to save general results len do output : 14 /1380111500.Didn't retrieve data . /1380111466.Didn't retrieve data . /1380111428.Didn't retrieve data . /1380111405.Didn't retrieve data . /1380111389.Didn't retrieve data . /1380111383.Didn't retrieve data . /1380111321.Didn't retrieve data . /1380111317.Didn't retrieve data . /1380111314.Didn't retrieve data . /1380111306.Didn't retrieve data . /1380111305.Didn't retrieve data . /1380111303.Didn't retrieve data . /1380111263.Didn't retrieve data . /1380111262.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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.01576542854309082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12588143348693848 time spend to save output : 0.01693248748779297 total time spend for step 5 : 0.14281392097473145 step6:blur_detection Fri Aug 29 15:11:25 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/1756473028_3184394_1380111500_2f5ef57dfaee80a11ec2d96788432e4f.jpg resize: (1080, 1920) 1380111500 -0.061742285857033376 treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11.jpg resize: (1080, 1920) 1380111466 -1.3365072157420874 treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59.jpg resize: (1080, 1920) 1380111428 -4.216393605483265 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6.jpg resize: (1080, 1920) 1380111405 -0.26068049473096744 treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb.jpg resize: (1080, 1920) 1380111389 -0.6803088405234118 treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a.jpg resize: (1080, 1920) 1380111383 -0.1759229906046985 treat image : temp/1756473028_3184394_1380111321_feedbf0e9081176600261e233431307d.jpg resize: (1080, 1920) 1380111321 -1.0722083078311442 treat image : temp/1756473028_3184394_1380111317_efff5f58ad0b8891c792f882c8344b85.jpg resize: (1080, 1920) 1380111317 -1.6121178355965033 treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd.jpg resize: (1080, 1920) 1380111314 0.20185088146338587 treat image : temp/1756473028_3184394_1380111306_2945c90add955462da5972b974b12e4b.jpg resize: (1080, 1920) 1380111306 -0.4192157573374567 treat image : temp/1756473028_3184394_1380111305_5338b9c6ea2198cec2812e471184944c.jpg resize: (1080, 1920) 1380111305 -1.0813797130503384 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68.jpg resize: (1080, 1920) 1380111303 -1.3936542323078311 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b.jpg resize: (1080, 1920) 1380111263 -1.1668032183127586 treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31.jpg resize: (1080, 1920) 1380111262 0.20172340395280694 treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11_rle_crop_3935495462_0.png resize: (276, 248) 1380116302 -2.926343734086011 treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495465_0.png resize: (594, 895) 1380116304 -5.402069977033482 treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495464_0.png resize: (141, 160) 1380116305 -1.4012548721331266 treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495463_0.png resize: (76, 114) 1380116306 0.5547826552121591 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495469_0.png resize: (199, 159) 1380116307 -1.6815687030818907 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495466_0.png resize: (50, 113) 1380116308 2.0915177312220123 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495471_0.png resize: (68, 116) 1380116309 -1.1683280253889479 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495467_0.png resize: (113, 124) 1380116310 -0.7196806753962564 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495468_0.png resize: (98, 77) 1380116311 0.2164712742187344 treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495475_0.png resize: (179, 112) 1380116312 -0.503737674155541 treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495472_0.png resize: (107, 118) 1380116313 -1.1049355140574533 treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495474_0.png resize: (127, 74) 1380116314 -0.7813988082720638 treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495476_0.png resize: (45, 71) 1380116315 -5.185330310810879 treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495478_0.png resize: (126, 88) 1380116316 -1.244173332943001 treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495481_0.png resize: (186, 128) 1380116317 -1.073022943219527 treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495484_0.png resize: (131, 99) 1380116318 -1.7197723601898995 treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495482_0.png resize: (63, 125) 1380116319 0.624286164269929 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495485_0.png resize: (119, 85) 1380116320 -0.666276874996113 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495491_0.png resize: (233, 313) 1380116321 -1.7991959872283236 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495492_0.png resize: (73, 84) 1380116322 -2.366365003583285 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495490_0.png resize: (175, 193) 1380116324 0.6471576442235065 treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495470_0.png resize: (151, 109) 1380116325 -1.871068221217379 treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495473_0.png resize: (41, 70) 1380116327 -4.6576673700744 treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11_rle_crop_3935495461_0.png resize: (468, 347) 1380116329 -0.6151205775149535 treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495477_0.png resize: (242, 121) 1380116331 -4.0868333760655515 treat image : temp/1756473028_3184394_1380111321_feedbf0e9081176600261e233431307d_rle_crop_3935495479_0.png resize: (73, 137) 1380116333 0.35608000893248654 treat image : temp/1756473028_3184394_1380111317_efff5f58ad0b8891c792f882c8344b85_rle_crop_3935495480_0.png resize: (152, 320) 1380116334 -1.6732863320563063 treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495483_0.png resize: (164, 95) 1380116336 0.05402671703897155 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495487_0.png resize: (238, 248) 1380116338 -1.539243771720677 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495486_0.png resize: (161, 143) 1380116339 -1.021242689136869 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495488_0.png resize: (171, 172) 1380116341 -2.5626935888701747 treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495489_0.png resize: (346, 268) 1380116342 -1.076166561739899 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495493_0.png resize: (398, 334) 1380116343 -0.0793132555025585 treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31_rle_crop_3935495497_0.png resize: (62, 145) 1380116345 -1.2790145665505173 treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31_rle_crop_3935495496_0.png resize: (205, 161) 1380116346 -1.1732758403572692 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495495_0.png resize: (138, 93) 1380116349 -0.43508036545918516 treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495494_0.png resize: (113, 78) 1380116350 -1.5671548763101055 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 : 51 time used for this insertion : 0.016616344451904297 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.023574352264404297 save missing photos in datou_result : time spend for datou_step_exec : 11.522602081298828 time spend to save output : 0.045567989349365234 total time spend for step 6 : 11.568170070648193 step7:brightness Fri Aug 29 15:11:36 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/1756473028_3184394_1380111500_2f5ef57dfaee80a11ec2d96788432e4f.jpg treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11.jpg treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59.jpg treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6.jpg treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb.jpg treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a.jpg treat image : temp/1756473028_3184394_1380111321_feedbf0e9081176600261e233431307d.jpg treat image : temp/1756473028_3184394_1380111317_efff5f58ad0b8891c792f882c8344b85.jpg treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd.jpg treat image : temp/1756473028_3184394_1380111306_2945c90add955462da5972b974b12e4b.jpg treat image : temp/1756473028_3184394_1380111305_5338b9c6ea2198cec2812e471184944c.jpg treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68.jpg treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b.jpg treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31.jpg treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11_rle_crop_3935495462_0.png treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495465_0.png treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495464_0.png treat image : temp/1756473028_3184394_1380111428_795ff174175ca0f922d457a51008ce59_rle_crop_3935495463_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495469_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495466_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495471_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495467_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495468_0.png treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495475_0.png treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495472_0.png treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495474_0.png treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495476_0.png treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495478_0.png treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495481_0.png treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495484_0.png treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495482_0.png treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495485_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495491_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495492_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495490_0.png treat image : temp/1756473028_3184394_1380111405_4cd3e4f1c53dd6920c38a49d543028b6_rle_crop_3935495470_0.png treat image : temp/1756473028_3184394_1380111389_1d10d58c82f3082e1d7a7f51e80e5ceb_rle_crop_3935495473_0.png treat image : temp/1756473028_3184394_1380111466_6bf74a62c24742c30b68d084d7a9ae11_rle_crop_3935495461_0.png treat image : temp/1756473028_3184394_1380111383_e29472b56467ec87601059fbe2b9629a_rle_crop_3935495477_0.png treat image : temp/1756473028_3184394_1380111321_feedbf0e9081176600261e233431307d_rle_crop_3935495479_0.png treat image : temp/1756473028_3184394_1380111317_efff5f58ad0b8891c792f882c8344b85_rle_crop_3935495480_0.png treat image : temp/1756473028_3184394_1380111314_4770081181461472d74fef22aa2776fd_rle_crop_3935495483_0.png treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495487_0.png treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495486_0.png treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495488_0.png treat image : temp/1756473028_3184394_1380111303_e1adef79e24074d4a0f6de39c1e44c68_rle_crop_3935495489_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495493_0.png treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31_rle_crop_3935495497_0.png treat image : temp/1756473028_3184394_1380111262_7577c7e19d51c0d0c5e4868abc45ce31_rle_crop_3935495496_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495495_0.png treat image : temp/1756473028_3184394_1380111263_119c0d5ca0dcbbb973a00c3c658d032b_rle_crop_3935495494_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 : 51 time used for this insertion : 0.01394033432006836 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 51 time used for this insertion : 0.014950275421142578 save missing photos in datou_result : time spend for datou_step_exec : 3.3671014308929443 time spend to save output : 0.0336148738861084 total time spend for step 7 : 3.4007163047790527 step8:velours_tree Fri Aug 29 15:11:40 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.13701462745666504 time spend to save output : 3.981590270996094e-05 total time spend for step 8 : 0.137054443359375 step9:send_mail_cod Fri Aug 29 15:11:40 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_P26331661_29-08-2025_15_11_40.pdf 26331960 change filename to text .imagette263319601756473100 26331961 imagette263319611756473100 26331962 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette263319621756473100 26331963 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 .imagette263319631756473101 26331964 imagette263319641756473102 26331965 imagette263319651756473102 26331966 imagette263319661756473102 26331967 change filename to text .imagette263319671756473102 26331968 change filename to text .change filename to text .imagette263319681756473102 26331969 imagette263319691756473102 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26331661 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26331960,26331961,26331962,26331963,26331964,26331965,26331966,26331967,26331968,26331969,26331970?tags=autre,flou,papier,pet_clair,pehd,background,metal,pet_fonce,carton,mal_croppe,environnement args[1380111500] : ((1380111500, -0.061742285857033376, 492688767), (1380111500, 0.9116022102386907, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111466] : ((1380111466, -1.3365072157420874, 492688767), (1380111466, 0.8699788647792848, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111428] : ((1380111428, -4.216393605483265, 492609224), (1380111428, 0.25930650468267663, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111405] : ((1380111405, -0.26068049473096744, 492688767), (1380111405, 0.6238251703352965, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111389] : ((1380111389, -0.6803088405234118, 492688767), (1380111389, 0.24468286142650333, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111383] : ((1380111383, -0.1759229906046985, 492688767), (1380111383, 0.33281683546887075, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111321] : ((1380111321, -1.0722083078311442, 492688767), (1380111321, 0.5067490456715499, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111317] : ((1380111317, -1.6121178355965033, 492688767), (1380111317, 0.4558360163392649, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111314] : ((1380111314, 0.20185088146338587, 492688767), (1380111314, 0.5306077451942945, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111306] : ((1380111306, -0.4192157573374567, 492688767), (1380111306, 0.5589635144585244, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111305] : ((1380111305, -1.0813797130503384, 492688767), (1380111305, 0.5957866782492529, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111303] : ((1380111303, -1.3936542323078311, 492688767), (1380111303, 0.9323227166726988, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111263] : ((1380111263, -1.1668032183127586, 492688767), (1380111263, 0.6725368148084222, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com args[1380111262] : ((1380111262, 0.20172340395280694, 492688767), (1380111262, 0.6964318883463696, 2107752395), '0.031887435240299834') We are sending mail with results at report@fotonower.com refus_total : 0.031887435240299834 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=26331661 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_P26331661_29-08-2025_15_11_40.pdf results_Auto_P26331661_29-08-2025_15_11_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331661_29-08-2025_15_11_40.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','26331661','results_Auto_P26331661_29-08-2025_15_11_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331661_29-08-2025_15_11_40.pdf','pdf','','0.21','0.031887435240299834') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26331661

https://www.fotonower.com/image?json=false&list_photos_id=1380111500
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111466
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111428
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111405
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111389
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111383
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111321
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111317
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111314
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111306
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111305
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111303
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111263
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380111262
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/26331960?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26331962?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26331963?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/26331967?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26331968?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331661_29-08-2025_15_11_40.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26331960,26331961,26331962,26331963,26331964,26331965,26331966,26331967,26331968,26331969,26331970?tags=autre,flou,papier,pet_clair,pehd,background,metal,pet_fonce,carton,mal_croppe,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 29 Aug 2025 13:11:44 GMT Content-Length: 0 Connection: close X-Message-Id: WLi8GNx8SoiCyQ97kvHWPw 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 [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] 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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.014391899108886719 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.058614492416382 time spend to save output : 0.014667510986328125 total time spend for step 9 : 4.07328200340271 step10:split_time_score Fri Aug 29 15:11:44 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'}] (('14', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26331661 Nombre de photos uploadées : 14 / 23040 (0%) 29082025 26331661 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 29082025 26331661 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007469654083251953 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21180415153503418 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.03507802854938272 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319809_29-08-2025_08_52_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319809 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`=26319809 AND mptpi.`type`=3594 To do Qualite : 0.0911907732928241 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26320612_29-08-2025_09_22_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26320612 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`=26320612 AND mptpi.`type`=3594 To do Qualite : 0.08658074524176956 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325172_29-08-2025_12_21_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325172 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`=26325172 AND mptpi.`type`=3594 To do Qualite : 0.10436234085648151 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26325174_29-08-2025_12_14_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26325174 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`=26325174 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331652 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331656 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331657 order by id desc limit 1 Qualite : 0.031887435240299834 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331661_29-08-2025_15_11_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331661 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`=26331661 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 14, '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 [1380111500, 1380111466, 1380111428, 1380111405, 1380111389, 1380111383, 1380111321, 1380111317, 1380111314, 1380111306, 1380111305, 1380111303, 1380111263, 1380111262] Looping around the photos to save general results len do output : 1 /26331661Didn'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, '3637004') ('3318', '26331661', '1380111500', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111466', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111428', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111405', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111389', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111383', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111321', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111317', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111314', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111306', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111305', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111303', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111263', None, None, None, None, None, '3637004') ('3318', None, None, None, None, None, None, None, '3637004') ('3318', '26331661', '1380111262', None, None, None, None, None, '3637004') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.017565011978149414 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.512608528137207 time spend to save output : 0.017813920974731445 total time spend for step 10 : 3.5304224491119385 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 40.81user 21.46system 1:23.05elapsed 74%CPU (0avgtext+0avgdata 2844232maxresident)k 500664inputs+17936outputs (15major+1791620minor)pagefaults 0swaps