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 : 3328833 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 : ['3674030'] with mtr_portfolio_ids : ['26604830'] and first list_photo_ids : [] new path : /proc/3328833/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 1.68919038772583 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 Sat Sep 6 10:40:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10599 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-06 10:40:33.261342: 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-06 10:40:33.292587: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-06 10:40:33.294755: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f6140000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-06 10:40:33.294801: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-06 10:40:33.298425: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-06 10:40:33.412257: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x274a4e40 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-06 10:40:33.412301: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-06 10:40:33.413658: 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-06 10:40:33.414020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 10:40:33.416779: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 10:40:33.419814: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 10:40:33.420449: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 10:40:33.423070: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 10:40:33.424262: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 10:40:33.429159: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 10:40:33.430884: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 10:40:33.430964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 10:40:33.431874: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-06 10:40:33.431892: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-06 10:40:33.431903: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-06 10:40:33.433662: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9530 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-06 10:40:33.700519: 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-06 10:40:33.700602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 10:40:33.700622: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 10:40:33.700641: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 10:40:33.700658: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 10:40:33.700676: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 10:40:33.700693: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 10:40:33.700710: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 10:40:33.702273: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 10:40:33.703619: 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-06 10:40:33.703665: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-06 10:40:33.703685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 10:40:33.703702: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-06 10:40:33.703719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-06 10:40:33.703736: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-06 10:40:33.703752: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-06 10:40:33.703769: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 10:40:33.705356: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-06 10:40:33.705395: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-06 10:40:33.705406: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-06 10:40:33.705415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-06 10:40:33.706819: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9530 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-06 10:40:41.126922: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-06 10:40:41.300034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-06 10:40:42.794292: I tensorflow/stream_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-06 10:40:42.794910: 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-06 10:40:42.795483: 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-06 10:40:42.796064: 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-06 10:40:42.796688: 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-06 10:40:43.587214: I tensorflow/stream_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-06 10:40:43.587299: 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-06 10:40:43.647282: I tensorflow/stream_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-06 10:40:43.647378: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-06 10:40:43.648491: I tensorflow/stream_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-06 10:40:43.648526: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB 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-06 10:40:43.656238: I tensorflow/stream_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-06 10:40:43.656271: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.657021: I tensorflow/stream_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-06 10:40:43.657062: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.663239: I tensorflow/stream_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-06 10:40:43.663263: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.663816: I tensorflow/stream_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-06 10:40:43.663830: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.711291: I tensorflow/stream_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-06 10:40:43.711372: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-06 10:40:43.711939: I tensorflow/stream_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-06 10:40:43.711955: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB 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-06 10:40:43.712552: I tensorflow/stream_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-06 10:40:43.712569: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.713173: I tensorflow/stream_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-06 10:40:43.713189: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-09-06 10:40:43.721079: I tensorflow/stream_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-06 10:40:43.721690: I tensorflow/stream_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-06 10:40:43.739338: I tensorflow/stream_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-06 10:40:43.740129: I tensorflow/stream_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-06 10:40:43.740913: I tensorflow/stream_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-06 10:40:43.741702: I tensorflow/stream_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-06 10:40:43.746018: I tensorflow/stream_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-06 10:40:43.746765: I tensorflow/stream_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-06 10:40:43.747506: I tensorflow/stream_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-06 10:40:43.748266: I tensorflow/stream_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-06 10:40:43.749603: I tensorflow/stream_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-06 10:40:43.749630: 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-06 10:40:43.759848: I tensorflow/stream_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-06 10:40:43.760492: I tensorflow/stream_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-06 10:40:43.769704: I tensorflow/stream_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-06 10:40:43.770337: I tensorflow/stream_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-06 10:40:43.770919: I tensorflow/stream_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-06 10:40:43.771497: I tensorflow/stream_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-06 10:40:43.772082: I tensorflow/stream_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-06 10:40:43.772705: I tensorflow/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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.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: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 3329547 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 9404 tf kernel not reseted sub process len(results) : 13 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 13 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 : 10599 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.00032806396484375 nb_pixel_total : 18456 time to create 1 rle with old method : 0.022184371948242188 length of segment : 168 time for calcul the mask position with numpy : 0.44562411308288574 nb_pixel_total : 795852 time to create 1 rle with new method : 0.04330182075500488 length of segment : 1287 time for calcul the mask position with numpy : 0.000217437744140625 nb_pixel_total : 11524 time to create 1 rle with old method : 0.012680768966674805 length of segment : 177 time for calcul the mask position with numpy : 0.001224517822265625 nb_pixel_total : 109314 time to create 1 rle with old method : 0.11830854415893555 length of segment : 525 time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 3591 time to create 1 rle with old method : 0.004176616668701172 length of segment : 76 time for calcul the mask position with numpy : 0.0013332366943359375 nb_pixel_total : 111526 time to create 1 rle with old method : 0.1207571029663086 length of segment : 544 time for calcul the mask position with numpy : 9.512901306152344e-05 nb_pixel_total : 4396 time to create 1 rle with old method : 0.004993915557861328 length of segment : 87 time for calcul the mask position with numpy : 0.00016236305236816406 nb_pixel_total : 10276 time to create 1 rle with old method : 0.011716604232788086 length of segment : 116 time for calcul the mask position with numpy : 0.00012993812561035156 nb_pixel_total : 9718 time to create 1 rle with old method : 0.013954877853393555 length of segment : 73 time for calcul the mask position with numpy : 0.12770938873291016 nb_pixel_total : 1432889 time to create 1 rle with new method : 0.05787539482116699 length of segment : 1238 time for calcul the mask position with numpy : 0.001336812973022461 nb_pixel_total : 115973 time to create 1 rle with old method : 0.12426185607910156 length of segment : 497 time for calcul the mask position with numpy : 0.00010919570922851562 nb_pixel_total : 6256 time to create 1 rle with old method : 0.007050514221191406 length of segment : 94 time for calcul the mask position with numpy : 7.891654968261719e-05 nb_pixel_total : 3974 time to create 1 rle with old method : 0.004485368728637695 length of segment : 86 time for calcul the mask position with numpy : 0.0014858245849609375 nb_pixel_total : 114367 time to create 1 rle with old method : 0.1259160041809082 length of segment : 552 time for calcul the mask position with numpy : 0.00035643577575683594 nb_pixel_total : 13082 time to create 1 rle with old method : 0.014528274536132812 length of segment : 121 time for calcul the mask position with numpy : 0.0019474029541015625 nb_pixel_total : 105974 time to create 1 rle with old method : 0.11500930786132812 length of segment : 543 time for calcul the mask position with numpy : 0.00020813941955566406 nb_pixel_total : 7204 time to create 1 rle with old method : 0.007932186126708984 length of segment : 91 time for calcul the mask position with numpy : 0.00015497207641601562 nb_pixel_total : 3835 time to create 1 rle with old method : 0.004569053649902344 length of segment : 69 time for calcul the mask position with numpy : 0.00038814544677734375 nb_pixel_total : 16426 time to create 1 rle with old method : 0.018625974655151367 length of segment : 137 time for calcul the mask position with numpy : 0.0001220703125 nb_pixel_total : 2585 time to create 1 rle with old method : 0.0031540393829345703 length of segment : 48 time for calcul the mask position with numpy : 0.0002751350402832031 nb_pixel_total : 8944 time to create 1 rle with old method : 0.010434865951538086 length of segment : 157 time for calcul the mask position with numpy : 0.012426137924194336 nb_pixel_total : 800897 time to create 1 rle with new method : 0.09007954597473145 length of segment : 1131 time for calcul the mask position with numpy : 0.00014925003051757812 nb_pixel_total : 2666 time to create 1 rle with old method : 0.003219127655029297 length of segment : 62 time for calcul the mask position with numpy : 0.012236833572387695 nb_pixel_total : 740104 time to create 1 rle with new method : 0.06181740760803223 length of segment : 991 time for calcul the mask position with numpy : 0.0002493858337402344 nb_pixel_total : 8879 time to create 1 rle with old method : 0.010155677795410156 length of segment : 173 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 10884 time to create 1 rle with old method : 0.01299905776977539 length of segment : 121 time spent for convertir_results : 2.9843733310699463 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 26 chid ids of type : 3594 Number RLEs to save : 9164 save missing photos in datou_result : time spend for datou_step_exec : 25.421016216278076 time spend to save output : 1.11497163772583 total time spend for step 1 : 26.535987854003906 step2:crop_condition Sat Sep 6 10:40:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 13 ! batch 1 Loaded 26 chid ids of type : 3594 ++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1757148058_3328833 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.7913470268249512 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757148060_3328833 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0769305229187012 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757148061_3328833 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7588438987731934 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757148079_3328833 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 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.135195016860962 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757148083_3328833 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.1161432266235352 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] Looping around the photos to save general results len do output : 26 /1382011548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011577Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382011582Didn'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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 91 time used for this insertion : 0.022312164306640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 27.427133083343506 time spend to save output : 0.023499250411987305 total time spend for step 2 : 27.450632333755493 step3:rle_unique_nms_with_priority Sat Sep 6 10:41:24 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 26 chid ids of type : 3594 ++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.452392578125 time for calcul the mask position with numpy : 0.05697369575500488 nb_pixel_total : 1252233 time to create 1 rle with new method : 0.07554435729980469 time for calcul the mask position with numpy : 0.00624847412109375 nb_pixel_total : 7059 time to create 1 rle with old method : 0.007876873016357422 time for calcul the mask position with numpy : 0.02477121353149414 nb_pixel_total : 795852 time to create 1 rle with new method : 0.32894420623779297 time for calcul the mask position with numpy : 0.006528615951538086 nb_pixel_total : 18456 time to create 1 rle with old method : 0.02310347557067871 create new chi : 0.5476851463317871 time to delete rle : 0.021788597106933594 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 4150 TO DO : save crop sub photo not yet done ! save time : 0.42543649673461914 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.10624122619628906 time for calcul the mask position with numpy : 0.07661867141723633 nb_pixel_total : 1964286 time to create 1 rle with new method : 0.5548882484436035 time for calcul the mask position with numpy : 0.006606340408325195 nb_pixel_total : 109314 time to create 1 rle with old method : 0.1271195411682129 create new chi : 0.7655622959136963 time to delete rle : 0.000274658203125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2130 TO DO : save crop sub photo not yet done ! save time : 0.2255535125732422 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.08867931365966797 time for calcul the mask position with numpy : 0.22078418731689453 nb_pixel_total : 1954087 time to create 1 rle with new method : 0.2568359375 time for calcul the mask position with numpy : 0.006502866744995117 nb_pixel_total : 4396 time to create 1 rle with old method : 0.005114316940307617 time for calcul the mask position with numpy : 0.006647348403930664 nb_pixel_total : 111526 time to create 1 rle with old method : 0.12401866912841797 time for calcul the mask position with numpy : 0.006131172180175781 nb_pixel_total : 3591 time to create 1 rle with old method : 0.004202842712402344 create new chi : 0.640714168548584 time to delete rle : 0.0004305839538574219 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2494 TO DO : save crop sub photo not yet done ! save time : 0.19386768341064453 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03819704055786133 time for calcul the mask position with numpy : 0.05356001853942871 nb_pixel_total : 2053606 time to create 1 rle with new method : 0.14272236824035645 time for calcul the mask position with numpy : 0.006140470504760742 nb_pixel_total : 9718 time to create 1 rle with old method : 0.010944366455078125 time for calcul the mask position with numpy : 0.006032705307006836 nb_pixel_total : 10276 time to create 1 rle with old method : 0.011574029922485352 create new chi : 0.24153971672058105 time to delete rle : 0.00024390220642089844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1458 TO DO : save crop sub photo not yet done ! save time : 0.28830599784851074 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.059743404388427734 time for calcul the mask position with numpy : 0.009357452392578125 nb_pixel_total : 640711 time to create 1 rle with new method : 0.12135958671569824 time for calcul the mask position with numpy : 0.0422358512878418 nb_pixel_total : 1432889 time to create 1 rle with new method : 0.09911084175109863 create new chi : 0.2879207134246826 time to delete rle : 0.0004878044128417969 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3556 TO DO : save crop sub photo not yet done ! save time : 0.40656208992004395 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.24782085418701172 time for calcul the mask position with numpy : 0.05313897132873535 nb_pixel_total : 1951371 time to create 1 rle with new method : 0.20723438262939453 time for calcul the mask position with numpy : 0.009630203247070312 nb_pixel_total : 6256 time to create 1 rle with old method : 0.007404804229736328 time for calcul the mask position with numpy : 0.0072803497314453125 nb_pixel_total : 115973 time to create 1 rle with old method : 0.13704466819763184 create new chi : 0.43370747566223145 time to delete rle : 0.00046515464782714844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2262 TO DO : save crop sub photo not yet done ! save time : 0.21022439002990723 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.28115200996398926 time for calcul the mask position with numpy : 0.05704522132873535 nb_pixel_total : 1942177 time to create 1 rle with new method : 0.09133625030517578 time for calcul the mask position with numpy : 0.0061800479888916016 nb_pixel_total : 13082 time to create 1 rle with old method : 0.014689445495605469 time for calcul the mask position with numpy : 0.007124662399291992 nb_pixel_total : 114367 time to create 1 rle with old method : 0.13013720512390137 time for calcul the mask position with numpy : 0.005794525146484375 nb_pixel_total : 3974 time to create 1 rle with old method : 0.0042722225189208984 create new chi : 0.3274350166320801 time to delete rle : 0.00044345855712890625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2598 TO DO : save crop sub photo not yet done ! save time : 0.23506975173950195 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03310394287109375 time for calcul the mask position with numpy : 0.017837047576904297 nb_pixel_total : 1967626 time to create 1 rle with new method : 0.14305973052978516 time for calcul the mask position with numpy : 0.006395101547241211 nb_pixel_total : 105974 time to create 1 rle with old method : 0.11804580688476562 create new chi : 0.29232335090637207 time to delete rle : 0.00032067298889160156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2166 TO DO : save crop sub photo not yet done ! save time : 0.3897559642791748 No data in photo_id : 1381994961 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.20944499969482422 time for calcul the mask position with numpy : 0.09794783592224121 nb_pixel_total : 2046135 time to create 1 rle with new method : 0.1315138339996338 time for calcul the mask position with numpy : 0.0058858394622802734 nb_pixel_total : 16426 time to create 1 rle with old method : 0.017981529235839844 time for calcul the mask position with numpy : 0.005986213684082031 nb_pixel_total : 3835 time to create 1 rle with old method : 0.004243135452270508 time for calcul the mask position with numpy : 0.006006479263305664 nb_pixel_total : 7204 time to create 1 rle with old method : 0.008048057556152344 create new chi : 0.28779101371765137 time to delete rle : 0.00032258033752441406 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 1674 TO DO : save crop sub photo not yet done ! save time : 0.7039089202880859 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05511665344238281 time for calcul the mask position with numpy : 0.03674745559692383 nb_pixel_total : 1269677 time to create 1 rle with new method : 0.10716557502746582 time for calcul the mask position with numpy : 0.012123584747314453 nb_pixel_total : 792394 time to create 1 rle with new method : 0.07071185111999512 time for calcul the mask position with numpy : 0.0061070919036865234 nb_pixel_total : 8944 time to create 1 rle with old method : 0.009840011596679688 time for calcul the mask position with numpy : 0.005721569061279297 nb_pixel_total : 2585 time to create 1 rle with old method : 0.0029146671295166016 create new chi : 0.2589383125305176 time to delete rle : 0.0005259513854980469 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3741 TO DO : save crop sub photo not yet done ! save time : 0.5415811538696289 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.19803571701049805 time for calcul the mask position with numpy : 0.08305978775024414 nb_pixel_total : 1323796 time to create 1 rle with new method : 0.08835887908935547 time for calcul the mask position with numpy : 0.005994319915771484 nb_pixel_total : 7034 time to create 1 rle with old method : 0.007722377777099609 time for calcul the mask position with numpy : 0.010596752166748047 nb_pixel_total : 740104 time to create 1 rle with new method : 0.13686299324035645 time for calcul the mask position with numpy : 0.005933046340942383 nb_pixel_total : 2666 time to create 1 rle with old method : 0.0029404163360595703 create new chi : 0.3513789176940918 time to delete rle : 0.00046539306640625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3435 TO DO : save crop sub photo not yet done ! save time : 0.6111106872558594 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03871917724609375 time for calcul the mask position with numpy : 0.018334388732910156 nb_pixel_total : 2062716 time to create 1 rle with new method : 0.13625240325927734 time for calcul the mask position with numpy : 0.005916118621826172 nb_pixel_total : 10884 time to create 1 rle with old method : 0.011616706848144531 create new chi : 0.17868757247924805 time to delete rle : 0.00020813941955566406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1322 TO DO : save crop sub photo not yet done ! save time : 0.44481396675109863 map_output_result : {1381995229: (0.0, 'Should be the crop_list due to order', 0), 1381995227: (0.0, 'Should be the crop_list due to order', 0), 1381995224: (0.0, 'Should be the crop_list due to order', 0), 1381995215: (0.0, 'Should be the crop_list due to order', 0), 1381995067: (0.0, 'Should be the crop_list due to order', 0), 1381995058: (0.0, 'Should be the crop_list due to order', 0), 1381995047: (0.0, 'Should be the crop_list due to order', 0), 1381995029: (0.0, 'Should be the crop_list due to order', 0), 1381994961: (0.0, 'Should be the crop_list due to order', 0.0), 1381994958: (0.0, 'Should be the crop_list due to order', 0), 1381994939: (0.0, 'Should be the crop_list due to order', 0), 1381994868: (0.0, 'Should be the crop_list due to order', 0), 1381994831: (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 [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] Looping around the photos to save general results len do output : 13 /1381995229.Didn't retrieve data . /1381995227.Didn't retrieve data . /1381995224.Didn't retrieve data . /1381995215.Didn't retrieve data . /1381995067.Didn't retrieve data . /1381995058.Didn't retrieve data . /1381995047.Didn't retrieve data . /1381995029.Didn't retrieve data . /1381994961.Didn't retrieve data . /1381994958.Didn't retrieve data . /1381994939.Didn't retrieve data . /1381994868.Didn't retrieve data . /1381994831.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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.018004179000854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.536757946014404 time spend to save output : 0.018407344818115234 total time spend for step 3 : 11.55516529083252 step4:ventilate_hashtags_in_portfolio Sat Sep 6 10:41:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26604830 get user id for portfolio 26604830 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`=26604830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','carton','papier','pet_fonce','environnement','background','pehd','autre','mal_croppe','pet_clair')) 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`=26604830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','carton','papier','pet_fonce','environnement','background','pehd','autre','mal_croppe','pet_clair')) 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`=26604830 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','metal','carton','papier','pet_fonce','environnement','background','pehd','autre','mal_croppe','pet_clair')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26605454,26605455,26605456,26605457,26605458,26605459,26605460,26605461,26605462,26605463,26605464?tags=flou,metal,carton,papier,pet_fonce,environnement,background,pehd,autre,mal_croppe,pet_clair Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] Looping around the photos to save general results len do output : 1 /26604830. 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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.06048417091369629 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7862722873687744 time spend to save output : 0.06073141098022461 total time spend for step 4 : 1.847003698348999 step5:final Sat Sep 6 10:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1381995229: ('0.16525622477445395',), 1381995227: ('0.16525622477445395',), 1381995224: ('0.16525622477445395',), 1381995215: ('0.16525622477445395',), 1381995067: ('0.16525622477445395',), 1381995058: ('0.16525622477445395',), 1381995047: ('0.16525622477445395',), 1381995029: ('0.16525622477445395',), 1381994961: ('0.16525622477445395',), 1381994958: ('0.16525622477445395',), 1381994939: ('0.16525622477445395',), 1381994868: ('0.16525622477445395',), 1381994831: ('0.16525622477445395',)} new output for save of step final : {1381995229: ('0.16525622477445395',), 1381995227: ('0.16525622477445395',), 1381995224: ('0.16525622477445395',), 1381995215: ('0.16525622477445395',), 1381995067: ('0.16525622477445395',), 1381995058: ('0.16525622477445395',), 1381995047: ('0.16525622477445395',), 1381995029: ('0.16525622477445395',), 1381994961: ('0.16525622477445395',), 1381994958: ('0.16525622477445395',), 1381994939: ('0.16525622477445395',), 1381994868: ('0.16525622477445395',), 1381994831: ('0.16525622477445395',)} [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] Looping around the photos to save general results len do output : 13 /1381995229.Didn't retrieve data . /1381995227.Didn't retrieve data . /1381995224.Didn't retrieve data . /1381995215.Didn't retrieve data . /1381995067.Didn't retrieve data . /1381995058.Didn't retrieve data . /1381995047.Didn't retrieve data . /1381995029.Didn't retrieve data . /1381994961.Didn't retrieve data . /1381994958.Didn't retrieve data . /1381994939.Didn't retrieve data . /1381994868.Didn't retrieve data . /1381994831.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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.018607378005981445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1460106372833252 time spend to save output : 0.019251108169555664 total time spend for step 5 : 0.16526174545288086 step6:blur_detection Sat Sep 6 10:41:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84.jpg resize: (1080, 1920) 1381995229 -2.4893991191203138 treat image : temp/1757148028_3328833_1381995227_221a946dc095f5abbcf6ce227af05f1f.jpg resize: (1080, 1920) 1381995227 -1.9507169974785392 treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736.jpg resize: (1080, 1920) 1381995224 -1.595917561285185 treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989.jpg resize: (1080, 1920) 1381995215 -2.0198458608324046 treat image : temp/1757148028_3328833_1381995067_aef26be21fe9227f9ebfb6f3e573f5fc.jpg resize: (1080, 1920) 1381995067 -2.5130201480426173 treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9.jpg resize: (1080, 1920) 1381995058 -2.2104022765851226 treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa.jpg resize: (1080, 1920) 1381995047 -4.198512658108982 treat image : temp/1757148028_3328833_1381995029_1cff6b101a7fe7b0a42d5aa77f30b207.jpg resize: (1080, 1920) 1381995029 -1.7346312904239225 treat image : temp/1757148028_3328833_1381994961_0911d5506be52addb9a9fed3757f869b.jpg resize: (1080, 1920) 1381994961 -2.120375774449973 treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd.jpg resize: (1080, 1920) 1381994958 -2.6620537632570525 treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd.jpg resize: (1080, 1920) 1381994939 -2.672533210622084 treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44.jpg resize: (1080, 1920) 1381994868 -2.7165280341907128 treat image : temp/1757148028_3328833_1381994831_6c6b1de672b9150558c204c0fdc28b9a.jpg resize: (1080, 1920) 1381994831 -1.394742001923039 treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753353_0.png resize: (157, 155) 1382011548 -1.3098423671341652 treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753357_0.png resize: (76, 101) 1382011549 -2.4240938519685673 treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989_rle_crop_3947753360_0.png resize: (116, 153) 1382011550 -0.6783144801514606 treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753365_0.png resize: (86, 62) 1382011551 0.1900906112987867 treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753377_0.png resize: (173, 100) 1382011552 -1.6366110981558089 treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753370_0.png resize: (69, 84) 1382011553 -1.327803160621446 treat image : temp/1757148028_3328833_1381994831_6c6b1de672b9150558c204c0fdc28b9a_rle_crop_3947753378_0.png resize: (115, 118) 1382011554 -0.8503937315555482 treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9_rle_crop_3947753364_0.png resize: (93, 89) 1382011555 -0.6353384698035196 treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753354_0.png resize: (977, 1201) 1382011564 -0.767453420578007 treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753355_0.png resize: (168, 135) 1382011565 -4.811441488799388 treat image : temp/1757148028_3328833_1381995227_221a946dc095f5abbcf6ce227af05f1f_rle_crop_3947753356_0.png resize: (523, 335) 1382011566 -0.014189072051365407 treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753358_0.png resize: (529, 337) 1382011567 -0.019071509881038933 treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989_rle_crop_3947753361_0.png resize: (72, 155) 1382011568 2.234256598324251 treat image : temp/1757148028_3328833_1381995067_aef26be21fe9227f9ebfb6f3e573f5fc_rle_crop_3947753362_0.png resize: (987, 1560) 1382011569 -2.684529152965594 treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9_rle_crop_3947753363_0.png resize: (497, 355) 1382011570 0.2810176144144382 treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753366_0.png resize: (543, 349) 1382011571 -0.44823972586563393 treat image : temp/1757148028_3328833_1381995029_1cff6b101a7fe7b0a42d5aa77f30b207_rle_crop_3947753368_0.png resize: (538, 318) 1382011572 0.12697833781143789 treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753371_0.png resize: (134, 183) 1382011573 -2.4362386657807824 treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753369_0.png resize: (85, 111) 1382011575 -3.05427051001866 treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753374_0.png resize: (952, 1242) 1382011576 -0.7627742653949063 treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753373_0.png resize: (153, 86) 1382011577 -1.4125557635898192 treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753372_0.png resize: (48, 63) 1382011578 -2.0856751236290294 treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753376_0.png resize: (988, 1071) 1382011579 -0.24227211993176437 treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753359_0.png resize: (87, 64) 1382011580 1.1197121494163182 treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753367_0.png resize: (120, 151) 1382011581 -2.7365456974458047 treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753375_0.png resize: (62, 52) 1382011582 3.4267705898868996 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 : 39 time used for this insertion : 0.01349949836730957 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.02067708969116211 save missing photos in datou_result : time spend for datou_step_exec : 11.318382501602173 time spend to save output : 0.03946065902709961 total time spend for step 6 : 11.357843160629272 step7:brightness Sat Sep 6 10:41:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84.jpg treat image : temp/1757148028_3328833_1381995227_221a946dc095f5abbcf6ce227af05f1f.jpg treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736.jpg treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989.jpg treat image : temp/1757148028_3328833_1381995067_aef26be21fe9227f9ebfb6f3e573f5fc.jpg treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9.jpg treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa.jpg treat image : temp/1757148028_3328833_1381995029_1cff6b101a7fe7b0a42d5aa77f30b207.jpg treat image : temp/1757148028_3328833_1381994961_0911d5506be52addb9a9fed3757f869b.jpg treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd.jpg treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd.jpg treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44.jpg treat image : temp/1757148028_3328833_1381994831_6c6b1de672b9150558c204c0fdc28b9a.jpg treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753353_0.png treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753357_0.png treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989_rle_crop_3947753360_0.png treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753365_0.png treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753377_0.png treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753370_0.png treat image : temp/1757148028_3328833_1381994831_6c6b1de672b9150558c204c0fdc28b9a_rle_crop_3947753378_0.png treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9_rle_crop_3947753364_0.png treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753354_0.png treat image : temp/1757148028_3328833_1381995229_18399f27051141c2cfa976f1ef308b84_rle_crop_3947753355_0.png treat image : temp/1757148028_3328833_1381995227_221a946dc095f5abbcf6ce227af05f1f_rle_crop_3947753356_0.png treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753358_0.png treat image : temp/1757148028_3328833_1381995215_12bb9b3014d3cfa28e94bf02d5ae3989_rle_crop_3947753361_0.png treat image : temp/1757148028_3328833_1381995067_aef26be21fe9227f9ebfb6f3e573f5fc_rle_crop_3947753362_0.png treat image : temp/1757148028_3328833_1381995058_0b3e80953914fb7f2b89a7fe7e3454d9_rle_crop_3947753363_0.png treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753366_0.png treat image : temp/1757148028_3328833_1381995029_1cff6b101a7fe7b0a42d5aa77f30b207_rle_crop_3947753368_0.png treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753371_0.png treat image : temp/1757148028_3328833_1381994958_8717514e244c1fb27658b09a3bb6eccd_rle_crop_3947753369_0.png treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753374_0.png treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753373_0.png treat image : temp/1757148028_3328833_1381994939_4b958ad748e00701c4b278da98b46fbd_rle_crop_3947753372_0.png treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753376_0.png treat image : temp/1757148028_3328833_1381995224_c1226ec855ffec78a9fa2d3a04a69736_rle_crop_3947753359_0.png treat image : temp/1757148028_3328833_1381995047_b59068cf58a4cf6e2674b86511a0c8fa_rle_crop_3947753367_0.png treat image : temp/1757148028_3328833_1381994868_9b69d509a5e5680cae5fff3b92756b44_rle_crop_3947753375_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 : 39 time used for this insertion : 0.014368772506713867 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.1427910327911377 save missing photos in datou_result : time spend for datou_step_exec : 3.2819125652313232 time spend to save output : 0.16211247444152832 total time spend for step 7 : 3.4440250396728516 step8:velours_tree Sat Sep 6 10:41:53 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.09049677848815918 time spend to save output : 3.910064697265625e-05 total time spend for step 8 : 0.09053587913513184 step9:send_mail_cod Sat Sep 6 10:41:53 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_P26604830_06-09-2025_10_41_53.pdf 26605454 imagette266054541757148113 26605455 change filename to text .imagette266054551757148113 26605456 change filename to text .change filename to text .imagette266054561757148113 26605457 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette266054571757148113 26605458 imagette266054581757148113 26605460 imagette266054601757148113 26605461 imagette266054611757148113 26605462 change filename to text .change filename to text .change filename to text .imagette266054621757148113 26605463 imagette266054631757148113 26605464 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 .imagette266054641757148113 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26604830 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26605454,26605455,26605456,26605457,26605458,26605459,26605460,26605461,26605462,26605463,26605464?tags=flou,metal,carton,papier,pet_fonce,environnement,background,pehd,autre,mal_croppe,pet_clair args[1381995229] : ((1381995229, -2.4893991191203138, 492609224), (1381995229, 0.6139129191866025, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995227] : ((1381995227, -1.9507169974785392, 492688767), (1381995227, 0.5576438301988549, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995224] : ((1381995224, -1.595917561285185, 492688767), (1381995224, 0.2995805980194269, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995215] : ((1381995215, -2.0198458608324046, 492609224), (1381995215, 0.29741061085433557, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995067] : ((1381995067, -2.5130201480426173, 492609224), (1381995067, 0.355063308298193, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995058] : ((1381995058, -2.2104022765851226, 492609224), (1381995058, 0.49352958702336197, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995047] : ((1381995047, -4.198512658108982, 492609224), (1381995047, 0.44912473802768776, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381995029] : ((1381995029, -1.7346312904239225, 492688767), (1381995029, 0.7119478863627413, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381994961] : ((1381994961, -2.120375774449973, 492609224), (1381994961, 0.652048577703053, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381994958] : ((1381994958, -2.6620537632570525, 492609224), (1381994958, 0.6051687826011309, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381994939] : ((1381994939, -2.672533210622084, 492609224), (1381994939, 0.4811379274319311, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381994868] : ((1381994868, -2.7165280341907128, 492609224), (1381994868, 0.7097575214587301, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com args[1381994831] : ((1381994831, -1.394742001923039, 492688767), (1381994831, 0.4621103694981734, 2107752395), '0.16525622477445395') We are sending mail with results at report@fotonower.com refus_total : 0.16525622477445395 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=26604830 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_P26604830_06-09-2025_10_41_53.pdf results_Auto_P26604830_06-09-2025_10_41_53.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26604830_06-09-2025_10_41_53.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','26604830','results_Auto_P26604830_06-09-2025_10_41_53.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26604830_06-09-2025_10_41_53.pdf','pdf','','0.54','0.16525622477445395') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26604830

