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 : 2086491 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 : ['3665484'] with mtr_portfolio_ids : ['26541041'] and first list_photo_ids : [] new path : /proc/2086491/ 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 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.0712461471557617 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Sep 4 22: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 : 10599 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-04 22:30:32.885231: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-04 22:30:32.912488: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-04 22:30:32.914459: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f9394000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-04 22:30:32.914501: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-04 22:30:32.918104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-04 22:30:33.052854: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x216d7030 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-04 22:30:33.052913: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-04 22:30:33.054317: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 22:30:33.054704: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 22:30:33.057545: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 22:30:33.060102: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 22:30:33.060648: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 22:30:33.063247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 22:30:33.064454: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 22:30:33.069233: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 22:30:33.070935: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 22:30:33.071001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 22:30:33.071918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 22:30:33.071937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 22:30:33.071947: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 22:30:33.073619: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9673 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-04 22:30:33.397648: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 22:30:33.397751: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 22:30:33.397783: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 22:30:33.397811: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 22:30:33.397839: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 22:30:33.397867: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 22:30:33.397894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 22:30:33.397921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 22:30:33.399990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 22:30:33.401494: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-04 22:30:33.401525: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-04 22:30:33.401540: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 22:30:33.401554: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-04 22:30:33.401568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-04 22:30:33.401582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-04 22:30:33.401595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-04 22:30:33.401609: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-04 22:30:33.402859: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-04 22:30:33.402886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-04 22:30:33.402895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-04 22:30:33.402902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-04 22:30:33.404201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9673 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-04 22:30:40.681579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-04 22:30:40.872840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 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 : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 2087207 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1530 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 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 : 6819 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.00013685226440429688 nb_pixel_total : 3006 time to create 1 rle with old method : 0.0037331581115722656 length of segment : 47 time for calcul the mask position with numpy : 0.0005228519439697266 nb_pixel_total : 29531 time to create 1 rle with old method : 0.033390045166015625 length of segment : 169 time for calcul the mask position with numpy : 9.942054748535156e-05 nb_pixel_total : 4040 time to create 1 rle with old method : 0.004858970642089844 length of segment : 81 time for calcul the mask position with numpy : 9.202957153320312e-05 nb_pixel_total : 4371 time to create 1 rle with old method : 0.005055427551269531 length of segment : 68 time for calcul the mask position with numpy : 5.173683166503906e-05 nb_pixel_total : 1077 time to create 1 rle with old method : 0.0013921260833740234 length of segment : 33 time for calcul the mask position with numpy : 6.556510925292969e-05 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0030927658081054688 length of segment : 48 time for calcul the mask position with numpy : 0.009050846099853516 nb_pixel_total : 576871 time to create 1 rle with new method : 0.028107881546020508 length of segment : 1045 time for calcul the mask position with numpy : 0.0002543926239013672 nb_pixel_total : 13563 time to create 1 rle with old method : 0.015236139297485352 length of segment : 188 time for calcul the mask position with numpy : 0.0017962455749511719 nb_pixel_total : 114470 time to create 1 rle with old method : 0.12458252906799316 length of segment : 569 time for calcul the mask position with numpy : 0.00015401840209960938 nb_pixel_total : 6477 time to create 1 rle with old method : 0.007586240768432617 length of segment : 111 time for calcul the mask position with numpy : 0.00010347366333007812 nb_pixel_total : 4772 time to create 1 rle with old method : 0.0057942867279052734 length of segment : 79 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 16010 time to create 1 rle with old method : 0.018633604049682617 length of segment : 160 time for calcul the mask position with numpy : 0.00023126602172851562 nb_pixel_total : 15717 time to create 1 rle with old method : 0.018428802490234375 length of segment : 165 time for calcul the mask position with numpy : 0.0018253326416015625 nb_pixel_total : 123868 time to create 1 rle with old method : 0.13805460929870605 length of segment : 554 time for calcul the mask position with numpy : 0.00019669532775878906 nb_pixel_total : 7144 time to create 1 rle with old method : 0.00830984115600586 length of segment : 135 time for calcul the mask position with numpy : 0.0004506111145019531 nb_pixel_total : 25028 time to create 1 rle with old method : 0.028466224670410156 length of segment : 233 time for calcul the mask position with numpy : 0.00021886825561523438 nb_pixel_total : 13423 time to create 1 rle with old method : 0.014947891235351562 length of segment : 149 time for calcul the mask position with numpy : 0.0006256103515625 nb_pixel_total : 41003 time to create 1 rle with old method : 0.04375958442687988 length of segment : 197 time spent for convertir_results : 1.6037709712982178 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 18 chid ids of type : 3594 Number RLEs to save : 4031 save missing photos in datou_result : time spend for datou_step_exec : 21.13694977760315 time spend to save output : 0.5774056911468506 total time spend for step 1 : 21.71435546875 step2:crop_condition Thu Sep 4 22:30:51 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 : 8 ! batch 1 Loaded 18 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757017853_2086491 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.609234094619751 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757017856_2086491 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.0750434398651123 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 ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757017860_2086491 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.057190179824829 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757017863_2086491 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.6918017864227295 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] Looping around the photos to save general results len do output : 18 /1381549438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549442Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549450Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549452Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549453Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549455Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549457Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549458Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549467Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549469Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549470Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381549472Didn'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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 62 time used for this insertion : 0.04725217819213867 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.714816808700562 time spend to save output : 0.048132896423339844 total time spend for step 2 : 12.762949705123901 step3:rle_unique_nms_with_priority Thu Sep 4 22:31:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 18 chid ids of type : 3594 ++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.37792420387268066 time for calcul the mask position with numpy : 0.12499284744262695 nb_pixel_total : 2037023 time to create 1 rle with new method : 0.3601541519165039 time for calcul the mask position with numpy : 0.007651567459106445 nb_pixel_total : 4040 time to create 1 rle with old method : 0.004566192626953125 time for calcul the mask position with numpy : 0.006869792938232422 nb_pixel_total : 29531 time to create 1 rle with old method : 0.03626084327697754 time for calcul the mask position with numpy : 0.008112192153930664 nb_pixel_total : 3006 time to create 1 rle with old method : 0.004804134368896484 create new chi : 0.5637445449829102 time to delete rle : 0.11982464790344238 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1674 TO DO : save crop sub photo not yet done ! save time : 0.29138946533203125 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.14001846313476562 time for calcul the mask position with numpy : 0.05353140830993652 nb_pixel_total : 2068152 time to create 1 rle with new method : 0.713303804397583 time for calcul the mask position with numpy : 0.010584115982055664 nb_pixel_total : 1077 time to create 1 rle with old method : 0.0012748241424560547 time for calcul the mask position with numpy : 0.006634950637817383 nb_pixel_total : 4371 time to create 1 rle with old method : 0.004999399185180664 create new chi : 0.7970552444458008 time to delete rle : 0.0002899169921875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1282 TO DO : save crop sub photo not yet done ! save time : 0.2591843605041504 No data in photo_id : 1381490576 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.0673673152923584 time for calcul the mask position with numpy : 0.033889055252075195 nb_pixel_total : 1494149 time to create 1 rle with new method : 0.0813760757446289 time for calcul the mask position with numpy : 0.0173797607421875 nb_pixel_total : 576871 time to create 1 rle with new method : 0.29409003257751465 time for calcul the mask position with numpy : 0.010236740112304688 nb_pixel_total : 2580 time to create 1 rle with old method : 0.0029556751251220703 create new chi : 0.4488027095794678 time to delete rle : 0.00041031837463378906 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 3266 TO DO : save crop sub photo not yet done ! save time : 0.5055286884307861 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.13670754432678223 time for calcul the mask position with numpy : 0.18162894248962402 nb_pixel_total : 1945567 time to create 1 rle with new method : 0.2223968505859375 time for calcul the mask position with numpy : 0.006934404373168945 nb_pixel_total : 114470 time to create 1 rle with old method : 0.12833619117736816 time for calcul the mask position with numpy : 0.010558843612670898 nb_pixel_total : 13563 time to create 1 rle with old method : 0.015172481536865234 create new chi : 0.576246976852417 time to delete rle : 0.0005943775177001953 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2594 TO DO : save crop sub photo not yet done ! save time : 0.42828989028930664 nb_obj : 6 nb_hashtags : 4 time to prepare the origin masks : 0.4042246341705322 time for calcul the mask position with numpy : 0.06580066680908203 nb_pixel_total : 1899612 time to create 1 rle with new method : 0.16594862937927246 time for calcul the mask position with numpy : 0.0069255828857421875 nb_pixel_total : 7144 time to create 1 rle with old method : 0.008873224258422852 time for calcul the mask position with numpy : 0.0071868896484375 nb_pixel_total : 123868 time to create 1 rle with old method : 0.14345574378967285 time for calcul the mask position with numpy : 0.006879329681396484 nb_pixel_total : 15717 time to create 1 rle with old method : 0.0177304744720459 time for calcul the mask position with numpy : 0.006986141204833984 nb_pixel_total : 16010 time to create 1 rle with old method : 0.018480777740478516 time for calcul the mask position with numpy : 0.006788730621337891 nb_pixel_total : 4772 time to create 1 rle with old method : 0.005600452423095703 time for calcul the mask position with numpy : 0.007051706314086914 nb_pixel_total : 6477 time to create 1 rle with old method : 0.007439613342285156 create new chi : 0.4863433837890625 time to delete rle : 0.0004913806915283203 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3488 TO DO : save crop sub photo not yet done ! save time : 0.39302945137023926 No data in photo_id : 1381488089 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.07951545715332031 time for calcul the mask position with numpy : 0.024713516235351562 nb_pixel_total : 1994146 time to create 1 rle with new method : 0.09133386611938477 time for calcul the mask position with numpy : 0.008292198181152344 nb_pixel_total : 41003 time to create 1 rle with old method : 0.04928159713745117 time for calcul the mask position with numpy : 0.006559610366821289 nb_pixel_total : 13423 time to create 1 rle with old method : 0.015105485916137695 time for calcul the mask position with numpy : 0.006795406341552734 nb_pixel_total : 25028 time to create 1 rle with old method : 0.028162717819213867 create new chi : 0.23067188262939453 time to delete rle : 0.0003077983856201172 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2238 TO DO : save crop sub photo not yet done ! save time : 0.3044452667236328 map_output_result : {1381490639: (0.0, 'Should be the crop_list due to order', 0), 1381490600: (0.0, 'Should be the crop_list due to order', 0), 1381490576: (0.0, 'Should be the crop_list due to order', 0.0), 1381488224: (0.0, 'Should be the crop_list due to order', 0), 1381488200: (0.0, 'Should be the crop_list due to order', 0), 1381488170: (0.0, 'Should be the crop_list due to order', 0), 1381488089: (0.0, 'Should be the crop_list due to order', 0.0), 1381488001: (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 [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] Looping around the photos to save general results len do output : 8 /1381490639.Didn't retrieve data . /1381490600.Didn't retrieve data . /1381490576.Didn't retrieve data . /1381488224.Didn't retrieve data . /1381488200.Didn't retrieve data . /1381488170.Didn't retrieve data . /1381488089.Didn't retrieve data . /1381488001.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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.030040740966796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.053907871246338 time spend to save output : 0.03052377700805664 total time spend for step 3 : 7.0844316482543945 step4:ventilate_hashtags_in_portfolio Thu Sep 4 22:31:11 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 : 26541041 get user id for portfolio 26541041 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`=26541041 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','mal_croppe','flou','environnement','background','carton','papier','pet_clair','autre','metal')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26541041 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','mal_croppe','flou','environnement','background','carton','papier','pet_clair','autre','metal')) AND mptpi.`min_score`=0.5 To do 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`=26541041 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','pehd','mal_croppe','flou','environnement','background','carton','papier','pet_clair','autre','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26547988,26547989,26547990,26547991,26547992,26547993,26547994,26547995,26547996,26547997,26547998?tags=pet_fonce,pehd,mal_croppe,flou,environnement,background,carton,papier,pet_clair,autre,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] Looping around the photos to save general results len do output : 1 /26541041. 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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.03384089469909668 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8215656280517578 time spend to save output : 0.03451228141784668 total time spend for step 4 : 1.8560779094696045 step5:final Thu Sep 4 22:31:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1381490639: ('0.06045952690972223',), 1381490600: ('0.06045952690972223',), 1381490576: ('0.06045952690972223',), 1381488224: ('0.06045952690972223',), 1381488200: ('0.06045952690972223',), 1381488170: ('0.06045952690972223',), 1381488089: ('0.06045952690972223',), 1381488001: ('0.06045952690972223',)} new output for save of step final : {1381490639: ('0.06045952690972223',), 1381490600: ('0.06045952690972223',), 1381490576: ('0.06045952690972223',), 1381488224: ('0.06045952690972223',), 1381488200: ('0.06045952690972223',), 1381488170: ('0.06045952690972223',), 1381488089: ('0.06045952690972223',), 1381488001: ('0.06045952690972223',)} [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] Looping around the photos to save general results len do output : 8 /1381490639.Didn't retrieve data . /1381490600.Didn't retrieve data . /1381490576.Didn't retrieve data . /1381488224.Didn't retrieve data . /1381488200.Didn't retrieve data . /1381488170.Didn't retrieve data . /1381488089.Didn't retrieve data . /1381488001.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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.0278322696685791 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.284834623336792 time spend to save output : 0.028308629989624023 total time spend for step 5 : 0.313143253326416 step6:blur_detection Thu Sep 4 22:31:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2.jpg resize: (1080, 1920) 1381490639 0.2901315090430013 treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54.jpg resize: (1080, 1920) 1381490600 -0.4981249967896199 treat image : temp/1757017829_2086491_1381490576_db6a99ce95bef9d56790d5b4feea2542.jpg resize: (1080, 1920) 1381490576 -0.8058567542537995 treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d.jpg resize: (1080, 1920) 1381488224 -0.2981225247135445 treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3.jpg resize: (1080, 1920) 1381488200 -0.5787810317651841 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b.jpg resize: (1080, 1920) 1381488170 -4.368721761901884 treat image : temp/1757017829_2086491_1381488089_672e7dc6cf20ec87a0bf25073a5e5f5e.jpg resize: (1080, 1920) 1381488089 0.22759009529820698 treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72.jpg resize: (1080, 1920) 1381488001 -1.841412937621271 treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886297_0.png resize: (47, 87) 1381549438 0.8780480919436907 treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886299_0.png resize: (81, 64) 1381549439 -0.40490291950579294 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886307_0.png resize: (76, 82) 1381549440 -1.6805817440558433 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886308_0.png resize: (159, 148) 1381549441 -2.0746269730128177 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886306_0.png resize: (110, 90) 1381549442 -2.610302130879753 treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886314_0.png resize: (190, 315) 1381549443 -4.242092504680176 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886311_0.png resize: (114, 106) 1381549444 -2.2699912161223432 treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886312_0.png resize: (213, 209) 1381549445 -1.7076907544639115 treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886298_0.png resize: (144, 258) 1381549450 -0.0799250803490221 treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d_rle_crop_3944886303_0.png resize: (911, 813) 1381549452 0.7027739550373966 treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d_rle_crop_3944886302_0.png resize: (47, 68) 1381549453 0.5138654430869175 treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3_rle_crop_3944886304_0.png resize: (188, 125) 1381549455 -0.21465024189734377 treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3_rle_crop_3944886305_0.png resize: (557, 347) 1381549457 0.24698767844963163 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886310_0.png resize: (547, 373) 1381549458 -0.06914479808520327 treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54_rle_crop_3944886300_0.png resize: (68, 89) 1381549467 -3.8642448444293684 treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54_rle_crop_3944886301_0.png resize: (33, 38) 1381549469 20.0 treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886309_0.png resize: (140, 153) 1381549470 -3.5263525484915474 treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886313_0.png resize: (137, 127) 1381549472 -3.263242169262321 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 : 26 time used for this insertion : 0.033324480056762695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 26 time used for this insertion : 0.03202199935913086 save missing photos in datou_result : time spend for datou_step_exec : 6.81271505355835 time spend to save output : 0.08032822608947754 total time spend for step 6 : 6.893043279647827 step7:brightness Thu Sep 4 22:31:20 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/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2.jpg treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54.jpg treat image : temp/1757017829_2086491_1381490576_db6a99ce95bef9d56790d5b4feea2542.jpg treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d.jpg treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3.jpg treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b.jpg treat image : temp/1757017829_2086491_1381488089_672e7dc6cf20ec87a0bf25073a5e5f5e.jpg treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72.jpg treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886297_0.png treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886299_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886307_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886308_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886306_0.png treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886314_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886311_0.png treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886312_0.png treat image : temp/1757017829_2086491_1381490639_ee66e9a06566c84f0f68309bd1fec0f2_rle_crop_3944886298_0.png treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d_rle_crop_3944886303_0.png treat image : temp/1757017829_2086491_1381488224_be60c9fd3c5d527087916b3a5c70777d_rle_crop_3944886302_0.png treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3_rle_crop_3944886304_0.png treat image : temp/1757017829_2086491_1381488200_f61f3aaf33d961165a07818efdb224a3_rle_crop_3944886305_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886310_0.png treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54_rle_crop_3944886300_0.png treat image : temp/1757017829_2086491_1381490600_c6d118ca2515bab16655ec8aeea53e54_rle_crop_3944886301_0.png treat image : temp/1757017829_2086491_1381488170_12b798ab070776d62d4c8211bb7d4c6b_rle_crop_3944886309_0.png treat image : temp/1757017829_2086491_1381488001_15417a4525718bb41145ac38062abf72_rle_crop_3944886313_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 : 26 time used for this insertion : 0.040784597396850586 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 26 time used for this insertion : 0.03848695755004883 save missing photos in datou_result : time spend for datou_step_exec : 2.0399863719940186 time spend to save output : 0.09558868408203125 total time spend for step 7 : 2.13557505607605 step8:velours_tree Thu Sep 4 22:31: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 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.1525135040283203 time spend to save output : 5.0067901611328125e-05 total time spend for step 8 : 0.15256357192993164 step9:send_mail_cod Thu Sep 4 22:31:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P26541041_04-09-2025_22_31_23.pdf 26547988 imagette265479881757017883 26547989 imagette265479891757017883 26547990 imagette265479901757017883 26547991 imagette265479911757017883 26547993 imagette265479931757017883 26547994 change filename to text .change filename to text .imagette265479941757017883 26547995 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265479951757017883 26547996 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265479961757017883 26547997 change filename to text .change filename to text .change filename to text .change filename to text .imagette265479971757017884 26547998 imagette265479981757017884 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26541041 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26547988,26547989,26547990,26547991,26547992,26547993,26547994,26547995,26547996,26547997,26547998?tags=pet_fonce,pehd,mal_croppe,flou,environnement,background,carton,papier,pet_clair,autre,metal args[1381490639] : ((1381490639, 0.2901315090430013, 492688767), (1381490639, 0.5115342187499726, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381490600] : ((1381490600, -0.4981249967896199, 492688767), (1381490600, 0.32221598915189187, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381490576] : ((1381490576, -0.8058567542537995, 492688767), (1381490576, 0.40654793722326044, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381488224] : ((1381488224, -0.2981225247135445, 492688767), (1381488224, 0.5918752045668693, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381488200] : ((1381488200, -0.5787810317651841, 492688767), (1381488200, 0.8980300922711882, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381488170] : ((1381488170, -4.368721761901884, 492609224), (1381488170, 0.30448513991064735, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381488089] : ((1381488089, 0.22759009529820698, 492688767), (1381488089, 0.3385632459890061, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com args[1381488001] : ((1381488001, -1.841412937621271, 492688767), (1381488001, 0.29551321120975793, 2107752395), '0.06045952690972223') We are sending mail with results at report@fotonower.com refus_total : 0.06045952690972223 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=26541041 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_P26541041_04-09-2025_22_31_23.pdf results_Auto_P26541041_04-09-2025_22_31_23.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541041_04-09-2025_22_31_23.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','26541041','results_Auto_P26541041_04-09-2025_22_31_23.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541041_04-09-2025_22_31_23.pdf','pdf','','0.19','0.06045952690972223') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26541041

