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 : 1326041 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 : ['3587020'] with mtr_portfolio_ids : ['26196500'] and first list_photo_ids : [] new path : /proc/1326041/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.7808032035827637 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 Mon Aug 25 11:00:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10610 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-25 11:00:34.482756: 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-25 11:00:34.493259: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-25 11:00:34.495452: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8e74000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-25 11:00:34.495493: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-25 11:00:34.499530: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-25 11:00:34.631355: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x195f6680 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-25 11:00:34.631412: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-25 11:00:34.632404: 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-25 11:00:34.632822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-25 11:00:34.635282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-25 11:00:34.637728: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-25 11:00:34.638143: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-25 11:00:34.640892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-25 11:00:34.642259: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-25 11:00:34.647832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-25 11:00:34.649822: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-25 11:00:34.649980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-25 11:00:34.650949: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-25 11:00:34.650970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-25 11:00:34.650982: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-25 11:00:34.652640: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9685 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-25 11:00:34.911308: 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-25 11:00:34.911427: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-25 11:00:34.911444: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-25 11:00:34.911459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-25 11:00:34.911473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-25 11:00:34.911486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-25 11:00:34.911500: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-25 11:00:34.911514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-25 11:00:34.912732: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-25 11:00:34.914007: 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-25 11:00:34.914053: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-25 11:00:34.914076: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-25 11:00:34.914096: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-25 11:00:34.914110: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-25 11:00:34.914124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-25 11:00:34.914138: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-25 11:00:34.914152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-25 11:00:34.915338: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-25 11:00:34.915373: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-25 11:00:34.915381: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-25 11:00:34.915388: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-25 11:00:34.916662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9685 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-25 11:00:43.724817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-25 11:00:43.927801: 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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.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: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.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: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.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: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 7 Detection mask done ! Trying to reset tf kernel 1326719 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 743 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 1542 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.0009083747863769531 nb_pixel_total : 32131 time to create 1 rle with old method : 0.03698372840881348 length of segment : 178 time for calcul the mask position with numpy : 0.00019884109497070312 nb_pixel_total : 7292 time to create 1 rle with old method : 0.01223611831665039 length of segment : 123 time for calcul the mask position with numpy : 0.00018978118896484375 nb_pixel_total : 9838 time to create 1 rle with old method : 0.01149749755859375 length of segment : 171 time for calcul the mask position with numpy : 0.00042724609375 nb_pixel_total : 33874 time to create 1 rle with old method : 0.041402578353881836 length of segment : 175 time for calcul the mask position with numpy : 0.00020623207092285156 nb_pixel_total : 9064 time to create 1 rle with old method : 0.010586023330688477 length of segment : 115 time for calcul the mask position with numpy : 0.0017848014831542969 nb_pixel_total : 65603 time to create 1 rle with old method : 0.07699012756347656 length of segment : 594 time for calcul the mask position with numpy : 0.0003230571746826172 nb_pixel_total : 13967 time to create 1 rle with old method : 0.016580581665039062 length of segment : 161 time for calcul the mask position with numpy : 0.014859437942504883 nb_pixel_total : 713194 time to create 1 rle with new method : 0.35763072967529297 length of segment : 882 time for calcul the mask position with numpy : 0.0007951259613037109 nb_pixel_total : 47709 time to create 1 rle with old method : 0.05501866340637207 length of segment : 212 time for calcul the mask position with numpy : 0.0019199848175048828 nb_pixel_total : 110644 time to create 1 rle with old method : 0.14690828323364258 length of segment : 529 time for calcul the mask position with numpy : 0.000316619873046875 nb_pixel_total : 16455 time to create 1 rle with old method : 0.01904296875 length of segment : 171 time for calcul the mask position with numpy : 0.00024008750915527344 nb_pixel_total : 8828 time to create 1 rle with old method : 0.0106353759765625 length of segment : 106 time for calcul the mask position with numpy : 0.010876178741455078 nb_pixel_total : 709732 time to create 1 rle with new method : 0.250699520111084 length of segment : 931 time for calcul the mask position with numpy : 0.0002791881561279297 nb_pixel_total : 10376 time to create 1 rle with old method : 0.011750936508178711 length of segment : 181 time for calcul the mask position with numpy : 0.0011725425720214844 nb_pixel_total : 76772 time to create 1 rle with old method : 0.09488916397094727 length of segment : 498 time for calcul the mask position with numpy : 0.009900331497192383 nb_pixel_total : 656429 time to create 1 rle with new method : 0.023821353912353516 length of segment : 960 time for calcul the mask position with numpy : 0.0005037784576416016 nb_pixel_total : 17234 time to create 1 rle with old method : 0.019572734832763672 length of segment : 162 time for calcul the mask position with numpy : 0.0029714107513427734 nb_pixel_total : 131393 time to create 1 rle with old method : 0.14850354194641113 length of segment : 577 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 7002 time to create 1 rle with old method : 0.008388042449951172 length of segment : 80 time for calcul the mask position with numpy : 0.000293731689453125 nb_pixel_total : 9906 time to create 1 rle with old method : 0.011441946029663086 length of segment : 174 time for calcul the mask position with numpy : 0.00020742416381835938 nb_pixel_total : 7118 time to create 1 rle with old method : 0.008178472518920898 length of segment : 76 time for calcul the mask position with numpy : 8.916854858398438e-05 nb_pixel_total : 1462 time to create 1 rle with old method : 0.0018198490142822266 length of segment : 33 time for calcul the mask position with numpy : 0.01966691017150879 nb_pixel_total : 1141626 time to create 1 rle with new method : 0.05043840408325195 length of segment : 1064 time for calcul the mask position with numpy : 0.00040268898010253906 nb_pixel_total : 15939 time to create 1 rle with old method : 0.02282571792602539 length of segment : 159 time for calcul the mask position with numpy : 0.0005342960357666016 nb_pixel_total : 7514 time to create 1 rle with old method : 0.008287191390991211 length of segment : 180 time for calcul the mask position with numpy : 0.013726234436035156 nb_pixel_total : 721266 time to create 1 rle with new method : 0.46040797233581543 length of segment : 921 time for calcul the mask position with numpy : 0.00946354866027832 nb_pixel_total : 671186 time to create 1 rle with new method : 0.01511383056640625 length of segment : 940 time for calcul the mask position with numpy : 0.00015854835510253906 nb_pixel_total : 2337 time to create 1 rle with old method : 0.0028400421142578125 length of segment : 49 time for calcul the mask position with numpy : 0.00013709068298339844 nb_pixel_total : 2289 time to create 1 rle with old method : 0.0026826858520507812 length of segment : 65 time for calcul the mask position with numpy : 0.0007295608520507812 nb_pixel_total : 22226 time to create 1 rle with old method : 0.025774240493774414 length of segment : 251 time for calcul the mask position with numpy : 0.00018310546875 nb_pixel_total : 4370 time to create 1 rle with old method : 0.00511479377746582 length of segment : 81 time spent for convertir_results : 3.835541009902954 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 10799 save missing photos in datou_result : time spend for datou_step_exec : 29.125839948654175 time spend to save output : 0.6974754333496094 total time spend for step 1 : 29.823315382003784 step2:crop_condition Mon Aug 25 11:01:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 13 ! batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756112462_1326041 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.0013442039489746 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756112464_1326041 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.5208475589752197 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1756112487_1326041 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.369344234466553 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] Looping around the photos to save general results len do output : 31 /1379188084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188085Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188086Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188087Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188090Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188120Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188121Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188122Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188123Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188137Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379188138Didn'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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 106 time used for this insertion : 0.03127455711364746 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.44141125679016 time spend to save output : 0.03281998634338379 total time spend for step 2 : 32.474231243133545 step3:rle_unique_nms_with_priority Mon Aug 25 11:01:33 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.3320164680480957 time for calcul the mask position with numpy : 0.06819772720336914 nb_pixel_total : 2034177 time to create 1 rle with new method : 0.23941302299499512 time for calcul the mask position with numpy : 0.006607532501220703 nb_pixel_total : 7292 time to create 1 rle with old method : 0.011795520782470703 time for calcul the mask position with numpy : 0.007252931594848633 nb_pixel_total : 32131 time to create 1 rle with old method : 0.05716824531555176 create new chi : 0.40540647506713867 time to delete rle : 0.028988361358642578 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1682 TO DO : save crop sub photo not yet done ! save time : 0.13899016380310059 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.16060948371887207 time for calcul the mask position with numpy : 0.06037473678588867 nb_pixel_total : 2063762 time to create 1 rle with new method : 0.886436939239502 time for calcul the mask position with numpy : 0.0062122344970703125 nb_pixel_total : 9838 time to create 1 rle with old method : 0.010814428329467773 create new chi : 0.9707770347595215 time to delete rle : 0.00023174285888671875 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 1422 TO DO : save crop sub photo not yet done ! save time : 0.12801074981689453 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.2778301239013672 time for calcul the mask position with numpy : 0.041060686111450195 nb_pixel_total : 1190257 time to create 1 rle with new method : 0.19559907913208008 time for calcul the mask position with numpy : 0.006745338439941406 nb_pixel_total : 47709 time to create 1 rle with old method : 0.05170416831970215 time for calcul the mask position with numpy : 0.011529684066772461 nb_pixel_total : 713126 time to create 1 rle with new method : 0.07998323440551758 time for calcul the mask position with numpy : 0.007057905197143555 nb_pixel_total : 13967 time to create 1 rle with old method : 0.015824556350708008 time for calcul the mask position with numpy : 0.008512258529663086 nb_pixel_total : 65603 time to create 1 rle with old method : 0.07329225540161133 time for calcul the mask position with numpy : 0.007067203521728516 nb_pixel_total : 9064 time to create 1 rle with old method : 0.010214567184448242 time for calcul the mask position with numpy : 0.00685572624206543 nb_pixel_total : 33874 time to create 1 rle with old method : 0.037242889404296875 create new chi : 0.57027268409729 time to delete rle : 0.0006773471832275391 batch 1 Loaded 13 chid ids of type : 3594 ++++++++++Number RLEs to save : 5354 TO DO : save crop sub photo not yet done ! save time : 0.34987735748291016 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.0786294937133789 time for calcul the mask position with numpy : 0.07210588455200195 nb_pixel_total : 1227585 time to create 1 rle with new method : 0.08116292953491211 time for calcul the mask position with numpy : 0.006433248519897461 nb_pixel_total : 9783 time to create 1 rle with old method : 0.01079249382019043 time for calcul the mask position with numpy : 0.011446475982666016 nb_pixel_total : 700305 time to create 1 rle with new method : 0.0947427749633789 time for calcul the mask position with numpy : 0.006216526031494141 nb_pixel_total : 8828 time to create 1 rle with old method : 0.009909629821777344 time for calcul the mask position with numpy : 0.006208658218383789 nb_pixel_total : 16455 time to create 1 rle with old method : 0.018511295318603516 time for calcul the mask position with numpy : 0.006726503372192383 nb_pixel_total : 110644 time to create 1 rle with old method : 0.1228635311126709 create new chi : 0.4671194553375244 time to delete rle : 0.0006043910980224609 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4753 TO DO : save crop sub photo not yet done ! save time : 0.32761621475219727 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05031991004943848 time for calcul the mask position with numpy : 0.015803098678588867 nb_pixel_total : 1340399 time to create 1 rle with new method : 0.29709672927856445 time for calcul the mask position with numpy : 0.011908531188964844 nb_pixel_total : 656429 time to create 1 rle with new method : 0.033010005950927734 time for calcul the mask position with numpy : 0.007053375244140625 nb_pixel_total : 76772 time to create 1 rle with old method : 0.0847318172454834 create new chi : 0.45022034645080566 time to delete rle : 0.0005564689636230469 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3996 TO DO : save crop sub photo not yet done ! save time : 0.26511526107788086 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06820011138916016 time for calcul the mask position with numpy : 0.030544281005859375 nb_pixel_total : 1908065 time to create 1 rle with new method : 0.25482773780822754 time for calcul the mask position with numpy : 0.006470918655395508 nb_pixel_total : 9906 time to create 1 rle with old method : 0.011089086532592773 time for calcul the mask position with numpy : 0.0063915252685546875 nb_pixel_total : 7002 time to create 1 rle with old method : 0.007873773574829102 time for calcul the mask position with numpy : 0.0073511600494384766 nb_pixel_total : 131393 time to create 1 rle with old method : 0.14481782913208008 time for calcul the mask position with numpy : 0.006502866744995117 nb_pixel_total : 17234 time to create 1 rle with old method : 0.019020795822143555 create new chi : 0.5055880546569824 time to delete rle : 0.000530242919921875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3066 TO DO : save crop sub photo not yet done ! save time : 0.23160624504089355 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.036208152770996094 time for calcul the mask position with numpy : 0.020842552185058594 nb_pixel_total : 2066482 time to create 1 rle with new method : 0.08551025390625 time for calcul the mask position with numpy : 0.0066530704498291016 nb_pixel_total : 7118 time to create 1 rle with old method : 0.008059263229370117 create new chi : 0.12136387825012207 time to delete rle : 0.00022983551025390625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1232 TO DO : save crop sub photo not yet done ! save time : 0.10946512222290039 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05402779579162598 time for calcul the mask position with numpy : 0.01322627067565918 nb_pixel_total : 930512 time to create 1 rle with new method : 0.15918827056884766 time for calcul the mask position with numpy : 0.04637742042541504 nb_pixel_total : 1141626 time to create 1 rle with new method : 0.3580441474914551 time for calcul the mask position with numpy : 0.0063326358795166016 nb_pixel_total : 1462 time to create 1 rle with old method : 0.001684427261352539 create new chi : 0.5924689769744873 time to delete rle : 0.0005443096160888672 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3274 TO DO : save crop sub photo not yet done ! save time : 0.2560558319091797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04052257537841797 time for calcul the mask position with numpy : 0.05893206596374512 nb_pixel_total : 2057661 time to create 1 rle with new method : 0.19150686264038086 time for calcul the mask position with numpy : 0.006266117095947266 nb_pixel_total : 15939 time to create 1 rle with old method : 0.01795649528503418 create new chi : 0.27837133407592773 time to delete rle : 0.0002353191375732422 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1398 TO DO : save crop sub photo not yet done ! save time : 0.12454676628112793 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04098200798034668 time for calcul the mask position with numpy : 0.2339794635772705 nb_pixel_total : 2066086 time to create 1 rle with new method : 0.07653117179870605 time for calcul the mask position with numpy : 0.006281137466430664 nb_pixel_total : 7514 time to create 1 rle with old method : 0.008421897888183594 create new chi : 0.3359405994415283 time to delete rle : 0.0002582073211669922 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1440 TO DO : save crop sub photo not yet done ! save time : 0.12068367004394531 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.23396849632263184 time for calcul the mask position with numpy : 0.041033029556274414 nb_pixel_total : 1352334 time to create 1 rle with new method : 0.18551063537597656 time for calcul the mask position with numpy : 0.011185884475708008 nb_pixel_total : 721266 time to create 1 rle with new method : 0.09476494789123535 create new chi : 0.3518257141113281 time to delete rle : 0.00042629241943359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2922 TO DO : save crop sub photo not yet done ! save time : 0.21254658699035645 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05269336700439453 time for calcul the mask position with numpy : 0.04603219032287598 nb_pixel_total : 1402414 time to create 1 rle with new method : 0.3449101448059082 time for calcul the mask position with numpy : 0.010987043380737305 nb_pixel_total : 671186 time to create 1 rle with new method : 0.07156038284301758 create new chi : 0.4828338623046875 time to delete rle : 0.0003726482391357422 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2960 TO DO : save crop sub photo not yet done ! save time : 0.19493317604064941 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.5408914089202881 time for calcul the mask position with numpy : 0.34073662757873535 nb_pixel_total : 2042378 time to create 1 rle with new method : 0.07533049583435059 time for calcul the mask position with numpy : 0.010232686996459961 nb_pixel_total : 4370 time to create 1 rle with old method : 0.004966020584106445 time for calcul the mask position with numpy : 0.006340503692626953 nb_pixel_total : 22226 time to create 1 rle with old method : 0.024708032608032227 time for calcul the mask position with numpy : 0.006220817565917969 nb_pixel_total : 2289 time to create 1 rle with old method : 0.002574443817138672 time for calcul the mask position with numpy : 0.006431102752685547 nb_pixel_total : 2337 time to create 1 rle with old method : 0.002660989761352539 create new chi : 0.4907259941101074 time to delete rle : 0.0004405975341796875 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1972 TO DO : save crop sub photo not yet done ! save time : 0.14926719665527344 map_output_result : {1379162754: (0.0, 'Should be the crop_list due to order', 0), 1379162704: (0.0, 'Should be the crop_list due to order', 0), 1379162677: (0.0, 'Should be the crop_list due to order', 0), 1379162043: (0.0, 'Should be the crop_list due to order', 0), 1379161980: (0.0, 'Should be the crop_list due to order', 0), 1379161921: (0.0, 'Should be the crop_list due to order', 0), 1379161886: (0.0, 'Should be the crop_list due to order', 0), 1379161832: (0.0, 'Should be the crop_list due to order', 0), 1379161780: (0.0, 'Should be the crop_list due to order', 0), 1379161540: (0.0, 'Should be the crop_list due to order', 0), 1379161492: (0.0, 'Should be the crop_list due to order', 0), 1379161455: (0.0, 'Should be the crop_list due to order', 0), 1379161444: (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 [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] Looping around the photos to save general results len do output : 13 /1379162754.Didn't retrieve data . /1379162704.Didn't retrieve data . /1379162677.Didn't retrieve data . /1379162043.Didn't retrieve data . /1379161980.Didn't retrieve data . /1379161921.Didn't retrieve data . /1379161886.Didn't retrieve data . /1379161832.Didn't retrieve data . /1379161780.Didn't retrieve data . /1379161540.Didn't retrieve data . /1379161492.Didn't retrieve data . /1379161455.Didn't retrieve data . /1379161444.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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.01845073699951172 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.133508443832397 time spend to save output : 0.018941164016723633 total time spend for step 3 : 11.152449607849121 step4:ventilate_hashtags_in_portfolio Mon Aug 25 11:01:45 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 : 26196500 get user id for portfolio 26196500 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`=26196500 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','mal_croppe','carton','pehd','autre','environnement','pet_fonce','flou','metal','background')) 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`=26196500 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','mal_croppe','carton','pehd','autre','environnement','pet_fonce','flou','metal','background')) 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`=26196500 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','mal_croppe','carton','pehd','autre','environnement','pet_fonce','flou','metal','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26198771,26198772,26198773,26198774,26198775,26198776,26198777,26198778,26198779,26198780,26198781?tags=pet_clair,papier,mal_croppe,carton,pehd,autre,environnement,pet_fonce,flou,metal,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] Looping around the photos to save general results len do output : 1 /26196500. 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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.018679380416870117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6819453239440918 time spend to save output : 0.019008636474609375 total time spend for step 4 : 1.7009539604187012 step5:final Mon Aug 25 11:01:46 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 : {1379162754: ('0.1956718898385565',), 1379162704: ('0.1956718898385565',), 1379162677: ('0.1956718898385565',), 1379162043: ('0.1956718898385565',), 1379161980: ('0.1956718898385565',), 1379161921: ('0.1956718898385565',), 1379161886: ('0.1956718898385565',), 1379161832: ('0.1956718898385565',), 1379161780: ('0.1956718898385565',), 1379161540: ('0.1956718898385565',), 1379161492: ('0.1956718898385565',), 1379161455: ('0.1956718898385565',), 1379161444: ('0.1956718898385565',)} new output for save of step final : {1379162754: ('0.1956718898385565',), 1379162704: ('0.1956718898385565',), 1379162677: ('0.1956718898385565',), 1379162043: ('0.1956718898385565',), 1379161980: ('0.1956718898385565',), 1379161921: ('0.1956718898385565',), 1379161886: ('0.1956718898385565',), 1379161832: ('0.1956718898385565',), 1379161780: ('0.1956718898385565',), 1379161540: ('0.1956718898385565',), 1379161492: ('0.1956718898385565',), 1379161455: ('0.1956718898385565',), 1379161444: ('0.1956718898385565',)} [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] Looping around the photos to save general results len do output : 13 /1379162754.Didn't retrieve data . /1379162704.Didn't retrieve data . /1379162677.Didn't retrieve data . /1379162043.Didn't retrieve data . /1379161980.Didn't retrieve data . /1379161921.Didn't retrieve data . /1379161886.Didn't retrieve data . /1379161832.Didn't retrieve data . /1379161780.Didn't retrieve data . /1379161540.Didn't retrieve data . /1379161492.Didn't retrieve data . /1379161455.Didn't retrieve data . /1379161444.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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.015039682388305664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12743234634399414 time spend to save output : 0.01578998565673828 total time spend for step 5 : 0.14322233200073242 step6:blur_detection Mon Aug 25 11:01:46 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/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294.jpg resize: (1080, 1920) 1379162754 0.3051074456198883 treat image : temp/1756112429_1326041_1379162704_efe3eeedde7269d312943ed0fb03cc6a.jpg resize: (1080, 1920) 1379162704 0.24726602428289204 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5.jpg resize: (1080, 1920) 1379162677 -4.31907758429898 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be.jpg resize: (1080, 1920) 1379162043 -4.60326526228076 treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431.jpg resize: (1080, 1920) 1379161980 -1.0458387605356414 treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8.jpg resize: (1080, 1920) 1379161921 -4.362717521481516 treat image : temp/1756112429_1326041_1379161886_eca8f157886b522e5d99f825041d53a1.jpg resize: (1080, 1920) 1379161886 -1.3018688223948172 treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8.jpg resize: (1080, 1920) 1379161832 1.6802446118121221 treat image : temp/1756112429_1326041_1379161780_d62be522d5ff91032bda16e47c4d1d32.jpg resize: (1080, 1920) 1379161780 -4.5553853568150675 treat image : temp/1756112429_1326041_1379161540_1aede662551b0389fd401b6ca394d99e.jpg resize: (1080, 1920) 1379161540 -0.08951211537066833 treat image : temp/1756112429_1326041_1379161492_e6f4ad7a91b1f6c403d88b6054527541.jpg resize: (1080, 1920) 1379161492 -1.5299154699882282 treat image : temp/1756112429_1326041_1379161455_ddbbe25693355a07398310b9468f4439.jpg resize: (1080, 1920) 1379161455 0.3285738904834274 treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932.jpg resize: (1080, 1920) 1379161444 -0.5280922707933313 treat image : temp/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294_rle_crop_3929459874_0.png resize: (123, 84) 1379188084 -1.1516488311652673 treat image : temp/1756112429_1326041_1379162704_efe3eeedde7269d312943ed0fb03cc6a_rle_crop_3929459875_0.png resize: (120, 110) 1379188085 -0.7897917646292786 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459886_0.png resize: (179, 109) 1379188086 -0.9367208203831316 treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459892_0.png resize: (174, 110) 1379188087 -1.2881473167636877 treat image : temp/1756112429_1326041_1379161886_eca8f157886b522e5d99f825041d53a1_rle_crop_3929459893_0.png resize: (73, 126) 1379188088 1.1665993970280761 treat image : temp/1756112429_1326041_1379161540_1aede662551b0389fd401b6ca394d99e_rle_crop_3929459897_0.png resize: (172, 117) 1379188089 -2.3197899249032727 treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459902_0.png resize: (246, 151) 1379188090 -1.328691111764216 treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459900_0.png resize: (49, 74) 1379188091 -0.3840705250911252 treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459903_0.png resize: (81, 66) 1379188092 1.1969817548169666 treat image : temp/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294_rle_crop_3929459873_0.png resize: (174, 272) 1379188115 -0.010256534613676609 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459880_0.png resize: (867, 1197) 1379188116 -0.4789093081473485 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459876_0.png resize: (175, 227) 1379188117 -2.3582832925979367 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459879_0.png resize: (148, 189) 1379188120 -4.596739727952878 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459877_0.png resize: (115, 113) 1379188121 -1.688761753775445 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459881_0.png resize: (210, 375) 1379188122 -1.9017077429421205 treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459878_0.png resize: (531, 352) 1379188123 -1.049049153256825 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459885_0.png resize: (927, 1039) 1379188124 -0.33477493719277845 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459884_0.png resize: (105, 135) 1379188125 -2.4857634415191607 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459883_0.png resize: (147, 151) 1379188126 -3.642056731957967 treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459882_0.png resize: (529, 345) 1379188127 0.13808063682790733 treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431_rle_crop_3929459888_0.png resize: (948, 904) 1379188128 0.3642960081821757 treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431_rle_crop_3929459887_0.png resize: (484, 316) 1379188129 -0.416411237301957 treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459891_0.png resize: (64, 141) 1379188130 -2.6661745867811706 treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459889_0.png resize: (143, 156) 1379188131 -3.3344917689372555 treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459890_0.png resize: (567, 363) 1379188132 -0.09738501289531391 treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8_rle_crop_3929459895_0.png resize: (970, 1406) 1379188133 0.005355362388540609 treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8_rle_crop_3929459894_0.png resize: (33, 58) 1379188134 5.778131835157802 treat image : temp/1756112429_1326041_1379161780_d62be522d5ff91032bda16e47c4d1d32_rle_crop_3929459896_0.png resize: (142, 149) 1379188135 -3.716011310806999 treat image : temp/1756112429_1326041_1379161492_e6f4ad7a91b1f6c403d88b6054527541_rle_crop_3929459898_0.png resize: (918, 1052) 1379188136 0.15148982343651002 treat image : temp/1756112429_1326041_1379161455_ddbbe25693355a07398310b9468f4439_rle_crop_3929459899_0.png resize: (936, 948) 1379188137 0.6617503897103596 treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459901_0.png resize: (65, 43) 1379188138 -2.009531697848908 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 44 time used for this insertion : 0.014293432235717773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.017769336700439453 save missing photos in datou_result : time spend for datou_step_exec : 13.403974771499634 time spend to save output : 0.037003517150878906 total time spend for step 6 : 13.440978288650513 step7:brightness Mon Aug 25 11:02:00 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/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294.jpg treat image : temp/1756112429_1326041_1379162704_efe3eeedde7269d312943ed0fb03cc6a.jpg treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5.jpg treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be.jpg treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431.jpg treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8.jpg treat image : temp/1756112429_1326041_1379161886_eca8f157886b522e5d99f825041d53a1.jpg treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8.jpg treat image : temp/1756112429_1326041_1379161780_d62be522d5ff91032bda16e47c4d1d32.jpg treat image : temp/1756112429_1326041_1379161540_1aede662551b0389fd401b6ca394d99e.jpg treat image : temp/1756112429_1326041_1379161492_e6f4ad7a91b1f6c403d88b6054527541.jpg treat image : temp/1756112429_1326041_1379161455_ddbbe25693355a07398310b9468f4439.jpg treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932.jpg treat image : temp/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294_rle_crop_3929459874_0.png treat image : temp/1756112429_1326041_1379162704_efe3eeedde7269d312943ed0fb03cc6a_rle_crop_3929459875_0.png treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459886_0.png treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459892_0.png treat image : temp/1756112429_1326041_1379161886_eca8f157886b522e5d99f825041d53a1_rle_crop_3929459893_0.png treat image : temp/1756112429_1326041_1379161540_1aede662551b0389fd401b6ca394d99e_rle_crop_3929459897_0.png treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459902_0.png treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459900_0.png treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459903_0.png treat image : temp/1756112429_1326041_1379162754_c77666db694ac507c72281f22c52b294_rle_crop_3929459873_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459880_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459876_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459879_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459877_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459881_0.png treat image : temp/1756112429_1326041_1379162677_66149646fa74772943cbabc4529b53d5_rle_crop_3929459878_0.png treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459885_0.png treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459884_0.png treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459883_0.png treat image : temp/1756112429_1326041_1379162043_3010a3327c63b6e66415d03cc88425be_rle_crop_3929459882_0.png treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431_rle_crop_3929459888_0.png treat image : temp/1756112429_1326041_1379161980_307ce0fcf447fee00a49fbe574347431_rle_crop_3929459887_0.png treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459891_0.png treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459889_0.png treat image : temp/1756112429_1326041_1379161921_97c70b7d0876dbc77e6eab0edc9f5fb8_rle_crop_3929459890_0.png treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8_rle_crop_3929459895_0.png treat image : temp/1756112429_1326041_1379161832_14426b17e331701243c315aba3124aa8_rle_crop_3929459894_0.png treat image : temp/1756112429_1326041_1379161780_d62be522d5ff91032bda16e47c4d1d32_rle_crop_3929459896_0.png treat image : temp/1756112429_1326041_1379161492_e6f4ad7a91b1f6c403d88b6054527541_rle_crop_3929459898_0.png treat image : temp/1756112429_1326041_1379161455_ddbbe25693355a07398310b9468f4439_rle_crop_3929459899_0.png treat image : temp/1756112429_1326041_1379161444_2fbb2bfd559b2cd8888b080f8d269932_rle_crop_3929459901_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 44 time used for this insertion : 0.01649928092956543 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 44 time used for this insertion : 0.0172121524810791 save missing photos in datou_result : time spend for datou_step_exec : 3.835172414779663 time spend to save output : 0.038413047790527344 total time spend for step 7 : 3.8735854625701904 step8:velours_tree Mon Aug 25 11:02:04 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.10056543350219727 time spend to save output : 3.886222839355469e-05 total time spend for step 8 : 0.10060429573059082 step9:send_mail_cod Mon Aug 25 11:02:04 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_P26196500_25-08-2025_11_02_04.pdf 26198771 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 .imagette261987711756112524 26198772 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 .imagette261987721756112525 26198773 imagette261987731756112526 26198774 change filename to text .imagette261987741756112526 26198775 imagette261987751756112526 26198776 imagette261987761756112526 26198778 imagette261987781756112526 26198779 imagette261987791756112526 26198780 imagette261987801756112526 26198781 imagette261987811756112526 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26196500 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26198771,26198772,26198773,26198774,26198775,26198776,26198777,26198778,26198779,26198780,26198781?tags=pet_clair,papier,mal_croppe,carton,pehd,autre,environnement,pet_fonce,flou,metal,background args[1379162754] : ((1379162754, 0.3051074456198883, 492688767), (1379162754, 0.350141171716304, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379162704] : ((1379162704, 0.24726602428289204, 492688767), (1379162704, 0.5538958631325882, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379162677] : ((1379162677, -4.31907758429898, 492609224), (1379162677, 0.4624522027468556, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379162043] : ((1379162043, -4.60326526228076, 492609224), (1379162043, 0.28267141343232355, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161980] : ((1379161980, -1.0458387605356414, 492688767), (1379161980, 1.0109939074431356, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161921] : ((1379161921, -4.362717521481516, 492609224), (1379161921, 0.34959246347872575, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161886] : ((1379161886, -1.3018688223948172, 492688767), (1379161886, 0.10440505150704425, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161832] : ((1379161832, 1.6802446118121221, 492688767), (1379161832, 0.6014273401133535, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161780] : ((1379161780, -4.5553853568150675, 492609224), (1379161780, 0.39206223350083846, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161540] : ((1379161540, -0.08951211537066833, 492688767), (1379161540, 1.0827198415954067, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161492] : ((1379161492, -1.5299154699882282, 492688767), (1379161492, 0.4742566087771694, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161455] : ((1379161455, 0.3285738904834274, 492688767), (1379161455, 0.7388745698120749, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com args[1379161444] : ((1379161444, -0.5280922707933313, 492688767), (1379161444, 1.2280917620431295, 2107752395), '0.1956718898385565') We are sending mail with results at report@fotonower.com refus_total : 0.1956718898385565 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=26196500 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_P26196500_25-08-2025_11_02_04.pdf results_Auto_P26196500_25-08-2025_11_02_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196500_25-08-2025_11_02_04.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','26196500','results_Auto_P26196500_25-08-2025_11_02_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196500_25-08-2025_11_02_04.pdf','pdf','','0.52','0.1956718898385565') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26196500

https://www.fotonower.com/image?json=false&list_photos_id=1379162754
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379162704
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379162677
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379162043
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161980
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161921
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161886
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161832
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6802446118121221)
https://www.fotonower.com/image?json=false&list_photos_id=1379161780
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161540
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161492
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161455
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379161444
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26198771?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26198772?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26198774?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196500_25-08-2025_11_02_04.pdf.

Lien vers velours :https://www.fotonower.com/velours/26198771,26198772,26198773,26198774,26198775,26198776,26198777,26198778,26198779,26198780,26198781?tags=pet_clair,papier,mal_croppe,carton,pehd,autre,environnement,pet_fonce,flou,metal,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 25 Aug 2025 09:02:08 GMT Content-Length: 0 Connection: close X-Message-Id: XsugImPGQQuKa4OEWn2w3A 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 [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] 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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.021381139755249023 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.409231185913086 time spend to save output : 0.021697521209716797 total time spend for step 9 : 4.430928707122803 step10:split_time_score Mon Aug 25 11:02:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25082025 26196500 Nombre de photos uploadées : 13 / 23040 (0%) 25082025 26196500 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 25082025 26196500 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006909370422363281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2336428165435791 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.1956718898385565 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26196500_25-08-2025_11_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26196500 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`=26196500 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25082025': {'nb_upload': 13, '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 [1379162754, 1379162704, 1379162677, 1379162043, 1379161980, 1379161921, 1379161886, 1379161832, 1379161780, 1379161540, 1379161492, 1379161455, 1379161444] Looping around the photos to save general results len do output : 1 /26196500Didn'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, '3587020') ('3318', '26196500', '1379162754', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162704', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162677', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379162043', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161980', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161921', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161886', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161832', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161780', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161540', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161492', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161455', None, None, None, None, None, '3587020') ('3318', None, None, None, None, None, None, None, '3587020') ('3318', '26196500', '1379161444', None, None, None, None, None, '3587020') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.017303466796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.49139404296875 time spend to save output : 0.017615556716918945 total time spend for step 10 : 0.509009599685669 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 60.95user 25.64system 1:43.15elapsed 83%CPU (0avgtext+0avgdata 2788580maxresident)k 501848inputs+39520outputs (46major+1774882minor)pagefaults 0swaps