https://www.fotonower.com/image?json=false&list_photos_id=1381995229
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995227
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995224
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995215
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995067
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995058
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995047
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381995029
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381994961
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381994958
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381994939
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381994868
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381994831
Bravo, la photo est bien prise.

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

exemples de contaminants: metal: https://www.fotonower.com/view/26605455?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26605456?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26605457?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26605462?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26605464?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26604830_06-09-2025_10_41_53.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26605454,26605455,26605456,26605457,26605458,26605459,26605460,26605461,26605462,26605463,26605464?tags=flou,metal,carton,papier,pet_fonce,environnement,background,pehd,autre,mal_croppe,pet_clair.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 06 Sep 2025 08:41:56 GMT Content-Length: 0 Connection: close X-Message-Id: yVflkiTORPOeqGMQ369fGw 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 [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] 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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.04891824722290039 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6795778274536133 time spend to save output : 0.049164533615112305 total time spend for step 9 : 3.7287423610687256 step10:split_time_score Sat Sep 6 10:41:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 13),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06092025 26604830 Nombre de photos uploadées : 13 / 23040 (0%) 06092025 26604830 Nombre de photos taguées (types de déchets): 0 / 13 (0%) 06092025 26604830 Nombre de photos taguées (volume) : 0 / 13 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ????????????? elapsed_time : fill_and_build_computed_from_old_data 0.000640869140625 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21584010124206543 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.21615461033950617 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26601766_06-09-2025_07_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26601766 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`=26601766 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26604828 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26604829 order by id desc limit 1 Qualite : 0.16525622477445395 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26604830_06-09-2025_10_41_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26604830 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`=26604830 AND mptpi.`type`=3594 To do Qualite : 0.05311668113425926 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26604831_06-09-2025_10_31_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26604831 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`=26604831 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06092025': {'nb_upload': 13, '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 [1381995229, 1381995227, 1381995224, 1381995215, 1381995067, 1381995058, 1381995047, 1381995029, 1381994961, 1381994958, 1381994939, 1381994868, 1381994831] Looping around the photos to save general results len do output : 1 /26604830Didn'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, '3674030') ('3318', '26604830', '1381995229', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995227', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995224', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995215', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995067', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995058', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995047', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381995029', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994961', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994958', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994939', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994868', None, None, None, None, None, '3674030') ('3318', None, None, None, None, None, None, None, '3674030') ('3318', '26604830', '1381994831', None, None, None, None, None, '3674030') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.0174868106842041 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.6202147006988525 time spend to save output : 0.017716407775878906 total time spend for step 10 : 2.6379311084747314 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 13 set_done_treatment 52.73user 21.56system 1:33.98elapsed 79%CPU (0avgtext+0avgdata 2638652maxresident)k 15136inputs+38376outputs (119major+1700574minor)pagefaults 0swaps