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 : 2690637 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 : ['3605417'] with mtr_portfolio_ids : ['26247740'] and first list_photo_ids : [] new path : /proc/2690637/ 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.1712088584899902 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 Wed Aug 27 01:20: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 : 10386 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-27 01:20:33.971487: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-27 01:20:34.004492: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-27 01:20:34.007067: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f04f4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-27 01:20:34.007126: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-27 01:20:34.012020: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-27 01:20:34.165982: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x313568f0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-27 01:20:34.166058: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-27 01:20:34.167551: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 01:20:34.168435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 01:20:34.172764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 01:20:34.186643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 01:20:34.188256: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 01:20:34.214131: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 01:20:34.217148: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 01:20:34.276868: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 01:20:34.278835: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 01:20:34.279008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 01:20:34.280165: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 01:20:34.280188: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 01:20:34.280204: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 01:20:34.282583: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-27 01:20:34.727851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 01:20:34.727975: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 01:20:34.727997: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 01:20:34.728014: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 01:20:34.728030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 01:20:34.728046: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 01:20:34.728062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 01:20:34.728078: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 01:20:34.729332: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 01:20:34.730584: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-27 01:20:34.730618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-27 01:20:34.730633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 01:20:34.730647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-27 01:20:34.730661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-27 01:20:34.730675: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-27 01:20:34.730689: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-27 01:20:34.730703: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-27 01:20:34.731895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-27 01:20:34.731928: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-27 01:20:34.731937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-27 01:20:34.731944: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-27 01:20:34.733244: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9620 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-27 01:20:43.799022: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-27 01:20:44.011808: 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: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 16.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.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: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 2691226 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4298 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 : 9193 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.00018596649169921875 nb_pixel_total : 5438 time to create 1 rle with old method : 0.006538867950439453 length of segment : 105 time for calcul the mask position with numpy : 0.00012969970703125 nb_pixel_total : 4780 time to create 1 rle with old method : 0.005749702453613281 length of segment : 96 time for calcul the mask position with numpy : 0.00024175643920898438 nb_pixel_total : 10113 time to create 1 rle with old method : 0.011915445327758789 length of segment : 173 time for calcul the mask position with numpy : 0.0002269744873046875 nb_pixel_total : 13537 time to create 1 rle with old method : 0.015758752822875977 length of segment : 112 time for calcul the mask position with numpy : 0.0018944740295410156 nb_pixel_total : 111503 time to create 1 rle with old method : 0.1343979835510254 length of segment : 476 time for calcul the mask position with numpy : 0.00014138221740722656 nb_pixel_total : 3927 time to create 1 rle with old method : 0.004682064056396484 length of segment : 82 time for calcul the mask position with numpy : 0.0015594959259033203 nb_pixel_total : 105609 time to create 1 rle with old method : 0.1204221248626709 length of segment : 589 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 5311 time to create 1 rle with old method : 0.006262063980102539 length of segment : 123 time for calcul the mask position with numpy : 0.00013065338134765625 nb_pixel_total : 6576 time to create 1 rle with old method : 0.00779414176940918 length of segment : 107 time for calcul the mask position with numpy : 0.0016241073608398438 nb_pixel_total : 117711 time to create 1 rle with old method : 0.13445210456848145 length of segment : 524 time for calcul the mask position with numpy : 0.0015099048614501953 nb_pixel_total : 113125 time to create 1 rle with old method : 0.13152027130126953 length of segment : 495 time for calcul the mask position with numpy : 0.2005767822265625 nb_pixel_total : 1406494 time to create 1 rle with new method : 0.4712049961090088 length of segment : 1791 time for calcul the mask position with numpy : 0.0005507469177246094 nb_pixel_total : 10804 time to create 1 rle with old method : 0.012990951538085938 length of segment : 170 time for calcul the mask position with numpy : 0.011571645736694336 nb_pixel_total : 764639 time to create 1 rle with new method : 0.04662632942199707 length of segment : 1004 time for calcul the mask position with numpy : 0.0009145736694335938 nb_pixel_total : 32685 time to create 1 rle with old method : 0.03729534149169922 length of segment : 201 time for calcul the mask position with numpy : 0.0002753734588623047 nb_pixel_total : 11131 time to create 1 rle with old method : 0.013194799423217773 length of segment : 122 time for calcul the mask position with numpy : 0.0005359649658203125 nb_pixel_total : 11111 time to create 1 rle with old method : 0.012955188751220703 length of segment : 181 time for calcul the mask position with numpy : 0.013245344161987305 nb_pixel_total : 728528 time to create 1 rle with new method : 0.019980192184448242 length of segment : 978 time for calcul the mask position with numpy : 9.441375732421875e-05 nb_pixel_total : 1817 time to create 1 rle with old method : 0.00231170654296875 length of segment : 46 time for calcul the mask position with numpy : 0.00021958351135253906 nb_pixel_total : 10970 time to create 1 rle with old method : 0.013503074645996094 length of segment : 152 time for calcul the mask position with numpy : 0.0014107227325439453 nb_pixel_total : 99457 time to create 1 rle with old method : 0.11247062683105469 length of segment : 493 time spent for convertir_results : 3.0580763816833496 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 21 chid ids of type : 3594 Number RLEs to save : 8020 save missing photos in datou_result : time spend for datou_step_exec : 28.882450580596924 time spend to save output : 1.102696418762207 total time spend for step 1 : 29.98514699935913 step2:crop_condition Wed Aug 27 01:21:00 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 21 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/1756250461_2690637 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 : 1.7126235961914062 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/1756250463_2690637 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.076068639755249 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756250478_2690637 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.832981824874878 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756250482_2690637 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5728936195373535 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] Looping around the photos to save general results len do output : 21 /1379579966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579977Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579978Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579979Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579982Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579985Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579986Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579987Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579988Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1379579991Didn'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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 71 time used for this insertion : 0.02069997787475586 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.849742650985718 time spend to save output : 0.021669864654541016 total time spend for step 2 : 22.87141251564026 step3:rle_unique_nms_with_priority Wed Aug 27 01:21: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 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 21 chid ids of type : 3594 ++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.6342544555664062 time for calcul the mask position with numpy : 0.0647280216217041 nb_pixel_total : 2039732 time to create 1 rle with new method : 0.2924940586090088 time for calcul the mask position with numpy : 0.006703615188598633 nb_pixel_total : 13537 time to create 1 rle with old method : 0.015031099319458008 time for calcul the mask position with numpy : 0.0066242218017578125 nb_pixel_total : 10113 time to create 1 rle with old method : 0.011388778686523438 time for calcul the mask position with numpy : 0.006847381591796875 nb_pixel_total : 4780 time to create 1 rle with old method : 0.005385398864746094 time for calcul the mask position with numpy : 0.006627082824707031 nb_pixel_total : 5438 time to create 1 rle with old method : 0.0063135623931884766 create new chi : 0.43250393867492676 time to delete rle : 0.026381969451904297 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2050 TO DO : save crop sub photo not yet done ! save time : 0.21299505233764648 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.29171180725097656 time for calcul the mask position with numpy : 0.05913424491882324 nb_pixel_total : 1958170 time to create 1 rle with new method : 0.2740647792816162 time for calcul the mask position with numpy : 0.006944179534912109 nb_pixel_total : 3927 time to create 1 rle with old method : 0.004497528076171875 time for calcul the mask position with numpy : 0.00743412971496582 nb_pixel_total : 111503 time to create 1 rle with old method : 0.12526893615722656 create new chi : 0.47786426544189453 time to delete rle : 0.0005574226379394531 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2196 TO DO : save crop sub photo not yet done ! save time : 0.21005964279174805 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04915881156921387 time for calcul the mask position with numpy : 0.025794506072998047 nb_pixel_total : 1967991 time to create 1 rle with new method : 0.10293793678283691 time for calcul the mask position with numpy : 0.007020711898803711 nb_pixel_total : 105609 time to create 1 rle with old method : 0.13213491439819336 create new chi : 0.2684462070465088 time to delete rle : 0.0009458065032958984 batch 1 Loaded 3 chid ids of type : 3594 +++Number RLEs to save : 2258 TO DO : save crop sub photo not yet done ! save time : 0.2142648696899414 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.8364026546478271 time for calcul the mask position with numpy : 0.5445876121520996 nb_pixel_total : 1944002 time to create 1 rle with new method : 0.09417963027954102 time for calcul the mask position with numpy : 0.008135080337524414 nb_pixel_total : 117711 time to create 1 rle with old method : 0.14300847053527832 time for calcul the mask position with numpy : 0.007954597473144531 nb_pixel_total : 6576 time to create 1 rle with old method : 0.008296728134155273 time for calcul the mask position with numpy : 0.00814056396484375 nb_pixel_total : 5311 time to create 1 rle with old method : 0.006000518798828125 create new chi : 0.8355636596679688 time to delete rle : 0.0005147457122802734 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2588 TO DO : save crop sub photo not yet done ! save time : 0.3771023750305176 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07289385795593262 time for calcul the mask position with numpy : 0.011603355407714844 nb_pixel_total : 553981 time to create 1 rle with new method : 0.32232236862182617 time for calcul the mask position with numpy : 0.025463581085205078 nb_pixel_total : 1406494 time to create 1 rle with new method : 0.03387808799743652 time for calcul the mask position with numpy : 0.007711648941040039 nb_pixel_total : 113125 time to create 1 rle with old method : 0.12772750854492188 create new chi : 0.5295717716217041 time to delete rle : 0.0008196830749511719 batch 1 Loaded 5 chid ids of type : 3594 +++++++Number RLEs to save : 5652 TO DO : save crop sub photo not yet done ! save time : 0.7278797626495361 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.10627579689025879 time for calcul the mask position with numpy : 0.06576251983642578 nb_pixel_total : 1298970 time to create 1 rle with new method : 0.0988016128540039 time for calcul the mask position with numpy : 0.017547130584716797 nb_pixel_total : 763826 time to create 1 rle with new method : 0.14208650588989258 time for calcul the mask position with numpy : 0.006841897964477539 nb_pixel_total : 10804 time to create 1 rle with old method : 0.012662649154663086 create new chi : 0.357283353805542 time to delete rle : 0.0005519390106201172 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3391 TO DO : save crop sub photo not yet done ! save time : 0.30650830268859863 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.17145848274230957 time for calcul the mask position with numpy : 0.06850576400756836 nb_pixel_total : 2029784 time to create 1 rle with new method : 0.1269383430480957 time for calcul the mask position with numpy : 0.0066890716552734375 nb_pixel_total : 11131 time to create 1 rle with old method : 0.014918088912963867 time for calcul the mask position with numpy : 0.006736278533935547 nb_pixel_total : 32685 time to create 1 rle with old method : 0.036499977111816406 create new chi : 0.2720656394958496 time to delete rle : 0.00030040740966796875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1726 TO DO : save crop sub photo not yet done ! save time : 0.47399330139160156 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.35916662216186523 time for calcul the mask position with numpy : 0.10077667236328125 nb_pixel_total : 1223224 time to create 1 rle with new method : 0.0996859073638916 time for calcul the mask position with numpy : 0.006929874420166016 nb_pixel_total : 99457 time to create 1 rle with old method : 0.11269712448120117 time for calcul the mask position with numpy : 0.006342649459838867 nb_pixel_total : 10970 time to create 1 rle with old method : 0.013064861297607422 time for calcul the mask position with numpy : 0.00658869743347168 nb_pixel_total : 1817 time to create 1 rle with old method : 0.00218963623046875 time for calcul the mask position with numpy : 0.01221466064453125 nb_pixel_total : 727021 time to create 1 rle with new method : 0.08507084846496582 time for calcul the mask position with numpy : 0.0067369937896728516 nb_pixel_total : 11111 time to create 1 rle with old method : 0.012286663055419922 create new chi : 0.47523927688598633 time to delete rle : 0.0007774829864501953 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 4689 TO DO : save crop sub photo not yet done ! save time : 0.4553861618041992 map_output_result : {1379467624: (0.0, 'Should be the crop_list due to order', 0), 1379467600: (0.0, 'Should be the crop_list due to order', 0), 1379467568: (0.0, 'Should be the crop_list due to order', 0), 1379467527: (0.0, 'Should be the crop_list due to order', 0), 1379467479: (0.0, 'Should be the crop_list due to order', 0), 1379467422: (0.0, 'Should be the crop_list due to order', 0), 1379466760: (0.0, 'Should be the crop_list due to order', 0), 1379466716: (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 [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] Looping around the photos to save general results len do output : 8 /1379467624.Didn't retrieve data . /1379467600.Didn't retrieve data . /1379467568.Didn't retrieve data . /1379467527.Didn't retrieve data . /1379467479.Didn't retrieve data . /1379467422.Didn't retrieve data . /1379466760.Didn't retrieve data . /1379466716.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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.023064851760864258 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.542500257492065 time spend to save output : 0.0234224796295166 total time spend for step 3 : 9.565922737121582 step4:ventilate_hashtags_in_portfolio Wed Aug 27 01:21:32 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 : 26247740 get user id for portfolio 26247740 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`=26247740 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','mal_croppe','environnement','papier','pet_fonce','pet_clair','pehd','background','flou','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26247740 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','mal_croppe','environnement','papier','pet_fonce','pet_clair','pehd','background','flou','autre')) 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`=26247740 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','metal','mal_croppe','environnement','papier','pet_fonce','pet_clair','pehd','background','flou','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26249130,26249131,26249132,26249133,26249134,26249135,26249136,26249137,26249138,26249139,26249140?tags=carton,metal,mal_croppe,environnement,papier,pet_fonce,pet_clair,pehd,background,flou,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] Looping around the photos to save general results len do output : 1 /26247740. 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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.024849653244018555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8167533874511719 time spend to save output : 0.025176048278808594 total time spend for step 4 : 0.8419294357299805 step5:final Wed Aug 27 01:21:33 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 : {1379467624: ('0.2153830295138888',), 1379467600: ('0.2153830295138888',), 1379467568: ('0.2153830295138888',), 1379467527: ('0.2153830295138888',), 1379467479: ('0.2153830295138888',), 1379467422: ('0.2153830295138888',), 1379466760: ('0.2153830295138888',), 1379466716: ('0.2153830295138888',)} new output for save of step final : {1379467624: ('0.2153830295138888',), 1379467600: ('0.2153830295138888',), 1379467568: ('0.2153830295138888',), 1379467527: ('0.2153830295138888',), 1379467479: ('0.2153830295138888',), 1379467422: ('0.2153830295138888',), 1379466760: ('0.2153830295138888',), 1379466716: ('0.2153830295138888',)} [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] Looping around the photos to save general results len do output : 8 /1379467624.Didn't retrieve data . /1379467600.Didn't retrieve data . /1379467568.Didn't retrieve data . /1379467527.Didn't retrieve data . /1379467479.Didn't retrieve data . /1379467422.Didn't retrieve data . /1379466760.Didn't retrieve data . /1379466716.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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.01988387107849121 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.138749361038208 time spend to save output : 0.020342111587524414 total time spend for step 5 : 0.15909147262573242 step6:blur_detection Wed Aug 27 01:21:33 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/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf.jpg resize: (1080, 1920) 1379467624 -2.576557461094922 treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff.jpg resize: (1080, 1920) 1379467600 -1.8315612002586545 treat image : temp/1756250429_2690637_1379467568_3228d77955170e86cd0b7d032e150e79.jpg resize: (1080, 1920) 1379467568 -2.7346926362157085 treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d.jpg resize: (1080, 1920) 1379467527 -0.7908264890076082 treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933.jpg resize: (1080, 1920) 1379467479 3.2503028221931487 treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248.jpg resize: (1080, 1920) 1379467422 -1.1156986561488276 treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3.jpg resize: (1080, 1920) 1379466760 -0.3504337693875669 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515.jpg resize: (1080, 1920) 1379466716 -1.8247728832419272 treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010747_0.png resize: (173, 115) 1379579966 -0.6494379802081819 treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010746_0.png resize: (96, 70) 1379579967 0.14855560422787104 treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010752_0.png resize: (123, 59) 1379579968 -1.436327973546055 treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248_rle_crop_3932010757_0.png resize: (168, 178) 1379579969 -1.8948784522631839 treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3_rle_crop_3932010760_0.png resize: (122, 144) 1379579970 -1.3319752884047693 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010761_0.png resize: (181, 119) 1379579971 -0.5937740047533294 treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010745_0.png resize: (105, 78) 1379579972 -3.611378308511169 treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff_rle_crop_3932010750_0.png resize: (82, 76) 1379579973 -2.8702333061665093 treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010748_0.png resize: (107, 154) 1379579977 -5.6531445774436175 treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff_rle_crop_3932010749_0.png resize: (475, 345) 1379579978 0.11057862545710487 treat image : temp/1756250429_2690637_1379467568_3228d77955170e86cd0b7d032e150e79_rle_crop_3932010751_0.png resize: (496, 345) 1379579979 -0.7500131305331 treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010753_0.png resize: (107, 78) 1379579980 -1.5090810428098635 treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010754_0.png resize: (519, 347) 1379579981 -0.2389182260381548 treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933_rle_crop_3932010756_0.png resize: (972, 1681) 1379579982 -0.714169350103082 treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933_rle_crop_3932010755_0.png resize: (492, 359) 1379579983 0.40474702957283626 treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248_rle_crop_3932010758_0.png resize: (999, 1059) 1379579984 0.1566757007060665 treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3_rle_crop_3932010759_0.png resize: (199, 216) 1379579985 -1.9533239102345754 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010762_0.png resize: (972, 971) 1379579986 -0.48836307508561333 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010765_0.png resize: (490, 343) 1379579987 -0.027216659339023647 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010764_0.png resize: (151, 110) 1379579988 -1.861172603735504 treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010763_0.png resize: (46, 64) 1379579991 -0.5120813267038077 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 : 29 time used for this insertion : 0.013116598129272461 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.11640548706054688 save missing photos in datou_result : time spend for datou_step_exec : 8.111298561096191 time spend to save output : 0.1339890956878662 total time spend for step 6 : 8.245287656784058 step7:brightness Wed Aug 27 01:21:41 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/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf.jpg treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff.jpg treat image : temp/1756250429_2690637_1379467568_3228d77955170e86cd0b7d032e150e79.jpg treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d.jpg treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933.jpg treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248.jpg treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3.jpg treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515.jpg treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010747_0.png treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010746_0.png treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010752_0.png treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248_rle_crop_3932010757_0.png treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3_rle_crop_3932010760_0.png treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010761_0.png treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010745_0.png treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff_rle_crop_3932010750_0.png treat image : temp/1756250429_2690637_1379467624_981fd867eb9e39d90fb6cc344e367dcf_rle_crop_3932010748_0.png treat image : temp/1756250429_2690637_1379467600_f68d43d45a4e4633c5ec348a7cb8acff_rle_crop_3932010749_0.png treat image : temp/1756250429_2690637_1379467568_3228d77955170e86cd0b7d032e150e79_rle_crop_3932010751_0.png treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010753_0.png treat image : temp/1756250429_2690637_1379467527_dd0b4247554077bdfb3afc3755e2ee1d_rle_crop_3932010754_0.png treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933_rle_crop_3932010756_0.png treat image : temp/1756250429_2690637_1379467479_de70f6090eb560003c49342abe659933_rle_crop_3932010755_0.png treat image : temp/1756250429_2690637_1379467422_32e615aecefbbccee485ca31e059f248_rle_crop_3932010758_0.png treat image : temp/1756250429_2690637_1379466760_1df280bf6f560531b9ef7d0fa569f7c3_rle_crop_3932010759_0.png treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010762_0.png treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010765_0.png treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010764_0.png treat image : temp/1756250429_2690637_1379466716_62736b89c56cf984cd7d632e38e75515_rle_crop_3932010763_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 : 29 time used for this insertion : 0.014401674270629883 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.015117406845092773 save missing photos in datou_result : time spend for datou_step_exec : 2.426309823989868 time spend to save output : 0.03421926498413086 total time spend for step 7 : 2.460529088973999 step8:velours_tree Wed Aug 27 01:21:44 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.1778252124786377 time spend to save output : 4.267692565917969e-05 total time spend for step 8 : 0.17786788940429688 step9:send_mail_cod Wed Aug 27 01:21:44 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_P26247740_27-08-2025_01_21_44.pdf 26249130 change filename to text .change filename to text .imagette262491301756250504 26249131 imagette262491311756250504 26249132 imagette262491321756250504 26249134 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette262491341756250504 26249135 imagette262491351756250505 26249136 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette262491361756250505 26249137 imagette262491371756250506 26249138 imagette262491381756250506 26249139 imagette262491391756250506 26249140 change filename to text .imagette262491401756250506 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26247740 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26249130,26249131,26249132,26249133,26249134,26249135,26249136,26249137,26249138,26249139,26249140?tags=carton,metal,mal_croppe,environnement,papier,pet_fonce,pet_clair,pehd,background,flou,autre args[1379467624] : ((1379467624, -2.576557461094922, 492609224), (1379467624, 0.7833307525694683, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379467600] : ((1379467600, -1.8315612002586545, 492688767), (1379467600, 0.35452023808866306, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379467568] : ((1379467568, -2.7346926362157085, 492609224), (1379467568, 0.40655461470955473, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379467527] : ((1379467527, -0.7908264890076082, 492688767), (1379467527, 0.3845597612889397, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379467479] : ((1379467479, 3.2503028221931487, 492688767), (1379467479, 0.4539498307229785, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379467422] : ((1379467422, -1.1156986561488276, 492688767), (1379467422, 0.5828208852597662, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379466760] : ((1379466760, -0.3504337693875669, 492688767), (1379466760, 0.6482978200066531, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com args[1379466716] : ((1379466716, -1.8247728832419272, 492688767), (1379466716, 0.5914620100821177, 2107752395), '0.2153830295138888') We are sending mail with results at report@fotonower.com refus_total : 0.2153830295138888 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=26247740 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_P26247740_27-08-2025_01_21_44.pdf results_Auto_P26247740_27-08-2025_01_21_44.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247740_27-08-2025_01_21_44.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','26247740','results_Auto_P26247740_27-08-2025_01_21_44.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247740_27-08-2025_01_21_44.pdf','pdf','','0.43','0.2153830295138888') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26247740

