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 : 4191425 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 : ['2964647'] with mtr_portfolio_ids : ['23371209'] and first list_photo_ids : [] new path : /proc/4191425/ 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 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 3 ; length of list_pids : 3 ; length of list_args : 3 time to download the photos : 0.5694675445556641 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 Tue May 27 11:30:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 3033 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-27 11:30:33.635886: 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-05-27 11:30:33.667274: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-27 11:30:33.669360: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9b04000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-27 11:30:33.669397: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-27 11:30:33.673492: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-27 11:30:33.823070: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b8ab650 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-27 11:30:33.823120: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-27 11:30:33.824094: 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-05-27 11:30:33.840527: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-27 11:30:33.845620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-27 11:30:33.848798: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-27 11:30:33.850098: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-27 11:30:33.854431: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-27 11:30:33.856232: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-27 11:30:33.862663: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-27 11:30:33.863704: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-27 11:30:33.863783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-27 11:30:33.864431: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-27 11:30:33.864451: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-27 11:30:33.864462: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-27 11:30:33.865926: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2581 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-05-27 11:30:34.183733: 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-05-27 11:30:34.183871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-27 11:30:34.183900: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-27 11:30:34.183926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-27 11:30:34.183950: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-27 11:30:34.183975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-27 11:30:34.183999: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-27 11:30:34.184023: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-27 11:30:34.184985: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-27 11:30:34.185904: 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-05-27 11:30:34.185941: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-27 11:30:34.185959: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-27 11:30:34.185976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-27 11:30:34.185992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-27 11:30:34.186008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-27 11:30:34.186024: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-27 11:30:34.186040: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-27 11:30:34.186812: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-27 11:30:34.186854: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-27 11:30:34.186863: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-27 11:30:34.186870: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-27 11:30:34.187720: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 2581 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-05-27 11:30:42.728507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-27 11:30:42.897964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-27 11:30:44.214743: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.214823: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.221548: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.221602: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.275094: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.275149: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.06GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.318255: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-05-27 11:30:44.318301: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.09GiB 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-05-27 11:30:44.370174: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.370210: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.15GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-05-27 11:30:44.372450: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.52G (1634598912 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.373029: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 1.37G (1471139072 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.697663: 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-05-27 11:30:44.745464: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.746506: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.747846: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.748866: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.759041: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.759652: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.760279: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.760887: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.761490: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.762097: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.776720: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.777332: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.809162: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.809245: 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-05-27 11:30:44.810399: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.811576: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.818670: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.819457: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.827727: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.828371: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.849011: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.849634: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.850248: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.850857: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.854904: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.855522: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.856126: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.856732: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.858552: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.867989: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.868550: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.877626: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.878239: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.878852: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.879472: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.880086: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-05-27 11:30:44.880689: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.00G (2147483648 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 : 3 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 27 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 11.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 30 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 7.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 32 Detection mask done ! Trying to reset tf kernel 4192163 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1840 tf kernel not reseted sub process len(results) : 3 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 3 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 : 3033 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.002948284149169922 nb_pixel_total : 111844 time to create 1 rle with old method : 0.15166831016540527 length of segment : 528 time for calcul the mask position with numpy : 0.0007147789001464844 nb_pixel_total : 33639 time to create 1 rle with old method : 0.03917431831359863 length of segment : 237 time for calcul the mask position with numpy : 0.0001952648162841797 nb_pixel_total : 8525 time to create 1 rle with old method : 0.009843587875366211 length of segment : 108 time for calcul the mask position with numpy : 0.0033445358276367188 nb_pixel_total : 128480 time to create 1 rle with old method : 0.14891695976257324 length of segment : 439 time for calcul the mask position with numpy : 0.0023632049560546875 nb_pixel_total : 106638 time to create 1 rle with old method : 0.18181371688842773 length of segment : 359 time for calcul the mask position with numpy : 0.0009546279907226562 nb_pixel_total : 43757 time to create 1 rle with old method : 0.05384469032287598 length of segment : 344 time for calcul the mask position with numpy : 0.001744985580444336 nb_pixel_total : 99673 time to create 1 rle with old method : 0.11788797378540039 length of segment : 533 time for calcul the mask position with numpy : 0.00457763671875 nb_pixel_total : 175773 time to create 1 rle with new method : 0.010361433029174805 length of segment : 625 time for calcul the mask position with numpy : 0.0002732276916503906 nb_pixel_total : 9355 time to create 1 rle with old method : 0.01093292236328125 length of segment : 114 time for calcul the mask position with numpy : 0.001081228256225586 nb_pixel_total : 51807 time to create 1 rle with old method : 0.059328317642211914 length of segment : 237 time for calcul the mask position with numpy : 0.00031447410583496094 nb_pixel_total : 14367 time to create 1 rle with old method : 0.017020463943481445 length of segment : 154 time for calcul the mask position with numpy : 0.0004334449768066406 nb_pixel_total : 19566 time to create 1 rle with old method : 0.023335695266723633 length of segment : 118 time for calcul the mask position with numpy : 0.0009741783142089844 nb_pixel_total : 15623 time to create 1 rle with old method : 0.018668174743652344 length of segment : 418 time for calcul the mask position with numpy : 0.003283262252807617 nb_pixel_total : 128583 time to create 1 rle with old method : 0.1468358039855957 length of segment : 828 time for calcul the mask position with numpy : 0.0006031990051269531 nb_pixel_total : 24280 time to create 1 rle with old method : 0.028834819793701172 length of segment : 238 time for calcul the mask position with numpy : 0.0006158351898193359 nb_pixel_total : 36103 time to create 1 rle with old method : 0.0435633659362793 length of segment : 244 time for calcul the mask position with numpy : 0.004210948944091797 nb_pixel_total : 224258 time to create 1 rle with new method : 0.014389276504516602 length of segment : 654 time for calcul the mask position with numpy : 0.002415895462036133 nb_pixel_total : 98511 time to create 1 rle with old method : 0.1160430908203125 length of segment : 467 time for calcul the mask position with numpy : 0.0009090900421142578 nb_pixel_total : 23957 time to create 1 rle with old method : 0.027974367141723633 length of segment : 223 time for calcul the mask position with numpy : 0.0013234615325927734 nb_pixel_total : 87118 time to create 1 rle with old method : 0.11221051216125488 length of segment : 576 time for calcul the mask position with numpy : 0.0023992061614990234 nb_pixel_total : 168025 time to create 1 rle with new method : 0.009358644485473633 length of segment : 448 time for calcul the mask position with numpy : 0.002222299575805664 nb_pixel_total : 60476 time to create 1 rle with old method : 0.06767463684082031 length of segment : 378 time for calcul the mask position with numpy : 0.0017056465148925781 nb_pixel_total : 96794 time to create 1 rle with old method : 0.11323690414428711 length of segment : 554 time for calcul the mask position with numpy : 0.00421452522277832 nb_pixel_total : 161045 time to create 1 rle with new method : 0.008324623107910156 length of segment : 466 time for calcul the mask position with numpy : 0.0015325546264648438 nb_pixel_total : 107634 time to create 1 rle with old method : 0.12072920799255371 length of segment : 302 time for calcul the mask position with numpy : 0.0009276866912841797 nb_pixel_total : 21338 time to create 1 rle with old method : 0.026444196701049805 length of segment : 168 time for calcul the mask position with numpy : 0.0026574134826660156 nb_pixel_total : 85566 time to create 1 rle with old method : 0.09752130508422852 length of segment : 337 time for calcul the mask position with numpy : 0.001680135726928711 nb_pixel_total : 54772 time to create 1 rle with old method : 0.06508946418762207 length of segment : 159 time for calcul the mask position with numpy : 0.00038552284240722656 nb_pixel_total : 10043 time to create 1 rle with old method : 0.011687278747558594 length of segment : 89 time for calcul the mask position with numpy : 0.0012784004211425781 nb_pixel_total : 18620 time to create 1 rle with old method : 0.021254539489746094 length of segment : 451 time for calcul the mask position with numpy : 0.00033402442932128906 nb_pixel_total : 10238 time to create 1 rle with old method : 0.01181173324584961 length of segment : 94 time for calcul the mask position with numpy : 0.001859903335571289 nb_pixel_total : 60084 time to create 1 rle with old method : 0.06793498992919922 length of segment : 226 time for calcul the mask position with numpy : 0.0007190704345703125 nb_pixel_total : 19382 time to create 1 rle with old method : 0.024558067321777344 length of segment : 113 time for calcul the mask position with numpy : 0.0022385120391845703 nb_pixel_total : 57187 time to create 1 rle with old method : 0.06578421592712402 length of segment : 483 time for calcul the mask position with numpy : 0.0034008026123046875 nb_pixel_total : 133896 time to create 1 rle with old method : 0.14934349060058594 length of segment : 280 time for calcul the mask position with numpy : 0.0013432502746582031 nb_pixel_total : 41157 time to create 1 rle with old method : 0.046132564544677734 length of segment : 257 time for calcul the mask position with numpy : 0.00035953521728515625 nb_pixel_total : 7609 time to create 1 rle with old method : 0.008967876434326172 length of segment : 105 time for calcul the mask position with numpy : 0.0016524791717529297 nb_pixel_total : 65458 time to create 1 rle with old method : 0.07527804374694824 length of segment : 226 time for calcul the mask position with numpy : 0.00023984909057617188 nb_pixel_total : 9306 time to create 1 rle with old method : 0.010766029357910156 length of segment : 137 time spent for convertir_results : 4.408220052719116 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 39 chid ids of type : 3594 Number RLEs to save : 12717 save missing photos in datou_result : time spend for datou_step_exec : 33.28288292884827 time spend to save output : 1.3938801288604736 total time spend for step 1 : 34.67676305770874 step2:crop_condition Tue May 27 11:31:05 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 : 3 ! batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 20 About to insert : list_path_to_insert length 20 new photo from crops ! About to upload 20 photos upload in portfolio : 3736932 init cache_photo without model_param we have 20 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748338271_4191425 we have uploaded 20 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.745161771774292 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1748338279_4191425 we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0265603065490723 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748338287_4191425 we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.55840802192688 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 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 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/1748338293_4191425 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5896861553192139 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! 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/1748338294_4191425 we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6618497371673584 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1360792656, 1360792627, 1360792179] Looping around the photos to save general results len do output : 39 /1361262926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262931Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262933Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262936Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262939Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262940Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262941Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262942Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262943Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262944Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262945Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262947Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262948Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361262972Didn'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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 time used for this insertion : 0.0858755111694336 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.676989316940308 time spend to save output : 0.08765506744384766 total time spend for step 2 : 29.764644384384155 step3:rle_unique_nms_with_priority Tue May 27 11:31:35 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 39 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 6.245609998703003 time for calcul the mask position with numpy : 0.5272457599639893 nb_pixel_total : 7390699 time to create 1 rle with new method : 0.5400450229644775 time for calcul the mask position with numpy : 0.04163312911987305 nb_pixel_total : 127173 time to create 1 rle with old method : 0.1465623378753662 time for calcul the mask position with numpy : 0.03272509574890137 nb_pixel_total : 14300 time to create 1 rle with old method : 0.01635146141052246 time for calcul the mask position with numpy : 0.02971172332763672 nb_pixel_total : 19566 time to create 1 rle with old method : 0.021956205368041992 time for calcul the mask position with numpy : 0.029349803924560547 nb_pixel_total : 14367 time to create 1 rle with old method : 0.020470857620239258 time for calcul the mask position with numpy : 0.026798486709594727 nb_pixel_total : 51807 time to create 1 rle with old method : 0.0576024055480957 time for calcul the mask position with numpy : 0.031777381896972656 nb_pixel_total : 9355 time to create 1 rle with old method : 0.013406515121459961 time for calcul the mask position with numpy : 0.03461456298828125 nb_pixel_total : 175773 time to create 1 rle with new method : 0.5172052383422852 time for calcul the mask position with numpy : 0.04689502716064453 nb_pixel_total : 58477 time to create 1 rle with old method : 0.06895995140075684 time for calcul the mask position with numpy : 0.0480039119720459 nb_pixel_total : 43757 time to create 1 rle with old method : 0.04805469512939453 time for calcul the mask position with numpy : 0.049843788146972656 nb_pixel_total : 106638 time to create 1 rle with old method : 0.12140655517578125 time for calcul the mask position with numpy : 0.04518604278564453 nb_pixel_total : 128480 time to create 1 rle with old method : 0.19414591789245605 time for calcul the mask position with numpy : 0.057919979095458984 nb_pixel_total : 8525 time to create 1 rle with old method : 0.01360630989074707 time for calcul the mask position with numpy : 0.04700160026550293 nb_pixel_total : 33639 time to create 1 rle with old method : 0.03894829750061035 time for calcul the mask position with numpy : 0.04546093940734863 nb_pixel_total : 111844 time to create 1 rle with old method : 0.1420607566833496 create new chi : 3.1302525997161865 time to delete rle : 0.024784326553344727 batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++++++Number RLEs to save : 11566 TO DO : save crop sub photo not yet done ! save time : 0.9729506969451904 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 4.608690977096558 time for calcul the mask position with numpy : 0.42544078826904297 nb_pixel_total : 7206199 time to create 1 rle with new method : 0.6697578430175781 time for calcul the mask position with numpy : 0.046482086181640625 nb_pixel_total : 107634 time to create 1 rle with old method : 0.12220096588134766 time for calcul the mask position with numpy : 0.043168067932128906 nb_pixel_total : 161045 time to create 1 rle with new method : 0.5552451610565186 time for calcul the mask position with numpy : 0.03859353065490723 nb_pixel_total : 96794 time to create 1 rle with old method : 0.10370373725891113 time for calcul the mask position with numpy : 0.0395047664642334 nb_pixel_total : 60476 time to create 1 rle with old method : 0.06548547744750977 time for calcul the mask position with numpy : 0.03753995895385742 nb_pixel_total : 168025 time to create 1 rle with new method : 0.46031785011291504 time for calcul the mask position with numpy : 0.02487325668334961 nb_pixel_total : 87118 time to create 1 rle with old method : 0.09769868850708008 time for calcul the mask position with numpy : 0.02460002899169922 nb_pixel_total : 23957 time to create 1 rle with old method : 0.0262603759765625 time for calcul the mask position with numpy : 0.023998022079467773 nb_pixel_total : 98511 time to create 1 rle with old method : 0.10735368728637695 time for calcul the mask position with numpy : 0.02712273597717285 nb_pixel_total : 224258 time to create 1 rle with new method : 0.5618727207183838 time for calcul the mask position with numpy : 0.0251462459564209 nb_pixel_total : 36103 time to create 1 rle with old method : 0.04008984565734863 time for calcul the mask position with numpy : 0.02560257911682129 nb_pixel_total : 24280 time to create 1 rle with old method : 0.027253150939941406 create new chi : 3.7414417266845703 time to delete rle : 0.0013167858123779297 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++Number RLEs to save : 11260 TO DO : save crop sub photo not yet done ! save time : 0.8242044448852539 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 7.3959949016571045 time for calcul the mask position with numpy : 0.6586301326751709 nb_pixel_total : 7710151 time to create 1 rle with new method : 1.2180142402648926 time for calcul the mask position with numpy : 0.02715301513671875 nb_pixel_total : 9305 time to create 1 rle with old method : 0.010550975799560547 time for calcul the mask position with numpy : 0.02787327766418457 nb_pixel_total : 65458 time to create 1 rle with old method : 0.07841324806213379 time for calcul the mask position with numpy : 0.041959524154663086 nb_pixel_total : 7609 time to create 1 rle with old method : 0.008545160293579102 time for calcul the mask position with numpy : 0.049509525299072266 nb_pixel_total : 41157 time to create 1 rle with old method : 0.04825878143310547 time for calcul the mask position with numpy : 0.042856693267822266 nb_pixel_total : 133896 time to create 1 rle with old method : 0.15959811210632324 time for calcul the mask position with numpy : 0.05608987808227539 nb_pixel_total : 56119 time to create 1 rle with old method : 0.06533646583557129 time for calcul the mask position with numpy : 0.046268463134765625 nb_pixel_total : 19382 time to create 1 rle with old method : 0.021704435348510742 time for calcul the mask position with numpy : 0.04258108139038086 nb_pixel_total : 60084 time to create 1 rle with old method : 0.06715822219848633 time for calcul the mask position with numpy : 0.04175209999084473 nb_pixel_total : 900 time to create 1 rle with old method : 0.0016317367553710938 time for calcul the mask position with numpy : 0.04642534255981445 nb_pixel_total : 18620 time to create 1 rle with old method : 0.02863907814025879 time for calcul the mask position with numpy : 0.04346275329589844 nb_pixel_total : 10043 time to create 1 rle with old method : 0.01616525650024414 time for calcul the mask position with numpy : 0.04409027099609375 nb_pixel_total : 54772 time to create 1 rle with old method : 0.06115984916687012 time for calcul the mask position with numpy : 0.03863406181335449 nb_pixel_total : 85566 time to create 1 rle with old method : 0.09621429443359375 time for calcul the mask position with numpy : 0.04122114181518555 nb_pixel_total : 21338 time to create 1 rle with old method : 0.02396249771118164 create new chi : 3.2017576694488525 time to delete rle : 0.0017859935760498047 batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++++++Number RLEs to save : 8213 TO DO : save crop sub photo not yet done ! save time : 0.8015666007995605 map_output_result : {1360792656: (0.0, 'Should be the crop_list due to order', 0), 1360792627: (0.0, 'Should be the crop_list due to order', 0), 1360792179: (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 [1360792656, 1360792627, 1360792179] Looping around the photos to save general results len do output : 3 /1360792656.Didn't retrieve data . /1360792627.Didn't retrieve data . /1360792179.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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014174461364746094 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.758628606796265 time spend to save output : 0.01454472541809082 total time spend for step 3 : 31.773173332214355 step4:ventilate_hashtags_in_portfolio Tue May 27 11:32:07 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 : 23371209 get user id for portfolio 23371209 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`=23371209 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','autre','environnement','background','flou','pet_clair','mal_croppe','metal','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23371209 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','carton','autre','environnement','background','flou','pet_clair','mal_croppe','metal','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/23374784,23374785,23374786,23374787,23374788,23374789,23374790,23374791,23374792,23374793,23374794?tags=environnement,mal_croppe,flou,pehd,papier,metal,autre,pet_clair,pet_fonce,background,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360792656, 1360792627, 1360792179] Looping around the photos to save general results len do output : 1 /23371209. 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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 time used for this insertion : 0.01264047622680664 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.451869010925293 time spend to save output : 0.012907028198242188 total time spend for step 4 : 1.4647760391235352 step5:final Tue May 27 11:32:08 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 : {1360792656: ('0.11261583326604224',), 1360792627: ('0.11261583326604224',), 1360792179: ('0.11261583326604224',)} new output for save of step final : {1360792656: ('0.11261583326604224',), 1360792627: ('0.11261583326604224',), 1360792179: ('0.11261583326604224',)} [1360792656, 1360792627, 1360792179] Looping around the photos to save general results len do output : 3 /1360792656.Didn't retrieve data . /1360792627.Didn't retrieve data . /1360792179.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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.014872074127197266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1388092041015625 time spend to save output : 0.015110492706298828 total time spend for step 5 : 0.15391969680786133 step6:blur_detection Tue May 27 11:32:08 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/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7.jpg resize: (2160, 3840) 1360792656 -5.602279326716702 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89.jpg resize: (2160, 3840) 1360792627 -5.780775961924381 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b.jpg resize: (2160, 3840) 1360792179 -5.921567934226807 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942032_0.png resize: (118, 251) 1361262926 -3.7292900560273385 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942021_0.png resize: (408, 419) 1361262927 -1.401739830248585 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942024_0.png resize: (433, 431) 1361262928 -2.295733718814692 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942034_0.png resize: (603, 434) 1361262929 -3.7238606671001806 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942033_0.png resize: (344, 244) 1361262930 -1.448678331371275 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942023_0.png resize: (107, 119) 1361262931 -2.4317551453374433 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942029_0.png resize: (113, 113) 1361262932 -2.130389041689724 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942031_0.png resize: (154, 122) 1361262933 -3.0951257926715843 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942042_0.png resize: (338, 277) 1361262934 -0.8860630871528041 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942044_0.png resize: (461, 467) 1361262935 -4.251602142526061 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942037_0.png resize: (654, 544) 1361262936 -1.5776270397775813 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942035_0.png resize: (238, 255) 1361262937 -2.4010271432209835 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942056_0.png resize: (256, 251) 1361262938 -2.5895051175348103 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942054_0.png resize: (363, 313) 1361262939 -3.8774066537304934 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942046_0.png resize: (168, 186) 1361262940 -1.9516488067324231 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942050_0.png resize: (279, 143) 1361262941 -4.5047936581643775 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942059_0.png resize: (136, 98) 1361262942 -0.7749175494249453 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942049_0.png resize: (88, 138) 1361262943 -3.3074445516065625 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942057_0.png resize: (102, 93) 1361262944 -4.116075617779723 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942053_0.png resize: (113, 255) 1361262945 -3.9168561360302725 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942022_0.png resize: (205, 280) 1361262947 -2.839493937207132 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942036_0.png resize: (244, 232) 1361262948 -2.16950694324446 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942051_0.png resize: (93, 147) 1361262949 -3.649389318641772 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942025_0.png resize: (279, 620) 1361262954 -2.8951398498827374 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942027_0.png resize: (533, 253) 1361262955 -2.5466325432715005 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942030_0.png resize: (235, 277) 1361262956 -2.462355945518079 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942028_0.png resize: (624, 357) 1361262957 -4.355320830073026 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942040_0.png resize: (555, 195) 1361262958 -4.037584286399855 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942045_0.png resize: (278, 501) 1361262959 -4.076314542937574 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942038_0.png resize: (349, 640) 1361262960 -2.9641552478834416 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942043_0.png resize: (554, 280) 1361262961 -4.186834897970496 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942041_0.png resize: (448, 535) 1361262962 -2.916935605082344 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942048_0.png resize: (157, 485) 1361262963 -2.4201414793445837 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942047_0.png resize: (223, 560) 1361262964 -3.490945454060257 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942055_0.png resize: (261, 682) 1361262965 -3.480335979157719 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942058_0.png resize: (225, 342) 1361262966 -3.4840913989788347 treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942026_0.png resize: (314, 185) 1361262969 -1.2335371498565273 treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942039_0.png resize: (223, 128) 1361262971 -2.8740696338006195 treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942052_0.png resize: (226, 348) 1361262972 -3.943436500402878 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 : 42 time used for this insertion : 0.017058372497558594 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.017394542694091797 save missing photos in datou_result : time spend for datou_step_exec : 14.17068362236023 time spend to save output : 0.039412498474121094 total time spend for step 6 : 14.21009612083435 step7:brightness Tue May 27 11:32:22 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/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7.jpg treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89.jpg treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b.jpg treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942032_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942021_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942024_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942034_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942033_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942023_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942029_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942031_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942042_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942044_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942037_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942035_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942056_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942054_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942046_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942050_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942059_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942049_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942057_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942053_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942022_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942036_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942051_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942025_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942027_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942030_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942028_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942040_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942045_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942038_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942043_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942041_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942048_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942047_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942055_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942058_0.png treat image : temp/1748338230_4191425_1360792656_cd1fb86bf627e29d19351292d9fcb0d7_rle_crop_3813942026_0.png treat image : temp/1748338230_4191425_1360792627_8a9d4cd254aafdb92d5fac925054ba89_rle_crop_3813942039_0.png treat image : temp/1748338230_4191425_1360792179_290bcfdacc822a92f4f34a590051738b_rle_crop_3813942052_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 : 42 time used for this insertion : 0.012627363204956055 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.015166282653808594 save missing photos in datou_result : time spend for datou_step_exec : 4.417442321777344 time spend to save output : 0.03236579895019531 total time spend for step 7 : 4.449808120727539 step8:velours_tree Tue May 27 11:32:27 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.20440411567687988 time spend to save output : 3.743171691894531e-05 total time spend for step 8 : 0.20444154739379883 step9:send_mail_cod Tue May 27 11:32:27 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_P23371209_27-05-2025_11_32_27.pdf 23374785 imagette233747851748338347 23374786 imagette233747861748338347 23374787 change filename to text .change filename to text .change filename to text .change filename to text .imagette233747871748338347 23374788 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette233747881748338347 23374789 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 .imagette233747891748338349 23374790 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 .imagette233747901748338350 23374791 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette233747911748338350 23374792 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 .imagette233747921748338352 23374793 imagette233747931748338354 23374794 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette233747941748338354 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23371209 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23374784,23374785,23374786,23374787,23374788,23374789,23374790,23374791,23374792,23374793,23374794?tags=environnement,mal_croppe,flou,pehd,papier,metal,autre,pet_clair,pet_fonce,background,carton args[1360792656] : ((1360792656, -5.602279326716702, 492609224), (1360792656, 1.0110091906064775, 2107752395), '0.11261583326604224') We are sending mail with results at report@fotonower.com args[1360792627] : ((1360792627, -5.780775961924381, 492609224), (1360792627, 1.0146038106874422, 2107752395), '0.11261583326604224') We are sending mail with results at report@fotonower.com args[1360792179] : ((1360792179, -5.921567934226807, 492609224), (1360792179, 0.6935156357431497, 2107752395), '0.11261583326604224') We are sending mail with results at report@fotonower.com refus_total : 0.11261583326604224 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=23371209 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_P23371209_27-05-2025_11_32_27.pdf results_Auto_P23371209_27-05-2025_11_32_27.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371209_27-05-2025_11_32_27.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','23371209','results_Auto_P23371209_27-05-2025_11_32_27.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371209_27-05-2025_11_32_27.pdf','pdf','','0.87','0.11261583326604224') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/23371209

https://www.fotonower.com/image?json=false&list_photos_id=1360792656
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1360792627
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1360792179
Bravo, la photo est bien prise.

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

exemples de contaminants: pehd: https://www.fotonower.com/view/23374787?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/23374788?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/23374789?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/23374790?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/23374791?limit=200
exemples de contaminants: pet_fonce: https://www.fotonower.com/view/23374792?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/23374794?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371209_27-05-2025_11_32_27.pdf.

Lien vers velours :https://www.fotonower.com/velours/23374784,23374785,23374786,23374787,23374788,23374789,23374790,23374791,23374792,23374793,23374794?tags=environnement,mal_croppe,flou,pehd,papier,metal,autre,pet_clair,pet_fonce,background,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 27 May 2025 09:32:38 GMT Content-Length: 0 Connection: close X-Message-Id: H71LUGFAQ7SWB83qtDX1Aw 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 [1360792656, 1360792627, 1360792179] 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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 3 time used for this insertion : 0.013853788375854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.633912563323975 time spend to save output : 0.014143228530883789 total time spend for step 9 : 10.648055791854858 step10:split_time_score Tue May 27 11:32: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 ! 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'}] (('14', 43),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23052025 23371209 Nombre de photos uploadées : 43 / 23040 (0%) 23052025 23371209 Nombre de photos taguées (types de déchets): 0 / 43 (0%) 23052025 23371209 Nombre de photos taguées (volume) : 0 / 43 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ??????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019342899322509766 elapsed_time : insert_dashboard_record_day_entry 0.029735326766967773 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370864 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370869 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370910 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370920 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370929 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370974 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23370994 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371002 order by id desc limit 1 Qualite : 0.11478374495052658 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371004_27-05-2025_11_12_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371004 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`=23371004 AND mptpi.`type`=3594 To do Qualite : 0.20263053988233026 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371013_27-05-2025_11_01_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371013 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`=23371013 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371159 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371208 order by id desc limit 1 Qualite : 0.11329729094328704 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371209_27-05-2025_11_32_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371209 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`=23371209 AND mptpi.`type`=3594 To do Qualite : 0.11686973138503085 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23371232_27-05-2025_10_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23371232 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`=23371232 AND mptpi.`type`=3594 To do Qualite : 0.1380144779265873 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23333502_26-05-2025_14_25_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23333502 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`=23333502 AND mptpi.`type`=3594 To do Qualite : 0.1024788804599437 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23333505_26-05-2025_18_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23333505 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`=23333505 AND mptpi.`type`=3594 To do Qualite : 0.12909760400591566 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23333535_26-05-2025_16_04_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23333535 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`=23333535 AND mptpi.`type`=3594 To do Qualite : 0.1140376036844136 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23333560_26-05-2025_13_14_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23333560 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`=23333560 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23052025': {'nb_upload': 43, '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 [1360792656, 1360792627, 1360792179] Looping around the photos to save general results len do output : 1 /23371209Didn'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, '2964647') ('3318', None, '1360792656', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792627', None, None, None, None, None, '2964647') ('3318', None, None, None, None, None, None, None, '2964647') ('3318', None, '1360792179', None, None, None, None, None, '2964647') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 time used for this insertion : 0.01318502426147461 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.75130820274353 time spend to save output : 0.013393640518188477 total time spend for step 10 : 10.764701843261719 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 3 set_done_treatment 56.28user 50.17system 2:23.55elapsed 74%CPU (0avgtext+0avgdata 3561016maxresident)k 576632inputs+84264outputs (591major+5387100minor)pagefaults 0swaps