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 : 1217113 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 : ['3664536'] with mtr_portfolio_ids : ['26532814'] and first list_photo_ids : [] new path : /proc/1217113/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 1.088665246963501 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 Thu Sep 4 12:50:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 6819 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-04 12:50:34.093597: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-04 12:50:34.120509: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-04 12:50:34.122718: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fb9dc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-04 12:50:34.122777: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-04 12:50:34.127207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-04 12:50:34.268657: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x347e9f70 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-04 12:50:34.268734: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-04 12:50:34.270031: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 12:50:34.270517: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 12:50:34.273572: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 12:50:34.276567: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 12:50:34.277086: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 12:50:34.279988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 12:50:34.281406: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 12:50:34.286940: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 12:50:34.288517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 12:50:34.288609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 12:50:34.289432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 12:50:34.289452: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 12:50:34.289464: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 12:50:34.290664: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6123 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-04 12:50:34.604615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 12:50:34.604779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 12:50:34.604801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 12:50:34.604823: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 12:50:34.604843: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 12:50:34.604860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 12:50:34.604877: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 12:50:34.604896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 12:50:34.605905: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 12:50:34.607241: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 12:50:34.607277: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 12:50:34.607294: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 12:50:34.607310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 12:50:34.607326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 12:50:34.607342: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 12:50:34.607358: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 12:50:34.607373: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 12:50:34.608379: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 12:50:34.608429: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 12:50:34.608437: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 12:50:34.608445: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 12:50:34.609458: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6123 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-04 12:50:42.675813: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 12:50:42.882511: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 12:50:44.440008: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.440653: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.441286: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.441857: 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-09-04 12:50:44.442418: 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-09-04 12:50:44.442980: 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-09-04 12:50:44.731335: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.35G (3602747648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.731880: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-09-04 12:50:44.791069: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.791163: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.792205: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.792233: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.794978: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.795012: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.796015: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.796042: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.821103: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.821129: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.821693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.821709: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 564.38MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.823245: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.823264: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 290.15MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.823844: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.823860: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 290.15MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.829178: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.829206: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.829743: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.829760: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.08GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-04 12:50:44.831368: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.831912: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.837964: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.838519: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.840021: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.840588: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.866673: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.867237: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.867780: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.868323: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.871821: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.872375: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.887597: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.888150: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.888708: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.889248: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.901549: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.902100: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.902641: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.903199: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.907405: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.907954: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.912415: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.912965: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.924861: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.925412: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.929508: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.930083: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.930627: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.931168: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.931881: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.932439: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.943250: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.943814: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.944380: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.944926: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.945468: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.946008: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.946549: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.947111: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.956375: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.956930: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.963332: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:44.963890: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.019804: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.020429: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.028986: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.029543: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.049070: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.050071: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.067247: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.068282: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.073348: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.074404: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.075341: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.076233: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.078454: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.078488: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-09-04 12:50:45.089443: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.090029: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.102034: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.102723: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.103303: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.103896: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.104544: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-09-04 12:50:45.105276: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.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: 29.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: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 1217665 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1849 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 3042 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.0002827644348144531 nb_pixel_total : 7165 time to create 1 rle with old method : 0.010225534439086914 length of segment : 114 time for calcul the mask position with numpy : 0.00037932395935058594 nb_pixel_total : 18405 time to create 1 rle with old method : 0.021770238876342773 length of segment : 176 time for calcul the mask position with numpy : 8.273124694824219e-05 nb_pixel_total : 2396 time to create 1 rle with old method : 0.003012418746948242 length of segment : 57 time for calcul the mask position with numpy : 0.0005908012390136719 nb_pixel_total : 39336 time to create 1 rle with old method : 0.04795336723327637 length of segment : 245 time for calcul the mask position with numpy : 0.0004298686981201172 nb_pixel_total : 20195 time to create 1 rle with old method : 0.025053739547729492 length of segment : 240 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 8298 time to create 1 rle with old method : 0.010041952133178711 length of segment : 128 time for calcul the mask position with numpy : 0.00011730194091796875 nb_pixel_total : 5181 time to create 1 rle with old method : 0.006247997283935547 length of segment : 104 time for calcul the mask position with numpy : 0.00020647048950195312 nb_pixel_total : 11740 time to create 1 rle with old method : 0.013930559158325195 length of segment : 135 time for calcul the mask position with numpy : 0.00018286705017089844 nb_pixel_total : 3799 time to create 1 rle with old method : 0.0048065185546875 length of segment : 74 time for calcul the mask position with numpy : 0.000202178955078125 nb_pixel_total : 6816 time to create 1 rle with old method : 0.008198022842407227 length of segment : 128 time for calcul the mask position with numpy : 0.00048351287841796875 nb_pixel_total : 24265 time to create 1 rle with old method : 0.028712987899780273 length of segment : 192 time for calcul the mask position with numpy : 0.00019478797912597656 nb_pixel_total : 10413 time to create 1 rle with old method : 0.012341976165771484 length of segment : 124 time for calcul the mask position with numpy : 0.00017833709716796875 nb_pixel_total : 11334 time to create 1 rle with old method : 0.013666868209838867 length of segment : 130 time for calcul the mask position with numpy : 0.0022056102752685547 nb_pixel_total : 106805 time to create 1 rle with old method : 0.1289081573486328 length of segment : 541 time for calcul the mask position with numpy : 0.00011992454528808594 nb_pixel_total : 4064 time to create 1 rle with old method : 0.004990577697753906 length of segment : 108 time for calcul the mask position with numpy : 8.320808410644531e-05 nb_pixel_total : 2997 time to create 1 rle with old method : 0.0036649703979492188 length of segment : 98 time for calcul the mask position with numpy : 8.726119995117188e-05 nb_pixel_total : 2165 time to create 1 rle with old method : 0.0026831626892089844 length of segment : 60 time for calcul the mask position with numpy : 7.796287536621094e-05 nb_pixel_total : 2040 time to create 1 rle with old method : 0.0027604103088378906 length of segment : 38 time for calcul the mask position with numpy : 0.00023126602172851562 nb_pixel_total : 14200 time to create 1 rle with old method : 0.022047996520996094 length of segment : 146 time for calcul the mask position with numpy : 0.00048470497131347656 nb_pixel_total : 9583 time to create 1 rle with old method : 0.011623144149780273 length of segment : 105 time for calcul the mask position with numpy : 0.00014972686767578125 nb_pixel_total : 5015 time to create 1 rle with old method : 0.0060045719146728516 length of segment : 92 time for calcul the mask position with numpy : 0.0003108978271484375 nb_pixel_total : 14342 time to create 1 rle with old method : 0.016614198684692383 length of segment : 137 time for calcul the mask position with numpy : 0.00012993812561035156 nb_pixel_total : 2921 time to create 1 rle with old method : 0.003640890121459961 length of segment : 79 time for calcul the mask position with numpy : 0.00018596649169921875 nb_pixel_total : 8124 time to create 1 rle with old method : 0.00958108901977539 length of segment : 88 time for calcul the mask position with numpy : 0.0017209053039550781 nb_pixel_total : 102968 time to create 1 rle with old method : 0.11095261573791504 length of segment : 484 time for calcul the mask position with numpy : 9.489059448242188e-05 nb_pixel_total : 1858 time to create 1 rle with old method : 0.002315521240234375 length of segment : 59 time for calcul the mask position with numpy : 5.555152893066406e-05 nb_pixel_total : 1248 time to create 1 rle with old method : 0.0014829635620117188 length of segment : 40 time spent for convertir_results : 1.7203195095062256 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 27 chid ids of type : 3594 Number RLEs to save : 3922 save missing photos in datou_result : time spend for datou_step_exec : 23.73616075515747 time spend to save output : 0.2807042598724365 total time spend for step 1 : 24.016865015029907 step2:crop_condition Thu Sep 4 12:50:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 9 ! batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756983056_1217113 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 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.050873517990112 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 ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756983061_1217113 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.3097431659698486 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 ! map_result returned by crop_photo_return_map_crop : length : 5 About to insert : list_path_to_insert length 5 new photo from crops ! About to upload 5 photos upload in portfolio : 3736932 init cache_photo without model_param we have 5 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756983064_1217113 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 5 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6006009578704834 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/1756983066_1217113 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 : 0.70269775390625 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] Looping around the photos to save general results len do output : 27 /1381438730Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438731Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438732Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438769Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438770Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438771Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438777Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438778Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438779Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438780Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438785Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381438786Didn'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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 90 time used for this insertion : 0.019170284271240234 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.68663740158081 time spend to save output : 0.020253658294677734 total time spend for step 2 : 11.706891059875488 step3:rle_unique_nms_with_priority Thu Sep 4 12:51:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 27 chid ids of type : 3594 ++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.2237107753753662 time for calcul the mask position with numpy : 0.15592432022094727 nb_pixel_total : 2066435 time to create 1 rle with new method : 0.1009516716003418 time for calcul the mask position with numpy : 0.0069386959075927734 nb_pixel_total : 7165 time to create 1 rle with old method : 0.008325338363647461 create new chi : 0.2827267646789551 time to delete rle : 0.025353670120239258 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1308 TO DO : save crop sub photo not yet done ! save time : 0.11286544799804688 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.5718462467193604 time for calcul the mask position with numpy : 0.07575297355651855 nb_pixel_total : 1993268 time to create 1 rle with new method : 0.13035249710083008 time for calcul the mask position with numpy : 0.006716728210449219 nb_pixel_total : 20195 time to create 1 rle with old method : 0.023452281951904297 time for calcul the mask position with numpy : 0.007067680358886719 nb_pixel_total : 39336 time to create 1 rle with old method : 0.045122623443603516 time for calcul the mask position with numpy : 0.006768941879272461 nb_pixel_total : 2396 time to create 1 rle with old method : 0.0028481483459472656 time for calcul the mask position with numpy : 0.007375240325927734 nb_pixel_total : 18405 time to create 1 rle with old method : 0.02216315269470215 create new chi : 0.33730244636535645 time to delete rle : 0.00041222572326660156 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 2516 TO DO : save crop sub photo not yet done ! save time : 0.18684864044189453 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07468223571777344 time for calcul the mask position with numpy : 0.06319689750671387 nb_pixel_total : 2044582 time to create 1 rle with new method : 0.09056806564331055 time for calcul the mask position with numpy : 0.006797313690185547 nb_pixel_total : 3799 time to create 1 rle with old method : 0.00440526008605957 time for calcul the mask position with numpy : 0.0068967342376708984 nb_pixel_total : 11740 time to create 1 rle with old method : 0.013551950454711914 time for calcul the mask position with numpy : 0.006729602813720703 nb_pixel_total : 5181 time to create 1 rle with old method : 0.005921840667724609 time for calcul the mask position with numpy : 0.0066874027252197266 nb_pixel_total : 8298 time to create 1 rle with old method : 0.012974739074707031 create new chi : 0.22861099243164062 time to delete rle : 0.0003342628479003906 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1962 TO DO : save crop sub photo not yet done ! save time : 0.1409010887145996 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.26564764976501465 time for calcul the mask position with numpy : 0.18981575965881348 nb_pixel_total : 1924248 time to create 1 rle with new method : 0.08507204055786133 time for calcul the mask position with numpy : 0.007001161575317383 nb_pixel_total : 106805 time to create 1 rle with old method : 0.12290525436401367 time for calcul the mask position with numpy : 0.0064160823822021484 nb_pixel_total : 1053 time to create 1 rle with old method : 0.0015344619750976562 time for calcul the mask position with numpy : 0.006428718566894531 nb_pixel_total : 10413 time to create 1 rle with old method : 0.011869430541992188 time for calcul the mask position with numpy : 0.006521463394165039 nb_pixel_total : 24265 time to create 1 rle with old method : 0.02747511863708496 time for calcul the mask position with numpy : 0.006277322769165039 nb_pixel_total : 6816 time to create 1 rle with old method : 0.007786750793457031 create new chi : 0.48952484130859375 time to delete rle : 0.00047278404235839844 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 3242 TO DO : save crop sub photo not yet done ! save time : 0.22204947471618652 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07573938369750977 time for calcul the mask position with numpy : 0.028556346893310547 nb_pixel_total : 2066539 time to create 1 rle with new method : 0.035216569900512695 time for calcul the mask position with numpy : 0.006387233734130859 nb_pixel_total : 2997 time to create 1 rle with old method : 0.004166126251220703 time for calcul the mask position with numpy : 0.007094383239746094 nb_pixel_total : 4064 time to create 1 rle with old method : 0.006658315658569336 create new chi : 0.08839869499206543 time to delete rle : 0.0003211498260498047 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1492 TO DO : save crop sub photo not yet done ! save time : 0.11163163185119629 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 0.24462532997131348 time for calcul the mask position with numpy : 0.12344694137573242 nb_pixel_total : 2021621 time to create 1 rle with new method : 0.08496737480163574 time for calcul the mask position with numpy : 0.00804448127746582 nb_pixel_total : 1713 time to create 1 rle with old method : 0.003323793411254883 time for calcul the mask position with numpy : 0.007155418395996094 nb_pixel_total : 2921 time to create 1 rle with old method : 0.003416299819946289 time for calcul the mask position with numpy : 0.006256818771362305 nb_pixel_total : 14342 time to create 1 rle with old method : 0.016936302185058594 time for calcul the mask position with numpy : 0.006835222244262695 nb_pixel_total : 5015 time to create 1 rle with old method : 0.005920886993408203 time for calcul the mask position with numpy : 0.006865262985229492 nb_pixel_total : 9583 time to create 1 rle with old method : 0.011421680450439453 time for calcul the mask position with numpy : 0.006729602813720703 nb_pixel_total : 14200 time to create 1 rle with old method : 0.017045259475708008 time for calcul the mask position with numpy : 0.006725788116455078 nb_pixel_total : 2040 time to create 1 rle with old method : 0.002467632293701172 time for calcul the mask position with numpy : 0.006744384765625 nb_pixel_total : 2165 time to create 1 rle with old method : 0.002750873565673828 create new chi : 0.34142589569091797 time to delete rle : 0.00034928321838378906 batch 1 Loaded 17 chid ids of type : 3594 +++++++++++Number RLEs to save : 2520 TO DO : save crop sub photo not yet done ! save time : 0.183455228805542 No data in photo_id : 1381433452 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05429720878601074 time for calcul the mask position with numpy : 0.02731013298034668 nb_pixel_total : 1968774 time to create 1 rle with new method : 0.04139399528503418 time for calcul the mask position with numpy : 0.007954835891723633 nb_pixel_total : 1858 time to create 1 rle with old method : 0.0031807422637939453 time for calcul the mask position with numpy : 0.009236335754394531 nb_pixel_total : 102968 time to create 1 rle with old method : 0.11777210235595703 create new chi : 0.20750904083251953 time to delete rle : 0.0003790855407714844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2166 TO DO : save crop sub photo not yet done ! save time : 0.15476274490356445 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.16592884063720703 time for calcul the mask position with numpy : 0.11721444129943848 nb_pixel_total : 2072352 time to create 1 rle with new method : 0.10492706298828125 time for calcul the mask position with numpy : 0.00664830207824707 nb_pixel_total : 1248 time to create 1 rle with old method : 0.001489400863647461 create new chi : 0.24208283424377441 time to delete rle : 0.00024271011352539062 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1160 TO DO : save crop sub photo not yet done ! save time : 0.1054375171661377 map_output_result : {1381433518: (0.0, 'Should be the crop_list due to order', 0), 1381433516: (0.0, 'Should be the crop_list due to order', 0), 1381433514: (0.0, 'Should be the crop_list due to order', 0), 1381433505: (0.0, 'Should be the crop_list due to order', 0), 1381433504: (0.0, 'Should be the crop_list due to order', 0), 1381433502: (0.0, 'Should be the crop_list due to order', 0), 1381433452: (0.0, 'Should be the crop_list due to order', 0.0), 1381433426: (0.0, 'Should be the crop_list due to order', 0), 1381433402: (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 [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] Looping around the photos to save general results len do output : 9 /1381433518.Didn't retrieve data . /1381433516.Didn't retrieve data . /1381433514.Didn't retrieve data . /1381433505.Didn't retrieve data . /1381433504.Didn't retrieve data . /1381433502.Didn't retrieve data . /1381433452.Didn't retrieve data . /1381433426.Didn't retrieve data . /1381433402.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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.012453317642211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.439356565475464 time spend to save output : 0.013146400451660156 total time spend for step 3 : 5.452502965927124 step4:ventilate_hashtags_in_portfolio Thu Sep 4 12:51:12 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26532814 get user id for portfolio 26532814 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`=26532814 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_fonce','background','flou','pet_clair','mal_croppe','carton','pehd','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`=26532814 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_fonce','background','flou','pet_clair','mal_croppe','carton','pehd','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`=26532814 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_fonce','background','flou','pet_clair','mal_croppe','carton','pehd','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26532974,26532975,26532976,26532977,26532978,26532979,26532980,26532981,26532982,26532983,26532984?tags=metal,environnement,pet_fonce,background,flou,pet_clair,mal_croppe,carton,pehd,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] Looping around the photos to save general results len do output : 1 /26532814. 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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013741254806518555 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.633812665939331 time spend to save output : 0.014052867889404297 total time spend for step 4 : 1.6478655338287354 step5:final Thu Sep 4 12:51:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1381433518: ('0.02309354638203018',), 1381433516: ('0.02309354638203018',), 1381433514: ('0.02309354638203018',), 1381433505: ('0.02309354638203018',), 1381433504: ('0.02309354638203018',), 1381433502: ('0.02309354638203018',), 1381433452: ('0.02309354638203018',), 1381433426: ('0.02309354638203018',), 1381433402: ('0.02309354638203018',)} new output for save of step final : {1381433518: ('0.02309354638203018',), 1381433516: ('0.02309354638203018',), 1381433514: ('0.02309354638203018',), 1381433505: ('0.02309354638203018',), 1381433504: ('0.02309354638203018',), 1381433502: ('0.02309354638203018',), 1381433452: ('0.02309354638203018',), 1381433426: ('0.02309354638203018',), 1381433402: ('0.02309354638203018',)} [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] Looping around the photos to save general results len do output : 9 /1381433518.Didn't retrieve data . /1381433516.Didn't retrieve data . /1381433514.Didn't retrieve data . /1381433505.Didn't retrieve data . /1381433504.Didn't retrieve data . /1381433502.Didn't retrieve data . /1381433452.Didn't retrieve data . /1381433426.Didn't retrieve data . /1381433402.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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.012562990188598633 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15575933456420898 time spend to save output : 0.013065099716186523 total time spend for step 5 : 0.1688244342803955 step6:blur_detection Thu Sep 4 12:51:14 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756983030_1217113_1381433518_31b67404d51c3413d38348b599349731.jpg resize: (1080, 1920) 1381433518 -1.548400388576597 treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3.jpg resize: (1080, 1920) 1381433516 0.25509922798830853 treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2.jpg resize: (1080, 1920) 1381433514 -0.5697259891217189 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa.jpg resize: (1080, 1920) 1381433505 1.7905412017973212 treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a.jpg resize: (1080, 1920) 1381433504 -0.44156803364992925 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1.jpg resize: (1080, 1920) 1381433502 -0.1404167317028387 treat image : temp/1756983030_1217113_1381433452_750db44a1d158a4f8e2e1891b863dc74.jpg resize: (1080, 1920) 1381433452 -0.801584691446713 treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8.jpg resize: (1080, 1920) 1381433426 -0.6812003932695796 treat image : temp/1756983030_1217113_1381433402_8613c7f1e0475c1cdfbcad2753fdbde5.jpg resize: (1080, 1920) 1381433402 -0.046970881478578044 treat image : temp/1756983030_1217113_1381433518_31b67404d51c3413d38348b599349731_rle_crop_3944201260_0.png resize: (112, 127) 1381438730 -1.3891427427708065 treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201264_0.png resize: (240, 206) 1381438731 -0.7992802541248858 treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201262_0.png resize: (56, 66) 1381438732 -0.5334214657709582 treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201266_0.png resize: (104, 77) 1381438734 -2.9558641476098626 treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201265_0.png resize: (91, 139) 1381438735 -1.9983245055657144 treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201268_0.png resize: (74, 88) 1381438736 -3.1576354805640436 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201269_0.png resize: (108, 80) 1381438738 -1.2501991986990721 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201273_0.png resize: (530, 383) 1381438739 -0.36091798647218004 treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a_rle_crop_3944201275_0.png resize: (90, 44) 1381438740 -1.119326259203451 treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a_rle_crop_3944201274_0.png resize: (108, 59) 1381438741 -1.0450025189188743 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201283_0.png resize: (88, 133) 1381438743 -1.5731901712574845 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201277_0.png resize: (37, 68) 1381438744 -0.946598937251189 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201282_0.png resize: (79, 68) 1381438745 -3.054601209252052 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201276_0.png resize: (60, 56) 1381438747 -2.932357457629474 treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8_rle_crop_3944201285_0.png resize: (59, 57) 1381438748 -0.8876122805408848 treat image : temp/1756983030_1217113_1381433402_8613c7f1e0475c1cdfbcad2753fdbde5_rle_crop_3944201286_0.png resize: (40, 41) 1381438749 20.0 treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201261_0.png resize: (172, 172) 1381438769 -1.4046693251182365 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201270_0.png resize: (168, 262) 1381438770 -1.5779469945677362 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201280_0.png resize: (92, 82) 1381438771 -1.4132425601493819 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201281_0.png resize: (136, 184) 1381438772 -1.6603593411066853 treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201263_0.png resize: (222, 236) 1381438776 -1.635851844416677 treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201267_0.png resize: (133, 124) 1381438777 -2.8176866310956377 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201272_0.png resize: (130, 123) 1381438778 -2.7893120063793875 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201279_0.png resize: (82, 318) 1381438779 -1.4189013217769826 treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8_rle_crop_3944201284_0.png resize: (478, 352) 1381438780 -0.19634203205531103 treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201271_0.png resize: (123, 117) 1381438785 -2.775713728874649 treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201278_0.png resize: (134, 142) 1381438786 -3.473996920633914 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 : 36 time used for this insertion : 0.014537811279296875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.012936115264892578 save missing photos in datou_result : time spend for datou_step_exec : 7.060678005218506 time spend to save output : 0.0321497917175293 total time spend for step 6 : 7.092827796936035 step7:brightness Thu Sep 4 12:51: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 ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1756983030_1217113_1381433518_31b67404d51c3413d38348b599349731.jpg treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3.jpg treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2.jpg treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa.jpg treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a.jpg treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1.jpg treat image : temp/1756983030_1217113_1381433452_750db44a1d158a4f8e2e1891b863dc74.jpg treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8.jpg treat image : temp/1756983030_1217113_1381433402_8613c7f1e0475c1cdfbcad2753fdbde5.jpg treat image : temp/1756983030_1217113_1381433518_31b67404d51c3413d38348b599349731_rle_crop_3944201260_0.png treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201264_0.png treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201262_0.png treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201266_0.png treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201265_0.png treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201268_0.png treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201269_0.png treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201273_0.png treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a_rle_crop_3944201275_0.png treat image : temp/1756983030_1217113_1381433504_fbbfa9f248d0f2dcd6439c892c694b5a_rle_crop_3944201274_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201283_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201277_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201282_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201276_0.png treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8_rle_crop_3944201285_0.png treat image : temp/1756983030_1217113_1381433402_8613c7f1e0475c1cdfbcad2753fdbde5_rle_crop_3944201286_0.png treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201261_0.png treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201270_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201280_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201281_0.png treat image : temp/1756983030_1217113_1381433516_4ea83bd3594fd0f13ff251b9b006e6e3_rle_crop_3944201263_0.png treat image : temp/1756983030_1217113_1381433514_f86672f75db29a22c48509f26c0394a2_rle_crop_3944201267_0.png treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201272_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201279_0.png treat image : temp/1756983030_1217113_1381433426_30ff3fe038b3415cfc1b9c9275f026a8_rle_crop_3944201284_0.png treat image : temp/1756983030_1217113_1381433505_2ee6f1cafe9fe747a76da8e4917dadfa_rle_crop_3944201271_0.png treat image : temp/1756983030_1217113_1381433502_792c47eddfa2b9699dc4fed2c4cacea1_rle_crop_3944201278_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 : 36 time used for this insertion : 0.013718128204345703 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.013874292373657227 save missing photos in datou_result : time spend for datou_step_exec : 2.1112186908721924 time spend to save output : 0.032904863357543945 total time spend for step 7 : 2.1441235542297363 step8:velours_tree Thu Sep 4 12:51:23 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.2237861156463623 time spend to save output : 4.267692565917969e-05 total time spend for step 8 : 0.22382879257202148 step9:send_mail_cod Thu Sep 4 12:51:23 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_P26532814_04-09-2025_12_51_23.pdf 26532974 imagette265329741756983083 26532976 imagette265329761756983083 26532977 imagette265329771756983083 26532978 imagette265329781756983083 26532979 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265329791756983083 26532980 imagette265329801756983083 26532981 change filename to text .change filename to text .change filename to text .change filename to text .imagette265329811756983083 26532982 imagette265329821756983084 26532983 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 .imagette265329831756983084 26532984 change filename to text .change filename to text .imagette265329841756983085 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26532814 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26532974,26532975,26532976,26532977,26532978,26532979,26532980,26532981,26532982,26532983,26532984?tags=metal,environnement,pet_fonce,background,flou,pet_clair,mal_croppe,carton,pehd,papier,autre args[1381433518] : ((1381433518, -1.548400388576597, 492688767), (1381433518, 1.3513888792393272, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433516] : ((1381433516, 0.25509922798830853, 492688767), (1381433516, 0.6924203640272345, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433514] : ((1381433514, -0.5697259891217189, 492688767), (1381433514, 0.16728549702495785, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433505] : ((1381433505, 1.7905412017973212, 492688767), (1381433505, 0.34188782117683675, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433504] : ((1381433504, -0.44156803364992925, 492688767), (1381433504, 0.6015461641298367, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433502] : ((1381433502, -0.1404167317028387, 492688767), (1381433502, 0.31586012003938707, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433452] : ((1381433452, -0.801584691446713, 492688767), (1381433452, 1.098869435633452, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433426] : ((1381433426, -0.6812003932695796, 492688767), (1381433426, 0.5541252976300437, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com args[1381433402] : ((1381433402, -0.046970881478578044, 492688767), (1381433402, 0.5966238596662803, 2107752395), '0.02309354638203018') We are sending mail with results at report@fotonower.com refus_total : 0.02309354638203018 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=26532814 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_P26532814_04-09-2025_12_51_23.pdf results_Auto_P26532814_04-09-2025_12_51_23.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532814_04-09-2025_12_51_23.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','26532814','results_Auto_P26532814_04-09-2025_12_51_23.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532814_04-09-2025_12_51_23.pdf','pdf','','0.16','0.02309354638203018') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26532814

