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 : 2245281 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 : ['4146706'] with mtr_portfolio_ids : ['29050127'] and first list_photo_ids : [] new path : /proc/2245281/ 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 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.3066556453704834 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Dec 1 13:30:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10553 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-12-01 13:30:34.611473: 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-12-01 13:30:34.623569: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-12-01 13:30:34.625569: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f5058000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-12-01 13:30:34.625622: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-12-01 13:30:34.629357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-12-01 13:30:34.857733: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x2ebd3b60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-12-01 13:30:34.857791: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-12-01 13:30:34.859042: 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-12-01 13:30:34.859401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-01 13:30:34.861832: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-01 13:30:34.865149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-01 13:30:34.865559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-01 13:30:34.870717: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-01 13:30:34.872499: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-01 13:30:34.882875: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-01 13:30:34.884688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-01 13:30:34.884785: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-01 13:30:34.885726: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-01 13:30:34.885746: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-01 13:30:34.885770: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-01 13:30:34.887438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-12-01 13:30:35.167062: 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-12-01 13:30:35.167160: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-01 13:30:35.167189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-01 13:30:35.167214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-01 13:30:35.167238: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-01 13:30:35.167263: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-01 13:30:35.167287: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-01 13:30:35.167311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-01 13:30:35.168638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-01 13:30:35.169714: 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-12-01 13:30:35.169750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-12-01 13:30:35.169768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-01 13:30:35.169784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-12-01 13:30:35.169800: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-12-01 13:30:35.169815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-12-01 13:30:35.169831: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-12-01 13:30:35.169847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-12-01 13:30:35.171126: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-12-01 13:30:35.171155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-12-01 13:30:35.171164: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-12-01 13:30:35.171171: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-12-01 13:30:35.172519: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9777 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-12-01 13:30:43.991975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-12-01 13:30:44.196244: 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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 10.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: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 Detection mask done ! Trying to reset tf kernel 2245965 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4465 tf kernel not reseted sub process len(results) : 16 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 16 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 : 9754 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [1008, 219, 1074, 360] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002281665802001953 nb_pixel_total : 7333 time to create 1 rle with old method : 0.009006738662719727 length of segment : 68 DEBUG bbox = [915, 1326, 987, 1383] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001087188720703125 nb_pixel_total : 3151 time to create 1 rle with old method : 0.003748655319213867 length of segment : 71 DEBUG bbox = [861, 1077, 1047, 1308] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005736351013183594 nb_pixel_total : 31413 time to create 1 rle with old method : 0.036715030670166016 length of segment : 220 DEBUG bbox = [147, 945, 465, 1095] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005238056182861328 nb_pixel_total : 26041 time to create 1 rle with old method : 0.03102731704711914 length of segment : 308 DEBUG bbox = [948, 1341, 1080, 1509] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00024127960205078125 nb_pixel_total : 16330 time to create 1 rle with old method : 0.018564224243164062 length of segment : 129 DEBUG bbox = [390, 1188, 588, 1263] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001990795135498047 nb_pixel_total : 11237 time to create 1 rle with old method : 0.012845277786254883 length of segment : 183 DEBUG bbox = [582, 1239, 654, 1338] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.417533874511719e-05 nb_pixel_total : 3618 time to create 1 rle with old method : 0.004389524459838867 length of segment : 60 DEBUG bbox = [918, 960, 1077, 1188] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00029969215393066406 nb_pixel_total : 18788 time to create 1 rle with old method : 0.021650314331054688 length of segment : 178 DEBUG bbox = [846, 900, 993, 1023] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017380714416503906 nb_pixel_total : 8466 time to create 1 rle with old method : 0.00986933708190918 length of segment : 145 DEBUG bbox = [135, 1488, 258, 1581] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001399517059326172 nb_pixel_total : 7021 time to create 1 rle with old method : 0.008194446563720703 length of segment : 122 DEBUG bbox = [798, 828, 912, 963] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00017952919006347656 nb_pixel_total : 11606 time to create 1 rle with old method : 0.013421058654785156 length of segment : 112 DEBUG bbox = [489, 1470, 645, 1746] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00032711029052734375 nb_pixel_total : 16357 time to create 1 rle with old method : 0.02029132843017578 length of segment : 146 DEBUG bbox = [6, 1086, 51, 1137] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.677078247070312e-05 nb_pixel_total : 1883 time to create 1 rle with old method : 0.0023813247680664062 length of segment : 45 DEBUG bbox = [0, 0, 975, 1077] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.012908697128295898 nb_pixel_total : 740857 time to create 1 rle with new method : 0.41525936126708984 length of segment : 947 DEBUG bbox = [105, 1260, 387, 1434] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00048232078552246094 nb_pixel_total : 29344 time to create 1 rle with old method : 0.033156633377075195 length of segment : 257 DEBUG bbox = [303, 990, 402, 1095] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00015473365783691406 nb_pixel_total : 8042 time to create 1 rle with old method : 0.009495973587036133 length of segment : 95 DEBUG bbox = [78, 1146, 240, 1278] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00022101402282714844 nb_pixel_total : 6458 time to create 1 rle with old method : 0.009200811386108398 length of segment : 156 DEBUG bbox = [936, 381, 1071, 642] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00036406517028808594 nb_pixel_total : 26970 time to create 1 rle with old method : 0.03155636787414551 length of segment : 137 DEBUG bbox = [0, 1335, 72, 1464] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001475811004638672 nb_pixel_total : 6681 time to create 1 rle with old method : 0.008172035217285156 length of segment : 67 DEBUG bbox = [246, 954, 345, 1011] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.000102996826171875 nb_pixel_total : 2892 time to create 1 rle with old method : 0.0035486221313476562 length of segment : 84 DEBUG bbox = [156, 1449, 474, 1584] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003457069396972656 nb_pixel_total : 15593 time to create 1 rle with old method : 0.01788163185119629 length of segment : 285 DEBUG bbox = [90, 1137, 234, 1200] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00013875961303710938 nb_pixel_total : 6500 time to create 1 rle with old method : 0.007510662078857422 length of segment : 138 time spent for convertir_results : 1.6062228679656982 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 22 chid ids of type : 3594 Number RLEs to save : 3953 save missing photos in datou_result : time spend for datou_step_exec : 26.645134210586548 time spend to save output : 0.3476574420928955 total time spend for step 1 : 26.992791652679443 step2:crop_condition Mon Dec 1 13:30:58 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 : 16 ! batch 1 Loaded 22 chid ids of type : 3594 ++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764592260_2245281 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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718587_0.png', 0, 55, 71, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718594_0.png', 0, 115, 145, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718596_0.png', 0, 130, 107, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718595_0.png', 0, 88, 119, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718597_0.png', 0, 253, 145, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718602_0.png', 0, 114, 156, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206949_18b96f347dbf10af7093f7a20f4c492c_rle_crop_4053718605_0.png', 0, 46, 84, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206847_12232b084a2cbeefeb23ea635f112bf1_rle_crop_4053718606_0.png', 0, 122, 285, 0, 1764592261,'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(1764592261), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206846_11e1d9fd0653015409775e0dd0ad3c67_rle_crop_4053718607_0.png', 0, 63, 138, 0, 1764592261,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6080241203308105 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764592263_2245281 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(1764592263), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718589_0.png', 0, 116, 291, 0, 1764592263,'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(1764592263), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718592_0.png', 0, 78, 60, 0, 1764592263,'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(1764592263), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206961_f7e0d0aab38479ce1346a1faa03646ff_rle_crop_4053718601_0.png', 0, 100, 95, 0, 1764592263,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.050185203552246 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764592264_2245281 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(1764592265), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718586_0.png', 0, 140, 66, 0, 1764592265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8866159915924072 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764592269_2245281 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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718588_0.png', 0, 215, 183, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718591_0.png', 0, 74, 182, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718590_0.png', 0, 162, 124, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718593_0.png', 0, 192, 155, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718599_0.png', 0, 1053, 944, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718598_0.png', 0, 49, 45, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718600_0.png', 0, 168, 252, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718603_0.png', 0, 256, 129, 0, 1764592271,'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(1764592271), 0.0, 0.0, 14, '', 0, 0, '1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718604_0.png', 0, 128, 67, 0, 1764592271,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6212563514709473 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 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] Looping around the photos to save general results len do output : 22 /1397219424Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219428Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219448Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219451Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219463Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219478Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219479Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219480Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219481Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219482Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219483Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219484Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219485Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1397219486Didn'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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 82 time used for this insertion : 0.022623062133789062 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.952213764190674 time spend to save output : 0.023886442184448242 total time spend for step 2 : 12.976100206375122 step3:rle_unique_nms_with_priority Mon Dec 1 13:31:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 22 chid ids of type : 3594 ++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.26595449447631836 time for calcul the mask position with numpy : 0.08319091796875 nb_pixel_total : 2063116 time to create 1 rle with new method : 0.09262466430664062 time for calcul the mask position with numpy : 0.0067746639251708984 nb_pixel_total : 3151 time to create 1 rle with old method : 0.003603219985961914 time for calcul the mask position with numpy : 0.007041215896606445 nb_pixel_total : 7333 time to create 1 rle with old method : 0.008471488952636719 create new chi : 0.21442484855651855 time to delete rle : 0.033330440521240234 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1358 TO DO : save crop sub photo not yet done ! save time : 0.15094637870788574 No data in photo_id : 1397207017 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.2721061706542969 time for calcul the mask position with numpy : 0.084564208984375 nb_pixel_total : 2016146 time to create 1 rle with new method : 0.10822010040283203 time for calcul the mask position with numpy : 0.00643467903137207 nb_pixel_total : 26041 time to create 1 rle with old method : 0.029267549514770508 time for calcul the mask position with numpy : 0.006866931915283203 nb_pixel_total : 31413 time to create 1 rle with old method : 0.03475165367126465 create new chi : 0.2804298400878906 time to delete rle : 0.0002682209014892578 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2136 TO DO : save crop sub photo not yet done ! save time : 0.20190024375915527 No data in photo_id : 1397207000 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0926973819732666 time for calcul the mask position with numpy : 0.13374876976013184 nb_pixel_total : 2042415 time to create 1 rle with new method : 0.10991668701171875 time for calcul the mask position with numpy : 0.008208990097045898 nb_pixel_total : 3618 time to create 1 rle with old method : 0.0041959285736083984 time for calcul the mask position with numpy : 0.007234096527099609 nb_pixel_total : 11237 time to create 1 rle with old method : 0.012758731842041016 time for calcul the mask position with numpy : 0.007849931716918945 nb_pixel_total : 16330 time to create 1 rle with old method : 0.01991724967956543 create new chi : 0.31531524658203125 time to delete rle : 0.00038933753967285156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1824 TO DO : save crop sub photo not yet done ! save time : 0.18618440628051758 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05431079864501953 time for calcul the mask position with numpy : 0.0948190689086914 nb_pixel_total : 2046346 time to create 1 rle with new method : 0.1151118278503418 time for calcul the mask position with numpy : 0.011993408203125 nb_pixel_total : 8466 time to create 1 rle with old method : 0.00963139533996582 time for calcul the mask position with numpy : 0.012561321258544922 nb_pixel_total : 18788 time to create 1 rle with old method : 0.021102428436279297 create new chi : 0.27469921112060547 time to delete rle : 0.0003209114074707031 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1726 TO DO : save crop sub photo not yet done ! save time : 0.16838741302490234 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.11104702949523926 time for calcul the mask position with numpy : 0.028139829635620117 nb_pixel_total : 2054973 time to create 1 rle with new method : 0.13400745391845703 time for calcul the mask position with numpy : 0.006446123123168945 nb_pixel_total : 11606 time to create 1 rle with old method : 0.013016223907470703 time for calcul the mask position with numpy : 0.006732463836669922 nb_pixel_total : 7021 time to create 1 rle with old method : 0.00798344612121582 create new chi : 0.20659756660461426 time to delete rle : 0.0002677440643310547 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1548 TO DO : save crop sub photo not yet done ! save time : 0.16953635215759277 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.3901245594024658 time for calcul the mask position with numpy : 0.08996701240539551 nb_pixel_total : 1285159 time to create 1 rle with new method : 0.1597452163696289 time for calcul the mask position with numpy : 0.008992671966552734 nb_pixel_total : 29344 time to create 1 rle with old method : 0.03357362747192383 time for calcul the mask position with numpy : 0.024386882781982422 nb_pixel_total : 740857 time to create 1 rle with new method : 0.16118502616882324 time for calcul the mask position with numpy : 0.008415699005126953 nb_pixel_total : 1883 time to create 1 rle with old method : 0.0022368431091308594 time for calcul the mask position with numpy : 0.008523225784301758 nb_pixel_total : 16357 time to create 1 rle with old method : 0.0183255672454834 create new chi : 0.5300898551940918 time to delete rle : 0.0007536411285400391 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3870 TO DO : save crop sub photo not yet done ! save time : 0.304689884185791 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06246447563171387 time for calcul the mask position with numpy : 0.034505605697631836 nb_pixel_total : 2065558 time to create 1 rle with new method : 0.13491129875183105 time for calcul the mask position with numpy : 0.00792694091796875 nb_pixel_total : 8042 time to create 1 rle with old method : 0.009236812591552734 create new chi : 0.1948835849761963 time to delete rle : 0.00032591819763183594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1270 TO DO : save crop sub photo not yet done ! save time : 0.1570444107055664 No data in photo_id : 1397206958 No data in photo_id : 1397206955 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.3876636028289795 time for calcul the mask position with numpy : 0.12179851531982422 nb_pixel_total : 2033491 time to create 1 rle with new method : 0.11536788940429688 time for calcul the mask position with numpy : 0.006580829620361328 nb_pixel_total : 6681 time to create 1 rle with old method : 0.007226467132568359 time for calcul the mask position with numpy : 0.007633686065673828 nb_pixel_total : 26970 time to create 1 rle with old method : 0.03163552284240723 time for calcul the mask position with numpy : 0.008875846862792969 nb_pixel_total : 6458 time to create 1 rle with old method : 0.008803606033325195 create new chi : 0.31878066062927246 time to delete rle : 0.00042819976806640625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1800 TO DO : save crop sub photo not yet done ! save time : 0.1783144474029541 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06049323081970215 time for calcul the mask position with numpy : 0.033495187759399414 nb_pixel_total : 2070708 time to create 1 rle with new method : 0.21730375289916992 time for calcul the mask position with numpy : 0.007439136505126953 nb_pixel_total : 2892 time to create 1 rle with old method : 0.00325775146484375 create new chi : 0.270139217376709 time to delete rle : 0.000335693359375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1248 TO DO : save crop sub photo not yet done ! save time : 0.14532256126403809 No data in photo_id : 1397206925 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05407214164733887 time for calcul the mask position with numpy : 0.031926631927490234 nb_pixel_total : 2058007 time to create 1 rle with new method : 0.12182235717773438 time for calcul the mask position with numpy : 0.00794529914855957 nb_pixel_total : 15593 time to create 1 rle with old method : 0.01750659942626953 create new chi : 0.1929459571838379 time to delete rle : 0.0004200935363769531 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1650 TO DO : save crop sub photo not yet done ! save time : 0.17230558395385742 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.054826974868774414 time for calcul the mask position with numpy : 0.39160823822021484 nb_pixel_total : 2067100 time to create 1 rle with new method : 0.11010932922363281 time for calcul the mask position with numpy : 0.0074617862701416016 nb_pixel_total : 6500 time to create 1 rle with old method : 0.00759124755859375 create new chi : 0.52854323387146 time to delete rle : 0.0003426074981689453 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1356 TO DO : save crop sub photo not yet done ! save time : 0.15268778800964355 map_output_result : {1397207023: (0.0, 'Should be the crop_list due to order', 0), 1397207017: (0.0, 'Should be the crop_list due to order', 0.0), 1397207003: (0.0, 'Should be the crop_list due to order', 0), 1397207000: (0.0, 'Should be the crop_list due to order', 0.0), 1397206998: (0.0, 'Should be the crop_list due to order', 0), 1397206995: (0.0, 'Should be the crop_list due to order', 0), 1397206993: (0.0, 'Should be the crop_list due to order', 0), 1397206991: (0.0, 'Should be the crop_list due to order', 0), 1397206961: (0.0, 'Should be the crop_list due to order', 0), 1397206958: (0.0, 'Should be the crop_list due to order', 0.0), 1397206955: (0.0, 'Should be the crop_list due to order', 0.0), 1397206952: (0.0, 'Should be the crop_list due to order', 0), 1397206949: (0.0, 'Should be the crop_list due to order', 0), 1397206925: (0.0, 'Should be the crop_list due to order', 0.0), 1397206847: (0.0, 'Should be the crop_list due to order', 0), 1397206846: (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 [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] Looping around the photos to save general results len do output : 16 /1397207023.Didn't retrieve data . /1397207017.Didn't retrieve data . /1397207003.Didn't retrieve data . /1397207000.Didn't retrieve data . /1397206998.Didn't retrieve data . /1397206995.Didn't retrieve data . /1397206993.Didn't retrieve data . /1397206991.Didn't retrieve data . /1397206961.Didn't retrieve data . /1397206958.Didn't retrieve data . /1397206955.Didn't retrieve data . /1397206952.Didn't retrieve data . /1397206949.Didn't retrieve data . /1397206925.Didn't retrieve data . /1397206847.Didn't retrieve data . /1397206846.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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.016532421112060547 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.550283193588257 time spend to save output : 0.017143726348876953 total time spend for step 3 : 7.567426919937134 step4:ventilate_hashtags_in_portfolio Mon Dec 1 13:31:19 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 : 29050127 get user id for portfolio 29050127 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`=29050127 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','environnement','flou','papier','metal','pet_clair','pet_fonce','autre','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do 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`=29050127 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','background','environnement','flou','papier','metal','pet_clair','pet_fonce','autre','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29050363,29050364,29050365,29050366,29050367,29050368,29050369,29050370,29050371,29050372,29050373?tags=papier,autre,pet_fonce,mal_croppe,pet_clair,flou,carton,background,environnement,pehd,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] Looping around the photos to save general results len do output : 1 /29050127. 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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.017671823501586914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5371861457824707 time spend to save output : 0.017980575561523438 total time spend for step 4 : 0.5551667213439941 step5:final Mon Dec 1 13:31:19 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 : {1397207023: ('0.048076154651675466',), 1397207017: ('0.048076154651675466',), 1397207003: ('0.048076154651675466',), 1397207000: ('0.048076154651675466',), 1397206998: ('0.048076154651675466',), 1397206995: ('0.048076154651675466',), 1397206993: ('0.048076154651675466',), 1397206991: ('0.048076154651675466',), 1397206961: ('0.048076154651675466',), 1397206958: ('0.048076154651675466',), 1397206955: ('0.048076154651675466',), 1397206952: ('0.048076154651675466',), 1397206949: ('0.048076154651675466',), 1397206925: ('0.048076154651675466',), 1397206847: ('0.048076154651675466',), 1397206846: ('0.048076154651675466',)} new output for save of step final : {1397207023: ('0.048076154651675466',), 1397207017: ('0.048076154651675466',), 1397207003: ('0.048076154651675466',), 1397207000: ('0.048076154651675466',), 1397206998: ('0.048076154651675466',), 1397206995: ('0.048076154651675466',), 1397206993: ('0.048076154651675466',), 1397206991: ('0.048076154651675466',), 1397206961: ('0.048076154651675466',), 1397206958: ('0.048076154651675466',), 1397206955: ('0.048076154651675466',), 1397206952: ('0.048076154651675466',), 1397206949: ('0.048076154651675466',), 1397206925: ('0.048076154651675466',), 1397206847: ('0.048076154651675466',), 1397206846: ('0.048076154651675466',)} [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] Looping around the photos to save general results len do output : 16 /1397207023.Didn't retrieve data . /1397207017.Didn't retrieve data . /1397207003.Didn't retrieve data . /1397207000.Didn't retrieve data . /1397206998.Didn't retrieve data . /1397206995.Didn't retrieve data . /1397206993.Didn't retrieve data . /1397206991.Didn't retrieve data . /1397206961.Didn't retrieve data . /1397206958.Didn't retrieve data . /1397206955.Didn't retrieve data . /1397206952.Didn't retrieve data . /1397206949.Didn't retrieve data . /1397206925.Didn't retrieve data . /1397206847.Didn't retrieve data . /1397206846.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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.018019914627075195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15949678421020508 time spend to save output : 0.018697738647460938 total time spend for step 5 : 0.17819452285766602 step6:blur_detection Mon Dec 1 13:31:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e.jpg resize: (1080, 1920) 1397207023 -3.7577061977790174 treat image : temp/1764592229_2245281_1397207017_eb1a701ffe54b6027609a353be882081.jpg resize: (1080, 1920) 1397207017 2.730672160468793 treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744.jpg resize: (1080, 1920) 1397207003 0.7877895460878519 treat image : temp/1764592229_2245281_1397207000_fb5467b039bd202957cd0cebac8680bd.jpg resize: (1080, 1920) 1397207000 0.7039685852958781 treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615.jpg resize: (1080, 1920) 1397206998 1.0261122306448847 treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8.jpg resize: (1080, 1920) 1397206995 0.7865287656133766 treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020.jpg resize: (1080, 1920) 1397206993 1.9180419135897815 treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8.jpg resize: (1080, 1920) 1397206991 0.4584010267027864 treat image : temp/1764592229_2245281_1397206961_f7e0d0aab38479ce1346a1faa03646ff.jpg resize: (1080, 1920) 1397206961 0.8682509982593555 treat image : temp/1764592229_2245281_1397206958_c415a9675a9f5be696ff56d7d2acf374.jpg resize: (1080, 1920) 1397206958 -0.058202164036051066 treat image : temp/1764592229_2245281_1397206955_a77d5056f8ed13fb24329bc088b2aabb.jpg resize: (1080, 1920) 1397206955 0.4073718756629343 treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887.jpg resize: (1080, 1920) 1397206952 0.7904939380905922 treat image : temp/1764592229_2245281_1397206949_18b96f347dbf10af7093f7a20f4c492c.jpg resize: (1080, 1920) 1397206949 0.10829052619104156 treat image : temp/1764592229_2245281_1397206925_37c3d38b31f2138516b9666c9beaaa76.jpg resize: (1080, 1920) 1397206925 0.9263671101906005 treat image : temp/1764592229_2245281_1397206847_12232b084a2cbeefeb23ea635f112bf1.jpg resize: (1080, 1920) 1397206847 1.0064775541993276 treat image : temp/1764592229_2245281_1397206846_11e1d9fd0653015409775e0dd0ad3c67.jpg resize: (1080, 1920) 1397206846 0.8783088659002093 treat image : temp/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718587_0.png resize: (71, 55) 1397219424 2.465947672409068 treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718594_0.png resize: (145, 115) 1397219425 -1.0737754737724923 treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718596_0.png resize: (107, 130) 1397219426 1.1449494087118472 treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718595_0.png resize: (119, 88) 1397219428 -0.61316394839981 treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718597_0.png resize: (145, 253) 1397219429 -1.984095950802015 treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718602_0.png resize: (156, 114) 1397219430 -2.16493604427747 treat image : temp/1764592229_2245281_1397206949_18b96f347dbf10af7093f7a20f4c492c_rle_crop_4053718605_0.png resize: (84, 46) 1397219432 0.5005496263673278 treat image : temp/1764592229_2245281_1397206847_12232b084a2cbeefeb23ea635f112bf1_rle_crop_4053718606_0.png resize: (285, 122) 1397219433 -1.4823755992417202 treat image : temp/1764592229_2245281_1397206846_11e1d9fd0653015409775e0dd0ad3c67_rle_crop_4053718607_0.png resize: (138, 63) 1397219435 -0.4152533733414687 treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718589_0.png resize: (291, 116) 1397219448 -1.4373915469585008 treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718592_0.png resize: (60, 78) 1397219449 0.34558055328554105 treat image : temp/1764592229_2245281_1397206961_f7e0d0aab38479ce1346a1faa03646ff_rle_crop_4053718601_0.png resize: (95, 100) 1397219451 0.27850564156168317 treat image : temp/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718586_0.png resize: (66, 140) 1397219463 -2.43270125113565 treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718588_0.png resize: (183, 215) 1397219478 0.31127111027382703 treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718591_0.png resize: (182, 74) 1397219479 0.7035696469683081 treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718590_0.png resize: (124, 162) 1397219480 0.6288324350743826 treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718593_0.png resize: (155, 192) 1397219481 -1.3286268453156038 treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718599_0.png resize: (944, 1053) 1397219482 0.43863399702761313 treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718598_0.png resize: (45, 49) 1397219483 7.371118941265337 treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718600_0.png resize: (252, 168) 1397219484 -0.8689673014606575 treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718603_0.png resize: (129, 256) 1397219485 0.6842261603733971 treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718604_0.png resize: (67, 128) 1397219486 0.5697465603102861 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.018387794494628906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.020712614059448242 save missing photos in datou_result : time spend for datou_step_exec : 14.18452262878418 time spend to save output : 0.04533195495605469 total time spend for step 6 : 14.229854583740234 step7:brightness Mon Dec 1 13:31:34 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/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e.jpg treat image : temp/1764592229_2245281_1397207017_eb1a701ffe54b6027609a353be882081.jpg treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744.jpg treat image : temp/1764592229_2245281_1397207000_fb5467b039bd202957cd0cebac8680bd.jpg treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615.jpg treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8.jpg treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020.jpg treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8.jpg treat image : temp/1764592229_2245281_1397206961_f7e0d0aab38479ce1346a1faa03646ff.jpg treat image : temp/1764592229_2245281_1397206958_c415a9675a9f5be696ff56d7d2acf374.jpg treat image : temp/1764592229_2245281_1397206955_a77d5056f8ed13fb24329bc088b2aabb.jpg treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887.jpg treat image : temp/1764592229_2245281_1397206949_18b96f347dbf10af7093f7a20f4c492c.jpg treat image : temp/1764592229_2245281_1397206925_37c3d38b31f2138516b9666c9beaaa76.jpg treat image : temp/1764592229_2245281_1397206847_12232b084a2cbeefeb23ea635f112bf1.jpg treat image : temp/1764592229_2245281_1397206846_11e1d9fd0653015409775e0dd0ad3c67.jpg treat image : temp/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718587_0.png treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718594_0.png treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718596_0.png treat image : temp/1764592229_2245281_1397206993_4c9dfed4b6fae619b820f06cb3721020_rle_crop_4053718595_0.png treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718597_0.png treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718602_0.png treat image : temp/1764592229_2245281_1397206949_18b96f347dbf10af7093f7a20f4c492c_rle_crop_4053718605_0.png treat image : temp/1764592229_2245281_1397206847_12232b084a2cbeefeb23ea635f112bf1_rle_crop_4053718606_0.png treat image : temp/1764592229_2245281_1397206846_11e1d9fd0653015409775e0dd0ad3c67_rle_crop_4053718607_0.png treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718589_0.png treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718592_0.png treat image : temp/1764592229_2245281_1397206961_f7e0d0aab38479ce1346a1faa03646ff_rle_crop_4053718601_0.png treat image : temp/1764592229_2245281_1397207023_dac5aabc9699413cd59989290fe62d4e_rle_crop_4053718586_0.png treat image : temp/1764592229_2245281_1397207003_0cf6d5fb859d100a68f2255b79b7e744_rle_crop_4053718588_0.png treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718591_0.png treat image : temp/1764592229_2245281_1397206998_27b4a76f8dc251b712216830e1de3615_rle_crop_4053718590_0.png treat image : temp/1764592229_2245281_1397206995_fc9d74c3b9981855a09c55710e7d3bc8_rle_crop_4053718593_0.png treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718599_0.png treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718598_0.png treat image : temp/1764592229_2245281_1397206991_89006d6373e9783fb4a370e9f0d4d7b8_rle_crop_4053718600_0.png treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718603_0.png treat image : temp/1764592229_2245281_1397206952_902e798fda30885476e82d3f46e49887_rle_crop_4053718604_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 38 time used for this insertion : 0.01785755157470703 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 38 time used for this insertion : 0.017889976501464844 save missing photos in datou_result : time spend for datou_step_exec : 3.798907518386841 time spend to save output : 0.04222249984741211 total time spend for step 7 : 3.841130018234253 step8:velours_tree Mon Dec 1 13:31:38 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.0938262939453125 time spend to save output : 6.198883056640625e-05 total time spend for step 8 : 0.0938882827758789 step9:send_mail_cod Mon Dec 1 13:31:38 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_P29050127_01-12-2025_13_31_38.pdf 29050363 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette290503631764592298 29050364 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette290503641764592299 29050365 imagette290503651764592300 29050366 imagette290503661764592300 29050367 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette290503671764592300 29050368 imagette290503681764592301 29050369 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 .imagette290503691764592301 29050370 imagette290503701764592302 29050372 change filename to text .imagette290503721764592302 29050373 change filename to text .change filename to text .change filename to text .imagette290503731764592303 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29050127 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29050363,29050364,29050365,29050366,29050367,29050368,29050369,29050370,29050371,29050372,29050373?tags=papier,autre,pet_fonce,mal_croppe,pet_clair,flou,carton,background,environnement,pehd,metal your option no_mail is active, we will not send the real mail to your client args[1397207023] : ((1397207023, -3.7577061977790174, 492609224), (1397207023, 0.25329829390882014, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397207017] : ((1397207017, 2.730672160468793, 492688767), (1397207017, 0.2656819520883254, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397207003] : ((1397207003, 0.7877895460878519, 492688767), (1397207003, 0.6379451670646467, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397207000] : ((1397207000, 0.7039685852958781, 492688767), (1397207000, 0.4514777395697741, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206998] : ((1397206998, 1.0261122306448847, 492688767), (1397206998, 0.5337725529493028, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206995] : ((1397206995, 0.7865287656133766, 492688767), (1397206995, 0.5055579947679328, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206993] : ((1397206993, 1.9180419135897815, 492688767), (1397206993, 0.6955906318688764, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206991] : ((1397206991, 0.4584010267027864, 492688767), (1397206991, 0.7702603575957776, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206961] : ((1397206961, 0.8682509982593555, 492688767), (1397206961, 0.9464922306795452, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206958] : ((1397206958, -0.058202164036051066, 492688767), (1397206958, 0.521886028437612, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206955] : ((1397206955, 0.4073718756629343, 492688767), (1397206955, 0.737950324516258, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206952] : ((1397206952, 0.7904939380905922, 492688767), (1397206952, 0.4433825093563778, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206949] : ((1397206949, 0.10829052619104156, 492688767), (1397206949, 0.51434402210361, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206925] : ((1397206925, 0.9263671101906005, 492688767), (1397206925, 0.6871446632635856, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206847] : ((1397206847, 1.0064775541993276, 492688767), (1397206847, 0.8300432454847786, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com args[1397206846] : ((1397206846, 0.8783088659002093, 492688767), (1397206846, 0.9889273898279263, 2107752395), '0.048076154651675466') We are sending mail with results at report@fotonower.com refus_total : 0.048076154651675466 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=29050127 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_P29050127_01-12-2025_13_31_38.pdf results_Auto_P29050127_01-12-2025_13_31_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29050127_01-12-2025_13_31_38.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','29050127','results_Auto_P29050127_01-12-2025_13_31_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29050127_01-12-2025_13_31_38.pdf','pdf','','0.5','0.048076154651675466') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] 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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.016095638275146484 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.76095175743103 time spend to save output : 0.016448259353637695 total time spend for step 9 : 6.777400016784668 step10:split_time_score Mon Dec 1 13:31:45 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'}] (('12', 56),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01122025 29050127 Nombre de photos uploadées : 56 / 23040 (0%) 01122025 29050127 Nombre de photos taguées (types de déchets): 0 / 56 (0%) 01122025 29050127 Nombre de photos taguées (volume) : 0 / 56 (0%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 2.47955322265625e-05 ???????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0028891563415527344 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2446427345275879 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.10481614101080249 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29042419_01-12-2025_09_21_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29042419 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`=29042419 AND mptpi.`type`=3594 To do Qualite : 0.15725399305555557 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29040936_01-12-2025_08_32_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29040936 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`=29040936 AND mptpi.`type`=3594 To do Qualite : 0.05517094666280862 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29050127_01-12-2025_13_31_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29050127 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`=29050127 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01122025': {'nb_upload': 56, '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 [1397207023, 1397207017, 1397207003, 1397207000, 1397206998, 1397206995, 1397206993, 1397206991, 1397206961, 1397206958, 1397206955, 1397206952, 1397206949, 1397206925, 1397206847, 1397206846] Looping around the photos to save general results len do output : 1 /29050127Didn'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, '4146706') ('3318', None, '1397207023', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207017', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207003', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397207000', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206998', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206995', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206993', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206991', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206961', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206958', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206955', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206952', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206949', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206925', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206847', None, None, None, None, None, '4146706') ('3318', None, None, None, None, None, None, None, '4146706') ('3318', None, '1397206846', None, None, None, None, None, '4146706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.02049541473388672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7158200740814209 time spend to save output : 0.02080845832824707 total time spend for step 10 : 0.736628532409668 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 44.33user 21.13system 1:19.75elapsed 82%CPU (0avgtext+0avgdata 2872864maxresident)k 525320inputs+24120outputs (453major+1705156minor)pagefaults 0swaps