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 : 4128098 load datou : 3318 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? [(photo_id, hashtag_id, hashtag_type, x0, x1, y0, y1, score, seg_temp, polygons), ...] was removed should we ? chemin de la photo was removed should we ? [ (photo_id_loc, hashtag_id, hashtag_type, x0, x1, y0, y1, score, None), ...] was removed should we ? chemin de la photo was removed should we ? id de la photo (peut être local ou global) was removed should we ? chemin de la photo was removed should we ? (x0, y0, x1, y1) was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) load thcls load THCL from format json or kwargs add thcl : 2847 in CacheModelConfig load pdts add pdt : 5275 in CacheModelConfig Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 3318, datou_cur_ids : ['4134097'] with mtr_portfolio_ids : ['28990080'] and first list_photo_ids : [] new path : /proc/4128098/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.3011603355407715 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Nov 28 10:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-28 10:10:33.285019: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-28 10:10:33.310513: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-28 10:10:33.312694: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8a4c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-28 10:10:33.312740: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-28 10:10:33.316582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-28 10:10:33.629695: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1afd6140 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-28 10:10:33.629746: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-28 10:10:33.631192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 10:10:33.631580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 10:10:33.634554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 10:10:33.637084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 10:10:33.637543: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 10:10:33.640310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 10:10:33.641255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 10:10:33.645315: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 10:10:33.646811: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 10:10:33.646878: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 10:10:33.647648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-28 10:10:33.647663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-28 10:10:33.647671: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-28 10:10:33.648964: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-28 10:10:33.905492: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 10:10:33.905569: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 10:10:33.905589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 10:10:33.905608: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 10:10:33.905625: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 10:10:33.905642: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 10:10:33.905659: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 10:10:33.905677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 10:10:33.907286: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 10:10:33.908595: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-28 10:10:33.908629: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-28 10:10:33.908647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 10:10:33.908664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-28 10:10:33.908680: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-28 10:10:33.908697: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-28 10:10:33.908713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-28 10:10:33.908730: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-28 10:10:33.910313: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-28 10:10:33.910344: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-28 10:10:33.910354: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-28 10:10:33.910363: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-28 10:10:33.912008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-28 10:10:41.707314: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-28 10:10:41.907452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.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: 58.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 0 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 4128695 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 10196 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 = [567, 1221, 636, 1314] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016832351684570312 nb_pixel_total : 3835 time to create 1 rle with old method : 0.00460362434387207 length of segment : 65 DEBUG bbox = [495, 1512, 1080, 1890] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0021419525146484375 nb_pixel_total : 110799 time to create 1 rle with old method : 0.11793351173400879 length of segment : 540 DEBUG bbox = [723, 1230, 828, 1347] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 6917 time to create 1 rle with old method : 0.007876873016357422 length of segment : 92 DEBUG bbox = [780, 504, 888, 651] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001742839813232422 nb_pixel_total : 10469 time to create 1 rle with old method : 0.011901140213012695 length of segment : 100 DEBUG bbox = [882, 1119, 1080, 1521] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0006172657012939453 nb_pixel_total : 41803 time to create 1 rle with old method : 0.0459902286529541 length of segment : 168 DEBUG bbox = [3, 1698, 108, 1833] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00015735626220703125 nb_pixel_total : 9748 time to create 1 rle with old method : 0.010795831680297852 length of segment : 104 DEBUG bbox = [963, 756, 1074, 864] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013375282287597656 nb_pixel_total : 8360 time to create 1 rle with old method : 0.009485244750976562 length of segment : 112 DEBUG bbox = [324, 918, 486, 996] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00016808509826660156 nb_pixel_total : 9064 time to create 1 rle with old method : 0.010512590408325195 length of segment : 159 DEBUG bbox = [339, 1173, 450, 1278] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 7656 time to create 1 rle with old method : 0.008674144744873047 length of segment : 106 DEBUG bbox = [258, 1413, 375, 1680] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002961158752441406 nb_pixel_total : 13625 time to create 1 rle with old method : 0.015757083892822266 length of segment : 94 DEBUG bbox = [288, 1065, 438, 1182] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018787384033203125 nb_pixel_total : 11517 time to create 1 rle with old method : 0.013070821762084961 length of segment : 171 DEBUG bbox = [537, 1518, 1077, 1905] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0013298988342285156 nb_pixel_total : 74492 time to create 1 rle with old method : 0.08001565933227539 length of segment : 361 DEBUG bbox = [0, 0, 1020, 1116] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.013614177703857422 nb_pixel_total : 766956 time to create 1 rle with new method : 0.0269012451171875 length of segment : 1020 DEBUG bbox = [912, 39, 1080, 372] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005438327789306641 nb_pixel_total : 47494 time to create 1 rle with old method : 0.054384708404541016 length of segment : 173 DEBUG bbox = [243, 1650, 393, 1749] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017189979553222656 nb_pixel_total : 8692 time to create 1 rle with old method : 0.010071277618408203 length of segment : 138 DEBUG bbox = [3, 1320, 54, 1404] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.128715515136719e-05 nb_pixel_total : 3127 time to create 1 rle with old method : 0.00440526008605957 length of segment : 52 DEBUG bbox = [831, 1005, 891, 1059] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.104873657226562e-05 nb_pixel_total : 2294 time to create 1 rle with old method : 0.002646923065185547 length of segment : 53 DEBUG bbox = [417, 1812, 540, 1911] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001678466796875 nb_pixel_total : 5609 time to create 1 rle with old method : 0.0066699981689453125 length of segment : 113 DEBUG bbox = [957, 1095, 1059, 1173] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00011944770812988281 nb_pixel_total : 4108 time to create 1 rle with old method : 0.004666328430175781 length of segment : 97 DEBUG bbox = [840, 1296, 885, 1398] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.557868957519531e-05 nb_pixel_total : 3309 time to create 1 rle with old method : 0.003968715667724609 length of segment : 44 DEBUG bbox = [501, 1539, 1080, 1920] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0017504692077636719 nb_pixel_total : 119140 time to create 1 rle with old method : 0.12785649299621582 length of segment : 531 DEBUG bbox = [333, 1173, 441, 1284] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00015115737915039062 nb_pixel_total : 7219 time to create 1 rle with old method : 0.008145332336425781 length of segment : 102 DEBUG bbox = [42, 948, 417, 1119] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0004923343658447266 nb_pixel_total : 27790 time to create 1 rle with old method : 0.03283524513244629 length of segment : 338 DEBUG bbox = [282, 1077, 444, 1182] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018262863159179688 nb_pixel_total : 9256 time to create 1 rle with old method : 0.010365009307861328 length of segment : 147 DEBUG bbox = [531, 1515, 1080, 1890] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0013844966888427734 nb_pixel_total : 89997 time to create 1 rle with old method : 0.10184907913208008 length of segment : 564 DEBUG bbox = [585, 393, 1023, 819] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0028171539306640625 nb_pixel_total : 83379 time to create 1 rle with old method : 0.09779119491577148 length of segment : 353 DEBUG bbox = [351, 1419, 486, 1521] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003190040588378906 nb_pixel_total : 9438 time to create 1 rle with old method : 0.011098384857177734 length of segment : 137 DEBUG bbox = [9, 0, 1074, 984] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.013855695724487305 nb_pixel_total : 648941 time to create 1 rle with new method : 0.0236203670501709 length of segment : 1486 time spent for convertir_results : 2.2585666179656982 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 7420 save missing photos in datou_result : time spend for datou_step_exec : 23.125429153442383 time spend to save output : 0.5207676887512207 total time spend for step 1 : 23.646196842193604 step2:crop_condition Fri Nov 28 10:10:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 28 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764321055_4128098 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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737027_0.png', 0, 106, 92, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737031_0.png', 0, 93, 109, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737033_0.png', 0, 97, 105, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737041_0.png', 0, 48, 53, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737043_0.png', 0, 68, 97, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737044_0.png', 0, 93, 44, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737042_0.png', 0, 95, 110, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737046_0.png', 0, 99, 99, 0, 1764321056,'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(1764321056), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737051_0.png', 0, 99, 134, 0, 1764321056,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.1474697589874268 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764321057_4128098 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(1764321058), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737025_0.png', 0, 92, 65, 0, 1764321058,'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(1764321058), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737032_0.png', 0, 75, 159, 0, 1764321058,'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(1764321058), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737035_0.png', 0, 113, 148, 0, 1764321058,'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(1764321058), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737039_0.png', 0, 92, 138, 0, 1764321058,'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(1764321058), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737048_0.png', 0, 94, 143, 0, 1764321058,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4156553745269775 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764321059_4128098 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(1764321059), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737028_0.png', 0, 142, 100, 0, 1764321059,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5802414417266846 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764321068_4128098 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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737029_0.png', 0, 356, 169, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737026_0.png', 0, 340, 539, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737030_0.png', 0, 133, 104, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737034_0.png', 0, 254, 93, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737037_0.png', 0, 1086, 989, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737036_0.png', 0, 348, 384, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737038_0.png', 0, 331, 160, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737040_0.png', 0, 82, 51, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737045_0.png', 0, 360, 529, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737049_0.png', 0, 354, 499, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737052_0.png', 0, 961, 980, 0, 1764321070,'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(1764321070), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737050_0.png', 0, 362, 352, 0, 1764321070,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.021921396255493 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/1764321071_4128098 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(1764321071), 0.0, 0.0, 14, '', 0, 0, '1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737047_0.png', 0, 116, 338, 0, 1764321071,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7889752388000488 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 [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] Looping around the photos to save general results len do output : 28 /1396588101Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588102Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588103Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588104Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588105Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588106Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588107Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588108Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588109Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588112Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588113Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588114Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588115Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588116Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588117Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588124Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588125Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588128Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588129Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588133Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396588136Didn'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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 94 time used for this insertion : 0.02205204963684082 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.590619564056396 time spend to save output : 0.02350759506225586 total time spend for step 2 : 17.614127159118652 step3:rle_unique_nms_with_priority Fri Nov 28 10:11:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 28 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.7227561473846436 time for calcul the mask position with numpy : 0.052802324295043945 nb_pixel_total : 1899777 time to create 1 rle with new method : 0.28984856605529785 time for calcul the mask position with numpy : 0.0062274932861328125 nb_pixel_total : 41803 time to create 1 rle with old method : 0.045769453048706055 time for calcul the mask position with numpy : 0.007109642028808594 nb_pixel_total : 10469 time to create 1 rle with old method : 0.012530803680419922 time for calcul the mask position with numpy : 0.007005214691162109 nb_pixel_total : 6917 time to create 1 rle with old method : 0.007722377777099609 time for calcul the mask position with numpy : 0.00713348388671875 nb_pixel_total : 110799 time to create 1 rle with old method : 0.12419271469116211 time for calcul the mask position with numpy : 0.0063838958740234375 nb_pixel_total : 3835 time to create 1 rle with old method : 0.004203081130981445 create new chi : 0.5807862281799316 time to delete rle : 0.02641892433166504 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 3010 TO DO : save crop sub photo not yet done ! save time : 0.2502858638763428 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2680356502532959 time for calcul the mask position with numpy : 0.041893720626831055 nb_pixel_total : 2046428 time to create 1 rle with new method : 0.1426546573638916 time for calcul the mask position with numpy : 0.0060956478118896484 nb_pixel_total : 9064 time to create 1 rle with old method : 0.010027408599853516 time for calcul the mask position with numpy : 0.006053447723388672 nb_pixel_total : 8360 time to create 1 rle with old method : 0.009168624877929688 time for calcul the mask position with numpy : 0.006328105926513672 nb_pixel_total : 9748 time to create 1 rle with old method : 0.010863065719604492 create new chi : 0.2398669719696045 time to delete rle : 0.00029778480529785156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1830 TO DO : save crop sub photo not yet done ! save time : 0.1613757610321045 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.04599738121032715 time for calcul the mask position with numpy : 0.05597424507141113 nb_pixel_total : 2040802 time to create 1 rle with new method : 0.18836545944213867 time for calcul the mask position with numpy : 0.006022453308105469 nb_pixel_total : 11517 time to create 1 rle with old method : 0.012422323226928711 time for calcul the mask position with numpy : 0.0061550140380859375 nb_pixel_total : 13625 time to create 1 rle with old method : 0.015508651733398438 time for calcul the mask position with numpy : 0.006163120269775391 nb_pixel_total : 7656 time to create 1 rle with old method : 0.008601903915405273 create new chi : 0.30947136878967285 time to delete rle : 0.0002949237823486328 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1822 TO DO : save crop sub photo not yet done ! save time : 0.1688673496246338 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.05973315238952637 time for calcul the mask position with numpy : 0.03426861763000488 nb_pixel_total : 1232152 time to create 1 rle with new method : 0.1568465232849121 time for calcul the mask position with numpy : 0.01144862174987793 nb_pixel_total : 766956 time to create 1 rle with new method : 0.12651944160461426 time for calcul the mask position with numpy : 0.006513357162475586 nb_pixel_total : 74492 time to create 1 rle with old method : 0.07957839965820312 create new chi : 0.43198370933532715 time to delete rle : 0.00052642822265625 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 3842 TO DO : save crop sub photo not yet done ! save time : 0.2986621856689453 No data in photo_id : 1396583194 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0984489917755127 time for calcul the mask position with numpy : 0.14325976371765137 nb_pixel_total : 2014287 time to create 1 rle with new method : 0.18924880027770996 time for calcul the mask position with numpy : 0.005959510803222656 nb_pixel_total : 3127 time to create 1 rle with old method : 0.0034279823303222656 time for calcul the mask position with numpy : 0.005831480026245117 nb_pixel_total : 8692 time to create 1 rle with old method : 0.009354352951049805 time for calcul the mask position with numpy : 0.006193876266479492 nb_pixel_total : 47494 time to create 1 rle with old method : 0.05104327201843262 create new chi : 0.4239633083343506 time to delete rle : 0.00031948089599609375 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1806 TO DO : save crop sub photo not yet done ! save time : 0.156080961227417 No data in photo_id : 1396583191 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.11094522476196289 time for calcul the mask position with numpy : 0.1481153964996338 nb_pixel_total : 1939140 time to create 1 rle with new method : 0.07404327392578125 time for calcul the mask position with numpy : 0.006703376770019531 nb_pixel_total : 119140 time to create 1 rle with old method : 0.12716913223266602 time for calcul the mask position with numpy : 0.006101846694946289 nb_pixel_total : 3309 time to create 1 rle with old method : 0.003645658493041992 time for calcul the mask position with numpy : 0.005991935729980469 nb_pixel_total : 4108 time to create 1 rle with old method : 0.004520893096923828 time for calcul the mask position with numpy : 0.006581783294677734 nb_pixel_total : 5609 time to create 1 rle with old method : 0.00633549690246582 time for calcul the mask position with numpy : 0.005856037139892578 nb_pixel_total : 2294 time to create 1 rle with old method : 0.0025763511657714844 create new chi : 0.40787506103515625 time to delete rle : 0.000438690185546875 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2756 TO DO : save crop sub photo not yet done ! save time : 0.21654820442199707 nb_obj : 4 nb_hashtags : 4 time to prepare the origin masks : 0.16069269180297852 time for calcul the mask position with numpy : 0.05518603324890137 nb_pixel_total : 1939338 time to create 1 rle with new method : 0.18577337265014648 time for calcul the mask position with numpy : 0.006363630294799805 nb_pixel_total : 89997 time to create 1 rle with old method : 0.09442496299743652 time for calcul the mask position with numpy : 0.006334066390991211 nb_pixel_total : 9256 time to create 1 rle with old method : 0.010347127914428711 time for calcul the mask position with numpy : 0.0064716339111328125 nb_pixel_total : 27790 time to create 1 rle with old method : 0.030812740325927734 time for calcul the mask position with numpy : 0.007735013961791992 nb_pixel_total : 7219 time to create 1 rle with old method : 0.008221626281738281 create new chi : 0.4213697910308838 time to delete rle : 0.00048613548278808594 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3382 TO DO : save crop sub photo not yet done ! save time : 0.27277445793151855 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05052757263183594 time for calcul the mask position with numpy : 0.016944169998168945 nb_pixel_total : 1409258 time to create 1 rle with new method : 0.1594071388244629 time for calcul the mask position with numpy : 0.009453535079956055 nb_pixel_total : 571525 time to create 1 rle with new method : 0.027686595916748047 time for calcul the mask position with numpy : 0.00584101676940918 nb_pixel_total : 9438 time to create 1 rle with old method : 0.009859800338745117 time for calcul the mask position with numpy : 0.007067203521728516 nb_pixel_total : 83379 time to create 1 rle with old method : 0.08924579620361328 create new chi : 0.3261699676513672 time to delete rle : 0.0005974769592285156 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 4761 TO DO : save crop sub photo not yet done ! save time : 0.3350975513458252 map_output_result : {1396583363: (0.0, 'Should be the crop_list due to order', 0), 1396583250: (0.0, 'Should be the crop_list due to order', 0), 1396583247: (0.0, 'Should be the crop_list due to order', 0), 1396583218: (0.0, 'Should be the crop_list due to order', 0), 1396583194: (0.0, 'Should be the crop_list due to order', 0.0), 1396583193: (0.0, 'Should be the crop_list due to order', 0), 1396583191: (0.0, 'Should be the crop_list due to order', 0.0), 1396582948: (0.0, 'Should be the crop_list due to order', 0), 1396582945: (0.0, 'Should be the crop_list due to order', 0), 1396582941: (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 [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] Looping around the photos to save general results len do output : 10 /1396583363.Didn't retrieve data . /1396583250.Didn't retrieve data . /1396583247.Didn't retrieve data . /1396583218.Didn't retrieve data . /1396583194.Didn't retrieve data . /1396583193.Didn't retrieve data . /1396583191.Didn't retrieve data . /1396582948.Didn't retrieve data . /1396582945.Didn't retrieve data . /1396582941.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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.014514446258544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.865299224853516 time spend to save output : 0.014867544174194336 total time spend for step 3 : 6.88016676902771 step4:ventilate_hashtags_in_portfolio Fri Nov 28 10:11:18 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 28990080 get user id for portfolio 28990080 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`=28990080 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','papier','autre','pet_fonce','metal','environnement','background','pehd','flou','mal_croppe')) 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`=28990080 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','papier','autre','pet_fonce','metal','environnement','background','pehd','flou','mal_croppe')) 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`=28990080 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','carton','papier','autre','pet_fonce','metal','environnement','background','pehd','flou','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28990308,28990309,28990310,28990311,28990312,28990313,28990314,28990315,28990316,28990317,28990318?tags=pet_clair,carton,papier,autre,pet_fonce,metal,environnement,background,pehd,flou,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] Looping around the photos to save general results len do output : 1 /28990080. 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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01933002471923828 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9544355869293213 time spend to save output : 0.0197904109954834 total time spend for step 4 : 1.9742259979248047 step5:final Fri Nov 28 10:11:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1396583363: ('0.09971151620370369',), 1396583250: ('0.09971151620370369',), 1396583247: ('0.09971151620370369',), 1396583218: ('0.09971151620370369',), 1396583194: ('0.09971151620370369',), 1396583193: ('0.09971151620370369',), 1396583191: ('0.09971151620370369',), 1396582948: ('0.09971151620370369',), 1396582945: ('0.09971151620370369',), 1396582941: ('0.09971151620370369',)} new output for save of step final : {1396583363: ('0.09971151620370369',), 1396583250: ('0.09971151620370369',), 1396583247: ('0.09971151620370369',), 1396583218: ('0.09971151620370369',), 1396583194: ('0.09971151620370369',), 1396583193: ('0.09971151620370369',), 1396583191: ('0.09971151620370369',), 1396582948: ('0.09971151620370369',), 1396582945: ('0.09971151620370369',), 1396582941: ('0.09971151620370369',)} [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] Looping around the photos to save general results len do output : 10 /1396583363.Didn't retrieve data . /1396583250.Didn't retrieve data . /1396583247.Didn't retrieve data . /1396583218.Didn't retrieve data . /1396583194.Didn't retrieve data . /1396583193.Didn't retrieve data . /1396583191.Didn't retrieve data . /1396582948.Didn't retrieve data . /1396582945.Didn't retrieve data . /1396582941.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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01770186424255371 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14890623092651367 time spend to save output : 0.018230438232421875 total time spend for step 5 : 0.16713666915893555 step6:blur_detection Fri Nov 28 10:11:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d.jpg resize: (1080, 1920) 1396583363 -2.7472719640671457 treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea.jpg resize: (1080, 1920) 1396583250 0.1543267759927597 treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402.jpg resize: (1080, 1920) 1396583247 0.166907805013823 treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc.jpg resize: (1080, 1920) 1396583218 0.8651954169773022 treat image : temp/1764321029_4128098_1396583194_8b24d99f40e5bda48f1a580479004349.jpg resize: (1080, 1920) 1396583194 0.46503376478833763 treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0.jpg resize: (1080, 1920) 1396583193 -4.004902692386353 treat image : temp/1764321029_4128098_1396583191_f17af68b547568897a73b729c9e427ae.jpg resize: (1080, 1920) 1396583191 0.6545955472757652 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab.jpg resize: (1080, 1920) 1396582948 0.8436881126081386 treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2.jpg resize: (1080, 1920) 1396582945 0.4217286743181256 treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1.jpg resize: (1080, 1920) 1396582941 -0.2778838860810532 treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737027_0.png resize: (92, 106) 1396588101 -0.917104108571918 treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737031_0.png resize: (109, 93) 1396588102 2.9971330419719155 treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737033_0.png resize: (105, 97) 1396588103 -0.5189139908897893 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737041_0.png resize: (53, 48) 1396588104 9.573190930863614 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737043_0.png resize: (97, 68) 1396588105 -2.4515975373776353 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737044_0.png resize: (44, 93) 1396588106 -1.1949760883496445 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737042_0.png resize: (110, 95) 1396588107 -1.7564633705257753 treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737046_0.png resize: (99, 99) 1396588108 -0.713602655039196 treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737051_0.png resize: (134, 99) 1396588109 -0.39743041597702666 treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737025_0.png resize: (65, 92) 1396588112 -1.1354414190176054 treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737032_0.png resize: (159, 75) 1396588113 -0.3297335126009284 treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737035_0.png resize: (148, 113) 1396588114 -1.6605138801415953 treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737039_0.png resize: (138, 92) 1396588115 -1.400964155551324 treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737048_0.png resize: (143, 94) 1396588116 -1.4995006381091545 treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737028_0.png resize: (100, 142) 1396588117 -4.304474516330895 treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737029_0.png resize: (169, 356) 1396588124 -3.4688345569579355 treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737026_0.png resize: (539, 340) 1396588125 0.1728211525432204 treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737030_0.png resize: (104, 133) 1396588126 -1.361246771277289 treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737034_0.png resize: (93, 254) 1396588127 -2.7946373474008683 treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737037_0.png resize: (989, 1086) 1396588128 -0.10963099968020061 treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737036_0.png resize: (384, 348) 1396588129 0.007156978383785302 treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737038_0.png resize: (160, 331) 1396588130 -2.0032364882759772 treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737040_0.png resize: (51, 82) 1396588131 -3.0979903753123996 treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737045_0.png resize: (529, 360) 1396588132 0.16555453928337782 treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737049_0.png resize: (499, 354) 1396588133 -0.6166979252526341 treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737052_0.png resize: (980, 961) 1396588134 -1.078898727786905 treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737050_0.png resize: (352, 362) 1396588135 -2.696910447866061 treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737047_0.png resize: (338, 116) 1396588136 -1.0376569296924223 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 : 38 time used for this insertion : 0.018230915069580078 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.01729106903076172 save missing photos in datou_result : time spend for datou_step_exec : 9.104778289794922 time spend to save output : 0.04088640213012695 total time spend for step 6 : 9.145664691925049 step7:brightness Fri Nov 28 10:11:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d.jpg treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea.jpg treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402.jpg treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc.jpg treat image : temp/1764321029_4128098_1396583194_8b24d99f40e5bda48f1a580479004349.jpg treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0.jpg treat image : temp/1764321029_4128098_1396583191_f17af68b547568897a73b729c9e427ae.jpg treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab.jpg treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2.jpg treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1.jpg treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737027_0.png treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737031_0.png treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737033_0.png treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737041_0.png treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737043_0.png treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737044_0.png treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737042_0.png treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737046_0.png treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737051_0.png treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737025_0.png treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737032_0.png treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737035_0.png treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737039_0.png treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737048_0.png treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737028_0.png treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737029_0.png treat image : temp/1764321029_4128098_1396583363_73921d2bb40d87b8d160f442e3760b7d_rle_crop_4048737026_0.png treat image : temp/1764321029_4128098_1396583250_ee3da8ec00ec759b4cc213a6659dcdea_rle_crop_4048737030_0.png treat image : temp/1764321029_4128098_1396583247_ef1335c0449adedce9ea50e343497402_rle_crop_4048737034_0.png treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737037_0.png treat image : temp/1764321029_4128098_1396583218_f36c0aab30f3fce7026c54b7a4e9f6fc_rle_crop_4048737036_0.png treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737038_0.png treat image : temp/1764321029_4128098_1396583193_7dbb75ee5cb9f0384c91b941ef5107c0_rle_crop_4048737040_0.png treat image : temp/1764321029_4128098_1396582948_d5b469e51ac2dc1c9a86ee5a44d8d3ab_rle_crop_4048737045_0.png treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737049_0.png treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737052_0.png treat image : temp/1764321029_4128098_1396582941_b276ae7cbb3c96218fd8d353fc3e21e1_rle_crop_4048737050_0.png treat image : temp/1764321029_4128098_1396582945_596fd536577a1ba79715d0b0b85ffdd2_rle_crop_4048737047_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 : 38 time used for this insertion : 0.019094467163085938 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.015325069427490234 save missing photos in datou_result : time spend for datou_step_exec : 2.551576614379883 time spend to save output : 0.040711402893066406 total time spend for step 7 : 2.592288017272949 step8:velours_tree Fri Nov 28 10:11:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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.1315903663635254 time spend to save output : 4.100799560546875e-05 total time spend for step 8 : 0.13163137435913086 step9:send_mail_cod Fri Nov 28 10:11:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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_P28990080_28-11-2025_10_11_32.pdf 28990308 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 .imagette289903081764321092 28990309 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette289903091764321093 28990310 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 .imagette289903101764321094 28990311 change filename to text .imagette289903111764321094 28990312 imagette289903121764321094 28990313 change filename to text .imagette289903131764321094 28990315 imagette289903151764321095 28990316 imagette289903161764321095 28990317 imagette289903171764321095 28990318 imagette289903181764321095 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28990080 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28990308,28990309,28990310,28990311,28990312,28990313,28990314,28990315,28990316,28990317,28990318?tags=pet_clair,carton,papier,autre,pet_fonce,metal,environnement,background,pehd,flou,mal_croppe args[1396583363] : ((1396583363, -2.7472719640671457, 492609224), (1396583363, 0.4482756167162671, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583250] : ((1396583250, 0.1543267759927597, 492688767), (1396583250, 1.081452676322815, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583247] : ((1396583247, 0.166907805013823, 492688767), (1396583247, 0.478578067753203, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583218] : ((1396583218, 0.8651954169773022, 492688767), (1396583218, 0.7186574149162602, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583194] : ((1396583194, 0.46503376478833763, 492688767), (1396583194, 1.2214177936713335, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583193] : ((1396583193, -4.004902692386353, 492609224), (1396583193, 0.4840108775734831, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396583191] : ((1396583191, 0.6545955472757652, 492688767), (1396583191, 0.5344467218824122, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396582948] : ((1396582948, 0.8436881126081386, 492688767), (1396582948, 0.30731113735307625, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396582945] : ((1396582945, 0.4217286743181256, 492688767), (1396582945, 0.5372799433359805, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com args[1396582941] : ((1396582941, -0.2778838860810532, 492688767), (1396582941, 0.7148173293343123, 2107752395), '0.09971151620370369') We are sending mail with results at report@fotonower.com refus_total : 0.09971151620370369 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=28990080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28990080_28-11-2025_10_11_32.pdf results_Auto_P28990080_28-11-2025_10_11_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28990080_28-11-2025_10_11_32.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','28990080','results_Auto_P28990080_28-11-2025_10_11_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28990080_28-11-2025_10_11_32.pdf','pdf','','0.32','0.09971151620370369') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28990080

