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 : 866415 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 : ['3421795'] with mtr_portfolio_ids : ['25581212'] and first list_photo_ids : [] new path : /proc/866415/ 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 2 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.7504072189331055 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Aug 1 11:10:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10512 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-01 11:10:40.385737: 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-01 11:10:40.411583: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-01 11:10:40.413763: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8d94000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-01 11:10:40.413816: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-01 11:10:40.417362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-01 11:10:40.546567: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1fe88560 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-01 11:10:40.546616: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-01 11:10:40.548091: 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-01 11:10:40.548694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 11:10:40.552411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 11:10:40.555054: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 11:10:40.555549: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 11:10:40.558861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 11:10:40.560679: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 11:10:40.566165: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 11:10:40.567700: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 11:10:40.567783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 11:10:40.568549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 11:10:40.568568: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 11:10:40.568577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 11:10:40.569957: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9451 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-01 11:10:40.946548: 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-01 11:10:40.946713: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 11:10:40.946739: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 11:10:40.946764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 11:10:40.946787: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 11:10:40.946808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 11:10:40.946829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 11:10:40.946851: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 11:10:40.948437: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 11:10:40.950191: 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-01 11:10:40.950274: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-01 11:10:40.950298: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 11:10:40.950320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-01 11:10:40.950341: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-01 11:10:40.950362: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-01 11:10:40.950383: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-01 11:10:40.950404: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 11:10:40.951975: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-01 11:10:40.952034: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-01 11:10:40.952047: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-01 11:10:40.952057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-01 11:10:40.953699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9451 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-01 11:10:51.545622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-01 11:10:51.797936: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-01 11:10:53.461924: 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-01 11:10:53.462486: 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-01 11:10:53.463009: 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-01 11:10:53.463567: 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-01 11:10:53.464111: 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-01 11:10:53.464627: 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-01 11:10:53.465132: 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-01 11:10:53.465163: 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-01 11:10:53.465687: 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-01 11:10:53.465703: 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-01 11:10:53.472790: 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-01 11:10:53.472817: 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-01 11:10:53.473359: 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-01 11:10:53.473375: 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-01 11:10:53.479881: 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-01 11:10:53.479927: 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-01 11:10:53.480469: 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-01 11:10:53.480485: 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-01 11:10:53.511207: 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-01 11:10:53.511243: 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-01 11:10:53.511754: 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-01 11:10:53.511769: 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-01 11:10:53.517535: 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-01 11:10:53.517559: 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-01 11:10:53.518066: 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-01 11:10:53.518081: 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-01 11:10:53.557837: 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-01 11:10:53.558362: 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-01 11:10:53.567458: 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-01 11:10:53.568012: 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-01 11:10:53.692857: 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-01 11:10:53.693412: 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-01 11:10:53.700310: 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-01 11:10:53.700870: 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-01 11:10:53.808541: 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-01 11:10:53.809135: 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-01 11:10:53.815595: 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-01 11:10:53.816146: 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-01 11:10:53.860969: 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-01 11:10:53.861529: 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-01 11:10:53.870638: 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-01 11:10:53.871196: 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-01 11:10:53.898028: 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-01 11:10:53.898579: 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-01 11:10:53.903391: 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-01 11:10:53.903945: 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-01 11:10:54.065233: 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-01 11:10:54.065818: 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-01 11:10:54.066364: 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-01 11:10:54.066907: 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-01 11:10:54.089540: 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-01 11:10:54.090096: 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-01 11:10:54.159764: 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-01 11:10:54.160328: 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-01 11:10:54.160872: 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-01 11:10:54.161416: 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-01 11:10:54.195839: 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-01 11:10:54.196409: 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-01 11:10:54.196952: 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-01 11:10:54.197493: 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-01 11:10:54.220504: 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-01 11:10:54.221053: 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-01 11:10:54.255862: 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-01 11:10:54.256414: 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-01 11:10:54.293056: 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-01 11:10:54.293685: 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-01 11:10:54.312003: 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-01 11:10:54.312553: 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-01 11:10:54.313097: 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-01 11:10:54.313639: 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-01 11:10:54.314365: 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-01 11:10:54.314914: 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-01 11:10:54.337823: 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-01 11:10:54.338374: 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-01 11:10:54.338934: 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-01 11:10:54.339486: 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-01 11:10:54.340031: 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-01 11:10:54.340573: 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-01 11:10:54.341115: 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-01 11:10:54.341657: 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-01 11:10:54.385004: 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-01 11:10:54.385582: 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-01 11:10:54.425100: 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-01 11:10:54.425658: 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-01 11:10:54.512526: 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-01 11:10:54.513643: 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-01 11:10:54.514724: 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-01 11:10:54.515755: 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-01 11:10:54.530352: 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-01 11:10:54.531590: 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-01 11:10:54.547976: 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-01 11:10:54.548740: 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-01 11:10:54.549453: 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-01 11:10:54.550153: 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-01 11:10:54.554428: 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-01 11:10:54.555002: 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-01 11:10:54.555570: 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-01 11:10:54.556126: 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-01 11:10:54.557272: 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-01 11:10:54.557294: 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-01 11:10:54.567964: 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-01 11:10:54.568593: 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-01 11:10:54.578268: 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-01 11:10:54.578903: 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-01 11:10:54.579528: 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-01 11:10:54.580086: 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-01 11:10:54.580653: 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-01 11:10:54.581204: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.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: 24.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: 19.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: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.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: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 867103 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 572 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 1765 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.0002346038818359375 nb_pixel_total : 4601 time to create 1 rle with old method : 0.00681757926940918 length of segment : 107 time for calcul the mask position with numpy : 0.012562990188598633 nb_pixel_total : 695818 time to create 1 rle with new method : 0.057988882064819336 length of segment : 953 time for calcul the mask position with numpy : 0.00024580955505371094 nb_pixel_total : 7369 time to create 1 rle with old method : 0.00930333137512207 length of segment : 85 time for calcul the mask position with numpy : 0.0001621246337890625 nb_pixel_total : 4198 time to create 1 rle with old method : 0.005296230316162109 length of segment : 119 time for calcul the mask position with numpy : 0.0001404285430908203 nb_pixel_total : 4656 time to create 1 rle with old method : 0.00583958625793457 length of segment : 65 time for calcul the mask position with numpy : 0.0002465248107910156 nb_pixel_total : 6471 time to create 1 rle with old method : 0.008515596389770508 length of segment : 125 time for calcul the mask position with numpy : 0.00021767616271972656 nb_pixel_total : 9876 time to create 1 rle with old method : 0.012232780456542969 length of segment : 111 time for calcul the mask position with numpy : 0.00011849403381347656 nb_pixel_total : 4355 time to create 1 rle with old method : 0.005556821823120117 length of segment : 62 time for calcul the mask position with numpy : 0.013253211975097656 nb_pixel_total : 737559 time to create 1 rle with new method : 0.04808759689331055 length of segment : 990 time for calcul the mask position with numpy : 0.0006256103515625 nb_pixel_total : 30664 time to create 1 rle with old method : 0.03690934181213379 length of segment : 140 time for calcul the mask position with numpy : 0.0007634162902832031 nb_pixel_total : 37584 time to create 1 rle with old method : 0.04480147361755371 length of segment : 244 time for calcul the mask position with numpy : 0.00023221969604492188 nb_pixel_total : 6011 time to create 1 rle with old method : 0.007422447204589844 length of segment : 108 time for calcul the mask position with numpy : 0.0001804828643798828 nb_pixel_total : 4041 time to create 1 rle with old method : 0.005143165588378906 length of segment : 67 time for calcul the mask position with numpy : 0.00013327598571777344 nb_pixel_total : 4326 time to create 1 rle with old method : 0.005421876907348633 length of segment : 73 time for calcul the mask position with numpy : 0.0025398731231689453 nb_pixel_total : 114516 time to create 1 rle with old method : 0.13453006744384766 length of segment : 540 time for calcul the mask position with numpy : 0.04285240173339844 nb_pixel_total : 734052 time to create 1 rle with new method : 0.06627869606018066 length of segment : 991 time for calcul the mask position with numpy : 0.0003814697265625 nb_pixel_total : 10603 time to create 1 rle with old method : 0.01294398307800293 length of segment : 129 time for calcul the mask position with numpy : 0.0027246475219726562 nb_pixel_total : 106523 time to create 1 rle with old method : 0.1260831356048584 length of segment : 550 time for calcul the mask position with numpy : 0.1482069492340088 nb_pixel_total : 756655 time to create 1 rle with new method : 0.07015180587768555 length of segment : 975 time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 3187 time to create 1 rle with old method : 0.003940105438232422 length of segment : 99 time for calcul the mask position with numpy : 0.00045752525329589844 nb_pixel_total : 15023 time to create 1 rle with old method : 0.018427371978759766 length of segment : 139 time for calcul the mask position with numpy : 0.0007114410400390625 nb_pixel_total : 29815 time to create 1 rle with old method : 0.03606677055358887 length of segment : 186 time for calcul the mask position with numpy : 0.14590692520141602 nb_pixel_total : 760855 time to create 1 rle with new method : 0.06557893753051758 length of segment : 991 time for calcul the mask position with numpy : 0.0030956268310546875 nb_pixel_total : 98358 time to create 1 rle with old method : 0.11040735244750977 length of segment : 537 time for calcul the mask position with numpy : 0.0002446174621582031 nb_pixel_total : 5127 time to create 1 rle with old method : 0.005784273147583008 length of segment : 105 time for calcul the mask position with numpy : 0.05462956428527832 nb_pixel_total : 896475 time to create 1 rle with new method : 0.07824540138244629 length of segment : 1772 time for calcul the mask position with numpy : 0.00033593177795410156 nb_pixel_total : 19102 time to create 1 rle with old method : 0.02250957489013672 length of segment : 107 time for calcul the mask position with numpy : 0.00034236907958984375 nb_pixel_total : 8858 time to create 1 rle with old method : 0.010440349578857422 length of segment : 123 time for calcul the mask position with numpy : 0.002105712890625 nb_pixel_total : 102966 time to create 1 rle with old method : 0.11735105514526367 length of segment : 525 time for calcul the mask position with numpy : 0.017182350158691406 nb_pixel_total : 731775 time to create 1 rle with new method : 0.030979156494140625 length of segment : 958 time for calcul the mask position with numpy : 0.0020248889923095703 nb_pixel_total : 90506 time to create 1 rle with old method : 0.1086578369140625 length of segment : 679 time spent for convertir_results : 3.998903751373291 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 12655 save missing photos in datou_result : time spend for datou_step_exec : 32.08310866355896 time spend to save output : 1.1584656238555908 total time spend for step 1 : 33.24157428741455 step2:crop_condition Fri Aug 1 11:11:10 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 : 14 ! batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754039471_866415 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3998236656188965 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754039473_866415 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 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.031310558319092 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 ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754039499_866415 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.242812871932983 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754039505_866415 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.0161337852478027 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] Looping around the photos to save general results len do output : 31 /1374760161Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760162Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760163Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760166Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760171Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760230Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1374760256Didn'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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 107 time used for this insertion : 0.021999359130859375 save_final save missing photos in datou_result : time spend for datou_step_exec : 35.00779342651367 time spend to save output : 0.023806333541870117 total time spend for step 2 : 35.03159976005554 step3:rle_unique_nms_with_priority Fri Aug 1 11:11:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.7883212566375732 time for calcul the mask position with numpy : 0.06444430351257324 nb_pixel_total : 1365812 time to create 1 rle with new method : 0.10461544990539551 time for calcul the mask position with numpy : 0.007086992263793945 nb_pixel_total : 7369 time to create 1 rle with old method : 0.00921940803527832 time for calcul the mask position with numpy : 0.01203465461730957 nb_pixel_total : 695818 time to create 1 rle with new method : 0.20309877395629883 time for calcul the mask position with numpy : 0.006447792053222656 nb_pixel_total : 4601 time to create 1 rle with old method : 0.00540924072265625 create new chi : 0.42964673042297363 time to delete rle : 0.025102615356445312 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3370 TO DO : save crop sub photo not yet done ! save time : 0.2639610767364502 No data in photo_id : 1374738519 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07830500602722168 time for calcul the mask position with numpy : 0.09659051895141602 nb_pixel_total : 2069402 time to create 1 rle with new method : 0.09527921676635742 time for calcul the mask position with numpy : 0.006179332733154297 nb_pixel_total : 4198 time to create 1 rle with old method : 0.0049173831939697266 create new chi : 0.2081601619720459 time to delete rle : 0.0002148151397705078 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1318 TO DO : save crop sub photo not yet done ! save time : 0.13668012619018555 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.2784249782562256 time for calcul the mask position with numpy : 0.2811739444732666 nb_pixel_total : 2048242 time to create 1 rle with new method : 0.154188871383667 time for calcul the mask position with numpy : 0.0068356990814208984 nb_pixel_total : 4355 time to create 1 rle with old method : 0.005168437957763672 time for calcul the mask position with numpy : 0.00638270378112793 nb_pixel_total : 9876 time to create 1 rle with old method : 0.011713266372680664 time for calcul the mask position with numpy : 0.006359100341796875 nb_pixel_total : 6471 time to create 1 rle with old method : 0.00781559944152832 time for calcul the mask position with numpy : 0.006994724273681641 nb_pixel_total : 4656 time to create 1 rle with old method : 0.005532979965209961 create new chi : 0.5034613609313965 time to delete rle : 0.0003330707550048828 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 1806 TO DO : save crop sub photo not yet done ! save time : 0.1629958152770996 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.036379098892211914 time for calcul the mask position with numpy : 0.014724493026733398 nb_pixel_total : 1336041 time to create 1 rle with new method : 0.15932631492614746 time for calcul the mask position with numpy : 0.010915040969848633 nb_pixel_total : 737559 time to create 1 rle with new method : 0.0278780460357666 create new chi : 0.21328473091125488 time to delete rle : 0.0002868175506591797 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3060 TO DO : save crop sub photo not yet done ! save time : 0.25194358825683594 No data in photo_id : 1374738022 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 0.7621285915374756 time for calcul the mask position with numpy : 0.07528018951416016 nb_pixel_total : 1890759 time to create 1 rle with new method : 0.25827550888061523 time for calcul the mask position with numpy : 0.009581565856933594 nb_pixel_total : 114516 time to create 1 rle with old method : 0.13368701934814453 time for calcul the mask position with numpy : 0.006761074066162109 nb_pixel_total : 4326 time to create 1 rle with old method : 0.005468606948852539 time for calcul the mask position with numpy : 0.006563901901245117 nb_pixel_total : 4041 time to create 1 rle with old method : 0.004885435104370117 time for calcul the mask position with numpy : 0.0064008235931396484 nb_pixel_total : 6011 time to create 1 rle with old method : 0.00714874267578125 time for calcul the mask position with numpy : 0.0063631534576416016 nb_pixel_total : 23283 time to create 1 rle with old method : 0.027353525161743164 time for calcul the mask position with numpy : 0.0068264007568359375 nb_pixel_total : 30664 time to create 1 rle with old method : 0.035616159439086914 create new chi : 0.6021459102630615 time to delete rle : 0.0005948543548583984 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3273 TO DO : save crop sub photo not yet done ! save time : 0.24942874908447266 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06590509414672852 time for calcul the mask position with numpy : 0.014749526977539062 nb_pixel_total : 1339548 time to create 1 rle with new method : 0.029120206832885742 time for calcul the mask position with numpy : 0.010829448699951172 nb_pixel_total : 734052 time to create 1 rle with new method : 0.028432369232177734 create new chi : 0.08354544639587402 time to delete rle : 0.00032806396484375 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3062 TO DO : save crop sub photo not yet done ! save time : 0.23636746406555176 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.29528307914733887 time for calcul the mask position with numpy : 0.15533161163330078 nb_pixel_total : 1196632 time to create 1 rle with new method : 0.1825578212738037 time for calcul the mask position with numpy : 0.006665945053100586 nb_pixel_total : 3187 time to create 1 rle with old method : 0.0038182735443115234 time for calcul the mask position with numpy : 0.012036800384521484 nb_pixel_total : 756655 time to create 1 rle with new method : 0.11841225624084473 time for calcul the mask position with numpy : 0.0069179534912109375 nb_pixel_total : 106523 time to create 1 rle with old method : 0.1240694522857666 time for calcul the mask position with numpy : 0.006774425506591797 nb_pixel_total : 10603 time to create 1 rle with old method : 0.012922525405883789 create new chi : 0.6396579742431641 time to delete rle : 0.0007233619689941406 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 4586 TO DO : save crop sub photo not yet done ! save time : 0.3382716178894043 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034455060958862305 time for calcul the mask position with numpy : 0.021083831787109375 nb_pixel_total : 2058577 time to create 1 rle with new method : 0.029297828674316406 time for calcul the mask position with numpy : 0.00626826286315918 nb_pixel_total : 15023 time to create 1 rle with old method : 0.017854690551757812 create new chi : 0.08081388473510742 time to delete rle : 0.00026297569274902344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1358 TO DO : save crop sub photo not yet done ! save time : 0.1250162124633789 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.24197649955749512 time for calcul the mask position with numpy : 0.08916544914245605 nb_pixel_total : 1282930 time to create 1 rle with new method : 0.24929237365722656 time for calcul the mask position with numpy : 0.01198124885559082 nb_pixel_total : 760855 time to create 1 rle with new method : 0.1964864730834961 time for calcul the mask position with numpy : 0.006470680236816406 nb_pixel_total : 29815 time to create 1 rle with old method : 0.03524923324584961 create new chi : 0.5978701114654541 time to delete rle : 0.0005469322204589844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3434 TO DO : save crop sub photo not yet done ! save time : 0.2569117546081543 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06871175765991211 time for calcul the mask position with numpy : 0.05923652648925781 nb_pixel_total : 1058511 time to create 1 rle with new method : 0.0761103630065918 time for calcul the mask position with numpy : 0.006387472152709961 nb_pixel_total : 19102 time to create 1 rle with old method : 0.022325515747070312 time for calcul the mask position with numpy : 0.013174057006835938 nb_pixel_total : 892502 time to create 1 rle with new method : 0.044974327087402344 time for calcul the mask position with numpy : 0.006387472152709961 nb_pixel_total : 5127 time to create 1 rle with old method : 0.006060600280761719 time for calcul the mask position with numpy : 0.0065937042236328125 nb_pixel_total : 98358 time to create 1 rle with old method : 0.13828587532043457 create new chi : 0.39389657974243164 time to delete rle : 0.0007886886596679688 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 6025 TO DO : save crop sub photo not yet done ! save time : 0.43011951446533203 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05301070213317871 time for calcul the mask position with numpy : 0.016294002532958984 nb_pixel_total : 1230001 time to create 1 rle with new method : 0.0711660385131836 time for calcul the mask position with numpy : 0.011317729949951172 nb_pixel_total : 731775 time to create 1 rle with new method : 0.03113102912902832 time for calcul the mask position with numpy : 0.0065746307373046875 nb_pixel_total : 102966 time to create 1 rle with old method : 0.12649989128112793 time for calcul the mask position with numpy : 0.006680488586425781 nb_pixel_total : 8858 time to create 1 rle with old method : 0.014931201934814453 create new chi : 0.2891380786895752 time to delete rle : 0.0008587837219238281 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4292 TO DO : save crop sub photo not yet done ! save time : 0.31319332122802734 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.039629459381103516 time for calcul the mask position with numpy : 0.023363113403320312 nb_pixel_total : 1983094 time to create 1 rle with new method : 0.22374415397644043 time for calcul the mask position with numpy : 0.006461143493652344 nb_pixel_total : 90506 time to create 1 rle with old method : 0.1019601821899414 create new chi : 0.3609180450439453 time to delete rle : 0.000347137451171875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2438 TO DO : save crop sub photo not yet done ! save time : 0.1873188018798828 map_output_result : {1374738546: (0.0, 'Should be the crop_list due to order', 0), 1374738519: (0.0, 'Should be the crop_list due to order', 0.0), 1374738470: (0.0, 'Should be the crop_list due to order', 0), 1374738085: (0.0, 'Should be the crop_list due to order', 0), 1374738059: (0.0, 'Should be the crop_list due to order', 0), 1374738022: (0.0, 'Should be the crop_list due to order', 0.0), 1374737968: (0.0, 'Should be the crop_list due to order', 0), 1374737914: (0.0, 'Should be the crop_list due to order', 0), 1374737867: (0.0, 'Should be the crop_list due to order', 0), 1374737834: (0.0, 'Should be the crop_list due to order', 0), 1374737832: (0.0, 'Should be the crop_list due to order', 0), 1374737813: (0.0, 'Should be the crop_list due to order', 0), 1374737812: (0.0, 'Should be the crop_list due to order', 0), 1374737810: (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 [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] Looping around the photos to save general results len do output : 14 /1374738546.Didn't retrieve data . /1374738519.Didn't retrieve data . /1374738470.Didn't retrieve data . /1374738085.Didn't retrieve data . /1374738059.Didn't retrieve data . /1374738022.Didn't retrieve data . /1374737968.Didn't retrieve data . /1374737914.Didn't retrieve data . /1374737867.Didn't retrieve data . /1374737834.Didn't retrieve data . /1374737832.Didn't retrieve data . /1374737813.Didn't retrieve data . /1374737812.Didn't retrieve data . /1374737810.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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.016287803649902344 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.526395082473755 time spend to save output : 0.016768693923950195 total time spend for step 3 : 10.543163776397705 step4:ventilate_hashtags_in_portfolio Fri Aug 1 11:11:56 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 : 25581212 get user id for portfolio 25581212 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`=25581212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','metal','mal_croppe','flou','background','environnement','pet_clair','pet_fonce','papier','autre')) 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`=25581212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','metal','mal_croppe','flou','background','environnement','pet_clair','pet_fonce','papier','autre')) 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`=25581212 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','metal','mal_croppe','flou','background','environnement','pet_clair','pet_fonce','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25581703,25581704,25581705,25581706,25581707,25581708,25581709,25581710,25581711,25581712,25581713?tags=pehd,carton,metal,mal_croppe,flou,background,environnement,pet_clair,pet_fonce,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] Looping around the photos to save general results len do output : 1 /25581212. 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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01694464683532715 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.705085039138794 time spend to save output : 0.01823258399963379 total time spend for step 4 : 1.7233176231384277 step5:final Fri Aug 1 11:11:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1374738546: ('0.20749459187610225',), 1374738519: ('0.20749459187610225',), 1374738470: ('0.20749459187610225',), 1374738085: ('0.20749459187610225',), 1374738059: ('0.20749459187610225',), 1374738022: ('0.20749459187610225',), 1374737968: ('0.20749459187610225',), 1374737914: ('0.20749459187610225',), 1374737867: ('0.20749459187610225',), 1374737834: ('0.20749459187610225',), 1374737832: ('0.20749459187610225',), 1374737813: ('0.20749459187610225',), 1374737812: ('0.20749459187610225',), 1374737810: ('0.20749459187610225',)} new output for save of step final : {1374738546: ('0.20749459187610225',), 1374738519: ('0.20749459187610225',), 1374738470: ('0.20749459187610225',), 1374738085: ('0.20749459187610225',), 1374738059: ('0.20749459187610225',), 1374738022: ('0.20749459187610225',), 1374737968: ('0.20749459187610225',), 1374737914: ('0.20749459187610225',), 1374737867: ('0.20749459187610225',), 1374737834: ('0.20749459187610225',), 1374737832: ('0.20749459187610225',), 1374737813: ('0.20749459187610225',), 1374737812: ('0.20749459187610225',), 1374737810: ('0.20749459187610225',)} [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] Looping around the photos to save general results len do output : 14 /1374738546.Didn't retrieve data . /1374738519.Didn't retrieve data . /1374738470.Didn't retrieve data . /1374738085.Didn't retrieve data . /1374738059.Didn't retrieve data . /1374738022.Didn't retrieve data . /1374737968.Didn't retrieve data . /1374737914.Didn't retrieve data . /1374737867.Didn't retrieve data . /1374737834.Didn't retrieve data . /1374737832.Didn't retrieve data . /1374737813.Didn't retrieve data . /1374737812.Didn't retrieve data . /1374737810.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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.01821422576904297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12636303901672363 time spend to save output : 0.018884897232055664 total time spend for step 5 : 0.1452479362487793 step6:blur_detection Fri Aug 1 11:11:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300.jpg resize: (1080, 1920) 1374738546 -1.8161590482661394 treat image : temp/1754039435_866415_1374738519_8e1f058b6ad14078388f35a30920bc28.jpg resize: (1080, 1920) 1374738519 -2.1791231834250597 treat image : temp/1754039435_866415_1374738470_2292ca2fe6d878231675efa0f1906442.jpg resize: (1080, 1920) 1374738470 -1.9647501274074857 treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf.jpg resize: (1080, 1920) 1374738085 -2.619926857934063 treat image : temp/1754039435_866415_1374738059_28af2b7c548325cd7243bb71b14b2e76.jpg resize: (1080, 1920) 1374738059 -1.240986048279715 treat image : temp/1754039435_866415_1374738022_d9b6237ad0eda760b623d12030eefe6f.jpg resize: (1080, 1920) 1374738022 -2.732479413888533 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893.jpg resize: (1080, 1920) 1374737968 -1.9493327053519123 treat image : temp/1754039435_866415_1374737914_8352d7494d1f048b67ec7b350c521690.jpg resize: (1080, 1920) 1374737914 -2.4303529953021012 treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa.jpg resize: (1080, 1920) 1374737867 -2.2517951524307063 treat image : temp/1754039435_866415_1374737834_7436a8682b61f18853372eb7d0d9befd.jpg resize: (1080, 1920) 1374737834 -2.4340381897012926 treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251.jpg resize: (1080, 1920) 1374737832 -1.9633211375326385 treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88.jpg resize: (1080, 1920) 1374737813 -2.3528466147793967 treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a.jpg resize: (1080, 1920) 1374737812 -2.5253606743894985 treat image : temp/1754039435_866415_1374737810_d39b8a55eac5d89d7c7347c433e7a1d4.jpg resize: (1080, 1920) 1374737810 -2.330938839670483 treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350982_0.png resize: (85, 124) 1374760161 -0.9662890731273985 treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350987_0.png resize: (61, 86) 1374760162 1.4865788832316484 treat image : temp/1754039435_866415_1374737834_7436a8682b61f18853372eb7d0d9befd_rle_crop_3900351000_0.png resize: (138, 181) 1374760163 -3.2479715085900316 treat image : temp/1754039435_866415_1374738470_2292ca2fe6d878231675efa0f1906442_rle_crop_3900350983_0.png resize: (119, 61) 1374760166 -2.129901271492924 treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350986_0.png resize: (111, 107) 1374760167 0.5583175600174588 treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350984_0.png resize: (65, 89) 1374760168 0.6258346629493653 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350991_0.png resize: (108, 73) 1374760169 -1.8930957295131596 treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350999_0.png resize: (99, 65) 1374760170 -2.523807790548941 treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351004_0.png resize: (105, 65) 1374760171 -0.0481459056604835 treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351007_0.png resize: (122, 89) 1374760172 0.4496011353974366 treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350981_0.png resize: (943, 935) 1374760221 -0.09541568181764794 treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350980_0.png resize: (107, 62) 1374760222 -2.7591689078237462 treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350985_0.png resize: (96, 160) 1374760223 -2.502436361330935 treat image : temp/1754039435_866415_1374738059_28af2b7c548325cd7243bb71b14b2e76_rle_crop_3900350988_0.png resize: (984, 992) 1374760225 0.7221987237959999 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350990_0.png resize: (216, 286) 1374760226 -1.961155347733219 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350994_0.png resize: (532, 359) 1374760227 0.14529043209715092 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350989_0.png resize: (132, 294) 1374760229 -2.8284976943547977 treat image : temp/1754039435_866415_1374737914_8352d7494d1f048b67ec7b350c521690_rle_crop_3900350995_0.png resize: (988, 988) 1374760230 0.11418909613479687 treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350998_0.png resize: (975, 1009) 1374760231 -0.45425852847989406 treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350996_0.png resize: (128, 102) 1374760233 -3.489789836131896 treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350997_0.png resize: (527, 352) 1374760234 -0.1412391867014246 treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251_rle_crop_3900351002_0.png resize: (987, 1041) 1374760235 0.23894954363537504 treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251_rle_crop_3900351001_0.png resize: (184, 230) 1374760236 -1.53799839624081 treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351005_0.png resize: (994, 1215) 1374760238 -2.292838063309282 treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351006_0.png resize: (106, 225) 1374760239 -2.5297296995663308 treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351003_0.png resize: (510, 333) 1374760240 -0.6645409774810969 treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351009_0.png resize: (950, 1029) 1374760242 -0.4749957407136074 treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351008_0.png resize: (519, 340) 1374760243 -0.4191127176393693 treat image : temp/1754039435_866415_1374737810_d39b8a55eac5d89d7c7347c433e7a1d4_rle_crop_3900351010_0.png resize: (509, 318) 1374760244 -1.2908979998914634 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350993_0.png resize: (71, 80) 1374760255 -0.35597019639282057 treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350992_0.png resize: (65, 81) 1374760256 -1.3748323529209117 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 : 45 time used for this insertion : 0.0160520076751709 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.01697993278503418 save missing photos in datou_result : time spend for datou_step_exec : 14.211265563964844 time spend to save output : 0.037461280822753906 total time spend for step 6 : 14.248726844787598 step7:brightness Fri Aug 1 11:12:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300.jpg treat image : temp/1754039435_866415_1374738519_8e1f058b6ad14078388f35a30920bc28.jpg treat image : temp/1754039435_866415_1374738470_2292ca2fe6d878231675efa0f1906442.jpg treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf.jpg treat image : temp/1754039435_866415_1374738059_28af2b7c548325cd7243bb71b14b2e76.jpg treat image : temp/1754039435_866415_1374738022_d9b6237ad0eda760b623d12030eefe6f.jpg treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893.jpg treat image : temp/1754039435_866415_1374737914_8352d7494d1f048b67ec7b350c521690.jpg treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa.jpg treat image : temp/1754039435_866415_1374737834_7436a8682b61f18853372eb7d0d9befd.jpg treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251.jpg treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88.jpg treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a.jpg treat image : temp/1754039435_866415_1374737810_d39b8a55eac5d89d7c7347c433e7a1d4.jpg treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350982_0.png treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350987_0.png treat image : temp/1754039435_866415_1374737834_7436a8682b61f18853372eb7d0d9befd_rle_crop_3900351000_0.png treat image : temp/1754039435_866415_1374738470_2292ca2fe6d878231675efa0f1906442_rle_crop_3900350983_0.png treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350986_0.png treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350984_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350991_0.png treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350999_0.png treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351004_0.png treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351007_0.png treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350981_0.png treat image : temp/1754039435_866415_1374738546_66f57e115330cec1db5102d974dd9300_rle_crop_3900350980_0.png treat image : temp/1754039435_866415_1374738085_a6d85628d5e5a3376daa40345213decf_rle_crop_3900350985_0.png treat image : temp/1754039435_866415_1374738059_28af2b7c548325cd7243bb71b14b2e76_rle_crop_3900350988_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350990_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350994_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350989_0.png treat image : temp/1754039435_866415_1374737914_8352d7494d1f048b67ec7b350c521690_rle_crop_3900350995_0.png treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350998_0.png treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350996_0.png treat image : temp/1754039435_866415_1374737867_3908980796c317c38b0e31e631ade5aa_rle_crop_3900350997_0.png treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251_rle_crop_3900351002_0.png treat image : temp/1754039435_866415_1374737832_ddc290f3728c9cf3e3732ae6044ab251_rle_crop_3900351001_0.png treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351005_0.png treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351006_0.png treat image : temp/1754039435_866415_1374737813_5df403d3d7d3cb51550f963a130e6f88_rle_crop_3900351003_0.png treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351009_0.png treat image : temp/1754039435_866415_1374737812_06eca60249f8fa31beaff8d1f6b5b70a_rle_crop_3900351008_0.png treat image : temp/1754039435_866415_1374737810_d39b8a55eac5d89d7c7347c433e7a1d4_rle_crop_3900351010_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350993_0.png treat image : temp/1754039435_866415_1374737968_d59b86095c8eb7c1e400173a71d3d893_rle_crop_3900350992_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 : 45 time used for this insertion : 0.014698982238769531 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.02210712432861328 save missing photos in datou_result : time spend for datou_step_exec : 4.075520038604736 time spend to save output : 0.04125666618347168 total time spend for step 7 : 4.116776704788208 step8:velours_tree Fri Aug 1 11:12:16 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.1588456630706787 time spend to save output : 3.218650817871094e-05 total time spend for step 8 : 0.15887784957885742 step9:send_mail_cod Fri Aug 1 11:12:16 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_P25581212_01-08-2025_11_12_16.pdf 25581703 imagette255817031754039536 25581704 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 .imagette255817041754039536 25581705 imagette255817051754039537 25581706 imagette255817061754039537 25581707 imagette255817071754039537 25581708 imagette255817081754039537 25581710 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette255817101754039537 25581711 imagette255817111754039538 25581712 change filename to text .change filename to text .change filename to text .imagette255817121754039538 25581713 change filename to text .change filename to text .imagette255817131754039538 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25581212 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25581703,25581704,25581705,25581706,25581707,25581708,25581709,25581710,25581711,25581712,25581713?tags=pehd,carton,metal,mal_croppe,flou,background,environnement,pet_clair,pet_fonce,papier,autre args[1374738546] : ((1374738546, -1.8161590482661394, 492688767), (1374738546, 0.5030953364383853, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374738519] : ((1374738519, -2.1791231834250597, 492609224), (1374738519, 0.47598546194535674, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374738470] : ((1374738470, -1.9647501274074857, 492688767), (1374738470, 0.5295739874163461, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374738085] : ((1374738085, -2.619926857934063, 492609224), (1374738085, 0.48822754254241824, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374738059] : ((1374738059, -1.240986048279715, 492688767), (1374738059, 0.5926664252520504, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374738022] : ((1374738022, -2.732479413888533, 492609224), (1374738022, 0.6274375617048904, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737968] : ((1374737968, -1.9493327053519123, 492688767), (1374737968, 0.46292362299859546, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737914] : ((1374737914, -2.4303529953021012, 492609224), (1374737914, 0.5612267215902922, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737867] : ((1374737867, -2.2517951524307063, 492609224), (1374737867, 0.41125900637836943, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737834] : ((1374737834, -2.4340381897012926, 492609224), (1374737834, 0.524033676518269, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737832] : ((1374737832, -1.9633211375326385, 492688767), (1374737832, 0.31835011582644474, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737813] : ((1374737813, -2.3528466147793967, 492609224), (1374737813, 0.43358255362863096, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737812] : ((1374737812, -2.5253606743894985, 492609224), (1374737812, 0.33904654591764, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com args[1374737810] : ((1374737810, -2.330938839670483, 492609224), (1374737810, 0.4348173141529842, 2107752395), '0.20749459187610225') We are sending mail with results at report@fotonower.com refus_total : 0.20749459187610225 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=25581212 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_P25581212_01-08-2025_11_12_16.pdf results_Auto_P25581212_01-08-2025_11_12_16.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.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','25581212','results_Auto_P25581212_01-08-2025_11_12_16.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.pdf','pdf','','0.67','0.20749459187610225') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25581212

https://www.fotonower.com/image?json=false&list_photos_id=1374738546
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374738519
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374738470
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374738085
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374738059
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374738022
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737968
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737914
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737867
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737834
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737832
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737813
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737812
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1374737810
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/25581704?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25581710?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25581712?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25581713?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.pdf.

Lien vers velours :https://www.fotonower.com/velours/25581703,25581704,25581705,25581706,25581707,25581708,25581709,25581710,25581711,25581712,25581713?tags=pehd,carton,metal,mal_croppe,flou,background,environnement,pet_clair,pet_fonce,papier,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 01 Aug 2025 09:12:21 GMT Content-Length: 0 Connection: close X-Message-Id: CjJ4b1G6QCiJS1ATaBsNOQ 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 [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] 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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.01456451416015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.3344056606292725 time spend to save output : 0.014769554138183594 total time spend for step 9 : 4.349175214767456 step10:split_time_score Fri Aug 1 11:12:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 01082025 25581212 Nombre de photos uploadées : 14 / 23040 (0%) 01082025 25581212 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 01082025 25581212 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007779598236083984 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22698044776916504 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581210 order by id desc limit 1 Qualite : 0.20749459187610225 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581212_01-08-2025_11_12_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581212 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`=25581212 AND mptpi.`type`=3594 To do Qualite : 0.24190254870756175 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581213_01-08-2025_10_55_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581213 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`=25581213 AND mptpi.`type`=3594 To do Qualite : 0.05313503689236112 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25581215_01-08-2025_10_42_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25581215 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`=25581215 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'01082025': {'nb_upload': 14, '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 [1374738546, 1374738519, 1374738470, 1374738085, 1374738059, 1374738022, 1374737968, 1374737914, 1374737867, 1374737834, 1374737832, 1374737813, 1374737812, 1374737810] Looping around the photos to save general results len do output : 1 /25581212Didn'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, '3421795') ('3318', '25581212', '1374738546', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738519', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738470', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738085', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738059', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374738022', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737968', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737914', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737867', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737834', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737832', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737813', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737812', None, None, None, None, None, '3421795') ('3318', None, None, None, None, None, None, None, '3421795') ('3318', '25581212', '1374737810', None, None, None, None, None, '3421795') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.015040874481201172 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.626927137374878 time spend to save output : 0.015297174453735352 total time spend for step 10 : 1.6422243118286133 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 66.79user 26.06system 1:57.42elapsed 79%CPU (0avgtext+0avgdata 2667188maxresident)k 566016inputs+45200outputs (1303major+1685495minor)pagefaults 0swaps