https://www.fotonower.com/image?json=false&list_photos_id=1379467624
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379467600
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379467568
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379467527
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379467479
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.2503028221931487)
https://www.fotonower.com/image?json=false&list_photos_id=1379467422
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379466760
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1379466716
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26249130?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26249134?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26249136?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26249140?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247740_27-08-2025_01_21_44.pdf.

Lien vers velours :https://www.fotonower.com/velours/26249130,26249131,26249132,26249133,26249134,26249135,26249136,26249137,26249138,26249139,26249140?tags=carton,metal,mal_croppe,environnement,papier,pet_fonce,pet_clair,pehd,background,flou,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 26 Aug 2025 23:21:48 GMT Content-Length: 0 Connection: close X-Message-Id: U6tdgGpgQyyArB2DoYyLsw 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 [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] 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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.023043394088745117 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.632049560546875 time spend to save output : 0.023339271545410156 total time spend for step 9 : 3.655388832092285 step10:split_time_score Wed Aug 27 01:21:48 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 {} 26082025 26247740 Nombre de photos uploadées : 8 / 23040 (0%) 26082025 26247740 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 26082025 26247740 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.239776611328125e-05 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0007603168487548828 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20844054222106934 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.12792036394032924 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226962_26-08-2025_09_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226962 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`=26226962 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247716 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247718 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247719 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247722 order by id desc limit 1 Qualite : 0.09864822735217527 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247724_27-08-2025_00_22_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247724 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=26247724 AND mptpi.`type`=3726 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247732 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247737 order by id desc limit 1 Qualite : 0.2153830295138888 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247740_27-08-2025_01_21_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247740 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`=26247740 AND mptpi.`type`=3594 To do Qualite : 0.06635470920138889 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247742_27-08-2025_01_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247742 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`=26247742 AND mptpi.`type`=3594 To do Qualite : 0.07044531249999998 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247743_27-08-2025_01_02_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247743 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`=26247743 AND mptpi.`type`=3594 To do Qualite : 0.09094017918381346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247747_27-08-2025_00_51_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247747 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`=26247747 AND mptpi.`type`=3594 To do Qualite : 0.023531764403292188 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247752_27-08-2025_00_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247752 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`=26247752 AND mptpi.`type`=3594 To do Qualite : 0.22070842978395055 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247757_27-08-2025_00_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247757 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`=26247757 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'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 [1379467624, 1379467600, 1379467568, 1379467527, 1379467479, 1379467422, 1379466760, 1379466716] Looping around the photos to save general results len do output : 1 /26247740Didn'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, '3605417') ('3318', '26247740', '1379467624', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467600', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467568', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467527', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467479', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379467422', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466760', None, None, None, None, None, '3605417') ('3318', None, None, None, None, None, None, None, '3605417') ('3318', '26247740', '1379466716', None, None, None, None, None, '3605417') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01760411262512207 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.35525107383728 time spend to save output : 0.017795085906982422 total time spend for step 10 : 6.373046159744263 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 45.43user 21.35system 1:28.90elapsed 75%CPU (0avgtext+0avgdata 2727572maxresident)k 1699520inputs+27040outputs (6536major+1426952minor)pagefaults 0swaps