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 : 3163093 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: [] Date 2026-03-01 02:40:29.225316 Current got : datou_id : 3318, datou_cur_ids : ['4354886'] with mtr_portfolio_ids : ['30579608'] and first list_photo_ids : [] new path : /proc/3163093/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.2997820377349854 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 Sun Mar 1 02: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 : 10996 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2026-03-01 02:40:33.099514: 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-03-01 02:40:33.126410: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2026-03-01 02:40:33.128406: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0e6c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2026-03-01 02:40:33.128451: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2026-03-01 02:40:33.131912: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2026-03-01 02:40:33.414946: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x42c8b0c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2026-03-01 02:40:33.414991: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2026-03-01 02:40:33.416299: 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-03-01 02:40:33.416666: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-01 02:40:33.423553: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-01 02:40:33.425594: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-01 02:40:33.425944: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-01 02:40:33.428406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-01 02:40:33.429648: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-01 02:40:33.433863: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-01 02:40:33.435323: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-01 02:40:33.435379: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-01 02:40:33.436131: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-01 02:40:33.436145: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-01 02:40:33.436153: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-01 02:40:33.437439: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10191 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-03-01 02:40:33.676753: 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-03-01 02:40:33.676841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-01 02:40:33.676864: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-01 02:40:33.676886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-01 02:40:33.676906: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-01 02:40:33.676926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-01 02:40:33.676946: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-01 02:40:33.676967: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-01 02:40:33.678563: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-01 02:40:33.679989: 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-03-01 02:40:33.680026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2026-03-01 02:40:33.680047: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-01 02:40:33.680066: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2026-03-01 02:40:33.680086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2026-03-01 02:40:33.680105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2026-03-01 02:40:33.680124: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2026-03-01 02:40:33.680144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2026-03-01 02:40:33.681711: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2026-03-01 02:40:33.681748: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2026-03-01 02:40:33.681759: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2026-03-01 02:40:33.681769: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2026-03-01 02:40:33.683408: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10191 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 : [] file manque in s3 : ['mask_model.h5'] 2026-03-01 02:40:41.929131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2026-03-01 02:40:42.104607: 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 list_images length : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 Detection mask done ! Trying to reset tf kernel 3163344 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4905 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 10194 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 = [123, 1290, 318, 1437] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004227161407470703 nb_pixel_total : 14955 time to create 1 rle with old method : 0.0169525146484375 length of segment : 185 DEBUG bbox = [438, 1161, 624, 1329] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004775524139404297 nb_pixel_total : 23500 time to create 1 rle with old method : 0.027288198471069336 length of segment : 247 DEBUG bbox = [903, 918, 975, 1074] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017595291137695312 nb_pixel_total : 4813 time to create 1 rle with old method : 0.005880594253540039 length of segment : 54 DEBUG bbox = [885, 402, 996, 525] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 9458 time to create 1 rle with old method : 0.010960817337036133 length of segment : 105 DEBUG bbox = [99, 1104, 273, 1206] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020074844360351562 nb_pixel_total : 13138 time to create 1 rle with old method : 0.015380144119262695 length of segment : 172 DEBUG bbox = [288, 1080, 411, 1140] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.393692016601562e-05 nb_pixel_total : 3480 time to create 1 rle with old method : 0.0041348934173583984 length of segment : 113 DEBUG bbox = [915, 1095, 1080, 1320] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00033593177795410156 nb_pixel_total : 20044 time to create 1 rle with old method : 0.023422956466674805 length of segment : 156 DEBUG bbox = [261, 1338, 426, 1413] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001423358917236328 nb_pixel_total : 6856 time to create 1 rle with old method : 0.007961750030517578 length of segment : 157 DEBUG bbox = [789, 654, 1080, 1407] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0019118785858154297 nb_pixel_total : 127646 time to create 1 rle with old method : 0.14614653587341309 length of segment : 308 DEBUG bbox = [984, 366, 1071, 528] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 10587 time to create 1 rle with old method : 0.012510061264038086 length of segment : 139 DEBUG bbox = [42, 1335, 258, 1428] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002543926239013672 nb_pixel_total : 13745 time to create 1 rle with old method : 0.01636219024658203 length of segment : 198 DEBUG bbox = [771, 711, 1023, 978] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005536079406738281 nb_pixel_total : 29831 time to create 1 rle with old method : 0.03465008735656738 length of segment : 254 DEBUG bbox = [858, 1404, 1029, 1614] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003829002380371094 nb_pixel_total : 21599 time to create 1 rle with old method : 0.036148786544799805 length of segment : 162 DEBUG bbox = [897, 816, 1077, 957] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022673606872558594 nb_pixel_total : 11090 time to create 1 rle with old method : 0.012653350830078125 length of segment : 255 DEBUG bbox = [897, 747, 1080, 867] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00025844573974609375 nb_pixel_total : 11796 time to create 1 rle with old method : 0.013630390167236328 length of segment : 193 DEBUG bbox = [456, 1293, 570, 1482] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 9232 time to create 1 rle with old method : 0.012120485305786133 length of segment : 76 DEBUG bbox = [825, 729, 1080, 1176] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0008454322814941406 nb_pixel_total : 61223 time to create 1 rle with old method : 0.07077908515930176 length of segment : 350 DEBUG bbox = [6, 1269, 114, 1416] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017762184143066406 nb_pixel_total : 9917 time to create 1 rle with old method : 0.011702299118041992 length of segment : 105 DEBUG bbox = [852, 870, 909, 945] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.43865966796875e-05 nb_pixel_total : 2799 time to create 1 rle with old method : 0.0035867691040039062 length of segment : 53 DEBUG bbox = [810, 672, 903, 759] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.465217590332031e-05 nb_pixel_total : 4629 time to create 1 rle with old method : 0.0056934356689453125 length of segment : 83 DEBUG bbox = [876, 1164, 1062, 1374] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003502368927001953 nb_pixel_total : 26694 time to create 1 rle with old method : 0.03129172325134277 length of segment : 186 DEBUG bbox = [51, 954, 375, 1110] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004608631134033203 nb_pixel_total : 29951 time to create 1 rle with old method : 0.03461408615112305 length of segment : 286 DEBUG bbox = [816, 789, 891, 861] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.225440979003906e-05 nb_pixel_total : 3548 time to create 1 rle with old method : 0.0043370723724365234 length of segment : 68 DEBUG bbox = [918, 906, 1011, 1023] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011491775512695312 nb_pixel_total : 5863 time to create 1 rle with old method : 0.007113456726074219 length of segment : 88 DEBUG bbox = [963, 666, 1074, 846] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00019073486328125 nb_pixel_total : 13412 time to create 1 rle with old method : 0.01570439338684082 length of segment : 129 DEBUG bbox = [945, 417, 1041, 537] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012636184692382812 nb_pixel_total : 7763 time to create 1 rle with old method : 0.009347915649414062 length of segment : 88 DEBUG bbox = [684, 819, 945, 1080] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004971027374267578 nb_pixel_total : 34168 time to create 1 rle with old method : 0.0387418270111084 length of segment : 284 DEBUG bbox = [882, 348, 1074, 552] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002913475036621094 nb_pixel_total : 11730 time to create 1 rle with old method : 0.014105796813964844 length of segment : 211 DEBUG bbox = [891, 753, 1002, 912] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 8010 time to create 1 rle with old method : 0.009636640548706055 length of segment : 128 time spent for convertir_results : 1.6224205493927002 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 : 4833 save missing photos in datou_result : time spend for datou_step_exec : 22.300524950027466 time spend to save output : 0.37334513664245605 total time spend for step 1 : 22.673870086669922 step2:crop_condition Sun Mar 1 02:40:53 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 : 8 ! 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 ! 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 : 23 About to insert : list_path_to_insert length 23 new photo from crops ! About to upload 23 photos upload in portfolio : 3736932 init cache_photo without model_param we have 23 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772329255_3163093 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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037581_0.png', 0, 147, 53, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037580_0.png', 0, 168, 185, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037579_0.png', 0, 125, 185, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747392_a1ccca4791a7d8bc74932a9d637545ea_rle_crop_4147037584_0.png', 0, 52, 113, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037588_0.png', 0, 161, 83, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037587_0.png', 0, 681, 274, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037589_0.png', 0, 84, 190, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037586_0.png', 0, 61, 157, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037590_0.png', 0, 217, 218, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037598_0.png', 0, 78, 83, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037595_0.png', 0, 394, 201, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037593_0.png', 0, 99, 165, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037592_0.png', 0, 136, 151, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037597_0.png', 0, 75, 51, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037599_0.png', 0, 192, 185, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037596_0.png', 0, 144, 103, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747373_6e50fca2c96e4775ea5ccde5116f2baf_rle_crop_4147037601_0.png', 0, 70, 68, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037606_0.png', 0, 188, 165, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037604_0.png', 0, 117, 85, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037603_0.png', 0, 166, 109, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037607_0.png', 0, 150, 97, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037605_0.png', 0, 245, 232, 0, 1772329259,'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(1772329259), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037602_0.png', 0, 113, 82, 0, 1772329259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 23 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.386291265487671 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772329261_3163093 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(1772329262), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037583_0.png', 0, 98, 172, 0, 1772329262,'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(1772329262), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037594_0.png', 0, 151, 76, 0, 1772329262,'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.9640471935272217 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1772329263_3163093 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(1772329263), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037582_0.png', 0, 118, 104, 0, 1772329263,'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(1772329263), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747388_e8eba88beb994e13d4972dc1d0fc1220_rle_crop_4147037585_0.png', 0, 187, 152, 0, 1772329263,'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(1772329263), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037591_0.png', 0, 195, 162, 0, 1772329263,'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.394554615020752 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1772329264_3163093 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(1772329265), 0.0, 0.0, 14, '', 0, 0, '1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037600_0.png', 0, 133, 285, 0, 1772329265,'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 : 1.1480047702789307 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] Looping around the photos to save general results len do output : 29 /1410340054Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340055Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340056Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340057Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340058Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340059Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340060Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340061Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340062Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340063Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340064Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340065Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340066Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340067Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340068Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340069Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340070Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340071Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340072Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340073Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340074Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340075Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340076Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340077Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340078Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340079Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340080Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340081Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1410340091Didn'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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 95 time used for this insertion : 0.022335290908813477 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.139084815979004 time spend to save output : 0.023627519607543945 total time spend for step 2 : 12.162712335586548 step3:rle_unique_nms_with_priority Sun Mar 1 02:41:05 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 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 : 5 nb_hashtags : 3 time to prepare the origin masks : 0.46845483779907227 time for calcul the mask position with numpy : 0.11487770080566406 nb_pixel_total : 2007736 time to create 1 rle with new method : 0.5964581966400146 time for calcul the mask position with numpy : 0.010037422180175781 nb_pixel_total : 13138 time to create 1 rle with old method : 0.014370203018188477 time for calcul the mask position with numpy : 0.006099700927734375 nb_pixel_total : 9458 time to create 1 rle with old method : 0.01010584831237793 time for calcul the mask position with numpy : 0.005931377410888672 nb_pixel_total : 4813 time to create 1 rle with old method : 0.005299806594848633 time for calcul the mask position with numpy : 0.005990743637084961 nb_pixel_total : 23500 time to create 1 rle with old method : 0.025350570678710938 time for calcul the mask position with numpy : 0.006119728088378906 nb_pixel_total : 14955 time to create 1 rle with old method : 0.015885353088378906 create new chi : 0.8270905017852783 time to delete rle : 0.025251150131225586 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 2606 TO DO : save crop sub photo not yet done ! save time : 0.2165372371673584 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06702804565429688 time for calcul the mask position with numpy : 0.07412195205688477 nb_pixel_total : 2070120 time to create 1 rle with new method : 0.34642601013183594 time for calcul the mask position with numpy : 0.005937337875366211 nb_pixel_total : 3480 time to create 1 rle with old method : 0.003805398941040039 create new chi : 0.43050384521484375 time to delete rle : 0.0001850128173828125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1306 TO DO : save crop sub photo not yet done ! save time : 0.12591075897216797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03295564651489258 time for calcul the mask position with numpy : 0.0180661678314209 nb_pixel_total : 2053556 time to create 1 rle with new method : 0.03143000602722168 time for calcul the mask position with numpy : 0.005939960479736328 nb_pixel_total : 20044 time to create 1 rle with old method : 0.022180795669555664 create new chi : 0.07782912254333496 time to delete rle : 0.0002014636993408203 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1392 TO DO : save crop sub photo not yet done ! save time : 0.1327507495880127 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.44452548027038574 time for calcul the mask position with numpy : 0.0889883041381836 nb_pixel_total : 1914766 time to create 1 rle with new method : 0.11784100532531738 time for calcul the mask position with numpy : 0.0065577030181884766 nb_pixel_total : 13745 time to create 1 rle with old method : 0.015404701232910156 time for calcul the mask position with numpy : 0.006338596343994141 nb_pixel_total : 10587 time to create 1 rle with old method : 0.011632442474365234 time for calcul the mask position with numpy : 0.006964445114135742 nb_pixel_total : 127646 time to create 1 rle with old method : 0.14255380630493164 time for calcul the mask position with numpy : 0.006489276885986328 nb_pixel_total : 6856 time to create 1 rle with old method : 0.007669687271118164 create new chi : 0.4218404293060303 time to delete rle : 0.00047326087951660156 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 2684 TO DO : save crop sub photo not yet done ! save time : 0.20691967010498047 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.22629451751708984 time for calcul the mask position with numpy : 0.08381319046020508 nb_pixel_total : 2022170 time to create 1 rle with new method : 0.10404491424560547 time for calcul the mask position with numpy : 0.006330728530883789 nb_pixel_total : 21599 time to create 1 rle with old method : 0.024095773696899414 time for calcul the mask position with numpy : 0.006234169006347656 nb_pixel_total : 29831 time to create 1 rle with old method : 0.03243088722229004 create new chi : 0.2661452293395996 time to delete rle : 0.0003082752227783203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1912 TO DO : save crop sub photo not yet done ! save time : 0.15285301208496094 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 0.3956573009490967 time for calcul the mask position with numpy : 0.07489824295043945 nb_pixel_total : 1928417 time to create 1 rle with new method : 0.19042730331420898 time for calcul the mask position with numpy : 0.006337881088256836 nb_pixel_total : 29951 time to create 1 rle with old method : 0.033010244369506836 time for calcul the mask position with numpy : 0.005868196487426758 nb_pixel_total : 26694 time to create 1 rle with old method : 0.028202056884765625 time for calcul the mask position with numpy : 0.005780696868896484 nb_pixel_total : 4629 time to create 1 rle with old method : 0.005104541778564453 time for calcul the mask position with numpy : 0.005708932876586914 nb_pixel_total : 2799 time to create 1 rle with old method : 0.0035376548767089844 time for calcul the mask position with numpy : 0.0065882205963134766 nb_pixel_total : 9917 time to create 1 rle with old method : 0.011142492294311523 time for calcul the mask position with numpy : 0.006401538848876953 nb_pixel_total : 40023 time to create 1 rle with old method : 0.04586291313171387 time for calcul the mask position with numpy : 0.006137371063232422 nb_pixel_total : 9232 time to create 1 rle with old method : 0.010093927383422852 time for calcul the mask position with numpy : 0.006351470947265625 nb_pixel_total : 10848 time to create 1 rle with old method : 0.012043952941894531 time for calcul the mask position with numpy : 0.006326436996459961 nb_pixel_total : 11090 time to create 1 rle with old method : 0.012423515319824219 create new chi : 0.49244260787963867 time to delete rle : 0.0005025863647460938 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++Number RLEs to save : 3981 TO DO : save crop sub photo not yet done ! save time : 0.2874119281768799 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.032331228256225586 time for calcul the mask position with numpy : 0.01834702491760254 nb_pixel_total : 2070052 time to create 1 rle with new method : 0.02967095375061035 time for calcul the mask position with numpy : 0.006129026412963867 nb_pixel_total : 3548 time to create 1 rle with old method : 0.0039517879486083984 create new chi : 0.05842900276184082 time to delete rle : 0.0002129077911376953 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1216 TO DO : save crop sub photo not yet done ! save time : 0.11857962608337402 nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.3316984176635742 time for calcul the mask position with numpy : 0.10085010528564453 nb_pixel_total : 1999593 time to create 1 rle with new method : 0.14774465560913086 time for calcul the mask position with numpy : 0.0062847137451171875 nb_pixel_total : 8010 time to create 1 rle with old method : 0.008990049362182617 time for calcul the mask position with numpy : 0.006048440933227539 nb_pixel_total : 4791 time to create 1 rle with old method : 0.005449771881103516 time for calcul the mask position with numpy : 0.006213665008544922 nb_pixel_total : 34168 time to create 1 rle with old method : 0.03911328315734863 time for calcul the mask position with numpy : 0.006881237030029297 nb_pixel_total : 7763 time to create 1 rle with old method : 0.008833646774291992 time for calcul the mask position with numpy : 0.005888700485229492 nb_pixel_total : 13412 time to create 1 rle with old method : 0.015157222747802734 time for calcul the mask position with numpy : 0.0058858394622802734 nb_pixel_total : 5863 time to create 1 rle with old method : 0.006433248519897461 create new chi : 0.38039636611938477 time to delete rle : 0.0003719329833984375 batch 1 Loaded 13 chid ids of type : 3594 +++++++++Number RLEs to save : 2817 TO DO : save crop sub photo not yet done ! save time : 0.22121405601501465 map_output_result : {1389747432: (0.0, 'Should be the crop_list due to order', 0), 1389747392: (0.0, 'Should be the crop_list due to order', 0), 1389747388: (0.0, 'Should be the crop_list due to order', 0), 1389747383: (0.0, 'Should be the crop_list due to order', 0), 1389747380: (0.0, 'Should be the crop_list due to order', 0), 1389747377: (0.0, 'Should be the crop_list due to order', 0), 1389747373: (0.0, 'Should be the crop_list due to order', 0), 1389747363: (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 [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] Looping around the photos to save general results len do output : 8 /1389747432.Didn't retrieve data . /1389747392.Didn't retrieve data . /1389747388.Didn't retrieve data . /1389747383.Didn't retrieve data . /1389747380.Didn't retrieve data . /1389747377.Didn't retrieve data . /1389747373.Didn't retrieve data . /1389747363.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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.012940645217895508 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.749093770980835 time spend to save output : 0.013306856155395508 total time spend for step 3 : 6.7624006271362305 step4:ventilate_hashtags_in_portfolio Sun Mar 1 02:41:12 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 : 30579608 get user id for portfolio 30579608 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`=30579608 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','flou','pehd','papier','metal','autre','pet_fonce','mal_croppe','background','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`=30579608 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','flou','pehd','papier','metal','autre','pet_fonce','mal_croppe','background','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`=30579608 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','pet_clair','flou','pehd','papier','metal','autre','pet_fonce','mal_croppe','background','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/30579728,30579729,30579730,30579731,30579732,30579733,30579734,30579735,30579736,30579737,30579738?tags=environnement,pet_clair,flou,pehd,papier,metal,autre,pet_fonce,mal_croppe,background,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] Looping around the photos to save general results len do output : 1 /30579608. 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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.018454790115356445 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6609089374542236 time spend to save output : 0.018705129623413086 total time spend for step 4 : 1.6796140670776367 step5:final Sun Mar 1 02:41:13 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 : {1389747432: ('0.031490523726851856',), 1389747392: ('0.031490523726851856',), 1389747388: ('0.031490523726851856',), 1389747383: ('0.031490523726851856',), 1389747380: ('0.031490523726851856',), 1389747377: ('0.031490523726851856',), 1389747373: ('0.031490523726851856',), 1389747363: ('0.031490523726851856',)} new output for save of step final : {1389747432: ('0.031490523726851856',), 1389747392: ('0.031490523726851856',), 1389747388: ('0.031490523726851856',), 1389747383: ('0.031490523726851856',), 1389747380: ('0.031490523726851856',), 1389747377: ('0.031490523726851856',), 1389747373: ('0.031490523726851856',), 1389747363: ('0.031490523726851856',)} [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] Looping around the photos to save general results len do output : 8 /1389747432.Didn't retrieve data . /1389747392.Didn't retrieve data . /1389747388.Didn't retrieve data . /1389747383.Didn't retrieve data . /1389747380.Didn't retrieve data . /1389747377.Didn't retrieve data . /1389747373.Didn't retrieve data . /1389747363.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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016273021697998047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11607646942138672 time spend to save output : 0.016720056533813477 total time spend for step 5 : 0.1327965259552002 step6:blur_detection Sun Mar 1 02:41:14 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/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa.jpg resize: (1080, 1920) 1389747432 0.17859317699670457 treat image : temp/1772329229_3163093_1389747392_a1ccca4791a7d8bc74932a9d637545ea.jpg resize: (1080, 1920) 1389747392 0.4625698523085723 treat image : temp/1772329229_3163093_1389747388_e8eba88beb994e13d4972dc1d0fc1220.jpg resize: (1080, 1920) 1389747388 0.7506444957785035 treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b.jpg resize: (1080, 1920) 1389747383 1.0908786912435697 treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f.jpg resize: (1080, 1920) 1389747380 0.9482265701986643 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e.jpg resize: (1080, 1920) 1389747377 -0.02474549092679707 treat image : temp/1772329229_3163093_1389747373_6e50fca2c96e4775ea5ccde5116f2baf.jpg resize: (1080, 1920) 1389747373 0.5907180161156035 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b.jpg resize: (1080, 1920) 1389747363 1.6386375362481664 treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037581_0.png resize: (53, 147) 1410340054 -0.8614717510501967 treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037580_0.png resize: (185, 168) 1410340055 -0.9090105636189469 treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037579_0.png resize: (185, 125) 1410340056 -1.391342712193335 treat image : temp/1772329229_3163093_1389747392_a1ccca4791a7d8bc74932a9d637545ea_rle_crop_4147037584_0.png resize: (113, 52) 1410340057 -1.867859423335927 treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037588_0.png resize: (83, 161) 1410340058 0.27965203862924537 treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037587_0.png resize: (274, 681) 1410340059 -1.6964110813747353 treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037589_0.png resize: (190, 84) 1410340060 3.431776294318275 treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037586_0.png resize: (157, 61) 1410340061 -0.8343065459894968 treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037590_0.png resize: (218, 217) 1410340062 -1.272632483998892 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037598_0.png resize: (83, 78) 1410340063 1.3426981737595365 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037595_0.png resize: (201, 394) 1410340064 -2.009419197692767 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037593_0.png resize: (165, 99) 1410340065 -0.06838016570744067 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037592_0.png resize: (151, 136) 1410340066 -1.8023215902786458 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037597_0.png resize: (51, 75) 1410340067 -0.11433448819000114 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037599_0.png resize: (185, 192) 1410340068 0.24110413631741753 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037596_0.png resize: (103, 144) 1410340069 -1.1569330699248794 treat image : temp/1772329229_3163093_1389747373_6e50fca2c96e4775ea5ccde5116f2baf_rle_crop_4147037601_0.png resize: (68, 70) 1410340070 -0.10652362437976963 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037606_0.png resize: (165, 188) 1410340071 -1.7163756233321503 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037604_0.png resize: (85, 117) 1410340072 1.5181003876376158 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037603_0.png resize: (109, 166) 1410340073 0.05578015495137905 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037607_0.png resize: (97, 150) 1410340074 -0.8711233635900439 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037605_0.png resize: (232, 245) 1410340075 -1.319240482796473 treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037602_0.png resize: (82, 113) 1410340076 1.0354077651145204 treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037583_0.png resize: (172, 98) 1410340077 -0.3906956743034586 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037594_0.png resize: (76, 151) 1410340078 0.5917122935598466 treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037582_0.png resize: (104, 118) 1410340079 -2.997517570494601 treat image : temp/1772329229_3163093_1389747388_e8eba88beb994e13d4972dc1d0fc1220_rle_crop_4147037585_0.png resize: (152, 187) 1410340080 -0.7061102824592246 treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037591_0.png resize: (162, 195) 1410340081 -1.4344804349076654 treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037600_0.png resize: (285, 133) 1410340091 -0.5537838781839224 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 : 37 time used for this insertion : 0.01747727394104004 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.017635822296142578 save missing photos in datou_result : time spend for datou_step_exec : 6.213883638381958 time spend to save output : 0.03955793380737305 total time spend for step 6 : 6.253441572189331 step7:brightness Sun Mar 1 02:41:20 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/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa.jpg treat image : temp/1772329229_3163093_1389747392_a1ccca4791a7d8bc74932a9d637545ea.jpg treat image : temp/1772329229_3163093_1389747388_e8eba88beb994e13d4972dc1d0fc1220.jpg treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b.jpg treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f.jpg treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e.jpg treat image : temp/1772329229_3163093_1389747373_6e50fca2c96e4775ea5ccde5116f2baf.jpg treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b.jpg treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037581_0.png treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037580_0.png treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037579_0.png treat image : temp/1772329229_3163093_1389747392_a1ccca4791a7d8bc74932a9d637545ea_rle_crop_4147037584_0.png treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037588_0.png treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037587_0.png treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037589_0.png treat image : temp/1772329229_3163093_1389747383_62108657eed09d213698f690db44369b_rle_crop_4147037586_0.png treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037590_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037598_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037595_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037593_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037592_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037597_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037599_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037596_0.png treat image : temp/1772329229_3163093_1389747373_6e50fca2c96e4775ea5ccde5116f2baf_rle_crop_4147037601_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037606_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037604_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037603_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037607_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037605_0.png treat image : temp/1772329229_3163093_1389747363_59e3cca64a25829d27fc35bc49a2aa4b_rle_crop_4147037602_0.png treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037583_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037594_0.png treat image : temp/1772329229_3163093_1389747432_eeb34c0f02acfd0b39d56913b2d815aa_rle_crop_4147037582_0.png treat image : temp/1772329229_3163093_1389747388_e8eba88beb994e13d4972dc1d0fc1220_rle_crop_4147037585_0.png treat image : temp/1772329229_3163093_1389747380_a799c89ba6b15ffb2af13a84260cb70f_rle_crop_4147037591_0.png treat image : temp/1772329229_3163093_1389747377_8d967d408cb4e9fc50223b302a84a77e_rle_crop_4147037600_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 : 37 time used for this insertion : 0.019522666931152344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 37 time used for this insertion : 0.01800060272216797 save missing photos in datou_result : time spend for datou_step_exec : 1.871816635131836 time spend to save output : 0.04265451431274414 total time spend for step 7 : 1.91447114944458 step8:velours_tree Sun Mar 1 02:41:22 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.08658552169799805 time spend to save output : 3.695487976074219e-05 total time spend for step 8 : 0.08662247657775879 step9:send_mail_cod Sun Mar 1 02:41:22 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_P30579608_01-03-2026_02_41_22.pdf 30579729 change filename to text .change filename to text .change filename to text .imagette305797291772329282 30579730 imagette305797301772329282 30579731 imagette305797311772329282 30579732 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette305797321772329282 30579733 imagette305797331772329283 30579734 change filename to text .imagette305797341772329283 30579735 imagette305797351772329284 30579736 imagette305797361772329284 30579737 imagette305797371772329284 30579738 change filename to text .change filename to text .imagette305797381772329284 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30579608 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30579728,30579729,30579730,30579731,30579732,30579733,30579734,30579735,30579736,30579737,30579738?tags=environnement,pet_clair,flou,pehd,papier,metal,autre,pet_fonce,mal_croppe,background,carton your option no_mail is active, we will not send the real mail to your client args[1389747432] : ((1389747432, 0.17859317699670457, 492688767), (1389747432, 0.6825035755092864, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747392] : ((1389747392, 0.4625698523085723, 492688767), (1389747392, 0.7546295910516255, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747388] : ((1389747388, 0.7506444957785035, 492688767), (1389747388, 0.7635538063818921, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747383] : ((1389747383, 1.0908786912435697, 492688767), (1389747383, 0.5046501358270906, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747380] : ((1389747380, 0.9482265701986643, 492688767), (1389747380, 0.5747070348186637, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747377] : ((1389747377, -0.02474549092679707, 492688767), (1389747377, 0.48726536606675713, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747373] : ((1389747373, 0.5907180161156035, 492688767), (1389747373, 0.560378344290997, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com args[1389747363] : ((1389747363, 1.6386375362481664, 492688767), (1389747363, 0.4357106643797291, 2107752395), '0.031490523726851856') We are sending mail with results at report@fotonower.com refus_total : 0.031490523726851856 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=30579608 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_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30579608_01-03-2026_02_41_22.pdf results_Auto_P30579608_01-03-2026_02_41_22.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30579608_01-03-2026_02_41_22.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','30579608','results_Auto_P30579608_01-03-2026_02_41_22.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30579608_01-03-2026_02_41_22.pdf','pdf','','0.15','0.031490523726851856') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] 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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.017790555953979492 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0004312992095947 time spend to save output : 0.0179750919342041 total time spend for step 9 : 3.018406391143799 step10:split_time_score Sun Mar 1 02:41:25 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'}] (('20', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16102025 30579608 Nombre de photos uploadées : 8 / 23040 (0%) 16102025 30579608 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 16102025 30579608 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.00045800209045410156 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20713543891906738 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.16626699942129627 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877917_17-10-2025_13_01_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27877917 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`=27877917 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579579 order by id desc limit 1 Qualite : 0.10820650077160499 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27868451_16-10-2025_13_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27868451 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`=27868451 AND mptpi.`type`=3594 To do Qualite : 0.061227575231481486 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27868453_16-10-2025_12_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27868453 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`=27868453 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579583 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579590 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579596 order by id desc limit 1 Qualite : 0.020004677854938268 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877923_17-10-2025_12_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27877923 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`=27877923 AND mptpi.`type`=3594 To do Qualite : 0.05956004050925926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27877954_17-10-2025_12_31_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27877954 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`=27877954 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579598 order by id desc limit 1 Qualite : 0.031490523726851856 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_b878d1ec389e4877b1a6590d8f2dcede/media.fotonower.com/results_Auto_P30579608_01-03-2026_02_41_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30579608 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`=30579608 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16102025': {'nb_upload': 8, '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 [1389747432, 1389747392, 1389747388, 1389747383, 1389747380, 1389747377, 1389747373, 1389747363] Looping around the photos to save general results len do output : 1 /30579608Didn'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, '4354886') ('3318', '30579608', '1389747432', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747392', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747388', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747383', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747380', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747377', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747373', None, None, None, None, None, '4354886') ('3318', None, None, None, None, None, None, None, '4354886') ('3318', '30579608', '1389747363', None, None, None, None, None, '4354886') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014405250549316406 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.293304204940796 time spend to save output : 0.014608621597290039 total time spend for step 10 : 7.307912826538086 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 27.34user 16.57system 1:06.37elapsed 66%CPU (0avgtext+0avgdata 2792588maxresident)k 503352inputs+11168outputs (41major+1445992minor)pagefaults 0swaps