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 : 3245709 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 : ['3484665'] with mtr_portfolio_ids : ['25818830'] and first list_photo_ids : [] new path : /proc/3245709/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.5016624927520752 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 8 18:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-08 18:30:33.059726: 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-08 18:30:33.087307: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-08 18:30:33.089523: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f42a0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-08 18:30:33.089581: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-08 18:30:33.093671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-08 18:30:33.249894: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x41b18010 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-08 18:30:33.249969: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-08 18:30:33.251498: 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-08 18:30:33.251954: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 18:30:33.255413: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 18:30:33.258499: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 18:30:33.259049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 18:30:33.261840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 18:30:33.262893: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 18:30:33.271976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 18:30:33.273982: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 18:30:33.274069: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 18:30:33.275140: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-08 18:30:33.275189: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-08 18:30:33.275202: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-08 18:30:33.276993: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08 18:30:33.546851: 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-08 18:30:33.546975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 18:30:33.546995: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 18:30:33.547014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 18:30:33.547032: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 18:30:33.547050: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 18:30:33.547067: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 18:30:33.547085: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 18:30:33.548785: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 18:30:33.550503: 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-08 18:30:33.550604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-08 18:30:33.550628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 18:30:33.550651: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-08 18:30:33.550673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-08 18:30:33.550694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-08 18:30:33.550716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-08 18:30:33.550738: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-08 18:30:33.552403: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-08 18:30:33.552449: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-08 18:30:33.552459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-08 18:30:33.552467: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-08 18:30:33.553815: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-08 18:30:41.503984: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-08 18:30:41.683189: 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.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: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.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: 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3246343 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1888 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 7177 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.00014090538024902344 nb_pixel_total : 3459 time to create 1 rle with old method : 0.004160881042480469 length of segment : 71 time for calcul the mask position with numpy : 0.00029921531677246094 nb_pixel_total : 13839 time to create 1 rle with old method : 0.016155004501342773 length of segment : 214 time for calcul the mask position with numpy : 0.001821279525756836 nb_pixel_total : 103555 time to create 1 rle with old method : 0.1177816390991211 length of segment : 563 time for calcul the mask position with numpy : 0.0001239776611328125 nb_pixel_total : 5516 time to create 1 rle with old method : 0.006337165832519531 length of segment : 116 time for calcul the mask position with numpy : 0.0001842975616455078 nb_pixel_total : 9866 time to create 1 rle with old method : 0.011453390121459961 length of segment : 118 time for calcul the mask position with numpy : 0.012817144393920898 nb_pixel_total : 748190 time to create 1 rle with new method : 0.0578000545501709 length of segment : 968 time for calcul the mask position with numpy : 0.001451253890991211 nb_pixel_total : 116222 time to create 1 rle with old method : 0.1242983341217041 length of segment : 556 time for calcul the mask position with numpy : 9.775161743164062e-05 nb_pixel_total : 3615 time to create 1 rle with old method : 0.004212141036987305 length of segment : 80 time for calcul the mask position with numpy : 0.0014448165893554688 nb_pixel_total : 106039 time to create 1 rle with old method : 0.11288905143737793 length of segment : 538 time for calcul the mask position with numpy : 0.00018596649169921875 nb_pixel_total : 8958 time to create 1 rle with old method : 0.009840011596679688 length of segment : 119 time for calcul the mask position with numpy : 0.009699583053588867 nb_pixel_total : 762960 time to create 1 rle with new method : 0.054229736328125 length of segment : 982 time for calcul the mask position with numpy : 0.0005869865417480469 nb_pixel_total : 14978 time to create 1 rle with old method : 0.016598939895629883 length of segment : 160 time for calcul the mask position with numpy : 0.0023794174194335938 nb_pixel_total : 106223 time to create 1 rle with old method : 0.11594462394714355 length of segment : 565 time for calcul the mask position with numpy : 0.05675148963928223 nb_pixel_total : 1429044 time to create 1 rle with new method : 0.7366855144500732 length of segment : 1187 time for calcul the mask position with numpy : 0.00024271011352539062 nb_pixel_total : 8147 time to create 1 rle with old method : 0.008912324905395508 length of segment : 236 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 10785 time to create 1 rle with old method : 0.01205134391784668 length of segment : 118 time for calcul the mask position with numpy : 0.002160787582397461 nb_pixel_total : 116214 time to create 1 rle with old method : 0.1250009536743164 length of segment : 527 time for calcul the mask position with numpy : 0.011377334594726562 nb_pixel_total : 762638 time to create 1 rle with new method : 0.053365230560302734 length of segment : 993 time for calcul the mask position with numpy : 0.010380983352661133 nb_pixel_total : 756425 time to create 1 rle with new method : 0.2919802665710449 length of segment : 991 time for calcul the mask position with numpy : 0.0018773078918457031 nb_pixel_total : 111118 time to create 1 rle with old method : 0.12027692794799805 length of segment : 590 time for calcul the mask position with numpy : 0.009751081466674805 nb_pixel_total : 749213 time to create 1 rle with new method : 0.05654263496398926 length of segment : 984 time for calcul the mask position with numpy : 0.0021414756774902344 nb_pixel_total : 107485 time to create 1 rle with old method : 0.12241005897521973 length of segment : 521 time for calcul the mask position with numpy : 0.012016773223876953 nb_pixel_total : 772363 time to create 1 rle with new method : 0.09627938270568848 length of segment : 993 time for calcul the mask position with numpy : 0.010361909866333008 nb_pixel_total : 753914 time to create 1 rle with new method : 0.051474571228027344 length of segment : 957 time for calcul the mask position with numpy : 0.001523733139038086 nb_pixel_total : 103798 time to create 1 rle with old method : 0.11228132247924805 length of segment : 561 time for calcul the mask position with numpy : 0.002279043197631836 nb_pixel_total : 124782 time to create 1 rle with old method : 0.13629674911499023 length of segment : 568 time for calcul the mask position with numpy : 0.00039076805114746094 nb_pixel_total : 11781 time to create 1 rle with old method : 0.01401519775390625 length of segment : 159 time for calcul the mask position with numpy : 0.010307788848876953 nb_pixel_total : 749741 time to create 1 rle with new method : 0.05572009086608887 length of segment : 990 time for calcul the mask position with numpy : 0.0021257400512695312 nb_pixel_total : 104903 time to create 1 rle with old method : 0.11386442184448242 length of segment : 545 time for calcul the mask position with numpy : 0.00045609474182128906 nb_pixel_total : 14529 time to create 1 rle with old method : 0.016218900680541992 length of segment : 200 time for calcul the mask position with numpy : 0.011142253875732422 nb_pixel_total : 762476 time to create 1 rle with new method : 0.050580739974975586 length of segment : 983 time spent for convertir_results : 6.001661539077759 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 : 17153 save missing photos in datou_result : time spend for datou_step_exec : 27.593806743621826 time spend to save output : 1.8101797103881836 total time spend for step 1 : 29.40398645401001 step2:crop_condition Fri Aug 8 18:30:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 12 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754670660_3245709 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.047741413116455 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754670662_3245709 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9363863468170166 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754670699_3245709 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 9.585701942443848 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754670709_3245709 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.8008847236633301 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] Looping around the photos to save general results len do output : 31 /1375919216Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919217Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375919281Didn'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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 time used for this insertion : 0.03811836242675781 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.6879985332489 time spend to save output : 0.039238691329956055 total time spend for step 2 : 50.72723722457886 step3:rle_unique_nms_with_priority Fri Aug 8 18:31:50 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 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 : 1 nb_hashtags : 1 time to prepare the origin masks : 0.862215518951416 time for calcul the mask position with numpy : 0.24079132080078125 nb_pixel_total : 2070141 time to create 1 rle with new method : 0.10848164558410645 time for calcul the mask position with numpy : 0.0058062076568603516 nb_pixel_total : 3459 time to create 1 rle with old method : 0.0038137435913085938 create new chi : 0.3687131404876709 time to delete rle : 0.09378790855407715 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1222 TO DO : save crop sub photo not yet done ! save time : 0.28260326385498047 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.26652097702026367 time for calcul the mask position with numpy : 0.20978260040283203 nb_pixel_total : 1956206 time to create 1 rle with new method : 0.10788893699645996 time for calcul the mask position with numpy : 0.010640144348144531 nb_pixel_total : 103555 time to create 1 rle with old method : 0.11313939094543457 time for calcul the mask position with numpy : 0.0067615509033203125 nb_pixel_total : 13839 time to create 1 rle with old method : 0.015464544296264648 create new chi : 0.47370481491088867 time to delete rle : 0.00042891502380371094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2634 TO DO : save crop sub photo not yet done ! save time : 0.4357798099517822 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.4746887683868408 time for calcul the mask position with numpy : 0.04978489875793457 nb_pixel_total : 1193806 time to create 1 rle with new method : 0.10014128684997559 time for calcul the mask position with numpy : 0.007239818572998047 nb_pixel_total : 116222 time to create 1 rle with old method : 0.1313612461090088 time for calcul the mask position with numpy : 0.014194488525390625 nb_pixel_total : 748190 time to create 1 rle with new method : 0.1561264991760254 time for calcul the mask position with numpy : 0.00606083869934082 nb_pixel_total : 9866 time to create 1 rle with old method : 0.010518074035644531 time for calcul the mask position with numpy : 0.006281375885009766 nb_pixel_total : 5516 time to create 1 rle with old method : 0.006024360656738281 create new chi : 0.4969773292541504 time to delete rle : 0.0006811618804931641 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4596 TO DO : save crop sub photo not yet done ! save time : 0.6636204719543457 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.19515061378479004 time for calcul the mask position with numpy : 0.046721696853637695 nb_pixel_total : 1181550 time to create 1 rle with new method : 0.18948769569396973 time for calcul the mask position with numpy : 0.006066083908081055 nb_pixel_total : 14093 time to create 1 rle with old method : 0.015374422073364258 time for calcul the mask position with numpy : 0.01116633415222168 nb_pixel_total : 759345 time to create 1 rle with new method : 0.09936308860778809 time for calcul the mask position with numpy : 0.00600886344909668 nb_pixel_total : 8958 time to create 1 rle with old method : 0.009477615356445312 time for calcul the mask position with numpy : 0.006510019302368164 nb_pixel_total : 106039 time to create 1 rle with old method : 0.1163184642791748 time for calcul the mask position with numpy : 0.006031990051269531 nb_pixel_total : 3615 time to create 1 rle with old method : 0.003920316696166992 create new chi : 0.5320823192596436 time to delete rle : 0.0007026195526123047 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4699 TO DO : save crop sub photo not yet done ! save time : 0.6879191398620605 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06541323661804199 time for calcul the mask position with numpy : 0.009496450424194336 nb_pixel_total : 524791 time to create 1 rle with new method : 0.21277141571044922 time for calcul the mask position with numpy : 0.006252765655517578 nb_pixel_total : 10785 time to create 1 rle with old method : 0.011984586715698242 time for calcul the mask position with numpy : 0.00620722770690918 nb_pixel_total : 2757 time to create 1 rle with old method : 0.003020048141479492 time for calcul the mask position with numpy : 0.015908002853393555 nb_pixel_total : 1429044 time to create 1 rle with new method : 0.1846473217010498 time for calcul the mask position with numpy : 0.006592273712158203 nb_pixel_total : 106223 time to create 1 rle with old method : 0.11617684364318848 create new chi : 0.5873894691467285 time to delete rle : 0.0006797313690185547 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4965 TO DO : save crop sub photo not yet done ! save time : 0.7278640270233154 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04901432991027832 time for calcul the mask position with numpy : 0.01479339599609375 nb_pixel_total : 1194748 time to create 1 rle with new method : 0.09252429008483887 time for calcul the mask position with numpy : 0.011609077453613281 nb_pixel_total : 762638 time to create 1 rle with new method : 0.10867834091186523 time for calcul the mask position with numpy : 0.006882667541503906 nb_pixel_total : 116214 time to create 1 rle with old method : 0.12897729873657227 create new chi : 0.3708152770996094 time to delete rle : 0.0006322860717773438 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4120 TO DO : save crop sub photo not yet done ! save time : 0.737452507019043 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03632855415344238 time for calcul the mask position with numpy : 0.015189170837402344 nb_pixel_total : 1317175 time to create 1 rle with new method : 0.06164240837097168 time for calcul the mask position with numpy : 0.012281656265258789 nb_pixel_total : 756425 time to create 1 rle with new method : 0.15301799774169922 create new chi : 0.24924945831298828 time to delete rle : 0.0003361701965332031 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3062 TO DO : save crop sub photo not yet done ! save time : 0.37534499168395996 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2891395092010498 time for calcul the mask position with numpy : 0.05200767517089844 nb_pixel_total : 1213269 time to create 1 rle with new method : 0.18121957778930664 time for calcul the mask position with numpy : 0.011753082275390625 nb_pixel_total : 749213 time to create 1 rle with new method : 0.10479044914245605 time for calcul the mask position with numpy : 0.007478237152099609 nb_pixel_total : 111118 time to create 1 rle with old method : 0.12339401245117188 create new chi : 0.4978752136230469 time to delete rle : 0.0007236003875732422 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4228 TO DO : save crop sub photo not yet done ! save time : 0.5791740417480469 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.08262777328491211 time for calcul the mask position with numpy : 0.14088869094848633 nb_pixel_total : 1193752 time to create 1 rle with new method : 0.13117623329162598 time for calcul the mask position with numpy : 0.011765241622924805 nb_pixel_total : 772363 time to create 1 rle with new method : 0.11837124824523926 time for calcul the mask position with numpy : 0.0067675113677978516 nb_pixel_total : 107485 time to create 1 rle with old method : 0.11931705474853516 create new chi : 0.5376157760620117 time to delete rle : 0.0006668567657470703 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4108 TO DO : save crop sub photo not yet done ! save time : 0.6556525230407715 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0972144603729248 time for calcul the mask position with numpy : 0.060838937759399414 nb_pixel_total : 1215888 time to create 1 rle with new method : 0.14658427238464355 time for calcul the mask position with numpy : 0.0067996978759765625 nb_pixel_total : 103798 time to create 1 rle with old method : 0.11947488784790039 time for calcul the mask position with numpy : 0.011204004287719727 nb_pixel_total : 753914 time to create 1 rle with new method : 0.33014774322509766 create new chi : 0.6839144229888916 time to delete rle : 0.0005970001220703125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4116 TO DO : save crop sub photo not yet done ! save time : 0.7010259628295898 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.06450867652893066 time for calcul the mask position with numpy : 0.016993284225463867 nb_pixel_total : 1187296 time to create 1 rle with new method : 0.10183334350585938 time for calcul the mask position with numpy : 0.01169586181640625 nb_pixel_total : 749741 time to create 1 rle with new method : 0.19452762603759766 time for calcul the mask position with numpy : 0.0061151981353759766 nb_pixel_total : 11781 time to create 1 rle with old method : 0.013172388076782227 time for calcul the mask position with numpy : 0.006757974624633789 nb_pixel_total : 124782 time to create 1 rle with old method : 0.13849925994873047 create new chi : 0.4986295700073242 time to delete rle : 0.0007219314575195312 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4514 TO DO : save crop sub photo not yet done ! save time : 0.8002009391784668 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.060279130935668945 time for calcul the mask position with numpy : 0.01646876335144043 nb_pixel_total : 1191692 time to create 1 rle with new method : 0.33837246894836426 time for calcul the mask position with numpy : 0.011468887329101562 nb_pixel_total : 762476 time to create 1 rle with new method : 0.09758305549621582 time for calcul the mask position with numpy : 0.006501674652099609 nb_pixel_total : 14529 time to create 1 rle with old method : 0.016239404678344727 time for calcul the mask position with numpy : 0.006855487823486328 nb_pixel_total : 104903 time to create 1 rle with old method : 0.1178741455078125 create new chi : 0.6289618015289307 time to delete rle : 0.0007243156433105469 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4536 TO DO : save crop sub photo not yet done ! save time : 0.6114745140075684 map_output_result : {1375907439: (0.0, 'Should be the crop_list due to order', 0), 1375907431: (0.0, 'Should be the crop_list due to order', 0), 1375907188: (0.0, 'Should be the crop_list due to order', 0), 1375907172: (0.0, 'Should be the crop_list due to order', 0), 1375907155: (0.0, 'Should be the crop_list due to order', 0), 1375907137: (0.0, 'Should be the crop_list due to order', 0), 1375907118: (0.0, 'Should be the crop_list due to order', 0), 1375907099: (0.0, 'Should be the crop_list due to order', 0), 1375907016: (0.0, 'Should be the crop_list due to order', 0), 1375907011: (0.0, 'Should be the crop_list due to order', 0), 1375906997: (0.0, 'Should be the crop_list due to order', 0), 1375906966: (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 [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] Looping around the photos to save general results len do output : 12 /1375907439.Didn't retrieve data . /1375907431.Didn't retrieve data . /1375907188.Didn't retrieve data . /1375907172.Didn't retrieve data . /1375907155.Didn't retrieve data . /1375907137.Didn't retrieve data . /1375907118.Didn't retrieve data . /1375907099.Didn't retrieve data . /1375907016.Didn't retrieve data . /1375907011.Didn't retrieve data . /1375906997.Didn't retrieve data . /1375906966.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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.029028892517089844 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.46923804283142 time spend to save output : 0.029488563537597656 total time spend for step 3 : 16.49872660636902 step4:ventilate_hashtags_in_portfolio Fri Aug 8 18:32:06 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 : 25818830 get user id for portfolio 25818830 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`=25818830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','papier','pet_clair','carton','metal','autre','pet_fonce','mal_croppe','background','pehd')) 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`=25818830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','papier','pet_clair','carton','metal','autre','pet_fonce','mal_croppe','background','pehd')) 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`=25818830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','papier','pet_clair','carton','metal','autre','pet_fonce','mal_croppe','background','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25819340,25819341,25819342,25819343,25819344,25819345,25819346,25819347,25819348,25819349,25819350?tags=flou,environnement,papier,pet_clair,carton,metal,autre,pet_fonce,mal_croppe,background,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] Looping around the photos to save general results len do output : 1 /25818830. 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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.03884577751159668 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.474108934402466 time spend to save output : 0.03910112380981445 total time spend for step 4 : 4.51321005821228 step5:final Fri Aug 8 18:32:11 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 : {1375907439: ('0.379488409850823',), 1375907431: ('0.379488409850823',), 1375907188: ('0.379488409850823',), 1375907172: ('0.379488409850823',), 1375907155: ('0.379488409850823',), 1375907137: ('0.379488409850823',), 1375907118: ('0.379488409850823',), 1375907099: ('0.379488409850823',), 1375907016: ('0.379488409850823',), 1375907011: ('0.379488409850823',), 1375906997: ('0.379488409850823',), 1375906966: ('0.379488409850823',)} new output for save of step final : {1375907439: ('0.379488409850823',), 1375907431: ('0.379488409850823',), 1375907188: ('0.379488409850823',), 1375907172: ('0.379488409850823',), 1375907155: ('0.379488409850823',), 1375907137: ('0.379488409850823',), 1375907118: ('0.379488409850823',), 1375907099: ('0.379488409850823',), 1375907016: ('0.379488409850823',), 1375907011: ('0.379488409850823',), 1375906997: ('0.379488409850823',), 1375906966: ('0.379488409850823',)} [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] Looping around the photos to save general results len do output : 12 /1375907439.Didn't retrieve data . /1375907431.Didn't retrieve data . /1375907188.Didn't retrieve data . /1375907172.Didn't retrieve data . /1375907155.Didn't retrieve data . /1375907137.Didn't retrieve data . /1375907118.Didn't retrieve data . /1375907099.Didn't retrieve data . /1375907016.Didn't retrieve data . /1375907011.Didn't retrieve data . /1375906997.Didn't retrieve data . /1375906966.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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.037899017333984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3444817066192627 time spend to save output : 0.0386660099029541 total time spend for step 5 : 0.3831477165222168 step6:blur_detection Fri Aug 8 18:32:11 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/1754670628_3245709_1375907439_9900ed53c4dba7eea2610aa81c0d318b.jpg resize: (1080, 1920) 1375907439 -2.4733867910809204 treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30.jpg resize: (1080, 1920) 1375907431 -3.568034478865142 treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a.jpg resize: (1080, 1920) 1375907188 -2.4257517326960416 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998.jpg resize: (1080, 1920) 1375907172 -2.150941752488234 treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191.jpg resize: (1080, 1920) 1375907155 -2.668974292217178 treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78.jpg resize: (1080, 1920) 1375907137 -2.177130294953146 treat image : temp/1754670628_3245709_1375907118_91f5c4a9f72ec1525bee5f293e4ea2f9.jpg resize: (1080, 1920) 1375907118 -2.62495603366634 treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46.jpg resize: (1080, 1920) 1375907099 -2.1944937919674596 treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d.jpg resize: (1080, 1920) 1375907016 -2.7603918862298444 treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5.jpg resize: (1080, 1920) 1375907011 -2.232006130993305 treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335.jpg resize: (1080, 1920) 1375906997 -2.8415936919083156 treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf.jpg resize: (1080, 1920) 1375906966 -1.688512763713627 treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521385_0.png resize: (116, 67) 1375919216 -1.0526171682982537 treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521396_0.png resize: (236, 114) 1375919217 -2.233230497420482 treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521386_0.png resize: (118, 118) 1375919218 -1.0049906349987718 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521393_0.png resize: (160, 156) 1375919219 -1.8447284233363286 treat image : temp/1754670628_3245709_1375907439_9900ed53c4dba7eea2610aa81c0d318b_rle_crop_3907521382_0.png resize: (71, 59) 1375919240 -2.5617920516683865 treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30_rle_crop_3907521383_0.png resize: (214, 105) 1375919241 -3.686294875917398 treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30_rle_crop_3907521384_0.png resize: (545, 338) 1375919242 -0.5849295418713892 treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521387_0.png resize: (963, 1066) 1375919243 0.04519868051809857 treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521388_0.png resize: (504, 371) 1375919245 -0.528882867683087 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521392_0.png resize: (978, 1099) 1375919246 -0.03640356052767884 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521391_0.png resize: (117, 109) 1375919247 -3.440295568691668 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521390_0.png resize: (518, 359) 1375919248 -0.3528704691632744 treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521395_0.png resize: (932, 1678) 1375919250 -2.5911939468247835 treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521394_0.png resize: (528, 339) 1375919252 -0.4747976277456921 treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521397_0.png resize: (118, 126) 1375919254 -2.705523737739524 treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78_rle_crop_3907521399_0.png resize: (961, 1136) 1375919256 -0.38501907599539326 treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78_rle_crop_3907521398_0.png resize: (524, 333) 1375919258 0.20469867399346348 treat image : temp/1754670628_3245709_1375907118_91f5c4a9f72ec1525bee5f293e4ea2f9_rle_crop_3907521400_0.png resize: (989, 999) 1375919260 0.12938681115472364 treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46_rle_crop_3907521402_0.png resize: (981, 1008) 1375919262 -0.0011212156716854972 treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46_rle_crop_3907521401_0.png resize: (555, 336) 1375919264 -0.440919438115256 treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d_rle_crop_3907521404_0.png resize: (990, 1103) 1375919265 -0.5926948551859568 treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d_rle_crop_3907521403_0.png resize: (513, 328) 1375919266 -0.3687160254781092 treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5_rle_crop_3907521405_0.png resize: (956, 1040) 1375919267 -0.07283118961950598 treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5_rle_crop_3907521406_0.png resize: (554, 326) 1375919268 -0.011281078462556954 treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521409_0.png resize: (983, 1021) 1375919269 -0.42872164706675236 treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521408_0.png resize: (159, 115) 1375919270 -1.9843024661034734 treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521407_0.png resize: (558, 386) 1375919271 0.22057334769535691 treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521412_0.png resize: (979, 1046) 1375919272 -0.0694859082611018 treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521411_0.png resize: (179, 142) 1375919273 -1.5420520184056221 treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521410_0.png resize: (519, 336) 1375919274 -0.37804291617152525 treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521389_0.png resize: (80, 54) 1375919281 -1.2259252999637593 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 : 43 time used for this insertion : 0.03842496871948242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.03775143623352051 save missing photos in datou_result : time spend for datou_step_exec : 14.589629888534546 time spend to save output : 0.09129977226257324 total time spend for step 6 : 14.68092966079712 step7:brightness Fri Aug 8 18:32:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1754670628_3245709_1375907439_9900ed53c4dba7eea2610aa81c0d318b.jpg treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30.jpg treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a.jpg treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998.jpg treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191.jpg treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78.jpg treat image : temp/1754670628_3245709_1375907118_91f5c4a9f72ec1525bee5f293e4ea2f9.jpg treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46.jpg treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d.jpg treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5.jpg treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335.jpg treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf.jpg treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521385_0.png treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521396_0.png treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521386_0.png treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521393_0.png treat image : temp/1754670628_3245709_1375907439_9900ed53c4dba7eea2610aa81c0d318b_rle_crop_3907521382_0.png treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30_rle_crop_3907521383_0.png treat image : temp/1754670628_3245709_1375907431_9828c49ec54b759b35b0b23333806a30_rle_crop_3907521384_0.png treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521387_0.png treat image : temp/1754670628_3245709_1375907188_0fb7735ad5d7097449bc1f127bb6807a_rle_crop_3907521388_0.png treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521392_0.png treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521391_0.png treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521390_0.png treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521395_0.png treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521394_0.png treat image : temp/1754670628_3245709_1375907155_891cdb1ea9b8eb5c3047fab6533e8191_rle_crop_3907521397_0.png treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78_rle_crop_3907521399_0.png treat image : temp/1754670628_3245709_1375907137_9a3d7ef14ee205329e15c15351908a78_rle_crop_3907521398_0.png treat image : temp/1754670628_3245709_1375907118_91f5c4a9f72ec1525bee5f293e4ea2f9_rle_crop_3907521400_0.png treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46_rle_crop_3907521402_0.png treat image : temp/1754670628_3245709_1375907099_6aeb3c293d0184f77822f5ecc223ef46_rle_crop_3907521401_0.png treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d_rle_crop_3907521404_0.png treat image : temp/1754670628_3245709_1375907016_4687b8729c324701ee6fdd51f0974a9d_rle_crop_3907521403_0.png treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5_rle_crop_3907521405_0.png treat image : temp/1754670628_3245709_1375907011_8bb8137a895441c5ec171a693a065ef5_rle_crop_3907521406_0.png treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521409_0.png treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521408_0.png treat image : temp/1754670628_3245709_1375906997_e28ed14b4bd629c56b2f4ac44191b335_rle_crop_3907521407_0.png treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521412_0.png treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521411_0.png treat image : temp/1754670628_3245709_1375906966_86f8d1e3076ee6b8aec372330fa612bf_rle_crop_3907521410_0.png treat image : temp/1754670628_3245709_1375907172_3bf5c565e93458e7ef5a83a823575998_rle_crop_3907521389_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 : 43 time used for this insertion : 0.04058718681335449 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.03939628601074219 save missing photos in datou_result : time spend for datou_step_exec : 4.4428064823150635 time spend to save output : 0.09762454032897949 total time spend for step 7 : 4.540431022644043 step8:velours_tree Fri Aug 8 18:32: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 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.1054389476776123 time spend to save output : 4.315376281738281e-05 total time spend for step 8 : 0.10548210144042969 step9:send_mail_cod Fri Aug 8 18:32: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 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_P25818830_08-08-2025_18_32_31.pdf 25819340 imagette258193401754670751 25819342 change filename to text .change filename to text .imagette258193421754670751 25819343 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 .imagette258193431754670751 25819344 change filename to text .change filename to text .imagette258193441754670753 25819345 imagette258193451754670753 25819346 change filename to text .imagette258193461754670753 25819347 imagette258193471754670753 25819348 imagette258193481754670753 25819349 imagette258193491754670753 25819350 imagette258193501754670753 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25818830 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25819340,25819341,25819342,25819343,25819344,25819345,25819346,25819347,25819348,25819349,25819350?tags=flou,environnement,papier,pet_clair,carton,metal,autre,pet_fonce,mal_croppe,background,pehd args[1375907439] : ((1375907439, -2.4733867910809204, 492609224), (1375907439, 0.49453504478769783, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907431] : ((1375907431, -3.568034478865142, 492609224), (1375907431, 0.5926230547498809, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907188] : ((1375907188, -2.4257517326960416, 492609224), (1375907188, 0.431597694869133, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907172] : ((1375907172, -2.150941752488234, 492609224), (1375907172, 0.29163420962780967, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907155] : ((1375907155, -2.668974292217178, 492609224), (1375907155, 0.38068822614730086, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907137] : ((1375907137, -2.177130294953146, 492609224), (1375907137, 0.4008154274354286, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907118] : ((1375907118, -2.62495603366634, 492609224), (1375907118, 0.8145118810376764, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907099] : ((1375907099, -2.1944937919674596, 492609224), (1375907099, 0.5173117370020692, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907016] : ((1375907016, -2.7603918862298444, 492609224), (1375907016, 0.6606092739193923, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375907011] : ((1375907011, -2.232006130993305, 492609224), (1375907011, 0.6490894875525139, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375906997] : ((1375906997, -2.8415936919083156, 492609224), (1375906997, 0.6679369046400445, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com args[1375906966] : ((1375906966, -1.688512763713627, 492688767), (1375906966, 0.6321382729106699, 2107752395), '0.379488409850823') We are sending mail with results at report@fotonower.com refus_total : 0.379488409850823 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=25818830 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_P25818830_08-08-2025_18_32_31.pdf results_Auto_P25818830_08-08-2025_18_32_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818830_08-08-2025_18_32_31.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','25818830','results_Auto_P25818830_08-08-2025_18_32_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818830_08-08-2025_18_32_31.pdf','pdf','','0.79','0.379488409850823') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25818830

https://www.fotonower.com/image?json=false&list_photos_id=1375907439
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907431
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907188
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907172
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907155
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907137
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907118
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907099
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907016
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375907011
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375906997
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375906966
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25819342?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25819343?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25819344?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25819346?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818830_08-08-2025_18_32_31.pdf.

Lien vers velours :https://www.fotonower.com/velours/25819340,25819341,25819342,25819343,25819344,25819345,25819346,25819347,25819348,25819349,25819350?tags=flou,environnement,papier,pet_clair,carton,metal,autre,pet_fonce,mal_croppe,background,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 08 Aug 2025 16:32:36 GMT Content-Length: 0 Connection: close X-Message-Id: VxuauKPSSAWvv3Z_yYqbYQ 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 [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] 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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.03528189659118652 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.048627138137817 time spend to save output : 0.035538673400878906 total time spend for step 9 : 5.084165811538696 step10:split_time_score Fri Aug 8 18:32:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('17', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08082025 25818830 Nombre de photos uploadées : 12 / 23040 (0%) 08082025 25818830 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 08082025 25818830 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005543231964111328 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.5079834461212158 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.15627904235253773 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25808199_08-08-2025_08_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25808199 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`=25808199 AND mptpi.`type`=3594 To do Qualite : 0.1805721005460589 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25813880_08-08-2025_13_21_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25813880 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`=25813880 AND mptpi.`type`=3594 To do Qualite : 0.1617456643151087 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25815840_08-08-2025_15_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25815840 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`=25815840 AND mptpi.`type`=3594 To do Qualite : 0.10450132838804715 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818826_08-08-2025_18_17_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818826 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`=25818826 AND mptpi.`type`=3594 To do Qualite : 0.05204149787808643 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818827_08-08-2025_18_21_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818827 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`=25818827 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818829 order by id desc limit 1 Qualite : 0.379488409850823 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818830_08-08-2025_18_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818830 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`=25818830 AND mptpi.`type`=3594 To do Qualite : 0.03124545878343621 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25818831_08-08-2025_18_21_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25818831 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`=25818831 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08082025': {'nb_upload': 12, '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 [1375907439, 1375907431, 1375907188, 1375907172, 1375907155, 1375907137, 1375907118, 1375907099, 1375907016, 1375907011, 1375906997, 1375906966] Looping around the photos to save general results len do output : 1 /25818830Didn'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, '3484665') ('3318', '25818830', '1375907439', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907431', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907188', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907172', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907155', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907137', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907118', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907099', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907016', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375907011', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906997', None, None, None, None, None, '3484665') ('3318', None, None, None, None, None, None, None, '3484665') ('3318', '25818830', '1375906966', None, None, None, None, None, '3484665') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.041481971740722656 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.444730758666992 time spend to save output : 0.04168295860290527 total time spend for step 10 : 3.4864137172698975 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 78.94user 24.05system 2:13.44elapsed 77%CPU (0avgtext+0avgdata 2767040maxresident)k 33480inputs+59832outputs (26major+1873347minor)pagefaults 0swaps