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 : 2621021 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 : ['3534281'] with mtr_portfolio_ids : ['25980101'] and first list_photo_ids : [] new path : /proc/2621021/ 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.8188180923461914 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 Thu Aug 14 13:00:32 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 : 10395 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-14 13:00:34.771519: 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-14 13:00:34.796657: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-14 13:00:34.798257: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f73e8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-14 13:00:34.798307: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-14 13:00:34.800926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-14 13:00:34.908945: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3c42d760 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-14 13:00:34.908984: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-14 13:00:34.909884: 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-14 13:00:34.910188: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 13:00:34.912157: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 13:00:34.914183: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 13:00:34.914507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 13:00:34.916639: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 13:00:34.917706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 13:00:34.922191: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 13:00:34.923699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 13:00:34.923776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 13:00:34.924542: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 13:00:34.924559: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 13:00:34.924568: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 13:00:34.925892: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9485 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-14 13:00:35.177736: 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-14 13:00:35.177846: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 13:00:35.177864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 13:00:35.177879: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 13:00:35.177893: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 13:00:35.177907: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 13:00:35.177921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 13:00:35.177935: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 13:00:35.179111: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 13:00:35.180314: 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-14 13:00:35.180361: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 13:00:35.180379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 13:00:35.180394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 13:00:35.180409: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 13:00:35.180424: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 13:00:35.180439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 13:00:35.180454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 13:00:35.181615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 13:00:35.181649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 13:00:35.181657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 13:00:35.181665: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 13:00:35.182874: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9485 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-14 13:00:41.896808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 13:00:42.083620: 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: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.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 : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 56.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: 59.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 Detection mask done ! Trying to reset tf kernel 2621801 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 751 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 : 6040 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.00045561790466308594 nb_pixel_total : 23907 time to create 1 rle with old method : 0.030033349990844727 length of segment : 117 time for calcul the mask position with numpy : 0.0001811981201171875 nb_pixel_total : 11024 time to create 1 rle with old method : 0.013384580612182617 length of segment : 118 time for calcul the mask position with numpy : 0.0017216205596923828 nb_pixel_total : 102961 time to create 1 rle with old method : 0.12831568717956543 length of segment : 523 time for calcul the mask position with numpy : 0.0003533363342285156 nb_pixel_total : 23544 time to create 1 rle with old method : 0.02851414680480957 length of segment : 112 time for calcul the mask position with numpy : 0.0013778209686279297 nb_pixel_total : 106156 time to create 1 rle with old method : 0.1267094612121582 length of segment : 510 time for calcul the mask position with numpy : 0.000255584716796875 nb_pixel_total : 16011 time to create 1 rle with old method : 0.019194602966308594 length of segment : 151 time for calcul the mask position with numpy : 0.00028061866760253906 nb_pixel_total : 9677 time to create 1 rle with old method : 0.011842489242553711 length of segment : 175 time for calcul the mask position with numpy : 0.00024080276489257812 nb_pixel_total : 16090 time to create 1 rle with old method : 0.019582509994506836 length of segment : 146 time for calcul the mask position with numpy : 0.001466512680053711 nb_pixel_total : 108985 time to create 1 rle with old method : 0.1345527172088623 length of segment : 519 time for calcul the mask position with numpy : 0.00018858909606933594 nb_pixel_total : 8202 time to create 1 rle with old method : 0.010151863098144531 length of segment : 121 time for calcul the mask position with numpy : 0.011829137802124023 nb_pixel_total : 769189 time to create 1 rle with new method : 0.026659011840820312 length of segment : 1659 time for calcul the mask position with numpy : 0.002393484115600586 nb_pixel_total : 113351 time to create 1 rle with old method : 0.13942837715148926 length of segment : 529 time for calcul the mask position with numpy : 0.002078533172607422 nb_pixel_total : 80885 time to create 1 rle with old method : 0.09640693664550781 length of segment : 419 time for calcul the mask position with numpy : 0.008646249771118164 nb_pixel_total : 477151 time to create 1 rle with new method : 0.021734237670898438 length of segment : 1199 time for calcul the mask position with numpy : 0.0004360675811767578 nb_pixel_total : 7605 time to create 1 rle with old method : 0.009137153625488281 length of segment : 187 time for calcul the mask position with numpy : 0.0010824203491210938 nb_pixel_total : 57654 time to create 1 rle with old method : 0.0681009292602539 length of segment : 464 time for calcul the mask position with numpy : 0.00160980224609375 nb_pixel_total : 114046 time to create 1 rle with old method : 0.13198041915893555 length of segment : 520 time for calcul the mask position with numpy : 0.00030350685119628906 nb_pixel_total : 18282 time to create 1 rle with old method : 0.021807432174682617 length of segment : 153 time for calcul the mask position with numpy : 0.0004794597625732422 nb_pixel_total : 16717 time to create 1 rle with old method : 0.020444154739379883 length of segment : 114 time for calcul the mask position with numpy : 0.00039958953857421875 nb_pixel_total : 14336 time to create 1 rle with old method : 0.017340660095214844 length of segment : 142 time for calcul the mask position with numpy : 0.0005676746368408203 nb_pixel_total : 20735 time to create 1 rle with old method : 0.025641679763793945 length of segment : 131 time for calcul the mask position with numpy : 0.00012993812561035156 nb_pixel_total : 2268 time to create 1 rle with old method : 0.002913236618041992 length of segment : 40 time for calcul the mask position with numpy : 0.008907794952392578 nb_pixel_total : 598905 time to create 1 rle with new method : 0.0165252685546875 length of segment : 1083 time for calcul the mask position with numpy : 0.0003802776336669922 nb_pixel_total : 9416 time to create 1 rle with old method : 0.011677980422973633 length of segment : 212 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 3600 time to create 1 rle with old method : 0.004536628723144531 length of segment : 63 time for calcul the mask position with numpy : 0.0024459362030029297 nb_pixel_total : 109297 time to create 1 rle with old method : 0.14048361778259277 length of segment : 526 time for calcul the mask position with numpy : 0.010832786560058594 nb_pixel_total : 645369 time to create 1 rle with new method : 0.017391204833984375 length of segment : 962 time for calcul the mask position with numpy : 0.00047969818115234375 nb_pixel_total : 10429 time to create 1 rle with old method : 0.01190948486328125 length of segment : 186 time spent for convertir_results : 3.096534252166748 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 11081 save missing photos in datou_result : time spend for datou_step_exec : 21.930724620819092 time spend to save output : 0.7262272834777832 total time spend for step 1 : 22.656951904296875 step2:crop_condition Thu Aug 14 13:00:54 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 28 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755169255_2621021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.5691297054290771 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 22 About to insert : list_path_to_insert length 22 new photo from crops ! About to upload 22 photos upload in portfolio : 3736932 init cache_photo without model_param we have 22 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755169271_2621021 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 22 photos in the portfolio 3736932 time of upload the photos Elapsed time : 6.686024188995361 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/1755169278_2621021 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.7035589218139648 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] Looping around the photos to save general results len do output : 28 /1377001340Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001341Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001342Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001343Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001344Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001349Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001350Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001351Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001352Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001353Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001354Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001355Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001356Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001357Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001358Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001359Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001360Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001361Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001362Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001363Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001364Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001365Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001366Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001367Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001368Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001369Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001370Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377001371Didn'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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 98 time used for this insertion : 0.02677154541015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.786635637283325 time spend to save output : 0.02805471420288086 total time spend for step 2 : 23.814690351486206 step3:rle_unique_nms_with_priority Thu Aug 14 13:01:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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 28 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.053521156311035156 time for calcul the mask position with numpy : 0.021689891815185547 nb_pixel_total : 1935708 time to create 1 rle with new method : 0.04002642631530762 time for calcul the mask position with numpy : 0.006434917449951172 nb_pixel_total : 102961 time to create 1 rle with old method : 0.1111304759979248 time for calcul the mask position with numpy : 0.006087303161621094 nb_pixel_total : 11024 time to create 1 rle with old method : 0.012419939041137695 time for calcul the mask position with numpy : 0.005801677703857422 nb_pixel_total : 23907 time to create 1 rle with old method : 0.026174306869506836 create new chi : 0.2347114086151123 time to delete rle : 0.03010845184326172 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2595 TO DO : save crop sub photo not yet done ! save time : 0.20109796524047852 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.10904264450073242 time for calcul the mask position with numpy : 0.02184581756591797 nb_pixel_total : 1918212 time to create 1 rle with new method : 0.04097318649291992 time for calcul the mask position with numpy : 0.006169319152832031 nb_pixel_total : 9677 time to create 1 rle with old method : 0.010761737823486328 time for calcul the mask position with numpy : 0.005852699279785156 nb_pixel_total : 16011 time to create 1 rle with old method : 0.01769423484802246 time for calcul the mask position with numpy : 0.006688594818115234 nb_pixel_total : 106156 time to create 1 rle with old method : 0.11693215370178223 time for calcul the mask position with numpy : 0.006195068359375 nb_pixel_total : 23544 time to create 1 rle with old method : 0.026482343673706055 create new chi : 0.26414012908935547 time to delete rle : 0.000476837158203125 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2976 TO DO : save crop sub photo not yet done ! save time : 0.21697258949279785 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0474553108215332 time for calcul the mask position with numpy : 0.01782679557800293 nb_pixel_total : 1948525 time to create 1 rle with new method : 0.030943870544433594 time for calcul the mask position with numpy : 0.006142854690551758 nb_pixel_total : 108985 time to create 1 rle with old method : 0.11815738677978516 time for calcul the mask position with numpy : 0.005938053131103516 nb_pixel_total : 16090 time to create 1 rle with old method : 0.01774311065673828 create new chi : 0.1971123218536377 time to delete rle : 0.0003554821014404297 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2410 TO DO : save crop sub photo not yet done ! save time : 0.18961453437805176 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.050801753997802734 time for calcul the mask position with numpy : 0.01641082763671875 nb_pixel_total : 1304411 time to create 1 rle with new method : 0.04149889945983887 time for calcul the mask position with numpy : 0.010675191879272461 nb_pixel_total : 760987 time to create 1 rle with new method : 0.036704063415527344 time for calcul the mask position with numpy : 0.005766630172729492 nb_pixel_total : 8202 time to create 1 rle with old method : 0.009083986282348633 create new chi : 0.12508773803710938 time to delete rle : 0.0006551742553710938 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 4640 TO DO : save crop sub photo not yet done ! save time : 0.3110983371734619 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04913592338562012 time for calcul the mask position with numpy : 0.024492263793945312 nb_pixel_total : 1960249 time to create 1 rle with new method : 0.03521108627319336 time for calcul the mask position with numpy : 0.006508827209472656 nb_pixel_total : 113351 time to create 1 rle with old method : 0.12353134155273438 create new chi : 0.19300079345703125 time to delete rle : 0.000293731689453125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2138 TO DO : save crop sub photo not yet done ! save time : 0.1580204963684082 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032358407974243164 time for calcul the mask position with numpy : 0.02219557762145996 nb_pixel_total : 1992715 time to create 1 rle with new method : 0.04120659828186035 time for calcul the mask position with numpy : 0.006324291229248047 nb_pixel_total : 80885 time to create 1 rle with old method : 0.09005403518676758 create new chi : 0.16462445259094238 time to delete rle : 0.00033020973205566406 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1918 TO DO : save crop sub photo not yet done ! save time : 0.15694928169250488 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0332949161529541 time for calcul the mask position with numpy : 0.018918752670288086 nb_pixel_total : 1596449 time to create 1 rle with new method : 0.03983640670776367 time for calcul the mask position with numpy : 0.008776664733886719 nb_pixel_total : 477151 time to create 1 rle with new method : 0.034828901290893555 create new chi : 0.10707688331604004 time to delete rle : 0.00033020973205566406 batch 1 Loaded 3 chid ids of type : 3594 ++++Number RLEs to save : 3478 TO DO : save crop sub photo not yet done ! save time : 0.2693967819213867 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.035488128662109375 time for calcul the mask position with numpy : 0.023235797882080078 nb_pixel_total : 2065995 time to create 1 rle with new method : 0.040677785873413086 time for calcul the mask position with numpy : 0.005943775177001953 nb_pixel_total : 7605 time to create 1 rle with old method : 0.008482933044433594 create new chi : 0.08319568634033203 time to delete rle : 0.0003342628479003906 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1454 TO DO : save crop sub photo not yet done ! save time : 0.12529253959655762 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.08803725242614746 time for calcul the mask position with numpy : 0.023638248443603516 nb_pixel_total : 1831830 time to create 1 rle with new method : 0.04747605323791504 time for calcul the mask position with numpy : 0.006891012191772461 nb_pixel_total : 20735 time to create 1 rle with old method : 0.02288651466369629 time for calcul the mask position with numpy : 0.005735158920288086 nb_pixel_total : 14336 time to create 1 rle with old method : 0.01570439338684082 time for calcul the mask position with numpy : 0.006115436553955078 nb_pixel_total : 16717 time to create 1 rle with old method : 0.019362688064575195 time for calcul the mask position with numpy : 0.006098747253417969 nb_pixel_total : 18282 time to create 1 rle with old method : 0.02135014533996582 time for calcul the mask position with numpy : 0.006581306457519531 nb_pixel_total : 114046 time to create 1 rle with old method : 0.12964749336242676 time for calcul the mask position with numpy : 0.006310224533081055 nb_pixel_total : 57654 time to create 1 rle with old method : 0.0630948543548584 create new chi : 0.3864619731903076 time to delete rle : 0.0005888938903808594 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4128 TO DO : save crop sub photo not yet done ! save time : 0.2774794101715088 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03148150444030762 time for calcul the mask position with numpy : 0.018807172775268555 nb_pixel_total : 2071332 time to create 1 rle with new method : 0.02689075469970703 time for calcul the mask position with numpy : 0.006145954132080078 nb_pixel_total : 2268 time to create 1 rle with old method : 0.002803325653076172 create new chi : 0.056380510330200195 time to delete rle : 0.00022792816162109375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1160 TO DO : save crop sub photo not yet done ! save time : 0.11827278137207031 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03307509422302246 time for calcul the mask position with numpy : 0.017905473709106445 nb_pixel_total : 1474695 time to create 1 rle with new method : 0.0408329963684082 time for calcul the mask position with numpy : 0.009645223617553711 nb_pixel_total : 598905 time to create 1 rle with new method : 0.03503990173339844 create new chi : 0.1081533432006836 time to delete rle : 0.00030303001403808594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3246 TO DO : save crop sub photo not yet done ! save time : 0.21681857109069824 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.0801546573638916 time for calcul the mask position with numpy : 0.023061275482177734 nb_pixel_total : 1951287 time to create 1 rle with new method : 0.04231595993041992 time for calcul the mask position with numpy : 0.007590770721435547 nb_pixel_total : 109297 time to create 1 rle with old method : 0.12934327125549316 time for calcul the mask position with numpy : 0.005812406539916992 nb_pixel_total : 3600 time to create 1 rle with old method : 0.0043599605560302734 time for calcul the mask position with numpy : 0.00559234619140625 nb_pixel_total : 9416 time to create 1 rle with old method : 0.011652231216430664 create new chi : 0.23570489883422852 time to delete rle : 0.0005059242248535156 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2682 TO DO : save crop sub photo not yet done ! save time : 0.20238161087036133 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03354907035827637 time for calcul the mask position with numpy : 0.014446020126342773 nb_pixel_total : 1428231 time to create 1 rle with new method : 0.04047822952270508 time for calcul the mask position with numpy : 0.013081073760986328 nb_pixel_total : 645369 time to create 1 rle with new method : 0.03209805488586426 create new chi : 0.10489201545715332 time to delete rle : 0.00031566619873046875 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 3004 TO DO : save crop sub photo not yet done ! save time : 0.21523141860961914 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034363508224487305 time for calcul the mask position with numpy : 0.022114992141723633 nb_pixel_total : 2063171 time to create 1 rle with new method : 0.039507150650024414 time for calcul the mask position with numpy : 0.005862236022949219 nb_pixel_total : 10429 time to create 1 rle with old method : 0.011827230453491211 create new chi : 0.0835874080657959 time to delete rle : 0.00030875205993652344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1452 TO DO : save crop sub photo not yet done ! save time : 0.12406706809997559 map_output_result : {1376980354: (0.0, 'Should be the crop_list due to order', 0), 1376980350: (0.0, 'Should be the crop_list due to order', 0), 1376980339: (0.0, 'Should be the crop_list due to order', 0), 1376980338: (0.0, 'Should be the crop_list due to order', 0), 1376980326: (0.0, 'Should be the crop_list due to order', 0), 1376980151: (0.0, 'Should be the crop_list due to order', 0), 1376980149: (0.0, 'Should be the crop_list due to order', 0), 1376980147: (0.0, 'Should be the crop_list due to order', 0), 1376980139: (0.0, 'Should be the crop_list due to order', 0), 1376978197: (0.0, 'Should be the crop_list due to order', 0), 1376978190: (0.0, 'Should be the crop_list due to order', 0), 1376978188: (0.0, 'Should be the crop_list due to order', 0), 1376978187: (0.0, 'Should be the crop_list due to order', 0), 1376978185: (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 [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] Looping around the photos to save general results len do output : 14 /1376980354.Didn't retrieve data . /1376980350.Didn't retrieve data . /1376980339.Didn't retrieve data . /1376980338.Didn't retrieve data . /1376980326.Didn't retrieve data . /1376980151.Didn't retrieve data . /1376980149.Didn't retrieve data . /1376980147.Didn't retrieve data . /1376980139.Didn't retrieve data . /1376978197.Didn't retrieve data . /1376978190.Didn't retrieve data . /1376978188.Didn't retrieve data . /1376978187.Didn't retrieve data . /1376978185.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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.013663768768310547 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.3497154712677 time spend to save output : 0.014129400253295898 total time spend for step 3 : 6.363844871520996 step4:ventilate_hashtags_in_portfolio Thu Aug 14 13:01: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 : 25980101 get user id for portfolio 25980101 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`=25980101 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','metal','pet_fonce','carton','pehd','mal_croppe','background','flou','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25980101 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','metal','pet_fonce','carton','pehd','mal_croppe','background','flou','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25980101 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','metal','pet_fonce','carton','pehd','mal_croppe','background','flou','pet_clair','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25981584,25981585,25981586,25981587,25981588,25981589,25981590,25981591,25981592,25981593,25981594?tags=papier,environnement,metal,pet_fonce,carton,pehd,mal_croppe,background,flou,pet_clair,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] Looping around the photos to save general results len do output : 1 /25980101. 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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.017416715621948242 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6974399089813232 time spend to save output : 0.017811059951782227 total time spend for step 4 : 1.7152509689331055 step5:final Thu Aug 14 13:01:26 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 : {1376980354: ('0.12013578869047618',), 1376980350: ('0.12013578869047618',), 1376980339: ('0.12013578869047618',), 1376980338: ('0.12013578869047618',), 1376980326: ('0.12013578869047618',), 1376980151: ('0.12013578869047618',), 1376980149: ('0.12013578869047618',), 1376980147: ('0.12013578869047618',), 1376980139: ('0.12013578869047618',), 1376978197: ('0.12013578869047618',), 1376978190: ('0.12013578869047618',), 1376978188: ('0.12013578869047618',), 1376978187: ('0.12013578869047618',), 1376978185: ('0.12013578869047618',)} new output for save of step final : {1376980354: ('0.12013578869047618',), 1376980350: ('0.12013578869047618',), 1376980339: ('0.12013578869047618',), 1376980338: ('0.12013578869047618',), 1376980326: ('0.12013578869047618',), 1376980151: ('0.12013578869047618',), 1376980149: ('0.12013578869047618',), 1376980147: ('0.12013578869047618',), 1376980139: ('0.12013578869047618',), 1376978197: ('0.12013578869047618',), 1376978190: ('0.12013578869047618',), 1376978188: ('0.12013578869047618',), 1376978187: ('0.12013578869047618',), 1376978185: ('0.12013578869047618',)} [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] Looping around the photos to save general results len do output : 14 /1376980354.Didn't retrieve data . /1376980350.Didn't retrieve data . /1376980339.Didn't retrieve data . /1376980338.Didn't retrieve data . /1376980326.Didn't retrieve data . /1376980151.Didn't retrieve data . /1376980149.Didn't retrieve data . /1376980147.Didn't retrieve data . /1376980139.Didn't retrieve data . /1376978197.Didn't retrieve data . /1376978190.Didn't retrieve data . /1376978188.Didn't retrieve data . /1376978187.Didn't retrieve data . /1376978185.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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.013358831405639648 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12343573570251465 time spend to save output : 0.014087677001953125 total time spend for step 5 : 0.13752341270446777 step6:blur_detection Thu Aug 14 13:01:26 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/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24.jpg resize: (1080, 1920) 1376980354 -2.673688877060877 treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72.jpg resize: (1080, 1920) 1376980350 -4.820529310219311 treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0.jpg resize: (1080, 1920) 1376980339 1.343196884126867 treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b.jpg resize: (1080, 1920) 1376980338 -1.3793757549169618 treat image : temp/1755169230_2621021_1376980326_860011c89c71a56380d44dce301d7396.jpg resize: (1080, 1920) 1376980326 -4.844691716197106 treat image : temp/1755169230_2621021_1376980151_7859d442e84943bf1e156d09adc83312.jpg resize: (1080, 1920) 1376980151 -1.2372718665922047 treat image : temp/1755169230_2621021_1376980149_41aba77bdd97579d54160ed1ad46703c.jpg resize: (1080, 1920) 1376980149 1.3930752985560402 treat image : temp/1755169230_2621021_1376980147_1e44cefba9a9042b6b2a52578df5b7b4.jpg resize: (1080, 1920) 1376980147 2.1025934290303 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb.jpg resize: (1080, 1920) 1376980139 -3.0936020504555373 treat image : temp/1755169230_2621021_1376978197_8d445607dc2dcdb6605f58c9e9f62a38.jpg resize: (1080, 1920) 1376978197 -0.5387210458913595 treat image : temp/1755169230_2621021_1376978190_afd6ac91eef264b5f1c96eb11356db21.jpg resize: (1080, 1920) 1376978190 0.15810073603128152 treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2.jpg resize: (1080, 1920) 1376978188 0.150355508597388 treat image : temp/1755169230_2621021_1376978187_a49eb4cc2fdf3a7a58548fa507251f1c.jpg resize: (1080, 1920) 1376978187 -0.15784710013034534 treat image : temp/1755169230_2621021_1376978185_69e610eb81348c90350a62d70f780766.jpg resize: (1080, 1920) 1376978185 0.1218357491399947 treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699359_0.png resize: (175, 127) 1377001340 -2.2042350294270627 treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b_rle_crop_3914699362_0.png resize: (112, 124) 1377001341 -1.1704072309577602 treat image : temp/1755169230_2621021_1376980147_1e44cefba9a9042b6b2a52578df5b7b4_rle_crop_3914699367_0.png resize: (182, 78) 1377001342 -2.087618019000682 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699368_0.png resize: (460, 164) 1377001343 -0.4224665124530673 treat image : temp/1755169230_2621021_1376978185_69e610eb81348c90350a62d70f780766_rle_crop_3914699380_0.png resize: (186, 123) 1377001344 -1.8525097112896887 treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699354_0.png resize: (102, 157) 1377001349 -1.8584768704974166 treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699353_0.png resize: (115, 263) 1377001350 -0.6537281026132367 treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699355_0.png resize: (520, 344) 1377001351 0.4345381837037403 treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699356_0.png resize: (110, 320) 1377001352 -1.4817596013548482 treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699357_0.png resize: (509, 349) 1377001353 0.35657199056693073 treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0_rle_crop_3914699360_0.png resize: (139, 151) 1377001354 -0.6235757121766898 treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0_rle_crop_3914699361_0.png resize: (519, 353) 1377001355 0.38555504766192356 treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b_rle_crop_3914699363_0.png resize: (974, 1118) 1377001356 -1.7290346819832296 treat image : temp/1755169230_2621021_1376980326_860011c89c71a56380d44dce301d7396_rle_crop_3914699364_0.png resize: (526, 358) 1377001357 0.3123833154777167 treat image : temp/1755169230_2621021_1376980151_7859d442e84943bf1e156d09adc83312_rle_crop_3914699365_0.png resize: (442, 336) 1377001358 -0.14151602186241158 treat image : temp/1755169230_2621021_1376980149_41aba77bdd97579d54160ed1ad46703c_rle_crop_3914699366_0.png resize: (856, 890) 1377001359 0.15241164148218503 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699373_0.png resize: (109, 348) 1377001360 -3.125069204000417 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699370_0.png resize: (151, 184) 1377001361 -2.0006288049483034 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699372_0.png resize: (140, 156) 1377001362 -2.511690169851456 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699371_0.png resize: (111, 189) 1377001363 -1.6514586631198085 treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699369_0.png resize: (507, 380) 1377001364 0.3628481756302927 treat image : temp/1755169230_2621021_1376978197_8d445607dc2dcdb6605f58c9e9f62a38_rle_crop_3914699374_0.png resize: (40, 70) 1377001365 -0.38212982076109125 treat image : temp/1755169230_2621021_1376978190_afd6ac91eef264b5f1c96eb11356db21_rle_crop_3914699375_0.png resize: (929, 927) 1377001366 0.6704692044257549 treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699376_0.png resize: (122, 179) 1377001367 -3.086253315396128 treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699378_0.png resize: (525, 350) 1377001368 0.4214874247663566 treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699377_0.png resize: (63, 72) 1377001369 -0.8270829606380112 treat image : temp/1755169230_2621021_1376978187_a49eb4cc2fdf3a7a58548fa507251f1c_rle_crop_3914699379_0.png resize: (951, 947) 1377001370 0.6575413925601633 treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699358_0.png resize: (140, 142) 1377001371 -3.3781984445345015 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 : 42 time used for this insertion : 0.016538619995117188 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.014951705932617188 save missing photos in datou_result : time spend for datou_step_exec : 13.025152683258057 time spend to save output : 0.03647279739379883 total time spend for step 6 : 13.061625480651855 step7:brightness Thu Aug 14 13:01:39 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/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24.jpg treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72.jpg treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0.jpg treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b.jpg treat image : temp/1755169230_2621021_1376980326_860011c89c71a56380d44dce301d7396.jpg treat image : temp/1755169230_2621021_1376980151_7859d442e84943bf1e156d09adc83312.jpg treat image : temp/1755169230_2621021_1376980149_41aba77bdd97579d54160ed1ad46703c.jpg treat image : temp/1755169230_2621021_1376980147_1e44cefba9a9042b6b2a52578df5b7b4.jpg treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb.jpg treat image : temp/1755169230_2621021_1376978197_8d445607dc2dcdb6605f58c9e9f62a38.jpg treat image : temp/1755169230_2621021_1376978190_afd6ac91eef264b5f1c96eb11356db21.jpg treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2.jpg treat image : temp/1755169230_2621021_1376978187_a49eb4cc2fdf3a7a58548fa507251f1c.jpg treat image : temp/1755169230_2621021_1376978185_69e610eb81348c90350a62d70f780766.jpg treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699359_0.png treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b_rle_crop_3914699362_0.png treat image : temp/1755169230_2621021_1376980147_1e44cefba9a9042b6b2a52578df5b7b4_rle_crop_3914699367_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699368_0.png treat image : temp/1755169230_2621021_1376978185_69e610eb81348c90350a62d70f780766_rle_crop_3914699380_0.png treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699354_0.png treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699353_0.png treat image : temp/1755169230_2621021_1376980354_7d0e27f1038c8e58d7258abb0d6e2b24_rle_crop_3914699355_0.png treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699356_0.png treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699357_0.png treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0_rle_crop_3914699360_0.png treat image : temp/1755169230_2621021_1376980339_e4118d4c6e40b67ad5e997d18f383cd0_rle_crop_3914699361_0.png treat image : temp/1755169230_2621021_1376980338_0ff443e7c3a21cd83e45f6655ef10d2b_rle_crop_3914699363_0.png treat image : temp/1755169230_2621021_1376980326_860011c89c71a56380d44dce301d7396_rle_crop_3914699364_0.png treat image : temp/1755169230_2621021_1376980151_7859d442e84943bf1e156d09adc83312_rle_crop_3914699365_0.png treat image : temp/1755169230_2621021_1376980149_41aba77bdd97579d54160ed1ad46703c_rle_crop_3914699366_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699373_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699370_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699372_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699371_0.png treat image : temp/1755169230_2621021_1376980139_0e8e16eda3c903820c4121f71b02e9bb_rle_crop_3914699369_0.png treat image : temp/1755169230_2621021_1376978197_8d445607dc2dcdb6605f58c9e9f62a38_rle_crop_3914699374_0.png treat image : temp/1755169230_2621021_1376978190_afd6ac91eef264b5f1c96eb11356db21_rle_crop_3914699375_0.png treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699376_0.png treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699378_0.png treat image : temp/1755169230_2621021_1376978188_de762bff7a2b8fa00ab1b7c1a25565c2_rle_crop_3914699377_0.png treat image : temp/1755169230_2621021_1376978187_a49eb4cc2fdf3a7a58548fa507251f1c_rle_crop_3914699379_0.png treat image : temp/1755169230_2621021_1376980350_e2a6ce00c554f07301597c67443b2d72_rle_crop_3914699358_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 : 42 time used for this insertion : 0.018164873123168945 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.016043424606323242 save missing photos in datou_result : time spend for datou_step_exec : 4.026391983032227 time spend to save output : 0.039261579513549805 total time spend for step 7 : 4.065653562545776 step8:velours_tree Thu Aug 14 13:01:43 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.0959172248840332 time spend to save output : 3.8623809814453125e-05 total time spend for step 8 : 0.09595584869384766 step9:send_mail_cod Thu Aug 14 13:01:43 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_P25980101_14-08-2025_13_01_43.pdf 25981584 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette259815841755169303 25981586 imagette259815861755169304 25981587 imagette259815871755169304 25981588 imagette259815881755169304 25981589 imagette259815891755169304 25981590 imagette259815901755169304 25981591 imagette259815911755169304 25981592 imagette259815921755169304 25981593 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 .imagette259815931755169304 25981594 change filename to text .imagette259815941755169305 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25980101 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25981584,25981585,25981586,25981587,25981588,25981589,25981590,25981591,25981592,25981593,25981594?tags=papier,environnement,metal,pet_fonce,carton,pehd,mal_croppe,background,flou,pet_clair,autre args[1376980354] : ((1376980354, -2.673688877060877, 492609224), (1376980354, 1.4405717954987125, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980350] : ((1376980350, -4.820529310219311, 492609224), (1376980350, 0.44069487168526966, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980339] : ((1376980339, 1.343196884126867, 492688767), (1376980339, 0.3481708350592261, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980338] : ((1376980338, -1.3793757549169618, 492688767), (1376980338, 0.9412766840498215, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980326] : ((1376980326, -4.844691716197106, 492609224), (1376980326, 0.5819576346640294, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980151] : ((1376980151, -1.2372718665922047, 492688767), (1376980151, 0.6793248409254452, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980149] : ((1376980149, 1.3930752985560402, 492688767), (1376980149, 0.4459890500774857, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980147] : ((1376980147, 2.1025934290303, 492688767), (1376980147, 0.3730518855126799, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376980139] : ((1376980139, -3.0936020504555373, 492609224), (1376980139, 0.5869583768795505, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376978197] : ((1376978197, -0.5387210458913595, 492688767), (1376978197, 0.8746580785608047, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376978190] : ((1376978190, 0.15810073603128152, 492688767), (1376978190, 0.9658468219256553, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376978188] : ((1376978188, 0.150355508597388, 492688767), (1376978188, 0.874841453153514, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376978187] : ((1376978187, -0.15784710013034534, 492688767), (1376978187, 0.8943069127536287, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com args[1376978185] : ((1376978185, 0.1218357491399947, 492688767), (1376978185, 1.0215272087006937, 2107752395), '0.12013578869047618') We are sending mail with results at report@fotonower.com refus_total : 0.12013578869047618 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=25980101 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_P25980101_14-08-2025_13_01_43.pdf results_Auto_P25980101_14-08-2025_13_01_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980101_14-08-2025_13_01_43.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','25980101','results_Auto_P25980101_14-08-2025_13_01_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980101_14-08-2025_13_01_43.pdf','pdf','','0.43','0.12013578869047618') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25980101

https://www.fotonower.com/image?json=false&list_photos_id=1376980354
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376980350
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376980339
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.343196884126867)
https://www.fotonower.com/image?json=false&list_photos_id=1376980338
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376980326
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376980151
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376980149
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.3930752985560402)
https://www.fotonower.com/image?json=false&list_photos_id=1376980147
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.1025934290303)
https://www.fotonower.com/image?json=false&list_photos_id=1376980139
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376978197
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376978190
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376978188
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376978187
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376978185
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25981584?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25981593?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25981594?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980101_14-08-2025_13_01_43.pdf.

Lien vers velours :https://www.fotonower.com/velours/25981584,25981585,25981586,25981587,25981588,25981589,25981590,25981591,25981592,25981593,25981594?tags=papier,environnement,metal,pet_fonce,carton,pehd,mal_croppe,background,flou,pet_clair,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 14 Aug 2025 11:01:47 GMT Content-Length: 0 Connection: close X-Message-Id: veVByQ9mRIGOP_Szb29zpg 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 [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] 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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.01858973503112793 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9954464435577393 time spend to save output : 0.01891326904296875 total time spend for step 9 : 4.014359712600708 step10:split_time_score Thu Aug 14 13:01:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('10', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14082025 25980101 Nombre de photos uploadées : 14 / 23040 (0%) 14082025 25980101 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 14082025 25980101 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007159709930419922 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22111225128173828 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.1280742026748971 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974582 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`=25974582 AND mptpi.`type`=3594 To do Qualite : 0.015116423932613166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974586_14-08-2025_10_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974586 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`=25974586 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980071 order by id desc limit 1 Qualite : 0.12013578869047618 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980101_14-08-2025_13_01_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980101 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`=25980101 AND mptpi.`type`=3594 To do Qualite : 0.1582214988425926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980105_14-08-2025_12_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980105 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`=25980105 AND mptpi.`type`=3594 To do Qualite : 0.16527360973324515 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980109_14-08-2025_12_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980109 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`=25980109 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14082025': {'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 [1376980354, 1376980350, 1376980339, 1376980338, 1376980326, 1376980151, 1376980149, 1376980147, 1376980139, 1376978197, 1376978190, 1376978188, 1376978187, 1376978185] Looping around the photos to save general results len do output : 1 /25980101Didn'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, '3534281') ('3318', '25980101', '1376980354', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980350', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980339', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980338', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980326', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980151', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980149', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980147', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376980139', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978197', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978190', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978188', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978187', None, None, None, None, None, '3534281') ('3318', None, None, None, None, None, None, None, '3534281') ('3318', '25980101', '1376978185', None, None, None, None, None, '3534281') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.019583702087402344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6398298740386963 time spend to save output : 0.01981639862060547 total time spend for step 10 : 1.6596462726593018 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 53.52user 13.33system 1:24.25elapsed 79%CPU (0avgtext+0avgdata 2826364maxresident)k 1016inputs+30640outputs (2major+1161081minor)pagefaults 0swaps