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 : 3590856 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 : ['4004584'] with mtr_portfolio_ids : ['28218602'] and first list_photo_ids : [] new path : /proc/3590856/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.5170934200286865 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 Wed Nov 5 17:10:29 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-05 17:10:32.661815: 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-05 17:10:32.686520: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-05 17:10:32.688162: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f1b60000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-05 17:10:32.688215: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-05 17:10:32.690817: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-05 17:10:32.985675: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x443235f0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-05 17:10:32.985714: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-05 17:10:32.986476: 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-05 17:10:32.986805: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 17:10:32.988886: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 17:10:32.991002: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 17:10:32.991350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 17:10:32.996877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 17:10:32.997925: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 17:10:33.002560: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 17:10:33.004080: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 17:10:33.004167: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 17:10:33.004931: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-05 17:10:33.004947: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-05 17:10:33.004956: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-05 17:10:33.006302: 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-05 17:10:33.266559: 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-05 17:10:33.266700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 17:10:33.266725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 17:10:33.266747: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 17:10:33.266768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 17:10:33.266788: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 17:10:33.266809: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 17:10:33.266829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 17:10:33.268545: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 17:10:33.270220: 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-05 17:10:33.270360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 17:10:33.270387: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 17:10:33.270406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 17:10:33.270424: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 17:10:33.270441: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 17:10:33.270459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 17:10:33.270476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 17:10:33.272103: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 17:10:33.272139: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-05 17:10:33.272147: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-05 17:10:33.272155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-05 17:10:33.273563: 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-05 17:10:41.491806: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 17:10:41.674693: 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 : 18 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.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: 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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: 20.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: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.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: 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 : 3 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 0 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 : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 3.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 4.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 3591432 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 18 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 18 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 : 9998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0016639232635498047 nb_pixel_total : 93677 time to create 1 rle with old method : 0.1085517406463623 length of segment : 534 time for calcul the mask position with numpy : 7.534027099609375e-05 nb_pixel_total : 1248 time to create 1 rle with old method : 0.0015950202941894531 length of segment : 38 time for calcul the mask position with numpy : 0.00010180473327636719 nb_pixel_total : 3807 time to create 1 rle with old method : 0.004770517349243164 length of segment : 77 time for calcul the mask position with numpy : 0.009529590606689453 nb_pixel_total : 581068 time to create 1 rle with new method : 0.036713361740112305 length of segment : 884 time for calcul the mask position with numpy : 0.0002353191375732422 nb_pixel_total : 13125 time to create 1 rle with old method : 0.015404939651489258 length of segment : 134 time for calcul the mask position with numpy : 0.00029015541076660156 nb_pixel_total : 16997 time to create 1 rle with old method : 0.020699262619018555 length of segment : 137 time for calcul the mask position with numpy : 0.00015401840209960938 nb_pixel_total : 5072 time to create 1 rle with old method : 0.006357431411743164 length of segment : 91 time for calcul the mask position with numpy : 0.00944828987121582 nb_pixel_total : 640174 time to create 1 rle with new method : 0.03371477127075195 length of segment : 963 time for calcul the mask position with numpy : 0.0016255378723144531 nb_pixel_total : 116813 time to create 1 rle with old method : 0.16342854499816895 length of segment : 566 time for calcul the mask position with numpy : 0.0001556873321533203 nb_pixel_total : 3313 time to create 1 rle with old method : 0.004364728927612305 length of segment : 104 time for calcul the mask position with numpy : 9.5367431640625e-05 nb_pixel_total : 4034 time to create 1 rle with old method : 0.005051851272583008 length of segment : 49 time for calcul the mask position with numpy : 0.0013453960418701172 nb_pixel_total : 93945 time to create 1 rle with old method : 0.1090080738067627 length of segment : 526 time for calcul the mask position with numpy : 0.0016121864318847656 nb_pixel_total : 111393 time to create 1 rle with old method : 0.13176178932189941 length of segment : 558 time for calcul the mask position with numpy : 0.0001010894775390625 nb_pixel_total : 1952 time to create 1 rle with old method : 0.003492593765258789 length of segment : 80 time for calcul the mask position with numpy : 9.632110595703125e-05 nb_pixel_total : 1870 time to create 1 rle with old method : 0.003439664840698242 length of segment : 52 time for calcul the mask position with numpy : 0.008713245391845703 nb_pixel_total : 556604 time to create 1 rle with new method : 0.2052011489868164 length of segment : 1420 time for calcul the mask position with numpy : 0.01392674446105957 nb_pixel_total : 1201882 time to create 1 rle with new method : 0.06115579605102539 length of segment : 1035 time for calcul the mask position with numpy : 6.794929504394531e-05 nb_pixel_total : 1683 time to create 1 rle with old method : 0.0023462772369384766 length of segment : 34 time for calcul the mask position with numpy : 0.0016372203826904297 nb_pixel_total : 113626 time to create 1 rle with old method : 0.13376283645629883 length of segment : 556 time for calcul the mask position with numpy : 0.0007143020629882812 nb_pixel_total : 42438 time to create 1 rle with old method : 0.0525667667388916 length of segment : 629 time for calcul the mask position with numpy : 0.002359151840209961 nb_pixel_total : 141587 time to create 1 rle with old method : 0.17479348182678223 length of segment : 1107 time for calcul the mask position with numpy : 0.009614944458007812 nb_pixel_total : 600670 time to create 1 rle with new method : 0.05609011650085449 length of segment : 1402 time for calcul the mask position with numpy : 0.002068042755126953 nb_pixel_total : 107125 time to create 1 rle with old method : 0.13088774681091309 length of segment : 545 time for calcul the mask position with numpy : 0.00025653839111328125 nb_pixel_total : 15011 time to create 1 rle with old method : 0.018610000610351562 length of segment : 139 time for calcul the mask position with numpy : 0.0014901161193847656 nb_pixel_total : 101186 time to create 1 rle with old method : 0.11809682846069336 length of segment : 522 time for calcul the mask position with numpy : 0.20494413375854492 nb_pixel_total : 1620093 time to create 1 rle with new method : 0.07079291343688965 length of segment : 1096 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 2426 time to create 1 rle with old method : 0.0031397342681884766 length of segment : 43 time for calcul the mask position with numpy : 0.0004878044128417969 nb_pixel_total : 11596 time to create 1 rle with old method : 0.013923883438110352 length of segment : 181 time for calcul the mask position with numpy : 9.202957153320312e-05 nb_pixel_total : 1766 time to create 1 rle with old method : 0.0023648738861083984 length of segment : 35 time for calcul the mask position with numpy : 0.0027022361755371094 nb_pixel_total : 110206 time to create 1 rle with old method : 0.12645435333251953 length of segment : 533 time for calcul the mask position with numpy : 0.0011250972747802734 nb_pixel_total : 50743 time to create 1 rle with old method : 0.059958696365356445 length of segment : 528 time spent for convertir_results : 4.545776128768921 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 14598 save missing photos in datou_result : time spend for datou_step_exec : 30.603209733963013 time spend to save output : 0.9996793270111084 total time spend for step 1 : 31.60288906097412 step2:crop_condition Wed Nov 5 17:11:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 18 ! batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762359062_3590856 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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197639_0.png', 0, 75, 77, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777445_9657ac6daa0270a17cbced5dbbd04fca_rle_crop_4022197641_0.png', 0, 143, 131, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197642_0.png', 0, 214, 121, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197643_0.png', 0, 80, 90, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197646_0.png', 0, 108, 96, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197650_0.png', 0, 48, 80, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197651_0.png', 0, 64, 52, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197654_0.png', 0, 58, 34, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777356_34fef3afd5509baa2f458f4ce92a2352_rle_crop_4022197660_0.png', 0, 177, 138, 0, 1762359064,'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(1762359064), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197665_0.png', 0, 59, 35, 0, 1762359064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.9785561561584473 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 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762359090_3590856 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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777519_94b47ffb0423d3d5935016afb2f76a7f_rle_crop_4022197637_0.png', 0, 319, 520, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197638_0.png', 0, 42, 38, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777448_4f8e16071fc9f541724fb2d769033048_rle_crop_4022197640_0.png', 0, 1004, 758, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777409_e99528ae5c1a3db1f4f1ae5dc5ad86db_rle_crop_4022197644_0.png', 0, 990, 959, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197645_0.png', 0, 343, 559, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197647_0.png', 0, 111, 49, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197648_0.png', 0, 310, 517, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197649_0.png', 0, 340, 556, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197652_0.png', 0, 983, 919, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197653_0.png', 0, 1357, 992, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197655_0.png', 0, 333, 548, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197658_0.png', 0, 1140, 874, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197657_0.png', 0, 412, 583, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777358_ee47077087ea23d9b848ec0106352dc1_rle_crop_4022197659_0.png', 0, 330, 530, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197662_0.png', 0, 1742, 998, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197661_0.png', 0, 312, 519, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197664_0.png', 0, 101, 180, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197663_0.png', 0, 78, 42, 0, 1762359094,'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(1762359094), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197666_0.png', 0, 331, 529, 0, 1762359094,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.154438018798828 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762359097_3590856 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(1762359097), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197656_0.png', 0, 180, 343, 0, 1762359097,'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(1762359097), 0.0, 0.0, 14, '', 0, 0, '1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197667_0.png', 0, 192, 366, 0, 1762359097,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8219699859619141 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] Looping around the photos to save general results len do output : 31 /1392788089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788091Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788092Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788093Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788094Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788095Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788096Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788097Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788098Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788099Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788150Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788153Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788158Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788159Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788160Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788164Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392788177Didn'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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 time used for this insertion : 0.0234527587890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.949705362319946 time spend to save output : 0.02459239959716797 total time spend for step 2 : 35.974297761917114 step3:rle_unique_nms_with_priority Wed Nov 5 17:11:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 31 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.307020902633667 time for calcul the mask position with numpy : 0.07457160949707031 nb_pixel_total : 1979923 time to create 1 rle with new method : 0.2560093402862549 time for calcul the mask position with numpy : 0.006572246551513672 nb_pixel_total : 93677 time to create 1 rle with old method : 0.11462283134460449 create new chi : 0.46184372901916504 time to delete rle : 0.030620813369750977 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2148 TO DO : save crop sub photo not yet done ! save time : 0.14834833145141602 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.2581460475921631 time for calcul the mask position with numpy : 0.17066383361816406 nb_pixel_total : 2068545 time to create 1 rle with new method : 0.09150981903076172 time for calcul the mask position with numpy : 0.006791830062866211 nb_pixel_total : 3807 time to create 1 rle with old method : 0.004496335983276367 time for calcul the mask position with numpy : 0.006209850311279297 nb_pixel_total : 1248 time to create 1 rle with old method : 0.0015230178833007812 create new chi : 0.2925868034362793 time to delete rle : 0.0002779960632324219 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1310 TO DO : save crop sub photo not yet done ! save time : 0.12268757820129395 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05468869209289551 time for calcul the mask position with numpy : 0.29192566871643066 nb_pixel_total : 1492532 time to create 1 rle with new method : 0.07970285415649414 time for calcul the mask position with numpy : 0.011659383773803711 nb_pixel_total : 581068 time to create 1 rle with new method : 0.1837446689605713 create new chi : 0.5824391841888428 time to delete rle : 0.000392913818359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2848 TO DO : save crop sub photo not yet done ! save time : 0.19656729698181152 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.15630388259887695 time for calcul the mask position with numpy : 0.06711173057556152 nb_pixel_total : 2060475 time to create 1 rle with new method : 0.13532400131225586 time for calcul the mask position with numpy : 0.006308317184448242 nb_pixel_total : 13125 time to create 1 rle with old method : 0.01491093635559082 create new chi : 0.23406982421875 time to delete rle : 0.0002799034118652344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1348 TO DO : save crop sub photo not yet done ! save time : 0.10764408111572266 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07608604431152344 time for calcul the mask position with numpy : 0.12280869483947754 nb_pixel_total : 2051531 time to create 1 rle with new method : 0.19968271255493164 time for calcul the mask position with numpy : 0.006159782409667969 nb_pixel_total : 5072 time to create 1 rle with old method : 0.005956172943115234 time for calcul the mask position with numpy : 0.006532907485961914 nb_pixel_total : 16997 time to create 1 rle with old method : 0.019423723220825195 create new chi : 0.37016749382019043 time to delete rle : 0.00038933753967285156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1536 TO DO : save crop sub photo not yet done ! save time : 0.13832545280456543 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.038625240325927734 time for calcul the mask position with numpy : 0.058274030685424805 nb_pixel_total : 1433426 time to create 1 rle with new method : 0.1376786231994629 time for calcul the mask position with numpy : 0.011054515838623047 nb_pixel_total : 640174 time to create 1 rle with new method : 0.07351803779602051 create new chi : 0.28936100006103516 time to delete rle : 0.0002923011779785156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3006 TO DO : save crop sub photo not yet done ! save time : 0.2206130027770996 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.20205903053283691 time for calcul the mask position with numpy : 0.18431591987609863 nb_pixel_total : 1953474 time to create 1 rle with new method : 0.15325546264648438 time for calcul the mask position with numpy : 0.006173849105834961 nb_pixel_total : 3313 time to create 1 rle with old method : 0.0038497447967529297 time for calcul the mask position with numpy : 0.006718873977661133 nb_pixel_total : 116813 time to create 1 rle with old method : 0.13714838027954102 create new chi : 0.5018229484558105 time to delete rle : 0.0004608631134033203 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2420 TO DO : save crop sub photo not yet done ! save time : 0.16938066482543945 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04595446586608887 time for calcul the mask position with numpy : 0.03983497619628906 nb_pixel_total : 1975621 time to create 1 rle with new method : 0.18428945541381836 time for calcul the mask position with numpy : 0.006452322006225586 nb_pixel_total : 93945 time to create 1 rle with old method : 0.11504507064819336 time for calcul the mask position with numpy : 0.0063152313232421875 nb_pixel_total : 4034 time to create 1 rle with old method : 0.004866838455200195 create new chi : 0.36711955070495605 time to delete rle : 0.0004067420959472656 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2230 TO DO : save crop sub photo not yet done ! save time : 0.16048455238342285 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.11572861671447754 time for calcul the mask position with numpy : 0.05827736854553223 nb_pixel_total : 1960255 time to create 1 rle with new method : 0.08528971672058105 time for calcul the mask position with numpy : 0.0063550472259521484 nb_pixel_total : 1952 time to create 1 rle with old method : 0.002337217330932617 time for calcul the mask position with numpy : 0.007074832916259766 nb_pixel_total : 111393 time to create 1 rle with old method : 0.13421964645385742 create new chi : 0.30480480194091797 time to delete rle : 0.0003757476806640625 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2356 TO DO : save crop sub photo not yet done ! save time : 0.17159771919250488 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.20269370079040527 time for calcul the mask position with numpy : 0.009311437606811523 nb_pixel_total : 498368 time to create 1 rle with new method : 0.07987260818481445 time for calcul the mask position with numpy : 0.013188600540161133 nb_pixel_total : 1018628 time to create 1 rle with new method : 0.2379310131072998 time for calcul the mask position with numpy : 0.009429454803466797 nb_pixel_total : 554734 time to create 1 rle with new method : 0.07056832313537598 time for calcul the mask position with numpy : 0.00617671012878418 nb_pixel_total : 1870 time to create 1 rle with old method : 0.002272367477416992 create new chi : 0.4432029724121094 time to delete rle : 0.0007650852203369141 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 5407 TO DO : save crop sub photo not yet done ! save time : 0.34045863151550293 No data in photo_id : 1392777389 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.11095929145812988 time for calcul the mask position with numpy : 0.13648748397827148 nb_pixel_total : 1915853 time to create 1 rle with new method : 0.07597875595092773 time for calcul the mask position with numpy : 0.006598711013793945 nb_pixel_total : 42438 time to create 1 rle with old method : 0.04966473579406738 time for calcul the mask position with numpy : 0.006762504577636719 nb_pixel_total : 113626 time to create 1 rle with old method : 0.1302657127380371 time for calcul the mask position with numpy : 0.006594419479370117 nb_pixel_total : 1683 time to create 1 rle with old method : 0.002053976058959961 create new chi : 0.4259936809539795 time to delete rle : 0.0009276866912841797 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 3518 TO DO : save crop sub photo not yet done ! save time : 0.2435917854309082 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.04624009132385254 time for calcul the mask position with numpy : 0.015822410583496094 nb_pixel_total : 1335191 time to create 1 rle with new method : 0.13604283332824707 time for calcul the mask position with numpy : 0.010480165481567383 nb_pixel_total : 596822 time to create 1 rle with new method : 0.052144765853881836 time for calcul the mask position with numpy : 0.0073089599609375 nb_pixel_total : 141587 time to create 1 rle with old method : 0.16530060768127441 create new chi : 0.3957943916320801 time to delete rle : 0.0011246204376220703 batch 1 Loaded 5 chid ids of type : 3594 ++++++++Number RLEs to save : 5917 TO DO : save crop sub photo not yet done ! save time : 0.3822944164276123 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03994941711425781 time for calcul the mask position with numpy : 0.12273621559143066 nb_pixel_total : 1966475 time to create 1 rle with new method : 0.09637904167175293 time for calcul the mask position with numpy : 0.011246442794799805 nb_pixel_total : 107125 time to create 1 rle with old method : 0.12151145935058594 create new chi : 0.3625674247741699 time to delete rle : 0.00037789344787597656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2170 TO DO : save crop sub photo not yet done ! save time : 0.16812562942504883 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07934165000915527 time for calcul the mask position with numpy : 0.07604026794433594 nb_pixel_total : 2058589 time to create 1 rle with new method : 0.1548023223876953 time for calcul the mask position with numpy : 0.006529331207275391 nb_pixel_total : 15011 time to create 1 rle with old method : 0.017611026763916016 create new chi : 0.2663397789001465 time to delete rle : 0.0002789497375488281 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1358 TO DO : save crop sub photo not yet done ! save time : 0.11536765098571777 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06955552101135254 time for calcul the mask position with numpy : 0.008564233779907227 nb_pixel_total : 356505 time to create 1 rle with new method : 0.08639717102050781 time for calcul the mask position with numpy : 0.22759032249450684 nb_pixel_total : 1615909 time to create 1 rle with new method : 0.07667994499206543 time for calcul the mask position with numpy : 0.006732940673828125 nb_pixel_total : 101186 time to create 1 rle with old method : 0.11710047721862793 create new chi : 0.5396132469177246 time to delete rle : 0.0006468296051025391 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4095 TO DO : save crop sub photo not yet done ! save time : 0.27266812324523926 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.042002201080322266 time for calcul the mask position with numpy : 0.10562372207641602 nb_pixel_total : 2059578 time to create 1 rle with new method : 0.11858034133911133 time for calcul the mask position with numpy : 0.005867481231689453 nb_pixel_total : 11596 time to create 1 rle with old method : 0.012763023376464844 time for calcul the mask position with numpy : 0.005779743194580078 nb_pixel_total : 2426 time to create 1 rle with old method : 0.0027618408203125 create new chi : 0.2612791061401367 time to delete rle : 0.00028395652770996094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1528 TO DO : save crop sub photo not yet done ! save time : 0.12892961502075195 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.1495826244354248 time for calcul the mask position with numpy : 0.05825233459472656 nb_pixel_total : 1910885 time to create 1 rle with new method : 0.13029122352600098 time for calcul the mask position with numpy : 0.006087303161621094 nb_pixel_total : 50743 time to create 1 rle with old method : 0.056410789489746094 time for calcul the mask position with numpy : 0.006412029266357422 nb_pixel_total : 110206 time to create 1 rle with old method : 0.12418103218078613 time for calcul the mask position with numpy : 0.005973100662231445 nb_pixel_total : 1766 time to create 1 rle with old method : 0.0020711421966552734 create new chi : 0.4002110958099365 time to delete rle : 0.000537872314453125 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3272 TO DO : save crop sub photo not yet done ! save time : 0.22885584831237793 map_output_result : {1392777519: (0.0, 'Should be the crop_list due to order', 0), 1392777517: (0.0, 'Should be the crop_list due to order', 0), 1392777448: (0.0, 'Should be the crop_list due to order', 0), 1392777445: (0.0, 'Should be the crop_list due to order', 0), 1392777433: (0.0, 'Should be the crop_list due to order', 0), 1392777409: (0.0, 'Should be the crop_list due to order', 0), 1392777408: (0.0, 'Should be the crop_list due to order', 0), 1392777407: (0.0, 'Should be the crop_list due to order', 0), 1392777401: (0.0, 'Should be the crop_list due to order', 0), 1392777394: (0.0, 'Should be the crop_list due to order', 0), 1392777389: (0.0, 'Should be the crop_list due to order', 0.0), 1392777372: (0.0, 'Should be the crop_list due to order', 0), 1392777367: (0.0, 'Should be the crop_list due to order', 0), 1392777358: (0.0, 'Should be the crop_list due to order', 0), 1392777356: (0.0, 'Should be the crop_list due to order', 0), 1392777353: (0.0, 'Should be the crop_list due to order', 0), 1392777347: (0.0, 'Should be the crop_list due to order', 0), 1392776856: (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 [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] Looping around the photos to save general results len do output : 18 /1392777519.Didn't retrieve data . /1392777517.Didn't retrieve data . /1392777448.Didn't retrieve data . /1392777445.Didn't retrieve data . /1392777433.Didn't retrieve data . /1392777409.Didn't retrieve data . /1392777408.Didn't retrieve data . /1392777407.Didn't retrieve data . /1392777401.Didn't retrieve data . /1392777394.Didn't retrieve data . /1392777389.Didn't retrieve data . /1392777372.Didn't retrieve data . /1392777367.Didn't retrieve data . /1392777358.Didn't retrieve data . /1392777356.Didn't retrieve data . /1392777353.Didn't retrieve data . /1392777347.Didn't retrieve data . /1392776856.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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.015692710876464844 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.483345746994019 time spend to save output : 0.016222000122070312 total time spend for step 3 : 12.499567747116089 step4:ventilate_hashtags_in_portfolio Wed Nov 5 17:11:49 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 : 28218602 get user id for portfolio 28218602 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`=28218602 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','autre','pehd','environnement','metal','flou','background','mal_croppe','pet_clair','papier')) 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`=28218602 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','autre','pehd','environnement','metal','flou','background','mal_croppe','pet_clair','papier')) 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`=28218602 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','autre','pehd','environnement','metal','flou','background','mal_croppe','pet_clair','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28218831,28218832,28218833,28218834,28218835,28218836,28218837,28218838,28218839,28218840,28218841?tags=carton,pet_fonce,autre,pehd,environnement,metal,flou,background,mal_croppe,pet_clair,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] Looping around the photos to save general results len do output : 1 /28218602. 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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.015934228897094727 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7031495571136475 time spend to save output : 0.01623678207397461 total time spend for step 4 : 1.719386339187622 step5:final Wed Nov 5 17:11:51 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 : {1392777519: ('0.16541211205418382',), 1392777517: ('0.16541211205418382',), 1392777448: ('0.16541211205418382',), 1392777445: ('0.16541211205418382',), 1392777433: ('0.16541211205418382',), 1392777409: ('0.16541211205418382',), 1392777408: ('0.16541211205418382',), 1392777407: ('0.16541211205418382',), 1392777401: ('0.16541211205418382',), 1392777394: ('0.16541211205418382',), 1392777389: ('0.16541211205418382',), 1392777372: ('0.16541211205418382',), 1392777367: ('0.16541211205418382',), 1392777358: ('0.16541211205418382',), 1392777356: ('0.16541211205418382',), 1392777353: ('0.16541211205418382',), 1392777347: ('0.16541211205418382',), 1392776856: ('0.16541211205418382',)} new output for save of step final : {1392777519: ('0.16541211205418382',), 1392777517: ('0.16541211205418382',), 1392777448: ('0.16541211205418382',), 1392777445: ('0.16541211205418382',), 1392777433: ('0.16541211205418382',), 1392777409: ('0.16541211205418382',), 1392777408: ('0.16541211205418382',), 1392777407: ('0.16541211205418382',), 1392777401: ('0.16541211205418382',), 1392777394: ('0.16541211205418382',), 1392777389: ('0.16541211205418382',), 1392777372: ('0.16541211205418382',), 1392777367: ('0.16541211205418382',), 1392777358: ('0.16541211205418382',), 1392777356: ('0.16541211205418382',), 1392777353: ('0.16541211205418382',), 1392777347: ('0.16541211205418382',), 1392776856: ('0.16541211205418382',)} [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] Looping around the photos to save general results len do output : 18 /1392777519.Didn't retrieve data . /1392777517.Didn't retrieve data . /1392777448.Didn't retrieve data . /1392777445.Didn't retrieve data . /1392777433.Didn't retrieve data . /1392777409.Didn't retrieve data . /1392777408.Didn't retrieve data . /1392777407.Didn't retrieve data . /1392777401.Didn't retrieve data . /1392777394.Didn't retrieve data . /1392777389.Didn't retrieve data . /1392777372.Didn't retrieve data . /1392777367.Didn't retrieve data . /1392777358.Didn't retrieve data . /1392777356.Didn't retrieve data . /1392777353.Didn't retrieve data . /1392777347.Didn't retrieve data . /1392776856.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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.016299962997436523 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12434768676757812 time spend to save output : 0.01709747314453125 total time spend for step 5 : 0.14144515991210938 step6:blur_detection Wed Nov 5 17:11:51 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/1762359027_3590856_1392777519_94b47ffb0423d3d5935016afb2f76a7f.jpg resize: (1080, 1920) 1392777519 -0.3938714988984469 treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052.jpg resize: (1080, 1920) 1392777517 0.35311009261122817 treat image : temp/1762359027_3590856_1392777448_4f8e16071fc9f541724fb2d769033048.jpg resize: (1080, 1920) 1392777448 -1.1343648898232142 treat image : temp/1762359027_3590856_1392777445_9657ac6daa0270a17cbced5dbbd04fca.jpg resize: (1080, 1920) 1392777445 -4.865217593176296 treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753.jpg resize: (1080, 1920) 1392777433 -0.8997652908216179 treat image : temp/1762359027_3590856_1392777409_e99528ae5c1a3db1f4f1ae5dc5ad86db.jpg resize: (1080, 1920) 1392777409 0.7044892889114363 treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482.jpg resize: (1080, 1920) 1392777408 -4.815669754476791 treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0.jpg resize: (1080, 1920) 1392777407 0.4613619486463453 treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb.jpg resize: (1080, 1920) 1392777401 -4.8382165812626985 treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92.jpg resize: (1080, 1920) 1392777394 0.6950391839461029 treat image : temp/1762359027_3590856_1392777389_630ddf7a7761bf453cfa5bdd2cc41fc5.jpg resize: (1080, 1920) 1392777389 -2.020243765556822 treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440.jpg resize: (1080, 1920) 1392777372 -2.9529448097083404 treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425.jpg resize: (1080, 1920) 1392777367 1.6967084704516384 treat image : temp/1762359027_3590856_1392777358_ee47077087ea23d9b848ec0106352dc1.jpg resize: (1080, 1920) 1392777358 -3.7951990369505855 treat image : temp/1762359027_3590856_1392777356_34fef3afd5509baa2f458f4ce92a2352.jpg resize: (1080, 1920) 1392777356 -0.3500750365294249 treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4.jpg resize: (1080, 1920) 1392777353 -0.9153665597926001 treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c.jpg resize: (1080, 1920) 1392777347 -0.5837273150530131 treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc.jpg resize: (1080, 1920) 1392776856 -1.990010977846457 treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197639_0.png resize: (77, 75) 1392788089 -1.226522028646553 treat image : temp/1762359027_3590856_1392777445_9657ac6daa0270a17cbced5dbbd04fca_rle_crop_4022197641_0.png resize: (131, 143) 1392788091 -0.6906611897790467 treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197642_0.png resize: (121, 214) 1392788092 -2.043244437374433 treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197643_0.png resize: (90, 80) 1392788093 -2.353034562573227 treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197646_0.png resize: (96, 108) 1392788094 -1.8537055541540635 treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197650_0.png resize: (80, 48) 1392788095 -3.6850867138889507 treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197651_0.png resize: (52, 64) 1392788096 0.3951870748691283 treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197654_0.png resize: (34, 58) 1392788097 5.655741108926396 treat image : temp/1762359027_3590856_1392777356_34fef3afd5509baa2f458f4ce92a2352_rle_crop_4022197660_0.png resize: (138, 177) 1392788098 -1.7489558758731092 treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197665_0.png resize: (35, 59) 1392788099 7.036637243300176 treat image : temp/1762359027_3590856_1392777519_94b47ffb0423d3d5935016afb2f76a7f_rle_crop_4022197637_0.png resize: (520, 319) 1392788147 -0.0022513587938457723 treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197638_0.png resize: (38, 42) 1392788148 20.0 treat image : temp/1762359027_3590856_1392777448_4f8e16071fc9f541724fb2d769033048_rle_crop_4022197640_0.png resize: (758, 1004) 1392788149 0.05484051807213217 treat image : temp/1762359027_3590856_1392777409_e99528ae5c1a3db1f4f1ae5dc5ad86db_rle_crop_4022197644_0.png resize: (959, 990) 1392788150 0.5997747361964579 treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197645_0.png resize: (559, 343) 1392788151 0.23674724531693406 treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197647_0.png resize: (49, 111) 1392788152 -1.0699265184675792 treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197648_0.png resize: (517, 310) 1392788153 0.20917472270150883 treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197649_0.png resize: (556, 340) 1392788154 0.3112390301184853 treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197652_0.png resize: (919, 983) 1392788155 -0.016713811223108655 treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197653_0.png resize: (992, 1357) 1392788156 -0.5057198282029108 treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197655_0.png resize: (548, 333) 1392788157 -0.7064991346243984 treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197658_0.png resize: (874, 1140) 1392788158 0.34329640571114745 treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197657_0.png resize: (583, 412) 1392788159 -1.968001294975132 treat image : temp/1762359027_3590856_1392777358_ee47077087ea23d9b848ec0106352dc1_rle_crop_4022197659_0.png resize: (530, 330) 1392788160 -0.0528238331840132 treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197662_0.png resize: (998, 1742) 1392788162 -1.6088289652034078 treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197661_0.png resize: (519, 312) 1392788163 -0.0017802358587648618 treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197664_0.png resize: (180, 101) 1392788164 -0.1452254797466569 treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197663_0.png resize: (42, 78) 1392788166 2.5603355065730127 treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197666_0.png resize: (529, 331) 1392788167 -0.3485371522212122 treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197656_0.png resize: (343, 180) 1392788176 -2.467003679071888 treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197667_0.png resize: (366, 192) 1392788177 -2.0645332711611846 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 : 49 time used for this insertion : 0.01508641242980957 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.014699459075927734 save missing photos in datou_result : time spend for datou_step_exec : 16.56631302833557 time spend to save output : 0.03424715995788574 total time spend for step 6 : 16.600560188293457 step7:brightness Wed Nov 5 17:12:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1762359027_3590856_1392777519_94b47ffb0423d3d5935016afb2f76a7f.jpg treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052.jpg treat image : temp/1762359027_3590856_1392777448_4f8e16071fc9f541724fb2d769033048.jpg treat image : temp/1762359027_3590856_1392777445_9657ac6daa0270a17cbced5dbbd04fca.jpg treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753.jpg treat image : temp/1762359027_3590856_1392777409_e99528ae5c1a3db1f4f1ae5dc5ad86db.jpg treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482.jpg treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0.jpg treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb.jpg treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92.jpg treat image : temp/1762359027_3590856_1392777389_630ddf7a7761bf453cfa5bdd2cc41fc5.jpg treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440.jpg treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425.jpg treat image : temp/1762359027_3590856_1392777358_ee47077087ea23d9b848ec0106352dc1.jpg treat image : temp/1762359027_3590856_1392777356_34fef3afd5509baa2f458f4ce92a2352.jpg treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4.jpg treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c.jpg treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc.jpg treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197639_0.png treat image : temp/1762359027_3590856_1392777445_9657ac6daa0270a17cbced5dbbd04fca_rle_crop_4022197641_0.png treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197642_0.png treat image : temp/1762359027_3590856_1392777433_abb91b05187870cef01897f0dedce753_rle_crop_4022197643_0.png treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197646_0.png treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197650_0.png treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197651_0.png treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197654_0.png treat image : temp/1762359027_3590856_1392777356_34fef3afd5509baa2f458f4ce92a2352_rle_crop_4022197660_0.png treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197665_0.png treat image : temp/1762359027_3590856_1392777519_94b47ffb0423d3d5935016afb2f76a7f_rle_crop_4022197637_0.png treat image : temp/1762359027_3590856_1392777517_d5cf20e843b7300762e20f73779bf052_rle_crop_4022197638_0.png treat image : temp/1762359027_3590856_1392777448_4f8e16071fc9f541724fb2d769033048_rle_crop_4022197640_0.png treat image : temp/1762359027_3590856_1392777409_e99528ae5c1a3db1f4f1ae5dc5ad86db_rle_crop_4022197644_0.png treat image : temp/1762359027_3590856_1392777408_9239f64521ea7a95f5d88696bfa2e482_rle_crop_4022197645_0.png treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197647_0.png treat image : temp/1762359027_3590856_1392777407_9e3430683c85220bdc6134ffcfd3caa0_rle_crop_4022197648_0.png treat image : temp/1762359027_3590856_1392777401_82cbfb4f2cffcd547921b3a40302e9fb_rle_crop_4022197649_0.png treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197652_0.png treat image : temp/1762359027_3590856_1392777394_d78369ebb2118a90f29a8be2d7278d92_rle_crop_4022197653_0.png treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197655_0.png treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197658_0.png treat image : temp/1762359027_3590856_1392777367_3162ef3071db0b0d99492e529d944425_rle_crop_4022197657_0.png treat image : temp/1762359027_3590856_1392777358_ee47077087ea23d9b848ec0106352dc1_rle_crop_4022197659_0.png treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197662_0.png treat image : temp/1762359027_3590856_1392777353_c6e006ef0ce3e17e06cc6072a24ae3a4_rle_crop_4022197661_0.png treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197664_0.png treat image : temp/1762359027_3590856_1392777347_e8ff01353725285957378f13a89bca6c_rle_crop_4022197663_0.png treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197666_0.png treat image : temp/1762359027_3590856_1392777372_3c40d6dec1a683de4c32b632582b9440_rle_crop_4022197656_0.png treat image : temp/1762359027_3590856_1392776856_f671520694d7268a68c3f966224480bc_rle_crop_4022197667_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 : 49 time used for this insertion : 0.014693260192871094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.014070749282836914 save missing photos in datou_result : time spend for datou_step_exec : 5.072443962097168 time spend to save output : 0.0336148738861084 total time spend for step 7 : 5.106058835983276 step8:velours_tree Wed Nov 5 17:12:13 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.09086918830871582 time spend to save output : 5.2928924560546875e-05 total time spend for step 8 : 0.09092211723327637 step9:send_mail_cod Wed Nov 5 17:12:13 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_P28218602_05-11-2025_17_12_13.pdf 28218831 imagette282188311762359133 28218832 imagette282188321762359133 28218833 change filename to text .change filename to text .imagette282188331762359133 28218834 imagette282188341762359133 28218836 imagette282188361762359133 28218837 imagette282188371762359133 28218838 imagette282188381762359133 28218839 imagette282188391762359133 28218840 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette282188401762359133 28218841 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 .imagette282188411762359135 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28218602 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28218831,28218832,28218833,28218834,28218835,28218836,28218837,28218838,28218839,28218840,28218841?tags=carton,pet_fonce,autre,pehd,environnement,metal,flou,background,mal_croppe,pet_clair,papier args[1392777519] : ((1392777519, -0.3938714988984469, 492688767), (1392777519, 0.5728243587431259, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777517] : ((1392777517, 0.35311009261122817, 492688767), (1392777517, 0.745682580536771, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777448] : ((1392777448, -1.1343648898232142, 492688767), (1392777448, 0.23512397389273743, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777445] : ((1392777445, -4.865217593176296, 492609224), (1392777445, 0.5730258905714457, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777433] : ((1392777433, -0.8997652908216179, 492688767), (1392777433, 0.29641594488463013, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777409] : ((1392777409, 0.7044892889114363, 492688767), (1392777409, 0.38038625175631785, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777408] : ((1392777408, -4.815669754476791, 492609224), (1392777408, 0.6868345350016943, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777407] : ((1392777407, 0.4613619486463453, 492688767), (1392777407, 0.7150472109359666, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777401] : ((1392777401, -4.8382165812626985, 492609224), (1392777401, 0.5074390969498307, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777394] : ((1392777394, 0.6950391839461029, 492688767), (1392777394, 0.39774499747116243, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777389] : ((1392777389, -2.020243765556822, 492609224), (1392777389, 0.7282551848878438, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777372] : ((1392777372, -2.9529448097083404, 492609224), (1392777372, 0.5140217795229266, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777367] : ((1392777367, 1.6967084704516384, 492688767), (1392777367, 0.31191693457374814, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777358] : ((1392777358, -3.7951990369505855, 492609224), (1392777358, 0.22192724606982936, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777356] : ((1392777356, -0.3500750365294249, 492688767), (1392777356, 0.4664910494338209, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777353] : ((1392777353, -0.9153665597926001, 492688767), (1392777353, 0.24415012039910144, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392777347] : ((1392777347, -0.5837273150530131, 492688767), (1392777347, 0.9762134089643821, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com args[1392776856] : ((1392776856, -1.990010977846457, 492688767), (1392776856, 0.2506640614501464, 2107752395), '0.16541211205418382') We are sending mail with results at report@fotonower.com refus_total : 0.16541211205418382 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=28218602 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_P28218602_05-11-2025_17_12_13.pdf results_Auto_P28218602_05-11-2025_17_12_13.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218602_05-11-2025_17_12_13.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','28218602','results_Auto_P28218602_05-11-2025_17_12_13.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218602_05-11-2025_17_12_13.pdf','pdf','','0.77','0.16541211205418382') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28218602