https://www.fotonower.com/image?json=false&list_photos_id=1381433518
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433516
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433514
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433505
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7905412017973212)
https://www.fotonower.com/image?json=false&list_photos_id=1381433504
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433502
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433452
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433426
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381433402
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26532979?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26532981?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26532983?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26532984?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532814_04-09-2025_12_51_23.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26532974,26532975,26532976,26532977,26532978,26532979,26532980,26532981,26532982,26532983,26532984?tags=metal,environnement,pet_fonce,background,flou,pet_clair,mal_croppe,carton,pehd,papier,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 04 Sep 2025 10:51:26 GMT Content-Length: 0 Connection: close X-Message-Id: Ggy06Q7-SP-mWbqfwpnybg 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 [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] 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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014484405517578125 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.345261812210083 time spend to save output : 0.014799118041992188 total time spend for step 9 : 3.360060930252075 step10:split_time_score Thu Sep 4 12:51:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('12', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26532814 Nombre de photos uploadées : 9 / 23040 (0%) 04092025 26532814 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 04092025 26532814 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.239776611328125e-05 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008265972137451172 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22107362747192383 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 = 26532805 order by id desc limit 1 Qualite : 0.12952349010942762 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531218 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`=26531218 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26532810 order by id desc limit 1 Qualite : 0.02309354638203018 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532814_04-09-2025_12_51_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26532814 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`=26532814 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'nb_upload': 9, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381433518, 1381433516, 1381433514, 1381433505, 1381433504, 1381433502, 1381433452, 1381433426, 1381433402] Looping around the photos to save general results len do output : 1 /26532814Didn'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, '3664536') ('3318', '26532814', '1381433518', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433516', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433514', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433505', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433504', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433502', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433452', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433426', None, None, None, None, None, '3664536') ('3318', None, None, None, None, None, None, None, '3664536') ('3318', '26532814', '1381433402', None, None, None, None, None, '3664536') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013523101806640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.4483847618103027 time spend to save output : 0.013851642608642578 total time spend for step 10 : 2.4622364044189453 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 29.73user 17.50system 1:03.37elapsed 74%CPU (0avgtext+0avgdata 2584496maxresident)k 599864inputs+9536outputs (453major+1340202minor)pagefaults 0swaps