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 : 1035991 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 : ['3769372'] with mtr_portfolio_ids : ['27168014'] and first list_photo_ids : [] new path : /proc/1035991/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.9915492534637451 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Sep 24 08:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5072 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-24 08:30:34.250918: 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-09-24 08:30:34.280588: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-24 08:30:34.282873: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2fbc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-24 08:30:34.282932: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-24 08:30:34.286716: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-24 08:30:34.438955: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x27644660 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-24 08:30:34.439002: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-24 08:30:34.440455: 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-09-24 08:30:34.440884: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-24 08:30:34.444020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-24 08:30:34.466430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-24 08:30:34.467435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-24 08:30:34.493402: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-24 08:30:34.497756: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-24 08:30:34.539964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-24 08:30:34.541429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-24 08:30:34.541528: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-24 08:30:34.542276: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-24 08:30:34.542296: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-24 08:30:34.542307: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-24 08:30:34.543612: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4620 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-09-24 08:30:34.870705: 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-09-24 08:30:34.870812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-24 08:30:34.870845: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-24 08:30:34.870874: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-24 08:30:34.870902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-24 08:30:34.870929: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-24 08:30:34.870957: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-24 08:30:34.870985: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-24 08:30:34.872553: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-24 08:30:34.874169: 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-09-24 08:30:34.874233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-24 08:30:34.874264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-24 08:30:34.874292: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-24 08:30:34.874320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-24 08:30:34.874348: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-24 08:30:34.874375: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-24 08:30:34.874403: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-24 08:30:34.875987: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-24 08:30:34.876027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-24 08:30:34.876042: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-24 08:30:34.876056: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-24 08:30:34.877855: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4620 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-09-24 08:30:43.537356: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-24 08:30:43.718449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-24 08:30:45.155590: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:45.156230: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:45.156852: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.003552: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-09-24 08:30:46.078502: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.078578: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.079243: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.079265: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.089559: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.089589: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.090191: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.090207: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.152661: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.152726: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.153387: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.153404: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.163807: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.163854: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.164550: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.164571: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.185631: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.185705: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 188.27MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.186693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.186716: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 188.27MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-24 08:30:46.187710: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.188710: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.193742: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.194407: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.195051: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.195670: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.196862: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.196882: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-09-24 08:30:46.208611: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.209257: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.219349: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.219950: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.220578: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.221222: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.221848: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-24 08:30:46.222442: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 26 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 26 Detection mask done ! Trying to reset tf kernel 1036489 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2907 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4100 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.001497507095336914 nb_pixel_total : 19308 time to create 1 rle with old method : 0.02182483673095703 length of segment : 275 time for calcul the mask position with numpy : 0.0020563602447509766 nb_pixel_total : 31772 time to create 1 rle with old method : 0.05275225639343262 length of segment : 245 time for calcul the mask position with numpy : 0.0001881122589111328 nb_pixel_total : 8606 time to create 1 rle with old method : 0.010205984115600586 length of segment : 94 time for calcul the mask position with numpy : 0.0011491775512695312 nb_pixel_total : 20913 time to create 1 rle with old method : 0.024392127990722656 length of segment : 201 time for calcul the mask position with numpy : 0.0038976669311523438 nb_pixel_total : 117688 time to create 1 rle with old method : 0.13678836822509766 length of segment : 504 time for calcul the mask position with numpy : 0.0014536380767822266 nb_pixel_total : 57325 time to create 1 rle with old method : 0.06597661972045898 length of segment : 219 time for calcul the mask position with numpy : 0.0005552768707275391 nb_pixel_total : 20753 time to create 1 rle with old method : 0.024601459503173828 length of segment : 205 time for calcul the mask position with numpy : 0.0004208087921142578 nb_pixel_total : 11835 time to create 1 rle with old method : 0.013947010040283203 length of segment : 125 time for calcul the mask position with numpy : 0.0006539821624755859 nb_pixel_total : 13583 time to create 1 rle with old method : 0.020603656768798828 length of segment : 157 time for calcul the mask position with numpy : 0.0005617141723632812 nb_pixel_total : 34292 time to create 1 rle with old method : 0.039855241775512695 length of segment : 188 time for calcul the mask position with numpy : 0.0007672309875488281 nb_pixel_total : 37553 time to create 1 rle with old method : 0.050986528396606445 length of segment : 182 time for calcul the mask position with numpy : 0.0011627674102783203 nb_pixel_total : 21290 time to create 1 rle with old method : 0.0343320369720459 length of segment : 236 time for calcul the mask position with numpy : 0.0002598762512207031 nb_pixel_total : 11728 time to create 1 rle with old method : 0.01630115509033203 length of segment : 186 time for calcul the mask position with numpy : 0.001071929931640625 nb_pixel_total : 50389 time to create 1 rle with old method : 0.059427499771118164 length of segment : 323 time for calcul the mask position with numpy : 0.00087738037109375 nb_pixel_total : 56654 time to create 1 rle with old method : 0.0668184757232666 length of segment : 222 time for calcul the mask position with numpy : 0.0005123615264892578 nb_pixel_total : 29314 time to create 1 rle with old method : 0.03511810302734375 length of segment : 195 time for calcul the mask position with numpy : 0.0007162094116210938 nb_pixel_total : 52464 time to create 1 rle with old method : 0.06323504447937012 length of segment : 236 time for calcul the mask position with numpy : 0.0006954669952392578 nb_pixel_total : 15887 time to create 1 rle with old method : 0.018755435943603516 length of segment : 188 time for calcul the mask position with numpy : 0.0004725456237792969 nb_pixel_total : 22619 time to create 1 rle with old method : 0.027271747589111328 length of segment : 220 time for calcul the mask position with numpy : 0.0006656646728515625 nb_pixel_total : 36279 time to create 1 rle with old method : 0.04237794876098633 length of segment : 275 time for calcul the mask position with numpy : 0.0008625984191894531 nb_pixel_total : 29173 time to create 1 rle with old method : 0.03477358818054199 length of segment : 197 time for calcul the mask position with numpy : 0.0011012554168701172 nb_pixel_total : 34955 time to create 1 rle with old method : 0.040940284729003906 length of segment : 356 time for calcul the mask position with numpy : 0.0005407333374023438 nb_pixel_total : 12807 time to create 1 rle with old method : 0.015312433242797852 length of segment : 153 time for calcul the mask position with numpy : 0.0008928775787353516 nb_pixel_total : 20594 time to create 1 rle with old method : 0.024281740188598633 length of segment : 213 time for calcul the mask position with numpy : 0.0010828971862792969 nb_pixel_total : 31399 time to create 1 rle with old method : 0.03565073013305664 length of segment : 334 time for calcul the mask position with numpy : 0.0004048347473144531 nb_pixel_total : 10112 time to create 1 rle with old method : 0.011929988861083984 length of segment : 135 time for calcul the mask position with numpy : 0.0007152557373046875 nb_pixel_total : 31625 time to create 1 rle with old method : 0.036147117614746094 length of segment : 198 time for calcul the mask position with numpy : 0.0014548301696777344 nb_pixel_total : 41073 time to create 1 rle with old method : 0.04954862594604492 length of segment : 278 time for calcul the mask position with numpy : 0.0019328594207763672 nb_pixel_total : 53001 time to create 1 rle with old method : 0.06202983856201172 length of segment : 531 time for calcul the mask position with numpy : 0.0005695819854736328 nb_pixel_total : 17058 time to create 1 rle with old method : 0.019840717315673828 length of segment : 139 time for calcul the mask position with numpy : 0.0006244182586669922 nb_pixel_total : 17724 time to create 1 rle with old method : 0.020766019821166992 length of segment : 121 time for calcul the mask position with numpy : 0.0008337497711181641 nb_pixel_total : 27765 time to create 1 rle with old method : 0.033773183822631836 length of segment : 202 time for calcul the mask position with numpy : 0.0009958744049072266 nb_pixel_total : 32408 time to create 1 rle with old method : 0.03812050819396973 length of segment : 208 time for calcul the mask position with numpy : 0.0016472339630126953 nb_pixel_total : 29319 time to create 1 rle with old method : 0.034624576568603516 length of segment : 256 time for calcul the mask position with numpy : 0.0009899139404296875 nb_pixel_total : 19809 time to create 1 rle with old method : 0.02243185043334961 length of segment : 260 time for calcul the mask position with numpy : 0.0005228519439697266 nb_pixel_total : 11976 time to create 1 rle with old method : 0.01378488540649414 length of segment : 136 time for calcul the mask position with numpy : 0.0009827613830566406 nb_pixel_total : 17071 time to create 1 rle with old method : 0.019311189651489258 length of segment : 290 time for calcul the mask position with numpy : 0.00040459632873535156 nb_pixel_total : 13433 time to create 1 rle with old method : 0.015398979187011719 length of segment : 121 time for calcul the mask position with numpy : 0.0017960071563720703 nb_pixel_total : 57603 time to create 1 rle with old method : 0.06464910507202148 length of segment : 436 time for calcul the mask position with numpy : 0.0010974407196044922 nb_pixel_total : 33999 time to create 1 rle with old method : 0.03877687454223633 length of segment : 240 time for calcul the mask position with numpy : 0.0010068416595458984 nb_pixel_total : 29768 time to create 1 rle with old method : 0.03403973579406738 length of segment : 195 time spent for convertir_results : 3.674950361251831 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 41 chid ids of type : 3594 Number RLEs to save : 9475 save missing photos in datou_result : time spend for datou_step_exec : 40.245418548583984 time spend to save output : 0.579749584197998 total time spend for step 1 : 40.82516813278198 step2:crop_condition Wed Sep 24 08: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 5 ! batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758695476_1035991 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.1166369915008545 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758695483_1035991 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.624459981918335 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758695489_1035991 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3832261562347412 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1758695492_1035991 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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.5934784412384033 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1758695494_1035991 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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.0986948013305664 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 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/1758695496_1035991 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.6304430961608887 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] Looping around the photos to save general results len do output : 41 /1385809681Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809682Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809683Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809684Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809685Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809686Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809687Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809688Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809689Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809690Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809691Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809693Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809694Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809695Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809696Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809697Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809698Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809703Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809704Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809705Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809706Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809707Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809708Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809709Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809710Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809711Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809712Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809713Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809714Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809715Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809718Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809719Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809720Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809721Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809725Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809726Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809727Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1385809736Didn'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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 128 time used for this insertion : 0.02529001235961914 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.848629236221313 time spend to save output : 0.026964902877807617 total time spend for step 2 : 25.87559413909912 step3:rle_unique_nms_with_priority Wed Sep 24 08:31:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 41 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++nb_obj : 12 nb_hashtags : 5 time to prepare the origin masks : 6.010302305221558 time for calcul the mask position with numpy : 0.548691987991333 nb_pixel_total : 7919669 time to create 1 rle with new method : 0.7362926006317139 time for calcul the mask position with numpy : 0.02940964698791504 nb_pixel_total : 21290 time to create 1 rle with old method : 0.026627779006958008 time for calcul the mask position with numpy : 0.026499509811401367 nb_pixel_total : 37553 time to create 1 rle with old method : 0.04488801956176758 time for calcul the mask position with numpy : 0.027059316635131836 nb_pixel_total : 34292 time to create 1 rle with old method : 0.04170370101928711 time for calcul the mask position with numpy : 0.024521589279174805 nb_pixel_total : 13583 time to create 1 rle with old method : 0.01574873924255371 time for calcul the mask position with numpy : 0.02608656883239746 nb_pixel_total : 11835 time to create 1 rle with old method : 0.014339208602905273 time for calcul the mask position with numpy : 0.02649378776550293 nb_pixel_total : 566 time to create 1 rle with old method : 0.0008921623229980469 time for calcul the mask position with numpy : 0.033072471618652344 nb_pixel_total : 57325 time to create 1 rle with old method : 0.06576728820800781 time for calcul the mask position with numpy : 0.02544116973876953 nb_pixel_total : 117688 time to create 1 rle with old method : 0.1349947452545166 time for calcul the mask position with numpy : 0.025475025177001953 nb_pixel_total : 20913 time to create 1 rle with old method : 0.023823022842407227 time for calcul the mask position with numpy : 0.0267636775970459 nb_pixel_total : 8606 time to create 1 rle with old method : 0.009604454040527344 time for calcul the mask position with numpy : 0.024534940719604492 nb_pixel_total : 31772 time to create 1 rle with old method : 0.03652763366699219 time for calcul the mask position with numpy : 0.02361273765563965 nb_pixel_total : 19308 time to create 1 rle with old method : 0.0263369083404541 create new chi : 2.0878121852874756 time to delete rle : 0.017105579376220703 batch 1 Loaded 25 chid ids of type : 3594 ++++++++++++Number RLEs to save : 7127 TO DO : save crop sub photo not yet done ! save time : 0.4269070625305176 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 4.073469877243042 time for calcul the mask position with numpy : 0.8718311786651611 nb_pixel_total : 8019066 time to create 1 rle with new method : 1.0388193130493164 time for calcul the mask position with numpy : 0.02461719512939453 nb_pixel_total : 36279 time to create 1 rle with old method : 0.04185128211975098 time for calcul the mask position with numpy : 0.02478647232055664 nb_pixel_total : 22619 time to create 1 rle with old method : 0.025221824645996094 time for calcul the mask position with numpy : 0.02408623695373535 nb_pixel_total : 15887 time to create 1 rle with old method : 0.017916202545166016 time for calcul the mask position with numpy : 0.02480769157409668 nb_pixel_total : 52464 time to create 1 rle with old method : 0.06013226509094238 time for calcul the mask position with numpy : 0.03206682205200195 nb_pixel_total : 29314 time to create 1 rle with old method : 0.034394025802612305 time for calcul the mask position with numpy : 0.02569746971130371 nb_pixel_total : 56654 time to create 1 rle with old method : 0.0658726692199707 time for calcul the mask position with numpy : 0.026142358779907227 nb_pixel_total : 50389 time to create 1 rle with old method : 0.0577235221862793 time for calcul the mask position with numpy : 0.025224685668945312 nb_pixel_total : 11728 time to create 1 rle with old method : 0.013455390930175781 create new chi : 2.47794771194458 time to delete rle : 0.0006656646728515625 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++Number RLEs to save : 5850 TO DO : save crop sub photo not yet done ! save time : 0.34877729415893555 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 4.419573068618774 time for calcul the mask position with numpy : 1.2268335819244385 nb_pixel_total : 8217465 time to create 1 rle with new method : 1.344261884689331 time for calcul the mask position with numpy : 0.04096865653991699 nb_pixel_total : 12807 time to create 1 rle with old method : 0.014883756637573242 time for calcul the mask position with numpy : 0.040671586990356445 nb_pixel_total : 34955 time to create 1 rle with old method : 0.040833473205566406 time for calcul the mask position with numpy : 0.023955106735229492 nb_pixel_total : 29173 time to create 1 rle with old method : 0.034003257751464844 create new chi : 2.8104186058044434 time to delete rle : 0.0005600452423095703 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3572 TO DO : save crop sub photo not yet done ! save time : 0.23736190795898438 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 4.040448188781738 time for calcul the mask position with numpy : 0.3037436008453369 nb_pixel_total : 8044049 time to create 1 rle with new method : 0.35610079765319824 time for calcul the mask position with numpy : 0.026317358016967773 nb_pixel_total : 27765 time to create 1 rle with old method : 0.033338069915771484 time for calcul the mask position with numpy : 0.026316165924072266 nb_pixel_total : 17724 time to create 1 rle with old method : 0.02091836929321289 time for calcul the mask position with numpy : 0.025145292282104492 nb_pixel_total : 17058 time to create 1 rle with old method : 0.020325660705566406 time for calcul the mask position with numpy : 0.026159048080444336 nb_pixel_total : 53001 time to create 1 rle with old method : 0.061116933822631836 time for calcul the mask position with numpy : 0.026389122009277344 nb_pixel_total : 41073 time to create 1 rle with old method : 0.04944872856140137 time for calcul the mask position with numpy : 0.025300264358520508 nb_pixel_total : 31625 time to create 1 rle with old method : 0.0358424186706543 time for calcul the mask position with numpy : 0.024243593215942383 nb_pixel_total : 10112 time to create 1 rle with old method : 0.0115814208984375 time for calcul the mask position with numpy : 0.02425098419189453 nb_pixel_total : 31399 time to create 1 rle with old method : 0.03591656684875488 time for calcul the mask position with numpy : 0.02595210075378418 nb_pixel_total : 20594 time to create 1 rle with old method : 0.0245053768157959 create new chi : 1.2294855117797852 time to delete rle : 0.0008881092071533203 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++Number RLEs to save : 6462 TO DO : save crop sub photo not yet done ! save time : 0.39940428733825684 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 4.251712083816528 time for calcul the mask position with numpy : 0.3608872890472412 nb_pixel_total : 8049014 time to create 1 rle with new method : 0.390988826751709 time for calcul the mask position with numpy : 0.04487872123718262 nb_pixel_total : 29768 time to create 1 rle with old method : 0.03452444076538086 time for calcul the mask position with numpy : 0.028338909149169922 nb_pixel_total : 33999 time to create 1 rle with old method : 0.0388484001159668 time for calcul the mask position with numpy : 0.025434017181396484 nb_pixel_total : 57603 time to create 1 rle with old method : 0.06684541702270508 time for calcul the mask position with numpy : 0.026345014572143555 nb_pixel_total : 13433 time to create 1 rle with old method : 0.015362024307250977 time for calcul the mask position with numpy : 0.027606487274169922 nb_pixel_total : 17071 time to create 1 rle with old method : 0.019906044006347656 time for calcul the mask position with numpy : 0.025635957717895508 nb_pixel_total : 11976 time to create 1 rle with old method : 0.013861894607543945 time for calcul the mask position with numpy : 0.02614569664001465 nb_pixel_total : 19809 time to create 1 rle with old method : 0.02304220199584961 time for calcul the mask position with numpy : 0.026160001754760742 nb_pixel_total : 29319 time to create 1 rle with old method : 0.04953765869140625 time for calcul the mask position with numpy : 0.02756023406982422 nb_pixel_total : 32408 time to create 1 rle with old method : 0.038689613342285156 create new chi : 1.3518462181091309 time to delete rle : 0.0008687973022460938 batch 1 Loaded 19 chid ids of type : 3594 ++++++++++Number RLEs to save : 6444 TO DO : save crop sub photo not yet done ! save time : 0.37668466567993164 map_output_result : {1385797574: (0.0, 'Should be the crop_list due to order', 0), 1385797572: (0.0, 'Should be the crop_list due to order', 0), 1385797569: (0.0, 'Should be the crop_list due to order', 0), 1385797562: (0.0, 'Should be the crop_list due to order', 0), 1385797561: (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 [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] Looping around the photos to save general results len do output : 5 /1385797574.Didn't retrieve data . /1385797572.Didn't retrieve data . /1385797569.Didn't retrieve data . /1385797562.Didn't retrieve data . /1385797561.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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012965917587280273 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.529659032821655 time spend to save output : 0.013298988342285156 total time spend for step 3 : 35.54295802116394 step4:ventilate_hashtags_in_portfolio Wed Sep 24 08:32:12 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 : 27168014 get user id for portfolio 27168014 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`=27168014 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','environnement','papier','pehd','pet_fonce','mal_croppe','flou','carton','pet_clair','background')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27168014 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','environnement','papier','pehd','pet_fonce','mal_croppe','flou','carton','pet_clair','background')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27168014 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre','metal','environnement','papier','pehd','pet_fonce','mal_croppe','flou','carton','pet_clair','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27172124,27172125,27172126,27172127,27172128,27172129,27172130,27172131,27172132,27172133,27172134?tags=autre,metal,environnement,papier,pehd,pet_fonce,mal_croppe,flou,carton,pet_clair,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] Looping around the photos to save general results len do output : 1 /27168014. 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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015299081802368164 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.608125925064087 time spend to save output : 0.015651464462280273 total time spend for step 4 : 1.6237773895263672 step5:final Wed Sep 24 08:32:14 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 : {1385797574: ('0.029483434606481486',), 1385797572: ('0.029483434606481486',), 1385797569: ('0.029483434606481486',), 1385797562: ('0.029483434606481486',), 1385797561: ('0.029483434606481486',)} new output for save of step final : {1385797574: ('0.029483434606481486',), 1385797572: ('0.029483434606481486',), 1385797569: ('0.029483434606481486',), 1385797562: ('0.029483434606481486',), 1385797561: ('0.029483434606481486',)} [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] Looping around the photos to save general results len do output : 5 /1385797574.Didn't retrieve data . /1385797572.Didn't retrieve data . /1385797569.Didn't retrieve data . /1385797562.Didn't retrieve data . /1385797561.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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012198448181152344 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13245582580566406 time spend to save output : 0.012560367584228516 total time spend for step 5 : 0.14501619338989258 step6:blur_detection Wed Sep 24 08:32:14 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/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac.jpg resize: (2160, 3840) 1385797574 -6.747402826994877 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd.jpg resize: (2160, 3840) 1385797572 -7.167394392970626 treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75.jpg resize: (2160, 3840) 1385797569 -7.1871739179969865 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06.jpg resize: (2160, 3840) 1385797562 -7.1338025023321965 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32.jpg resize: (2160, 3840) 1385797561 -7.053263701379637 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728566_0.png resize: (94, 135) 1385809681 -3.808665950797282 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728570_0.png resize: (204, 172) 1385809682 -3.232248838373953 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728571_0.png resize: (124, 140) 1385809683 -3.2146606059515674 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728568_0.png resize: (440, 478) 1385809684 -4.533028553049022 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728565_0.png resize: (227, 239) 1385809685 -1.694248956561778 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728564_0.png resize: (273, 127) 1385809686 -4.533354342410307 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728582_0.png resize: (220, 196) 1385809687 -4.532600313022631 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728578_0.png resize: (221, 338) 1385809688 -2.1765845351482738 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728580_0.png resize: (234, 269) 1385809689 -4.962159769476742 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728579_0.png resize: (193, 194) 1385809690 -5.460388509650213 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728576_0.png resize: (181, 95) 1385809691 -3.758393782020893 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728583_0.png resize: (272, 231) 1385809693 -4.235319130916541 treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728585_0.png resize: (355, 145) 1385809694 -3.41158062084701 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728588_0.png resize: (333, 127) 1385809695 -4.35270555623979 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728589_0.png resize: (135, 121) 1385809696 -4.654510822615034 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728592_0.png resize: (354, 291) 1385809697 -4.341256870615985 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728598_0.png resize: (260, 132) 1385809698 -4.286591165685915 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728567_0.png resize: (200, 179) 1385809703 -3.247515049511983 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728569_0.png resize: (211, 326) 1385809704 -3.6008676682428327 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728572_0.png resize: (157, 178) 1385809705 -2.91367709533797 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728581_0.png resize: (186, 105) 1385809706 -4.105587396455304 treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728577_0.png resize: (289, 296) 1385809707 -5.286998985779054 treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728584_0.png resize: (197, 231) 1385809708 -3.829582568032738 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728591_0.png resize: (274, 245) 1385809709 -4.331403612961553 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728603_0.png resize: (240, 207) 1385809710 -4.005590878234825 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728599_0.png resize: (131, 128) 1385809711 -2.9152457400243676 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728604_0.png resize: (156, 291) 1385809712 -3.3858212768225906 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728600_0.png resize: (242, 133) 1385809713 -2.919831751158175 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728596_0.png resize: (208, 220) 1385809714 -3.0984512041468504 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728601_0.png resize: (120, 136) 1385809715 -3.3780056582049136 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728573_0.png resize: (184, 226) 1385809718 -5.025303293355627 treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728586_0.png resize: (151, 99) 1385809719 -4.4507618639386735 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728594_0.png resize: (118, 218) 1385809720 -4.551992893282625 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728595_0.png resize: (202, 176) 1385809721 -4.909477345530115 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728575_0.png resize: (223, 173) 1385809725 -4.949252856998085 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728597_0.png resize: (256, 340) 1385809726 -3.089789103677525 treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728602_0.png resize: (436, 173) 1385809727 -3.8510368031341975 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728587_0.png resize: (213, 189) 1385809731 -3.6698642296075965 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728590_0.png resize: (197, 210) 1385809732 -3.9925913829415265 treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728593_0.png resize: (139, 150) 1385809733 -1.67015972155292 treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728574_0.png resize: (180, 284) 1385809736 -5.174246091038582 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 : 46 time used for this insertion : 0.012767553329467773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.013613700866699219 save missing photos in datou_result : time spend for datou_step_exec : 22.807008981704712 time spend to save output : 0.031162023544311523 total time spend for step 6 : 22.838171005249023 step7:brightness Wed Sep 24 08:32:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac.jpg treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd.jpg treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75.jpg treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06.jpg treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32.jpg treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728566_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728570_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728571_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728568_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728565_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728564_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728582_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728578_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728580_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728579_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728576_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728583_0.png treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728585_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728588_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728589_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728592_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728598_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728567_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728569_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728572_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728581_0.png treat image : temp/1758695429_1035991_1385797572_165e5710bf161bf087c5768230cc89bd_rle_crop_3972728577_0.png treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728584_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728591_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728603_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728599_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728604_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728600_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728596_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728601_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728573_0.png treat image : temp/1758695429_1035991_1385797569_040b52d963b391f671601844dfd17d75_rle_crop_3972728586_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728594_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728595_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728575_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728597_0.png treat image : temp/1758695429_1035991_1385797561_a4f8165281494cc337afd49f82c5ff32_rle_crop_3972728602_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728587_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728590_0.png treat image : temp/1758695429_1035991_1385797562_726d382bde2236f106423e6f1972bf06_rle_crop_3972728593_0.png treat image : temp/1758695429_1035991_1385797574_6913707fc152fde23b57fc1cc2a6acac_rle_crop_3972728574_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 : 46 time used for this insertion : 0.015528440475463867 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 46 time used for this insertion : 0.01431131362915039 save missing photos in datou_result : time spend for datou_step_exec : 5.604342460632324 time spend to save output : 0.03490447998046875 total time spend for step 7 : 5.639246940612793 step8:velours_tree Wed Sep 24 08:32:42 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.2989671230316162 time spend to save output : 3.6716461181640625e-05 total time spend for step 8 : 0.29900383949279785 step9:send_mail_cod Wed Sep 24 08:32:43 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_P27168014_24-09-2025_08_32_43.pdf 27172124 change filename to text .change filename to text .change filename to text .imagette271721241758695563 27172125 change filename to text .change filename to text .change filename to text .change filename to text .imagette271721251758695563 27172127 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 .imagette271721271758695563 27172128 imagette271721281758695565 27172129 change filename to text .imagette271721291758695565 27172130 imagette271721301758695565 27172131 imagette271721311758695565 27172132 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 .imagette271721321758695565 27172133 change filename to text .change filename to text .change filename to text .imagette271721331758695566 27172134 imagette271721341758695566 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27168014 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27172124,27172125,27172126,27172127,27172128,27172129,27172130,27172131,27172132,27172133,27172134?tags=autre,metal,environnement,papier,pehd,pet_fonce,mal_croppe,flou,carton,pet_clair,background args[1385797574] : ((1385797574, -6.747402826994877, 492609224), (1385797574, -0.16794970868266507, 496442774), '0.029483434606481486') We are sending mail with results at report@fotonower.com args[1385797572] : ((1385797572, -7.167394392970626, 492609224), (1385797572, -0.007221148882868567, 2107752395), '0.029483434606481486') We are sending mail with results at report@fotonower.com args[1385797569] : ((1385797569, -7.1871739179969865, 492609224), (1385797569, 0.04246800564261312, 2107752395), '0.029483434606481486') We are sending mail with results at report@fotonower.com args[1385797562] : ((1385797562, -7.1338025023321965, 492609224), (1385797562, -0.01693662199912555, 2107752395), '0.029483434606481486') We are sending mail with results at report@fotonower.com args[1385797561] : ((1385797561, -7.053263701379637, 492609224), (1385797561, 0.04424950259138353, 2107752395), '0.029483434606481486') We are sending mail with results at report@fotonower.com refus_total : 0.029483434606481486 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27168014 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_P27168014_24-09-2025_08_32_43.pdf results_Auto_P27168014_24-09-2025_08_32_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27168014_24-09-2025_08_32_43.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','27168014','results_Auto_P27168014_24-09-2025_08_32_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27168014_24-09-2025_08_32_43.pdf','pdf','','0.36','0.029483434606481486') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27168014