https://www.fotonower.com/image?json=false&list_photos_id=1392777519
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777517
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777448
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777445
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777433
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777409
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777408
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777407
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777401
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777394
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777389
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777372
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777367
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6967084704516384)
https://www.fotonower.com/image?json=false&list_photos_id=1392777358
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777356
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777353
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392777347
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392776856
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/28218833?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28218840?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28218841?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218602_05-11-2025_17_12_13.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28218831,28218832,28218833,28218834,28218835,28218836,28218837,28218838,28218839,28218840,28218841?tags=carton,pet_fonce,autre,pehd,environnement,metal,flou,background,mal_croppe,pet_clair,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 05 Nov 2025 16:12:18 GMT Content-Length: 0 Connection: close X-Message-Id: 4m0Hkbt2TPmyadMx_3YrQg Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] 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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014950275421142578 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.258825063705444 time spend to save output : 0.015275239944458008 total time spend for step 9 : 5.274100303649902 step10:split_time_score Wed Nov 5 17:12: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 ! 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'}] (('16', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05112025 28218602 Nombre de photos uploadées : 18 / 23040 (0%) 05112025 28218602 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 05112025 28218602 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006377696990966797 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21213030815124512 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.0854224537037037 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195056_05-11-2025_08_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195056 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`=28195056 AND mptpi.`type`=3594 To do Qualite : 0.031166811342592592 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195059_05-11-2025_08_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195059 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`=28195059 AND mptpi.`type`=3594 To do Qualite : 0.05083469971707819 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28204164_05-11-2025_12_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28204164 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`=28204164 AND mptpi.`type`=3594 To do Qualite : 0.16541211205418382 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28218602_05-11-2025_17_12_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28218602 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`=28218602 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05112025': {'nb_upload': 18, '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 [1392777519, 1392777517, 1392777448, 1392777445, 1392777433, 1392777409, 1392777408, 1392777407, 1392777401, 1392777394, 1392777389, 1392777372, 1392777367, 1392777358, 1392777356, 1392777353, 1392777347, 1392776856] Looping around the photos to save general results len do output : 1 /28218602Didn'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, '4004584') ('3318', '28218602', '1392777519', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777517', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777448', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777445', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777433', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777409', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777408', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777407', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777401', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777394', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777389', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777372', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777367', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777358', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777356', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777353', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392777347', None, None, None, None, None, '4004584') ('3318', None, None, None, None, None, None, None, '4004584') ('3318', '28218602', '1392776856', None, None, None, None, None, '4004584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.01476287841796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6420035362243652 time spend to save output : 0.015115737915039062 total time spend for step 10 : 0.6571192741394043 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 72.05user 26.58system 1:54.57elapsed 86%CPU (0avgtext+0avgdata 2883576maxresident)k 503760inputs+54136outputs (46major+2079742minor)pagefaults 0swaps