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 : 3198387 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 : ['4328976'] with mtr_portfolio_ids : ['30091324'] and first list_photo_ids : [] new path : /proc/3198387/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.8708417415618896 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Jan 12 11:40:30 2026 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 : 10605 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-01-12 11:40:34.186011: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2026-01-12 11:40:34.218531: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-01-12 11:40:34.221174: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f59e8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-01-12 11:40:34.221233: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-01-12 11:40:34.226503: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-01-12 11:40:34.496443: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xd3d9330 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-01-12 11:40:34.496507: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-01-12 11:40:34.497725: 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 2026-01-12 11:40:34.498216: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-12 11:40:34.501808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-12 11:40:34.523606: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-12 11:40:34.524136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-12 11:40:34.561471: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-12 11:40:34.566484: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-12 11:40:34.637026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-12 11:40:34.639042: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-12 11:40:34.639453: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-12 11:40:34.640440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-01-12 11:40:34.640459: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-01-12 11:40:34.640470: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-01-12 11:40:34.643160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9826 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. 2026-01-12 11:40:35.017011: 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 2026-01-12 11:40:35.017111: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-12 11:40:35.017133: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-12 11:40:35.017151: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-12 11:40:35.017169: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-12 11:40:35.017186: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-12 11:40:35.017204: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-12 11:40:35.017222: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-12 11:40:35.018825: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-12 11:40:35.020221: 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 2026-01-12 11:40:35.020285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-01-12 11:40:35.020302: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-12 11:40:35.020316: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-01-12 11:40:35.020330: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-01-12 11:40:35.020343: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-01-12 11:40:35.020357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-01-12 11:40:35.020371: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-01-12 11:40:35.021666: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-01-12 11:40:35.021696: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-01-12 11:40:35.021705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-01-12 11:40:35.021713: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-01-12 11:40:35.023069: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9826 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 : [] 2026-01-12 11:40:45.685389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-01-12 11:40:45.900110: 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 : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 31 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 14 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 17 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 20 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 10 Detection mask done ! Trying to reset tf kernel 3198925 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5316 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 10605 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'] DEBUG bbox = [480, 2874, 792, 3156] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0015001296997070312 nb_pixel_total : 47863 time to create 1 rle with old method : 0.049153804779052734 length of segment : 286 DEBUG bbox = [1824, 2952, 2136, 3354] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.001779317855834961 nb_pixel_total : 78195 time to create 1 rle with old method : 0.08481025695800781 length of segment : 350 DEBUG bbox = [984, 552, 1170, 726] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00048804283142089844 nb_pixel_total : 19551 time to create 1 rle with old method : 0.022865772247314453 length of segment : 185 DEBUG bbox = [1056, 1680, 1464, 2034] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0014100074768066406 nb_pixel_total : 71167 time to create 1 rle with old method : 0.08088088035583496 length of segment : 610 DEBUG bbox = [906, 1818, 1170, 2058] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.000652313232421875 nb_pixel_total : 33495 time to create 1 rle with old method : 0.03596949577331543 length of segment : 240 DEBUG bbox = [732, 2268, 936, 2394] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003180503845214844 nb_pixel_total : 14121 time to create 1 rle with old method : 0.015366077423095703 length of segment : 155 DEBUG bbox = [1866, 1188, 2022, 1476] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004494190216064453 nb_pixel_total : 20988 time to create 1 rle with old method : 0.02400803565979004 length of segment : 128 DEBUG bbox = [1638, 2010, 1782, 2154] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00034332275390625 nb_pixel_total : 10693 time to create 1 rle with old method : 0.012890815734863281 length of segment : 142 DEBUG bbox = [540, 192, 750, 354] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00032329559326171875 nb_pixel_total : 25091 time to create 1 rle with old method : 0.027209043502807617 length of segment : 201 DEBUG bbox = [534, 2190, 762, 2640] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008950233459472656 nb_pixel_total : 70320 time to create 1 rle with old method : 0.07646369934082031 length of segment : 211 DEBUG bbox = [180, 354, 594, 984] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0028133392333984375 nb_pixel_total : 125213 time to create 1 rle with old method : 0.13439512252807617 length of segment : 383 DEBUG bbox = [828, 1770, 1026, 1938] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0003554821014404297 nb_pixel_total : 22458 time to create 1 rle with old method : 0.025206804275512695 length of segment : 185 DEBUG bbox = [516, 870, 756, 1260] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006515979766845703 nb_pixel_total : 41397 time to create 1 rle with old method : 0.05131077766418457 length of segment : 207 DEBUG bbox = [1344, 2562, 1704, 2970] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0018427371978759766 nb_pixel_total : 101048 time to create 1 rle with old method : 0.10971403121948242 length of segment : 356 DEBUG bbox = [1938, 636, 2160, 1164] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0009434223175048828 nb_pixel_total : 65072 time to create 1 rle with old method : 0.07419800758361816 length of segment : 306 DEBUG bbox = [294, 1782, 462, 1884] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0002048015594482422 nb_pixel_total : 9343 time to create 1 rle with old method : 0.01075887680053711 length of segment : 136 DEBUG bbox = [1422, 546, 1578, 738] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00030922889709472656 nb_pixel_total : 20704 time to create 1 rle with old method : 0.022814273834228516 length of segment : 146 DEBUG bbox = [444, 348, 570, 462] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.00016117095947265625 nb_pixel_total : 8805 time to create 1 rle with old method : 0.009855508804321289 length of segment : 116 DEBUG bbox = [1374, 2784, 1620, 3060] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010485649108886719 nb_pixel_total : 43867 time to create 1 rle with old method : 0.048066139221191406 length of segment : 221 DEBUG bbox = [768, 1230, 960, 1560] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010366439819335938 nb_pixel_total : 33092 time to create 1 rle with old method : 0.036139726638793945 length of segment : 188 DEBUG bbox = [120, 3162, 1158, 3576] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.007871627807617188 nb_pixel_total : 236927 time to create 1 rle with new method : 0.014522552490234375 length of segment : 1039 DEBUG bbox = [1758, 570, 1998, 804] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010006427764892578 nb_pixel_total : 26837 time to create 1 rle with old method : 0.029793500900268555 length of segment : 241 DEBUG bbox = [696, 1740, 918, 1956] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0008432865142822266 nb_pixel_total : 27640 time to create 1 rle with old method : 0.030431747436523438 length of segment : 204 DEBUG bbox = [1914, 870, 2148, 1044] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0007379055023193359 nb_pixel_total : 22763 time to create 1 rle with old method : 0.025480270385742188 length of segment : 223 DEBUG bbox = [912, 1548, 1194, 1902] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0012638568878173828 nb_pixel_total : 56758 time to create 1 rle with old method : 0.06173253059387207 length of segment : 257 DEBUG bbox = [1242, 390, 1398, 600] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0005662441253662109 nb_pixel_total : 21991 time to create 1 rle with old method : 0.02443075180053711 length of segment : 158 DEBUG bbox = [0, 2328, 198, 2526] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0006194114685058594 nb_pixel_total : 29251 time to create 1 rle with old method : 0.0325627326965332 length of segment : 188 DEBUG bbox = [402, 1320, 552, 1488] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0004546642303466797 nb_pixel_total : 13037 time to create 1 rle with old method : 0.015015602111816406 length of segment : 133 DEBUG bbox = [210, 120, 606, 270] DEBUG masks shape = (2160, 3840) time for calcul the mask position with numpy : 0.0010154247283935547 nb_pixel_total : 24283 time to create 1 rle with old method : 0.026801347732543945 length of segment : 335 time spent for convertir_results : 2.6199398040771484 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 7530 save missing photos in datou_result : time spend for datou_step_exec : 38.227715253829956 time spend to save output : 0.5376689434051514 total time spend for step 1 : 38.76538419723511 step2:crop_condition Mon Jan 12 11:41:08 2026 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 : 5 ! batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1768214474_3198387 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641676_0.png', 0, 257, 123, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641673_0.png', 0, 342, 356, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641674_0.png', 0, 230, 240, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641677_0.png', 0, 120, 142, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641675_0.png', 0, 125, 155, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641670_0.png', 0, 274, 286, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641682_0.png', 0, 377, 178, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641681_0.png', 0, 165, 184, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641686_0.png', 0, 187, 146, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641685_0.png', 0, 92, 136, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641683_0.png', 0, 379, 324, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641693_0.png', 0, 166, 222, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641688_0.png', 0, 270, 207, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641690_0.png', 0, 372, 974, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641698_0.png', 0, 138, 316, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641695_0.png', 0, 197, 154, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641697_0.png', 0, 167, 133, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641694_0.png', 0, 314, 257, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214477), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641696_0.png', 0, 196, 184, 0, 1768214477,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.492151975631714 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 ! 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 : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1768214479_3198387 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214480), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641678_0.png', 0, 142, 201, 0, 1768214480,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214480), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641687_0.png', 0, 92, 116, 0, 1768214480,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214480), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641691_0.png', 0, 206, 237, 0, 1768214480,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214480), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641689_0.png', 0, 297, 147, 0, 1768214480,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1335375308990479 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 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/1768214482_3198387 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214482), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641672_0.png', 0, 165, 185, 0, 1768214482,'0',0) 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.528273344039917 we have finished the crop for the class : metal 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1768214484_3198387 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214485), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641680_0.png', 0, 551, 379, 0, 1768214485,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214485), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641679_0.png', 0, 421, 209, 0, 1768214485,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214485), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641684_0.png', 0, 465, 211, 0, 1768214485,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1231536865234375 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 ! 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/1768214487_3198387 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214488), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641671_0.png', 0, 380, 310, 0, 1768214488,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1768214488), 0.0, 0.0, 14, '', 0, 0, '1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641692_0.png', 0, 202, 204, 0, 1768214488,'0',0) 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.7587244510650635 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] Looping around the photos to save general results len do output : 29 /1403502625Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502626Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502627Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502628Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502629Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502630Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502631Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502632Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502633Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502634Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502635Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502636Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502638Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502639Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502640Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502641Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502642Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502643Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502644Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502645Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502646Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502647Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502648Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502650Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502653Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502654Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502655Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502657Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1403502658Didn'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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 92 time used for this insertion : 0.021715164184570312 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.34345316886902 time spend to save output : 0.022803068161010742 total time spend for step 2 : 19.36625623703003 step3:rle_unique_nms_with_priority Mon Jan 12 11:41:28 2026 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 8 nb_hashtags : 3 time to prepare the origin masks : 4.024922132492065 time for calcul the mask position with numpy : 0.5452325344085693 nb_pixel_total : 7998327 time to create 1 rle with new method : 0.9882855415344238 time for calcul the mask position with numpy : 0.0389246940612793 nb_pixel_total : 10693 time to create 1 rle with old method : 0.011928796768188477 time for calcul the mask position with numpy : 0.02768564224243164 nb_pixel_total : 20988 time to create 1 rle with old method : 0.022939682006835938 time for calcul the mask position with numpy : 0.02753138542175293 nb_pixel_total : 14121 time to create 1 rle with old method : 0.016134262084960938 time for calcul the mask position with numpy : 0.02974867820739746 nb_pixel_total : 33495 time to create 1 rle with old method : 0.03696107864379883 time for calcul the mask position with numpy : 0.02686023712158203 nb_pixel_total : 71167 time to create 1 rle with old method : 0.07781839370727539 time for calcul the mask position with numpy : 0.025059938430786133 nb_pixel_total : 19551 time to create 1 rle with old method : 0.026979684829711914 time for calcul the mask position with numpy : 0.028163433074951172 nb_pixel_total : 78195 time to create 1 rle with old method : 0.08996248245239258 time for calcul the mask position with numpy : 0.026737213134765625 nb_pixel_total : 47863 time to create 1 rle with old method : 0.056298255920410156 create new chi : 2.1402900218963623 time to delete rle : 0.02652120590209961 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 6352 TO DO : save crop sub photo not yet done ! save time : 0.4165456295013428 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 2.923916816711426 time for calcul the mask position with numpy : 0.8977324962615967 nb_pixel_total : 8009921 time to create 1 rle with new method : 1.1050806045532227 time for calcul the mask position with numpy : 0.02794623374938965 nb_pixel_total : 41397 time to create 1 rle with old method : 0.04529857635498047 time for calcul the mask position with numpy : 0.025676727294921875 nb_pixel_total : 22458 time to create 1 rle with old method : 0.024689435958862305 time for calcul the mask position with numpy : 0.0275423526763916 nb_pixel_total : 125213 time to create 1 rle with old method : 0.13831233978271484 time for calcul the mask position with numpy : 0.02586841583251953 nb_pixel_total : 70320 time to create 1 rle with old method : 0.07776165008544922 time for calcul the mask position with numpy : 0.025915145874023438 nb_pixel_total : 25091 time to create 1 rle with old method : 0.027141571044921875 create new chi : 2.4986608028411865 time to delete rle : 0.0005562305450439453 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4534 TO DO : save crop sub photo not yet done ! save time : 0.3287675380706787 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 2.6488866806030273 time for calcul the mask position with numpy : 0.7769091129302979 nb_pixel_total : 8089428 time to create 1 rle with new method : 0.980151891708374 time for calcul the mask position with numpy : 0.04063105583190918 nb_pixel_total : 8805 time to create 1 rle with old method : 0.009423494338989258 time for calcul the mask position with numpy : 0.039640188217163086 nb_pixel_total : 20704 time to create 1 rle with old method : 0.022458314895629883 time for calcul the mask position with numpy : 0.03839421272277832 nb_pixel_total : 9343 time to create 1 rle with old method : 0.010654211044311523 time for calcul the mask position with numpy : 0.03239893913269043 nb_pixel_total : 65072 time to create 1 rle with old method : 0.07957959175109863 time for calcul the mask position with numpy : 0.030116796493530273 nb_pixel_total : 101048 time to create 1 rle with old method : 0.10683393478393555 create new chi : 2.2130255699157715 time to delete rle : 0.000614166259765625 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 4280 TO DO : save crop sub photo not yet done ! save time : 0.3033030033111572 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 2.8263509273529053 time for calcul the mask position with numpy : 0.6883907318115234 nb_pixel_total : 7903274 time to create 1 rle with new method : 0.801356315612793 time for calcul the mask position with numpy : 0.042154550552368164 nb_pixel_total : 22763 time to create 1 rle with old method : 0.02388310432434082 time for calcul the mask position with numpy : 0.03942561149597168 nb_pixel_total : 27640 time to create 1 rle with old method : 0.032036781311035156 time for calcul the mask position with numpy : 0.02526259422302246 nb_pixel_total : 26837 time to create 1 rle with old method : 0.028508663177490234 time for calcul the mask position with numpy : 0.028171062469482422 nb_pixel_total : 236927 time to create 1 rle with new method : 1.1316101551055908 time for calcul the mask position with numpy : 0.025369644165039062 nb_pixel_total : 33092 time to create 1 rle with old method : 0.03509116172790527 time for calcul the mask position with numpy : 0.02847886085510254 nb_pixel_total : 43867 time to create 1 rle with old method : 0.05912375450134277 create new chi : 3.0628910064697266 time to delete rle : 0.0010101795196533203 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 6392 TO DO : save crop sub photo not yet done ! save time : 0.4161207675933838 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 2.22404146194458 time for calcul the mask position with numpy : 0.6825976371765137 nb_pixel_total : 8149080 time to create 1 rle with new method : 0.6575536727905273 time for calcul the mask position with numpy : 0.02774357795715332 nb_pixel_total : 24283 time to create 1 rle with old method : 0.025701522827148438 time for calcul the mask position with numpy : 0.027024269104003906 nb_pixel_total : 13037 time to create 1 rle with old method : 0.013916492462158203 time for calcul the mask position with numpy : 0.039644479751586914 nb_pixel_total : 29251 time to create 1 rle with old method : 0.03106212615966797 time for calcul the mask position with numpy : 0.03979635238647461 nb_pixel_total : 21991 time to create 1 rle with old method : 0.027833938598632812 time for calcul the mask position with numpy : 0.040744781494140625 nb_pixel_total : 56758 time to create 1 rle with old method : 0.06015920639038086 create new chi : 1.7185306549072266 time to delete rle : 0.0006024837493896484 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4302 TO DO : save crop sub photo not yet done ! save time : 0.3053159713745117 map_output_result : {1403501227: (0.0, 'Should be the crop_list due to order', 0), 1403501226: (0.0, 'Should be the crop_list due to order', 0), 1403501215: (0.0, 'Should be the crop_list due to order', 0), 1403501172: (0.0, 'Should be the crop_list due to order', 0), 1403501170: (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 [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] Looping around the photos to save general results len do output : 5 /1403501227.Didn't retrieve data . /1403501226.Didn't retrieve data . /1403501215.Didn't retrieve data . /1403501172.Didn't retrieve data . /1403501170.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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013883352279663086 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.92915964126587 time spend to save output : 0.014175891876220703 total time spend for step 3 : 28.94333553314209 step4:ventilate_hashtags_in_portfolio Mon Jan 12 11:41:57 2026 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 : 30091324 get user id for portfolio 30091324 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`=30091324 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre','pehd','metal','pet_clair','papier','pet_fonce','mal_croppe','background','environnement','carton')) 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`=30091324 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre','pehd','metal','pet_clair','papier','pet_fonce','mal_croppe','background','environnement','carton')) 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`=30091324 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre','pehd','metal','pet_clair','papier','pet_fonce','mal_croppe','background','environnement','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30091407,30091408,30091409,30091410,30091411,30091412,30091413,30091414,30091415,30091416,30091417?tags=flou,autre,pehd,metal,pet_clair,papier,pet_fonce,mal_croppe,background,environnement,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] Looping around the photos to save general results len do output : 1 /30091324. 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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015706300735473633 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9651501178741455 time spend to save output : 0.01591944694519043 total time spend for step 4 : 1.981069564819336 step5:final Mon Jan 12 11:41:59 2026 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 : {1403501227: ('0.03187620563271606',), 1403501226: ('0.03187620563271606',), 1403501215: ('0.03187620563271606',), 1403501172: ('0.03187620563271606',), 1403501170: ('0.03187620563271606',)} new output for save of step final : {1403501227: ('0.03187620563271606',), 1403501226: ('0.03187620563271606',), 1403501215: ('0.03187620563271606',), 1403501172: ('0.03187620563271606',), 1403501170: ('0.03187620563271606',)} [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] Looping around the photos to save general results len do output : 5 /1403501227.Didn't retrieve data . /1403501226.Didn't retrieve data . /1403501215.Didn't retrieve data . /1403501172.Didn't retrieve data . /1403501170.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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013751745223999023 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14264178276062012 time spend to save output : 0.014110088348388672 total time spend for step 5 : 0.1567518711090088 step6:blur_detection Mon Jan 12 11:41:59 2026 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/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c.jpg resize: (2160, 3840) 1403501227 -7.126546425660785 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a.jpg resize: (2160, 3840) 1403501226 -7.002809489394203 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5.jpg resize: (2160, 3840) 1403501215 -7.071579385146496 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa.jpg resize: (2160, 3840) 1403501172 -6.984662286591061 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061.jpg resize: (2160, 3840) 1403501170 -7.005672979930157 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641676_0.png resize: (123, 257) 1403502625 -4.1444950641976295 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641673_0.png resize: (356, 342) 1403502626 -4.519630476839961 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641674_0.png resize: (240, 230) 1403502627 -3.835901378781835 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641677_0.png resize: (142, 120) 1403502628 -3.520814258309214 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641675_0.png resize: (155, 125) 1403502629 -1.5625941911100383 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641670_0.png resize: (286, 274) 1403502630 -2.8082255815429313 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641682_0.png resize: (178, 377) 1403502631 -3.868596789124942 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641681_0.png resize: (184, 165) 1403502632 -3.027571551938406 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641686_0.png resize: (146, 187) 1403502633 -3.7545117375518666 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641685_0.png resize: (136, 92) 1403502634 -3.1928083095830644 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641683_0.png resize: (324, 379) 1403502635 -3.791920997722438 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641693_0.png resize: (222, 166) 1403502636 -4.580026235579541 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641688_0.png resize: (207, 270) 1403502638 -4.557837681004679 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641690_0.png resize: (974, 372) 1403502639 -3.0653310613766753 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641698_0.png resize: (316, 138) 1403502640 -3.019747326256875 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641695_0.png resize: (154, 197) 1403502641 -4.634852812751613 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641697_0.png resize: (133, 167) 1403502642 -1.2935094221672576 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641694_0.png resize: (257, 314) 1403502643 -2.7491828157739144 treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641696_0.png resize: (184, 196) 1403502644 -0.3571076716750997 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641678_0.png resize: (201, 142) 1403502645 -2.585422572535103 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641687_0.png resize: (116, 92) 1403502646 -3.2246985590169337 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641691_0.png resize: (237, 206) 1403502647 -3.759978706115178 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641689_0.png resize: (147, 297) 1403502648 -3.248155174801873 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641672_0.png resize: (185, 165) 1403502650 -4.382952376288065 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641680_0.png resize: (379, 551) 1403502653 -2.422019445042764 treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641679_0.png resize: (209, 421) 1403502654 -3.854177964409033 treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641684_0.png resize: (211, 465) 1403502655 -4.654470521023335 treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641671_0.png resize: (310, 380) 1403502657 -3.8173014910119623 treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641692_0.png resize: (204, 202) 1403502658 -4.198168017817997 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 : 34 time used for this insertion : 0.016067981719970703 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.0160524845123291 save missing photos in datou_result : time spend for datou_step_exec : 20.233712673187256 time spend to save output : 0.03797292709350586 total time spend for step 6 : 20.27168560028076 step7:brightness Mon Jan 12 11:42:19 2026 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/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c.jpg treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a.jpg treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5.jpg treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa.jpg treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061.jpg treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641676_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641673_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641674_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641677_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641675_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641670_0.png treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641682_0.png treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641681_0.png treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641686_0.png treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641685_0.png treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641683_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641693_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641688_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641690_0.png treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641698_0.png treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641695_0.png treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641697_0.png treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641694_0.png treat image : temp/1768214429_3198387_1403501170_8e7e0b330bea9667e7d4e97cd67dd061_rle_crop_4097641696_0.png treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641678_0.png treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641687_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641691_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641689_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641672_0.png treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641680_0.png treat image : temp/1768214429_3198387_1403501226_5ddfc02d6039669c703088ad6f7ae13a_rle_crop_4097641679_0.png treat image : temp/1768214429_3198387_1403501215_98a4d80d61df9241fdd57e268440dfb5_rle_crop_4097641684_0.png treat image : temp/1768214429_3198387_1403501227_92af6ec7fd948709e0ed23700036b01c_rle_crop_4097641671_0.png treat image : temp/1768214429_3198387_1403501172_4dc47900a0e4c8c07506f97b26f932aa_rle_crop_4097641692_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 : 34 time used for this insertion : 0.020831823348999023 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 34 time used for this insertion : 0.014863729476928711 save missing photos in datou_result : time spend for datou_step_exec : 5.025151252746582 time spend to save output : 0.04133248329162598 total time spend for step 7 : 5.066483736038208 step8:velours_tree Mon Jan 12 11:42:24 2026 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.17016959190368652 time spend to save output : 8.749961853027344e-05 total time spend for step 8 : 0.1702570915222168 step9:send_mail_cod Mon Jan 12 11:42:24 2026 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_P30091324_12-01-2026_11_42_24.pdf 30091407 imagette300914071768214544 30091408 change filename to text .change filename to text .imagette300914081768214544 30091409 imagette300914091768214545 30091410 change filename to text .imagette300914101768214545 30091411 change filename to text .change filename to text .change filename to text .imagette300914111768214545 30091412 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 .imagette300914121768214545 30091413 imagette300914131768214547 30091414 imagette300914141768214547 30091415 imagette300914151768214547 30091417 change filename to text .change filename to text .change filename to text .change filename to text .imagette300914171768214547 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30091324 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30091407,30091408,30091409,30091410,30091411,30091412,30091413,30091414,30091415,30091416,30091417?tags=flou,autre,pehd,metal,pet_clair,papier,pet_fonce,mal_croppe,background,environnement,carton your option no_mail is active, we will not send the real mail to your client args[1403501227] : ((1403501227, -7.126546425660785, 492609224), (1403501227, 0.7949213927424541, 2107752395), '0.03187620563271606') We are sending mail with results at report@fotonower.com args[1403501226] : ((1403501226, -7.002809489394203, 492609224), (1403501226, 0.8113472246516479, 2107752395), '0.03187620563271606') We are sending mail with results at report@fotonower.com args[1403501215] : ((1403501215, -7.071579385146496, 492609224), (1403501215, 0.7333396376486049, 2107752395), '0.03187620563271606') We are sending mail with results at report@fotonower.com args[1403501172] : ((1403501172, -6.984662286591061, 492609224), (1403501172, 0.695921957072965, 2107752395), '0.03187620563271606') We are sending mail with results at report@fotonower.com args[1403501170] : ((1403501170, -7.005672979930157, 492609224), (1403501170, 1.0239986820570017, 2107752395), '0.03187620563271606') We are sending mail with results at report@fotonower.com refus_total : 0.03187620563271606 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30091324 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_P30091324_12-01-2026_11_42_24.pdf results_Auto_P30091324_12-01-2026_11_42_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30091324_12-01-2026_11_42_24.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','30091324','results_Auto_P30091324_12-01-2026_11_42_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30091324_12-01-2026_11_42_24.pdf','pdf','','0.35','0.03187620563271606') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] 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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.014813661575317383 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.506532430648804 time spend to save output : 0.015103578567504883 total time spend for step 9 : 4.521636009216309 step10:split_time_score Mon Jan 12 11:42:29 2026 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'}] (('11', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 12012026 30091324 Nombre de photos uploadées : 5 / 23040 (0%) 12012026 30091324 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 12012026 30091324 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.9788742065429688e-05 ????? elapsed_time : fill_and_build_computed_from_old_data 0.00042438507080078125 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2579786777496338 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.03716540222301488 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30090575_12-01-2026_11_08_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30090575 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=30090575 AND mptpi.`type`=3726 To do Qualite : 0.03407844745125184 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30090235_12-01-2026_10_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30090235 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=30090235 AND mptpi.`type`=3726 To do Qualite : 0.03970347315771708 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30090236_12-01-2026_10_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30090236 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=30090236 AND mptpi.`type`=3726 To do Qualite : 0.07820524691358025 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30090237_12-01-2026_10_14_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30090237 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`=30090237 AND mptpi.`type`=3594 To do Qualite : 0.03187620563271606 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30091324_12-01-2026_11_42_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30091324 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`=30091324 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'12012026': {'nb_upload': 5, '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 [1403501227, 1403501226, 1403501215, 1403501172, 1403501170] Looping around the photos to save general results len do output : 1 /30091324Didn'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, '4328976') ('3318', '30091324', '1403501227', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501226', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501215', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501172', None, None, None, None, None, '4328976') ('3318', None, None, None, None, None, None, None, '4328976') ('3318', '30091324', '1403501170', None, None, None, None, None, '4328976') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.014301538467407227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8389344215393066 time spend to save output : 0.014507770538330078 total time spend for step 10 : 0.8534421920776367 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 54.96user 52.43system 2:05.60elapsed 85%CPU (0avgtext+0avgdata 3717484maxresident)k 2000744inputs+40568outputs (7226major+5545515minor)pagefaults 0swaps