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 : 2634716 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 : ['3605426'] with mtr_portfolio_ids : ['26247747'] and first list_photo_ids : [] new path : /proc/2634716/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.1809263229370117 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 Aug 27 00:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6388 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 00:50:32.751105: 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-08-27 00:50:32.776646: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 00:50:32.778085: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2b48000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 00:50:32.778104: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 00:50:32.781783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 00:50:32.910023: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x15e00940 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 00:50:32.910082: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 00:50:32.910953: 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-08-27 00:50:32.911287: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 00:50:32.913439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 00:50:32.915641: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 00:50:32.915995: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 00:50:32.918475: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 00:50:32.919592: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 00:50:32.924255: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 00:50:32.925559: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 00:50:32.925636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 00:50:32.926282: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 00:50:32.926299: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 00:50:32.926309: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 00:50:32.930952: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5862 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-08-27 00:50:33.215865: 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-08-27 00:50:33.215993: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 00:50:33.216018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 00:50:33.216043: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 00:50:33.216067: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 00:50:33.216090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 00:50:33.216114: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 00:50:33.216137: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 00:50:33.217437: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 00:50:33.219190: 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-08-27 00:50:33.219286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 00:50:33.219303: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 00:50:33.219318: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 00:50:33.219332: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 00:50:33.219346: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 00:50:33.219360: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 00:50:33.219374: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 00:50:33.220511: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 00:50:33.220594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 00:50:33.220606: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 00:50:33.220616: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 00:50:33.221828: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 5862 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-08-27 00:50:43.009439: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 00:50:43.243397: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 00:50:44.895305: 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-08-27 00:50:44.896275: 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-08-27 00:50:44.896909: 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-08-27 00:50:44.897497: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-27 00:50:44.898096: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.62G (2817927680 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-27 00:50:44.898737: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.36G (2536134912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-27 00:50:44.899340: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.12G (2282521344 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-27 00:50:44.899380: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.900100: 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-08-27 00:50:44.900120: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.907507: 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-08-27 00:50:44.907534: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.908128: 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-08-27 00:50:44.908154: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.914893: 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-08-27 00:50:44.914932: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-08-27 00:50:44.915513: 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-08-27 00:50:44.915528: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 466.56MiB 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-08-27 00:50:44.957531: 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-08-27 00:50:44.957569: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.958137: 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-08-27 00:50:44.958152: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB 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-08-27 00:50:44.966240: 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-08-27 00:50:44.966262: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-08-27 00:50:44.966814: 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-08-27 00:50:44.966830: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 243.25MiB 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-08-27 00:50:45.018800: 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-08-27 00:50:45.019508: 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-08-27 00:50:45.022376: 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-08-27 00:50:45.022929: 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-08-27 00:50:45.080116: 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-08-27 00:50:45.080707: 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-08-27 00:50:45.082926: 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-08-27 00:50:45.083663: 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-08-27 00:50:45.112613: 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-08-27 00:50:45.113209: 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-08-27 00:50:45.114729: 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-08-27 00:50:45.115279: 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-08-27 00:50:45.121800: 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-08-27 00:50:45.122355: 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-08-27 00:50:45.123981: 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-08-27 00:50:45.124555: 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-08-27 00:50:45.131207: 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-08-27 00:50:45.131786: 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-08-27 00:50:45.133590: 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-08-27 00:50:45.134177: 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-08-27 00:50:45.162893: 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-08-27 00:50:45.163455: 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-08-27 00:50:45.164000: 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-08-27 00:50:45.164564: 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-08-27 00:50:45.168174: 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-08-27 00:50:45.168750: 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-08-27 00:50:45.185542: 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-08-27 00:50:45.186142: 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-08-27 00:50:45.186726: 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-08-27 00:50:45.187280: 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-08-27 00:50:45.200412: 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-08-27 00:50:45.201082: 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-08-27 00:50:45.201673: 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-08-27 00:50:45.202234: 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-08-27 00:50:45.206618: 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-08-27 00:50:45.207210: 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-08-27 00:50:45.211868: 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-08-27 00:50:45.212462: 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-08-27 00:50:45.225275: 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-08-27 00:50:45.226044: 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-08-27 00:50:45.230713: 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-08-27 00:50:45.231287: 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-08-27 00:50:45.231839: 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-08-27 00:50:45.232409: 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-08-27 00:50:45.233189: 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-08-27 00:50:45.233744: 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-08-27 00:50:45.244630: 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-08-27 00:50:45.245187: 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-08-27 00:50:45.245751: 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-08-27 00:50:45.246297: 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-08-27 00:50:45.246844: 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-08-27 00:50:45.247390: 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-08-27 00:50:45.247936: 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-08-27 00:50:45.248676: 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-08-27 00:50:45.258047: 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-08-27 00:50:45.258602: 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-08-27 00:50:45.265015: 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-08-27 00:50:45.265567: 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-08-27 00:50:45.324042: 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-08-27 00:50:45.324851: 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-08-27 00:50:45.325424: 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-08-27 00:50:45.325973: 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-08-27 00:50:45.336030: 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-08-27 00:50:45.337079: 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-08-27 00:50:45.360328: 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-08-27 00:50:45.360947: 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-08-27 00:50:45.361536: 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-08-27 00:50:45.362112: 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-08-27 00:50:45.366193: 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-08-27 00:50:45.366757: 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-08-27 00:50:45.367318: 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-08-27 00:50:45.367878: 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-08-27 00:50:45.369507: 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-08-27 00:50:45.369526: 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-08-27 00:50:45.379607: 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-08-27 00:50:45.380318: 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-08-27 00:50:45.389941: 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-08-27 00:50:45.390642: 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-08-27 00:50:45.391209: 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-08-27 00:50:45.391762: 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-08-27 00:50:45.392322: 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-08-27 00:50:45.392885: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 46.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 2635952 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1438 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 2727 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.0003998279571533203 nb_pixel_total : 10237 time to create 1 rle with old method : 0.013444185256958008 length of segment : 106 time for calcul the mask position with numpy : 0.00011157989501953125 nb_pixel_total : 3581 time to create 1 rle with old method : 0.004554271697998047 length of segment : 59 time for calcul the mask position with numpy : 0.0001709461212158203 nb_pixel_total : 2953 time to create 1 rle with old method : 0.00659489631652832 length of segment : 71 time for calcul the mask position with numpy : 0.002645730972290039 nb_pixel_total : 127157 time to create 1 rle with old method : 0.1613316535949707 length of segment : 557 time for calcul the mask position with numpy : 0.0004665851593017578 nb_pixel_total : 13219 time to create 1 rle with old method : 0.017332792282104492 length of segment : 159 time for calcul the mask position with numpy : 0.00011467933654785156 nb_pixel_total : 2865 time to create 1 rle with old method : 0.003779888153076172 length of segment : 62 time for calcul the mask position with numpy : 0.0004825592041015625 nb_pixel_total : 22052 time to create 1 rle with old method : 0.028391361236572266 length of segment : 162 time for calcul the mask position with numpy : 0.00013899803161621094 nb_pixel_total : 5419 time to create 1 rle with old method : 0.007014036178588867 length of segment : 84 time for calcul the mask position with numpy : 0.00010895729064941406 nb_pixel_total : 4231 time to create 1 rle with old method : 0.0053293704986572266 length of segment : 88 time for calcul the mask position with numpy : 0.00027561187744140625 nb_pixel_total : 11775 time to create 1 rle with old method : 0.015653133392333984 length of segment : 187 time for calcul the mask position with numpy : 0.0002129077911376953 nb_pixel_total : 11863 time to create 1 rle with old method : 0.014887332916259766 length of segment : 117 time for calcul the mask position with numpy : 0.0002841949462890625 nb_pixel_total : 11188 time to create 1 rle with old method : 0.014214038848876953 length of segment : 181 time for calcul the mask position with numpy : 0.00011897087097167969 nb_pixel_total : 3037 time to create 1 rle with old method : 0.0038917064666748047 length of segment : 69 time for calcul the mask position with numpy : 0.020769596099853516 nb_pixel_total : 1110297 time to create 1 rle with new method : 0.07503557205200195 length of segment : 1539 time for calcul the mask position with numpy : 0.0029435157775878906 nb_pixel_total : 100700 time to create 1 rle with old method : 0.11372804641723633 length of segment : 515 time for calcul the mask position with numpy : 0.0003228187561035156 nb_pixel_total : 11508 time to create 1 rle with old method : 0.013636350631713867 length of segment : 185 time for calcul the mask position with numpy : 0.0005080699920654297 nb_pixel_total : 11991 time to create 1 rle with old method : 0.013873815536499023 length of segment : 186 time for calcul the mask position with numpy : 0.0003952980041503906 nb_pixel_total : 12979 time to create 1 rle with old method : 0.015450477600097656 length of segment : 133 time for calcul the mask position with numpy : 0.0004127025604248047 nb_pixel_total : 8398 time to create 1 rle with old method : 0.010172128677368164 length of segment : 169 time for calcul the mask position with numpy : 0.0005104541778564453 nb_pixel_total : 22858 time to create 1 rle with old method : 0.02767491340637207 length of segment : 93 time for calcul the mask position with numpy : 0.000553131103515625 nb_pixel_total : 10442 time to create 1 rle with old method : 0.01246333122253418 length of segment : 185 time for calcul the mask position with numpy : 0.002548694610595703 nb_pixel_total : 126513 time to create 1 rle with old method : 0.14582395553588867 length of segment : 553 time for calcul the mask position with numpy : 0.0009710788726806641 nb_pixel_total : 38115 time to create 1 rle with old method : 0.044394493103027344 length of segment : 193 time for calcul the mask position with numpy : 0.00019049644470214844 nb_pixel_total : 3407 time to create 1 rle with old method : 0.0042188167572021484 length of segment : 70 time for calcul the mask position with numpy : 0.00028133392333984375 nb_pixel_total : 6145 time to create 1 rle with old method : 0.007268190383911133 length of segment : 101 time for calcul the mask position with numpy : 0.00034880638122558594 nb_pixel_total : 9855 time to create 1 rle with old method : 0.011816740036010742 length of segment : 187 time spent for convertir_results : 2.1585543155670166 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 26 chid ids of type : 3594 Number RLEs to save : 6011 save missing photos in datou_result : time spend for datou_step_exec : 26.821086883544922 time spend to save output : 1.2052700519561768 total time spend for step 1 : 28.0263569355011 step2:crop_condition Wed Aug 27 00:50:57 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 : 9 ! batch 1 Loaded 26 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 ! map_result returned by crop_photo_return_map_crop : length : 14 About to insert : list_path_to_insert length 14 new photo from crops ! About to upload 14 photos upload in portfolio : 3736932 init cache_photo without model_param we have 14 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756248659_2634716 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 14 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.8309645652770996 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756248663_2634716 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 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2132229804992676 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756248671_2634716 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 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.928816795349121 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756248674_2634716 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.6490333080291748 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] Looping around the photos to save general results len do output : 26 /1379575792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575800Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575801Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575802Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575803Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575804Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575829Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575831Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575832Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575833Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575837Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575838Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379575839Didn'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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 time used for this insertion : 0.03188824653625488 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.156208276748657 time spend to save output : 0.03315615653991699 total time spend for step 2 : 17.189364433288574 step3:rle_unique_nms_with_priority Wed Aug 27 00:51:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 26 chid ids of type : 3594 +++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.957512378692627 time for calcul the mask position with numpy : 0.2247612476348877 nb_pixel_total : 1929672 time to create 1 rle with new method : 0.09172725677490234 time for calcul the mask position with numpy : 0.007740020751953125 nb_pixel_total : 127157 time to create 1 rle with old method : 0.13949060440063477 time for calcul the mask position with numpy : 0.006773471832275391 nb_pixel_total : 2953 time to create 1 rle with old method : 0.003273487091064453 time for calcul the mask position with numpy : 0.0068242549896240234 nb_pixel_total : 3581 time to create 1 rle with old method : 0.004034280776977539 time for calcul the mask position with numpy : 0.006800651550292969 nb_pixel_total : 10237 time to create 1 rle with old method : 0.010922431945800781 create new chi : 0.5138335227966309 time to delete rle : 0.02808690071105957 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2666 TO DO : save crop sub photo not yet done ! save time : 0.500493049621582 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.5355513095855713 time for calcul the mask position with numpy : 0.15944552421569824 nb_pixel_total : 2025814 time to create 1 rle with new method : 0.30272388458251953 time for calcul the mask position with numpy : 0.006345033645629883 nb_pixel_total : 4231 time to create 1 rle with old method : 0.004883766174316406 time for calcul the mask position with numpy : 0.0066950321197509766 nb_pixel_total : 5419 time to create 1 rle with old method : 0.0062541961669921875 time for calcul the mask position with numpy : 0.006593942642211914 nb_pixel_total : 22052 time to create 1 rle with old method : 0.025309324264526367 time for calcul the mask position with numpy : 0.0068206787109375 nb_pixel_total : 2865 time to create 1 rle with old method : 0.0033559799194335938 time for calcul the mask position with numpy : 0.0075376033782958984 nb_pixel_total : 13219 time to create 1 rle with old method : 0.01513671875 create new chi : 0.5623533725738525 time to delete rle : 0.00040030479431152344 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2190 TO DO : save crop sub photo not yet done ! save time : 0.7268381118774414 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05171060562133789 time for calcul the mask position with numpy : 0.02478957176208496 nb_pixel_total : 2061825 time to create 1 rle with new method : 0.09213852882385254 time for calcul the mask position with numpy : 0.007223367691040039 nb_pixel_total : 11775 time to create 1 rle with old method : 0.013131380081176758 create new chi : 0.13758301734924316 time to delete rle : 0.0002827644348144531 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1454 TO DO : save crop sub photo not yet done ! save time : 0.16242146492004395 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.248183012008667 time for calcul the mask position with numpy : 0.042166709899902344 nb_pixel_total : 942838 time to create 1 rle with new method : 0.3656899929046631 time for calcul the mask position with numpy : 0.2012801170349121 nb_pixel_total : 1104674 time to create 1 rle with new method : 0.17038846015930176 time for calcul the mask position with numpy : 0.006741762161254883 nb_pixel_total : 3037 time to create 1 rle with old method : 0.0034558773040771484 time for calcul the mask position with numpy : 0.006797075271606445 nb_pixel_total : 11188 time to create 1 rle with old method : 0.012732982635498047 time for calcul the mask position with numpy : 0.006964445114135742 nb_pixel_total : 11863 time to create 1 rle with old method : 0.013494729995727539 create new chi : 0.8478832244873047 time to delete rle : 0.0006084442138671875 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 4806 TO DO : save crop sub photo not yet done ! save time : 0.8992447853088379 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05686473846435547 time for calcul the mask position with numpy : 0.0257112979888916 nb_pixel_total : 1961392 time to create 1 rle with new method : 0.10802674293518066 time for calcul the mask position with numpy : 0.006788015365600586 nb_pixel_total : 11508 time to create 1 rle with old method : 0.01290273666381836 time for calcul the mask position with numpy : 0.0075266361236572266 nb_pixel_total : 100700 time to create 1 rle with old method : 0.1127166748046875 create new chi : 0.28170084953308105 time to delete rle : 0.0003612041473388672 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2480 TO DO : save crop sub photo not yet done ! save time : 0.4019041061401367 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.33490586280822754 time for calcul the mask position with numpy : 0.20035505294799805 nb_pixel_total : 2048630 time to create 1 rle with new method : 0.3113071918487549 time for calcul the mask position with numpy : 0.006704092025756836 nb_pixel_total : 12979 time to create 1 rle with old method : 0.014587163925170898 time for calcul the mask position with numpy : 0.007091522216796875 nb_pixel_total : 11991 time to create 1 rle with old method : 0.013623952865600586 create new chi : 0.565161943435669 time to delete rle : 0.0003631114959716797 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1718 TO DO : save crop sub photo not yet done ! save time : 0.1724834442138672 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.05100727081298828 time for calcul the mask position with numpy : 0.23359322547912598 nb_pixel_total : 2065202 time to create 1 rle with new method : 0.2739748954772949 time for calcul the mask position with numpy : 0.006120443344116211 nb_pixel_total : 8398 time to create 1 rle with old method : 0.00946807861328125 create new chi : 0.5337097644805908 time to delete rle : 0.00027251243591308594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1418 TO DO : save crop sub photo not yet done ! save time : 0.23523712158203125 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.2871866226196289 time for calcul the mask position with numpy : 0.07642054557800293 nb_pixel_total : 1913787 time to create 1 rle with new method : 0.13062715530395508 time for calcul the mask position with numpy : 0.007996559143066406 nb_pixel_total : 126513 time to create 1 rle with old method : 0.15620875358581543 time for calcul the mask position with numpy : 0.008540153503417969 nb_pixel_total : 10442 time to create 1 rle with old method : 0.01671743392944336 time for calcul the mask position with numpy : 0.007833480834960938 nb_pixel_total : 22858 time to create 1 rle with old method : 0.026467323303222656 create new chi : 0.4453871250152588 time to delete rle : 0.00045990943908691406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2742 TO DO : save crop sub photo not yet done ! save time : 0.25856494903564453 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.08504176139831543 time for calcul the mask position with numpy : 0.13198232650756836 nb_pixel_total : 2016078 time to create 1 rle with new method : 0.10308837890625 time for calcul the mask position with numpy : 0.007252931594848633 nb_pixel_total : 9855 time to create 1 rle with old method : 0.016003131866455078 time for calcul the mask position with numpy : 0.007256746292114258 nb_pixel_total : 6145 time to create 1 rle with old method : 0.007651090621948242 time for calcul the mask position with numpy : 0.006821632385253906 nb_pixel_total : 3407 time to create 1 rle with old method : 0.003841400146484375 time for calcul the mask position with numpy : 0.007522106170654297 nb_pixel_total : 38115 time to create 1 rle with old method : 0.04281115531921387 create new chi : 0.34641599655151367 time to delete rle : 0.0004458427429199219 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2182 TO DO : save crop sub photo not yet done ! save time : 0.5875153541564941 map_output_result : {1379485208: (0.0, 'Should be the crop_list due to order', 0), 1379485206: (0.0, 'Should be the crop_list due to order', 0), 1379485203: (0.0, 'Should be the crop_list due to order', 0), 1379485195: (0.0, 'Should be the crop_list due to order', 0), 1379485192: (0.0, 'Should be the crop_list due to order', 0), 1379485147: (0.0, 'Should be the crop_list due to order', 0), 1379485135: (0.0, 'Should be the crop_list due to order', 0), 1379485130: (0.0, 'Should be the crop_list due to order', 0), 1379485128: (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 [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] Looping around the photos to save general results len do output : 9 /1379485208.Didn't retrieve data . /1379485206.Didn't retrieve data . /1379485203.Didn't retrieve data . /1379485195.Didn't retrieve data . /1379485192.Didn't retrieve data . /1379485147.Didn't retrieve data . /1379485135.Didn't retrieve data . /1379485130.Didn't retrieve data . /1379485128.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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.014774560928344727 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.152612447738647 time spend to save output : 0.015160322189331055 total time spend for step 3 : 11.167772769927979 step4:ventilate_hashtags_in_portfolio Wed Aug 27 00:51:26 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 : 26247747 get user id for portfolio 26247747 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`=26247747 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','papier','metal','background','pet_fonce','autre','carton','pet_clair','flou','pehd')) 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`=26247747 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','papier','metal','background','pet_fonce','autre','carton','pet_clair','flou','pehd')) 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`=26247747 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','papier','metal','background','pet_fonce','autre','carton','pet_clair','flou','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26248546,26248547,26248548,26248549,26248550,26248551,26248552,26248553,26248554,26248555,26248556?tags=environnement,mal_croppe,papier,metal,background,pet_fonce,autre,carton,pet_clair,flou,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] Looping around the photos to save general results len do output : 1 /26247747. 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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01840996742248535 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.87123441696167 time spend to save output : 0.018640518188476562 total time spend for step 4 : 1.8898749351501465 step5:final Wed Aug 27 00:51:28 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 : {1379485208: ('0.09094017918381346',), 1379485206: ('0.09094017918381346',), 1379485203: ('0.09094017918381346',), 1379485195: ('0.09094017918381346',), 1379485192: ('0.09094017918381346',), 1379485147: ('0.09094017918381346',), 1379485135: ('0.09094017918381346',), 1379485130: ('0.09094017918381346',), 1379485128: ('0.09094017918381346',)} new output for save of step final : {1379485208: ('0.09094017918381346',), 1379485206: ('0.09094017918381346',), 1379485203: ('0.09094017918381346',), 1379485195: ('0.09094017918381346',), 1379485192: ('0.09094017918381346',), 1379485147: ('0.09094017918381346',), 1379485135: ('0.09094017918381346',), 1379485130: ('0.09094017918381346',), 1379485128: ('0.09094017918381346',)} [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] Looping around the photos to save general results len do output : 9 /1379485208.Didn't retrieve data . /1379485206.Didn't retrieve data . /1379485203.Didn't retrieve data . /1379485195.Didn't retrieve data . /1379485192.Didn't retrieve data . /1379485147.Didn't retrieve data . /1379485135.Didn't retrieve data . /1379485130.Didn't retrieve data . /1379485128.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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.016237497329711914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12883520126342773 time spend to save output : 0.016640901565551758 total time spend for step 5 : 0.1454761028289795 step6:blur_detection Wed Aug 27 00:51:28 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/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c.jpg resize: (1080, 1920) 1379485208 -0.6538525373144968 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec.jpg resize: (1080, 1920) 1379485206 -0.1561483201988888 treat image : temp/1756248628_2634716_1379485203_a46b3f4eb442a41e788beae1fbad3e60.jpg resize: (1080, 1920) 1379485203 0.3587565796814348 treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357.jpg resize: (1080, 1920) 1379485195 0.6370336615955335 treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f.jpg resize: (1080, 1920) 1379485192 0.08709547612285395 treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529.jpg resize: (1080, 1920) 1379485147 0.16476875411541647 treat image : temp/1756248628_2634716_1379485135_48647c7bacbbb085ab784d35caa7aa00.jpg resize: (1080, 1920) 1379485135 -1.014913433106109 treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d.jpg resize: (1080, 1920) 1379485130 -0.3208828554490501 treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c.jpg resize: (1080, 1920) 1379485128 0.24495749797327765 treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982721_0.png resize: (104, 147) 1379575792 0.5913990690736898 treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982723_0.png resize: (69, 50) 1379575793 20.0 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982729_0.png resize: (88, 57) 1379575794 2.991365754478043 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982728_0.png resize: (84, 89) 1379575795 -0.5018575504803221 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982725_0.png resize: (159, 150) 1379575796 -1.6900346260289105 treat image : temp/1756248628_2634716_1379485203_a46b3f4eb442a41e788beae1fbad3e60_rle_crop_3931982730_0.png resize: (187, 125) 1379575797 -0.778179146018436 treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982732_0.png resize: (181, 119) 1379575798 -0.5649724500492252 treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f_rle_crop_3931982736_0.png resize: (185, 110) 1379575799 -0.4754685396952003 treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529_rle_crop_3931982737_0.png resize: (185, 120) 1379575800 -0.348478612623994 treat image : temp/1756248628_2634716_1379485135_48647c7bacbbb085ab784d35caa7aa00_rle_crop_3931982739_0.png resize: (169, 107) 1379575801 -1.9286525932416099 treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982741_0.png resize: (185, 126) 1379575802 -1.9761795486094726 treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982743_0.png resize: (188, 297) 1379575803 0.8639845061799131 treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982744_0.png resize: (70, 61) 1379575804 -0.865666563850106 treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982745_0.png resize: (101, 88) 1379575805 -1.307077357103237 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982726_0.png resize: (62, 66) 1379575807 -0.961865548898379 treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982727_0.png resize: (161, 232) 1379575808 -1.7140361918535003 treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982722_0.png resize: (57, 89) 1379575829 -4.092064502534732 treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982724_0.png resize: (548, 378) 1379575831 0.05336676862766096 treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982734_0.png resize: (976, 1329) 1379575832 -1.2820257547567093 treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982731_0.png resize: (117, 127) 1379575833 -2.639674875239791 treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982733_0.png resize: (68, 56) 1379575834 -1.495290167079869 treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f_rle_crop_3931982735_0.png resize: (498, 348) 1379575835 -0.3704573314051552 treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529_rle_crop_3931982738_0.png resize: (130, 147) 1379575836 -0.22215950059085737 treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982742_0.png resize: (544, 380) 1379575837 -0.16626497295719656 treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982746_0.png resize: (131, 102) 1379575838 -2.9314840382938074 treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982740_0.png resize: (89, 276) 1379575839 4.230717385393495 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 : 35 time used for this insertion : 0.016478300094604492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.026744842529296875 save missing photos in datou_result : time spend for datou_step_exec : 8.414098262786865 time spend to save output : 0.04762697219848633 total time spend for step 6 : 8.461725234985352 step7:brightness Wed Aug 27 00:51:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c.jpg treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec.jpg treat image : temp/1756248628_2634716_1379485203_a46b3f4eb442a41e788beae1fbad3e60.jpg treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357.jpg treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f.jpg treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529.jpg treat image : temp/1756248628_2634716_1379485135_48647c7bacbbb085ab784d35caa7aa00.jpg treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d.jpg treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c.jpg treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982721_0.png treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982723_0.png treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982729_0.png treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982728_0.png treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982725_0.png treat image : temp/1756248628_2634716_1379485203_a46b3f4eb442a41e788beae1fbad3e60_rle_crop_3931982730_0.png treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982732_0.png treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f_rle_crop_3931982736_0.png treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529_rle_crop_3931982737_0.png treat image : temp/1756248628_2634716_1379485135_48647c7bacbbb085ab784d35caa7aa00_rle_crop_3931982739_0.png treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982741_0.png treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982743_0.png treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982744_0.png treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982745_0.png treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982726_0.png treat image : temp/1756248628_2634716_1379485206_3867cacbbfe714fbc8468cc906e8afec_rle_crop_3931982727_0.png treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982722_0.png treat image : temp/1756248628_2634716_1379485208_8d70348e63c56c6c7c234c5010f7de1c_rle_crop_3931982724_0.png treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982734_0.png treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982731_0.png treat image : temp/1756248628_2634716_1379485195_7c68ff0f52c1f2a70565a491fbed1357_rle_crop_3931982733_0.png treat image : temp/1756248628_2634716_1379485192_b783b1ee76447df86d239ed3115d786f_rle_crop_3931982735_0.png treat image : temp/1756248628_2634716_1379485147_a43333deeb871cfcf4e098e6218db529_rle_crop_3931982738_0.png treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982742_0.png treat image : temp/1756248628_2634716_1379485128_fb62ea45103f72cb1b0c5513e9b19a3c_rle_crop_3931982746_0.png treat image : temp/1756248628_2634716_1379485130_9aec0adc1d20ec6dfff0e43bab4abc2d_rle_crop_3931982740_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 : 35 time used for this insertion : 0.013797760009765625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.01937103271484375 save missing photos in datou_result : time spend for datou_step_exec : 2.362881660461426 time spend to save output : 0.03754568099975586 total time spend for step 7 : 2.4004273414611816 step8:velours_tree Wed Aug 27 00:51:39 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.13643169403076172 time spend to save output : 4.7206878662109375e-05 total time spend for step 8 : 0.13647890090942383 step9:send_mail_cod Wed Aug 27 00:51:39 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_P26247747_27-08-2025_00_51_39.pdf 26248547 imagette262485471756248699 26248548 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 .imagette262485481756248699 26248549 imagette262485491756248700 26248550 imagette262485501756248700 26248551 imagette262485511756248700 26248552 change filename to text .imagette262485521756248700 26248553 change filename to text .change filename to text .imagette262485531756248700 26248554 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 .imagette262485541756248700 26248555 imagette262485551756248701 26248556 imagette262485561756248701 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26247747 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26248546,26248547,26248548,26248549,26248550,26248551,26248552,26248553,26248554,26248555,26248556?tags=environnement,mal_croppe,papier,metal,background,pet_fonce,autre,carton,pet_clair,flou,pehd args[1379485208] : ((1379485208, -0.6538525373144968, 492688767), (1379485208, 0.41921541381188715, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485206] : ((1379485206, -0.1561483201988888, 492688767), (1379485206, 0.3454568187148644, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485203] : ((1379485203, 0.3587565796814348, 492688767), (1379485203, 0.28622687776993627, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485195] : ((1379485195, 0.6370336615955335, 492688767), (1379485195, 0.2883516919739061, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485192] : ((1379485192, 0.08709547612285395, 492688767), (1379485192, 0.5058616314096942, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485147] : ((1379485147, 0.16476875411541647, 492688767), (1379485147, 0.5414631018066564, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485135] : ((1379485135, -1.014913433106109, 492688767), (1379485135, 0.7724908982836833, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485130] : ((1379485130, -0.3208828554490501, 492688767), (1379485130, 0.5450522732044388, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com args[1379485128] : ((1379485128, 0.24495749797327765, 492688767), (1379485128, 0.3468317154510742, 2107752395), '0.09094017918381346') We are sending mail with results at report@fotonower.com refus_total : 0.09094017918381346 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=26247747 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_P26247747_27-08-2025_00_51_39.pdf results_Auto_P26247747_27-08-2025_00_51_39.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.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','26247747','results_Auto_P26247747_27-08-2025_00_51_39.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.pdf','pdf','','0.26','0.09094017918381346') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26247747

https://www.fotonower.com/image?json=false&list_photos_id=1379485208
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485206
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485203
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485195
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485192
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485147
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485135
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485130
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379485128
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/26248548?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26248552?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26248553?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26248554?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.pdf.

Lien vers velours :https://www.fotonower.com/velours/26248546,26248547,26248548,26248549,26248550,26248551,26248552,26248553,26248554,26248555,26248556?tags=environnement,mal_croppe,papier,metal,background,pet_fonce,autre,carton,pet_clair,flou,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 26 Aug 2025 22:51:42 GMT Content-Length: 0 Connection: close X-Message-Id: M7DT3ALRReq_znpnr8b5UQ 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 [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] 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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.020660877227783203 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5299792289733887 time spend to save output : 0.020948410034179688 total time spend for step 9 : 3.5509276390075684 step10:split_time_score Wed Aug 27 00:51: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 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'}] (('17', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26247747 Nombre de photos uploadées : 9 / 23040 (0%) 26082025 26247747 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 26082025 26247747 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 1.1682510375976562e-05 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006010532379150391 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22275424003601074 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.12792036394032924 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226962 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`=26226962 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247718 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247719 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247722 order by id desc limit 1 Qualite : 0.09864822735217527 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247724_27-08-2025_00_22_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247724 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`=26247724 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247732 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247737 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247740 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247742 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247743 order by id desc limit 1 Qualite : 0.09094017918381346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247747 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`=26247747 AND mptpi.`type`=3594 To do Qualite : 0.023531764403292188 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247752_27-08-2025_00_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247752 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`=26247752 AND mptpi.`type`=3594 To do Qualite : 0.22070842978395055 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247757_27-08-2025_00_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247757 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`=26247757 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'nb_upload': 9, '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 [1379485208, 1379485206, 1379485203, 1379485195, 1379485192, 1379485147, 1379485135, 1379485130, 1379485128] Looping around the photos to save general results len do output : 1 /26247747Didn'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, '3605426') ('3318', '26247747', '1379485208', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485206', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485203', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485195', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485192', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485147', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485135', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485130', None, None, None, None, None, '3605426') ('3318', None, None, None, None, None, None, None, '3605426') ('3318', '26247747', '1379485128', None, None, None, None, None, '3605426') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.3138599395751953 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.01195764541626 time spend to save output : 0.31413841247558594 total time spend for step 10 : 9.326096057891846 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 38.33user 21.28system 1:27.72elapsed 67%CPU (0avgtext+0avgdata 2628516maxresident)k 585704inputs+16272outputs (372major+1424472minor)pagefaults 0swaps