https://www.fotonower.com/image?json=false&list_photos_id=1381490639
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381490600
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381490576
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381488224
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381488200
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381488170
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381488089
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381488001
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26547994?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26547995?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26547996?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26547997?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541041_04-09-2025_22_31_23.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26547988,26547989,26547990,26547991,26547992,26547993,26547994,26547995,26547996,26547997,26547998?tags=pet_fonce,pehd,mal_croppe,flou,environnement,background,carton,papier,pet_clair,autre,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 04 Sep 2025 20:31:26 GMT Content-Length: 0 Connection: close X-Message-Id: X-69DZmUQheesZJl7_KR3g 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 [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] 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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.027878999710083008 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.176736831665039 time spend to save output : 0.02808403968811035 total time spend for step 9 : 3.2048208713531494 step10:split_time_score Thu Sep 4 22:31:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('16', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26541041 Nombre de photos uploadées : 8 / 23040 (0%) 04092025 26541041 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 04092025 26541041 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005245208740234375 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.5109226703643799 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.04212625385802469 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26532805_04-09-2025_17_31_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26532805 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`=26532805 AND mptpi.`type`=3594 To do Qualite : 0.12952349010942762 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531218_04-09-2025_11_21_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531218 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26531218 AND mptpi.`type`=3594 To do Qualite : 0.04653764441524856 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26534764_04-09-2025_18_04_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26534764 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`=26534764 AND mptpi.`type`=3594 To do Qualite : 0.06045952690972223 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541041_04-09-2025_22_31_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26541041 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`=26541041 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'nb_upload': 8, '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 [1381490639, 1381490600, 1381490576, 1381488224, 1381488200, 1381488170, 1381488089, 1381488001] Looping around the photos to save general results len do output : 1 /26541041Didn'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, '3665484') ('3318', '26541041', '1381490639', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490600', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381490576', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488224', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488200', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488170', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488089', None, None, None, None, None, '3665484') ('3318', None, None, None, None, None, None, None, '3665484') ('3318', '26541041', '1381488001', None, None, None, None, None, '3665484') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.03521442413330078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6063988208770752 time spend to save output : 0.03545975685119629 total time spend for step 10 : 1.6418585777282715 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 30.01user 15.75system 1:02.72elapsed 72%CPU (0avgtext+0avgdata 2654228maxresident)k 501904inputs+11688outputs (11major+1368148minor)pagefaults 0swaps