https://www.fotonower.com/image?json=false&list_photos_id=1385797574
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385797572
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385797569
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385797562
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1385797561
Bravo, la photo est bien prise.

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

exemples de contaminants: autre: https://www.fotonower.com/view/27172124?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/27172125?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27172127?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/27172129?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27172132?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27172133?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27168014_24-09-2025_08_32_43.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27172124,27172125,27172126,27172127,27172128,27172129,27172130,27172131,27172132,27172133,27172134?tags=autre,metal,environnement,papier,pehd,pet_fonce,mal_croppe,flou,carton,pet_clair,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 24 Sep 2025 06:32:49 GMT Content-Length: 0 Connection: close X-Message-Id: smBz0W5qTvaHjMEo7LRCDw Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] 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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.012493371963500977 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.766075611114502 time spend to save output : 0.012655258178710938 total time spend for step 9 : 5.778730869293213 step10:split_time_score Wed Sep 24 08:32:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('05', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24092025 27168014 Nombre de photos uploadées : 5 / 23040 (0%) 24092025 27168014 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 24092025 27168014 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003132820129394531 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19475078582763672 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.032509818394648136 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27168011_24-09-2025_07_13_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27168011 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27168011 AND mptpi.`type`=3726 To do Qualite : 0.029483434606481486 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27168014_24-09-2025_08_32_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27168014 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`=27168014 AND mptpi.`type`=3594 To do Qualite : 0.08488379420564507 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27169442_24-09-2025_07_43_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27169442 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27169442 AND mptpi.`type`=3726 To do Qualite : 0.027651075325245893 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27169467_24-09-2025_07_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27169467 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27169467 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24092025': {'nb_upload': 5, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1385797574, 1385797572, 1385797569, 1385797562, 1385797561] Looping around the photos to save general results len do output : 1 /27168014Didn'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, '3769372') ('3318', '27168014', '1385797574', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797572', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797569', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797562', None, None, None, None, None, '3769372') ('3318', None, None, None, None, None, None, None, '3769372') ('3318', '27168014', '1385797561', None, None, None, None, None, '3769372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012118101119995117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5890860557556152 time spend to save output : 0.012376546859741211 total time spend for step 10 : 0.6014626026153564 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 57.48user 63.32system 2:24.23elapsed 83%CPU (0avgtext+0avgdata 3447032maxresident)k 1240800inputs+41520outputs (13704major+6073907minor)pagefaults 0swaps