https://www.fotonower.com/image?json=false&list_photos_id=1396583363
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583250
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583247
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583218
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583194
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583193
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396583191
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396582948
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396582945
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1396582941
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28990308?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28990309?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28990310?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28990311?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28990313?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28990080_28-11-2025_10_11_32.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28990308,28990309,28990310,28990311,28990312,28990313,28990314,28990315,28990316,28990317,28990318?tags=pet_clair,carton,papier,autre,pet_fonce,metal,environnement,background,pehd,flou,mal_croppe.


L'équipe Fotonower HTTP Error 401: Unauthorized Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] 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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.017879486083984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8390848636627197 time spend to save output : 0.01813817024230957 total time spend for step 9 : 3.8572230339050293 step10:split_time_score Fri Nov 28 10:11:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28112025 28990080 Nombre de photos uploadées : 10 / 23040 (0%) 28112025 28990080 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 28112025 28990080 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005788803100585938 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.238724946975708 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990071 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990074 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990076 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990078 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990079 order by id desc limit 1 Qualite : 0.09971151620370369 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28990080_28-11-2025_10_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28990080 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`=28990080 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28112025': {'nb_upload': 10, '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 [1396583363, 1396583250, 1396583247, 1396583218, 1396583194, 1396583193, 1396583191, 1396582948, 1396582945, 1396582941] Looping around the photos to save general results len do output : 1 /28990080Didn'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, '4134097') ('3318', '28990080', '1396583363', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583250', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583247', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583218', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583194', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583193', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396583191', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582948', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582945', None, None, None, None, None, '4134097') ('3318', None, None, None, None, None, None, None, '4134097') ('3318', '28990080', '1396582941', None, None, None, None, None, '4134097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.015752792358398438 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.765388011932373 time spend to save output : 0.016010046005249023 total time spend for step 10 : 6.781398057937622 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 39.55user 17.36system 1:17.55elapsed 73%CPU (0avgtext+0avgdata 2747468maxresident)k 415440inputs+21744outputs (2major+1392706minor)pagefaults 0swaps