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 : 2945315 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 : ['3651811'] with mtr_portfolio_ids : ['26438219'] and first list_photo_ids : [] new path : /proc/2945315/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.5342135429382324 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Sep 2 13:10:29 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 : 10376 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-02 13:10:32.346973: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-02 13:10:32.354928: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-02 13:10:32.356621: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f96dc000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-02 13:10:32.356672: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-02 13:10:32.359248: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-02 13:10:32.576095: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x21089310 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-02 13:10:32.576153: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-02 13:10:32.577708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-02 13:10:32.578125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-02 13:10:32.581632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-02 13:10:32.584746: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-02 13:10:32.585694: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-02 13:10:32.588596: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-02 13:10:32.590161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-02 13:10:32.596673: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-02 13:10:32.598438: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-02 13:10:32.598519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-02 13:10:32.599449: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-02 13:10:32.599467: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-02 13:10:32.599477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-02 13:10:32.601167: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9611 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-02 13:10:32.930324: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-02 13:10:32.930430: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-02 13:10:32.930459: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-02 13:10:32.930483: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-02 13:10:32.930507: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-02 13:10:32.930531: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-02 13:10:32.930556: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-02 13:10:32.930580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-02 13:10:32.932804: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-02 13:10:32.934531: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-02 13:10:32.934585: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-02 13:10:32.934601: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-02 13:10:32.934616: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-02 13:10:32.934630: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-02 13:10:32.934643: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-02 13:10:32.934657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-02 13:10:32.934671: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-02 13:10:32.935962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-02 13:10:32.936000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-02 13:10:32.936010: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-02 13:10:32.936018: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-02 13:10:32.937381: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9611 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-02 13:10:42.197030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-02 13:10:42.417530: 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 : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.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: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.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: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.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: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 Detection mask done ! Trying to reset tf kernel 2945756 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 771 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 5800 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.00021839141845703125 nb_pixel_total : 5488 time to create 1 rle with old method : 0.006317615509033203 length of segment : 82 time for calcul the mask position with numpy : 0.00026154518127441406 nb_pixel_total : 6196 time to create 1 rle with old method : 0.007509469985961914 length of segment : 105 time for calcul the mask position with numpy : 0.00024700164794921875 nb_pixel_total : 12730 time to create 1 rle with old method : 0.014571189880371094 length of segment : 120 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 5908 time to create 1 rle with old method : 0.007556438446044922 length of segment : 104 time for calcul the mask position with numpy : 0.0010652542114257812 nb_pixel_total : 55863 time to create 1 rle with old method : 0.06337785720825195 length of segment : 301 time for calcul the mask position with numpy : 0.0016717910766601562 nb_pixel_total : 90925 time to create 1 rle with old method : 0.1112065315246582 length of segment : 532 time for calcul the mask position with numpy : 0.0001392364501953125 nb_pixel_total : 3157 time to create 1 rle with old method : 0.00431370735168457 length of segment : 63 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 7756 time to create 1 rle with old method : 0.009218215942382812 length of segment : 130 time for calcul the mask position with numpy : 0.00010228157043457031 nb_pixel_total : 5607 time to create 1 rle with old method : 0.006799221038818359 length of segment : 54 time for calcul the mask position with numpy : 0.00012612342834472656 nb_pixel_total : 4925 time to create 1 rle with old method : 0.005938291549682617 length of segment : 95 time for calcul the mask position with numpy : 0.0004024505615234375 nb_pixel_total : 20471 time to create 1 rle with old method : 0.02490234375 length of segment : 200 time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 6439 time to create 1 rle with old method : 0.00883340835571289 length of segment : 135 time for calcul the mask position with numpy : 0.00025963783264160156 nb_pixel_total : 7793 time to create 1 rle with old method : 0.013764381408691406 length of segment : 112 time for calcul the mask position with numpy : 0.0001456737518310547 nb_pixel_total : 3592 time to create 1 rle with old method : 0.0064432621002197266 length of segment : 59 time for calcul the mask position with numpy : 9.179115295410156e-05 nb_pixel_total : 2197 time to create 1 rle with old method : 0.0029189586639404297 length of segment : 42 time for calcul the mask position with numpy : 0.0001323223114013672 nb_pixel_total : 3823 time to create 1 rle with old method : 0.004923343658447266 length of segment : 79 time for calcul the mask position with numpy : 0.0005784034729003906 nb_pixel_total : 13577 time to create 1 rle with old method : 0.016518592834472656 length of segment : 328 time for calcul the mask position with numpy : 0.0002968311309814453 nb_pixel_total : 13016 time to create 1 rle with old method : 0.017145872116088867 length of segment : 201 time for calcul the mask position with numpy : 0.001638174057006836 nb_pixel_total : 100392 time to create 1 rle with old method : 0.12916183471679688 length of segment : 608 time for calcul the mask position with numpy : 0.00020837783813476562 nb_pixel_total : 6773 time to create 1 rle with old method : 0.008386850357055664 length of segment : 92 time for calcul the mask position with numpy : 0.00019550323486328125 nb_pixel_total : 9691 time to create 1 rle with old method : 0.011820077896118164 length of segment : 139 time for calcul the mask position with numpy : 0.00023031234741210938 nb_pixel_total : 9557 time to create 1 rle with old method : 0.011377573013305664 length of segment : 162 time for calcul the mask position with numpy : 0.006155252456665039 nb_pixel_total : 223433 time to create 1 rle with new method : 0.0346522331237793 length of segment : 1469 time for calcul the mask position with numpy : 0.0001895427703857422 nb_pixel_total : 7601 time to create 1 rle with old method : 0.00960993766784668 length of segment : 100 time for calcul the mask position with numpy : 0.0003695487976074219 nb_pixel_total : 12184 time to create 1 rle with old method : 0.014533281326293945 length of segment : 189 time for calcul the mask position with numpy : 7.605552673339844e-05 nb_pixel_total : 1739 time to create 1 rle with old method : 0.0020194053649902344 length of segment : 57 time for calcul the mask position with numpy : 0.00021219253540039062 nb_pixel_total : 9241 time to create 1 rle with old method : 0.010401248931884766 length of segment : 193 time for calcul the mask position with numpy : 0.00017023086547851562 nb_pixel_total : 8729 time to create 1 rle with old method : 0.010006904602050781 length of segment : 122 time for calcul the mask position with numpy : 0.00011086463928222656 nb_pixel_total : 5668 time to create 1 rle with old method : 0.0066852569580078125 length of segment : 78 time for calcul the mask position with numpy : 0.0002601146697998047 nb_pixel_total : 17988 time to create 1 rle with old method : 0.019816160202026367 length of segment : 216 time for calcul the mask position with numpy : 0.0001499652862548828 nb_pixel_total : 3164 time to create 1 rle with old method : 0.0040132999420166016 length of segment : 51 time for calcul the mask position with numpy : 0.0003757476806640625 nb_pixel_total : 7528 time to create 1 rle with old method : 0.008543252944946289 length of segment : 114 time for calcul the mask position with numpy : 0.0003750324249267578 nb_pixel_total : 4909 time to create 1 rle with old method : 0.005532264709472656 length of segment : 123 time for calcul the mask position with numpy : 0.0014178752899169922 nb_pixel_total : 22379 time to create 1 rle with old method : 0.025536298751831055 length of segment : 236 time for calcul the mask position with numpy : 0.00022077560424804688 nb_pixel_total : 6063 time to create 1 rle with old method : 0.006858110427856445 length of segment : 136 time spent for convertir_results : 1.86387038230896 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 35 chid ids of type : 3594 Number RLEs to save : 6827 save missing photos in datou_result : time spend for datou_step_exec : 27.007593154907227 time spend to save output : 0.43909239768981934 total time spend for step 1 : 27.446685552597046 step2:crop_condition Tue Sep 2 13:10:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 12 ! batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 21 About to insert : list_path_to_insert length 21 new photo from crops ! About to upload 21 photos upload in portfolio : 3736932 init cache_photo without model_param we have 21 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756811458_2945315 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! 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 21 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.914757013320923 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756811465_2945315 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 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.540466070175171 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756811468_2945315 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.6142289638519287 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756811469_2945315 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.154618501663208 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1756811470_2945315 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.5792813301086426 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] Looping around the photos to save general results len do output : 35 /1380838733Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838734Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838735Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838736Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838737Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838738Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838739Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838740Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838741Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838742Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838743Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838744Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838745Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838746Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838747Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838748Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838749Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838750Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838751Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838752Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838753Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838755Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838756Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838757Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838758Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838759Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838761Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838762Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838763Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838764Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838772Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838773Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838775Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838776Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1380838777Didn'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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 117 time used for this insertion : 0.018483400344848633 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.583346605300903 time spend to save output : 0.01970839500427246 total time spend for step 2 : 14.603055000305176 step3:rle_unique_nms_with_priority Tue Sep 2 13:11:11 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.24207067489624023 time for calcul the mask position with numpy : 0.13892889022827148 nb_pixel_total : 2049186 time to create 1 rle with new method : 0.09825515747070312 time for calcul the mask position with numpy : 0.006761074066162109 nb_pixel_total : 12730 time to create 1 rle with old method : 0.01634812355041504 time for calcul the mask position with numpy : 0.00683140754699707 nb_pixel_total : 6196 time to create 1 rle with old method : 0.007307291030883789 time for calcul the mask position with numpy : 0.0070590972900390625 nb_pixel_total : 5488 time to create 1 rle with old method : 0.0064809322357177734 create new chi : 0.2996695041656494 time to delete rle : 0.021109342575073242 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1694 TO DO : save crop sub photo not yet done ! save time : 0.1329026222229004 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.8175923824310303 time for calcul the mask position with numpy : 0.2816462516784668 nb_pixel_total : 1917788 time to create 1 rle with new method : 0.09325695037841797 time for calcul the mask position with numpy : 0.00642848014831543 nb_pixel_total : 3116 time to create 1 rle with old method : 0.0036792755126953125 time for calcul the mask position with numpy : 0.007769107818603516 nb_pixel_total : 90925 time to create 1 rle with old method : 0.10513830184936523 time for calcul the mask position with numpy : 0.0066487789154052734 nb_pixel_total : 55863 time to create 1 rle with old method : 0.06789970397949219 time for calcul the mask position with numpy : 0.006864786148071289 nb_pixel_total : 5908 time to create 1 rle with old method : 0.006957530975341797 create new chi : 0.5971624851226807 time to delete rle : 0.0004215240478515625 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3073 TO DO : save crop sub photo not yet done ! save time : 0.20835328102111816 nb_obj : 5 nb_hashtags : 2 time to prepare the origin masks : 0.11294245719909668 time for calcul the mask position with numpy : 0.4167044162750244 nb_pixel_total : 2028402 time to create 1 rle with new method : 0.0965566635131836 time for calcul the mask position with numpy : 0.006688117980957031 nb_pixel_total : 6439 time to create 1 rle with old method : 0.007616519927978516 time for calcul the mask position with numpy : 0.006646156311035156 nb_pixel_total : 20471 time to create 1 rle with old method : 0.025275707244873047 time for calcul the mask position with numpy : 0.006691455841064453 nb_pixel_total : 4925 time to create 1 rle with old method : 0.005820274353027344 time for calcul the mask position with numpy : 0.006548404693603516 nb_pixel_total : 5607 time to create 1 rle with old method : 0.006537675857543945 time for calcul the mask position with numpy : 0.0066454410552978516 nb_pixel_total : 7756 time to create 1 rle with old method : 0.009110212326049805 create new chi : 0.6125707626342773 time to delete rle : 0.00039005279541015625 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2308 TO DO : save crop sub photo not yet done ! save time : 0.16654253005981445 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06621694564819336 time for calcul the mask position with numpy : 0.025724411010742188 nb_pixel_total : 2060018 time to create 1 rle with new method : 0.2093977928161621 time for calcul the mask position with numpy : 0.006618022918701172 nb_pixel_total : 2197 time to create 1 rle with old method : 0.0026590824127197266 time for calcul the mask position with numpy : 0.006837368011474609 nb_pixel_total : 3592 time to create 1 rle with old method : 0.004239797592163086 time for calcul the mask position with numpy : 0.006255388259887695 nb_pixel_total : 7793 time to create 1 rle with old method : 0.009148836135864258 create new chi : 0.2784581184387207 time to delete rle : 0.00029397010803222656 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1506 TO DO : save crop sub photo not yet done ! save time : 0.1267848014831543 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.20676112174987793 time for calcul the mask position with numpy : 0.08273673057556152 nb_pixel_total : 1948692 time to create 1 rle with new method : 0.22609448432922363 time for calcul the mask position with numpy : 0.007211923599243164 nb_pixel_total : 94492 time to create 1 rle with old method : 0.11034154891967773 time for calcul the mask position with numpy : 0.007376432418823242 nb_pixel_total : 13016 time to create 1 rle with old method : 0.016768693923950195 time for calcul the mask position with numpy : 0.006837129592895508 nb_pixel_total : 13577 time to create 1 rle with old method : 0.017028331756591797 time for calcul the mask position with numpy : 0.006482839584350586 nb_pixel_total : 3823 time to create 1 rle with old method : 0.004586219787597656 create new chi : 0.4965987205505371 time to delete rle : 0.00046539306640625 batch 1 Loaded 9 chid ids of type : 3594 ++++++++++Number RLEs to save : 3349 TO DO : save crop sub photo not yet done ! save time : 0.21906709671020508 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07215762138366699 time for calcul the mask position with numpy : 0.18961524963378906 nb_pixel_total : 1824146 time to create 1 rle with new method : 0.14851140975952148 time for calcul the mask position with numpy : 0.009397029876708984 nb_pixel_total : 223433 time to create 1 rle with new method : 0.25627684593200684 time for calcul the mask position with numpy : 0.01075291633605957 nb_pixel_total : 9557 time to create 1 rle with old method : 0.011257171630859375 time for calcul the mask position with numpy : 0.010633468627929688 nb_pixel_total : 9691 time to create 1 rle with old method : 0.011808395385742188 time for calcul the mask position with numpy : 0.00655817985534668 nb_pixel_total : 6773 time to create 1 rle with old method : 0.008091211318969727 create new chi : 0.6740620136260986 time to delete rle : 0.0005679130554199219 batch 1 Loaded 9 chid ids of type : 3594 ++++++++++++Number RLEs to save : 4804 TO DO : save crop sub photo not yet done ! save time : 0.2955665588378906 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0838017463684082 time for calcul the mask position with numpy : 0.03580474853515625 nb_pixel_total : 2053815 time to create 1 rle with new method : 0.05978536605834961 time for calcul the mask position with numpy : 0.0069446563720703125 nb_pixel_total : 12184 time to create 1 rle with old method : 0.014430046081542969 time for calcul the mask position with numpy : 0.007025241851806641 nb_pixel_total : 7601 time to create 1 rle with old method : 0.009311437606811523 create new chi : 0.14080810546875 time to delete rle : 0.00029158592224121094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1658 TO DO : save crop sub photo not yet done ! save time : 0.12716102600097656 No data in photo_id : 1380828377 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5985598564147949 time for calcul the mask position with numpy : 0.0859682559967041 nb_pixel_total : 2048223 time to create 1 rle with new method : 0.21323585510253906 time for calcul the mask position with numpy : 0.007454633712768555 nb_pixel_total : 5668 time to create 1 rle with old method : 0.006730318069458008 time for calcul the mask position with numpy : 0.006938457489013672 nb_pixel_total : 8729 time to create 1 rle with old method : 0.010353565216064453 time for calcul the mask position with numpy : 0.0074329376220703125 nb_pixel_total : 9241 time to create 1 rle with old method : 0.01094818115234375 time for calcul the mask position with numpy : 0.006345510482788086 nb_pixel_total : 1739 time to create 1 rle with old method : 0.002817869186401367 create new chi : 0.36951160430908203 time to delete rle : 0.0004837512969970703 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 1980 TO DO : save crop sub photo not yet done ! save time : 0.14837312698364258 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03826308250427246 time for calcul the mask position with numpy : 0.02214646339416504 nb_pixel_total : 2055612 time to create 1 rle with new method : 0.11849761009216309 time for calcul the mask position with numpy : 0.008049726486206055 nb_pixel_total : 17988 time to create 1 rle with old method : 0.03225302696228027 create new chi : 0.18133997917175293 time to delete rle : 0.0003905296325683594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1512 TO DO : save crop sub photo not yet done ! save time : 0.12756586074829102 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.2825770378112793 time for calcul the mask position with numpy : 0.09689164161682129 nb_pixel_total : 2070436 time to create 1 rle with new method : 0.09067463874816895 time for calcul the mask position with numpy : 0.010704517364501953 nb_pixel_total : 3164 time to create 1 rle with old method : 0.006490468978881836 create new chi : 0.21458649635314941 time to delete rle : 0.0003523826599121094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1182 TO DO : save crop sub photo not yet done ! save time : 0.10958623886108398 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.3897418975830078 time for calcul the mask position with numpy : 0.07930803298950195 nb_pixel_total : 2032732 time to create 1 rle with new method : 0.15711045265197754 time for calcul the mask position with numpy : 0.006860971450805664 nb_pixel_total : 6052 time to create 1 rle with old method : 0.0071332454681396484 time for calcul the mask position with numpy : 0.006948232650756836 nb_pixel_total : 22379 time to create 1 rle with old method : 0.03003859519958496 time for calcul the mask position with numpy : 0.006716728210449219 nb_pixel_total : 4909 time to create 1 rle with old method : 0.005803346633911133 time for calcul the mask position with numpy : 0.006550312042236328 nb_pixel_total : 7528 time to create 1 rle with old method : 0.009782791137695312 create new chi : 0.3267345428466797 time to delete rle : 0.0004353523254394531 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 2288 TO DO : save crop sub photo not yet done ! save time : 0.1719222068786621 map_output_result : {1380828509: (0.0, 'Should be the crop_list due to order', 0), 1380828463: (0.0, 'Should be the crop_list due to order', 0), 1380828453: (0.0, 'Should be the crop_list due to order', 0), 1380828443: (0.0, 'Should be the crop_list due to order', 0), 1380828442: (0.0, 'Should be the crop_list due to order', 0), 1380828438: (0.0, 'Should be the crop_list due to order', 0), 1380828379: (0.0, 'Should be the crop_list due to order', 0), 1380828377: (0.0, 'Should be the crop_list due to order', 0.0), 1380828375: (0.0, 'Should be the crop_list due to order', 0), 1380828366: (0.0, 'Should be the crop_list due to order', 0), 1380828364: (0.0, 'Should be the crop_list due to order', 0), 1380828361: (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 [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] Looping around the photos to save general results len do output : 12 /1380828509.Didn't retrieve data . /1380828463.Didn't retrieve data . /1380828453.Didn't retrieve data . /1380828443.Didn't retrieve data . /1380828442.Didn't retrieve data . /1380828438.Didn't retrieve data . /1380828379.Didn't retrieve data . /1380828377.Didn't retrieve data . /1380828375.Didn't retrieve data . /1380828366.Didn't retrieve data . /1380828364.Didn't retrieve data . /1380828361.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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.012185335159301758 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.347744226455688 time spend to save output : 0.012736797332763672 total time spend for step 3 : 9.360481023788452 step4:ventilate_hashtags_in_portfolio Tue Sep 2 13:11:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26438219 get user id for portfolio 26438219 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`=26438219 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','pet_fonce','background','autre','flou','carton','metal','pet_clair','pehd','mal_croppe')) 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`=26438219 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','pet_fonce','background','autre','flou','carton','metal','pet_clair','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26438219 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','environnement','pet_fonce','background','autre','flou','carton','metal','pet_clair','pehd','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26438387,26438388,26438389,26438390,26438391,26438392,26438393,26438394,26438395,26438396,26438397?tags=papier,environnement,pet_fonce,background,autre,flou,carton,metal,pet_clair,pehd,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] Looping around the photos to save general results len do output : 1 /26438219. 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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01456141471862793 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7704463005065918 time spend to save output : 0.014964818954467773 total time spend for step 4 : 1.7854111194610596 step5:final Tue Sep 2 13:11:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1380828509: ('0.028957288451646086',), 1380828463: ('0.028957288451646086',), 1380828453: ('0.028957288451646086',), 1380828443: ('0.028957288451646086',), 1380828442: ('0.028957288451646086',), 1380828438: ('0.028957288451646086',), 1380828379: ('0.028957288451646086',), 1380828377: ('0.028957288451646086',), 1380828375: ('0.028957288451646086',), 1380828366: ('0.028957288451646086',), 1380828364: ('0.028957288451646086',), 1380828361: ('0.028957288451646086',)} new output for save of step final : {1380828509: ('0.028957288451646086',), 1380828463: ('0.028957288451646086',), 1380828453: ('0.028957288451646086',), 1380828443: ('0.028957288451646086',), 1380828442: ('0.028957288451646086',), 1380828438: ('0.028957288451646086',), 1380828379: ('0.028957288451646086',), 1380828377: ('0.028957288451646086',), 1380828375: ('0.028957288451646086',), 1380828366: ('0.028957288451646086',), 1380828364: ('0.028957288451646086',), 1380828361: ('0.028957288451646086',)} [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] Looping around the photos to save general results len do output : 12 /1380828509.Didn't retrieve data . /1380828463.Didn't retrieve data . /1380828453.Didn't retrieve data . /1380828443.Didn't retrieve data . /1380828442.Didn't retrieve data . /1380828438.Didn't retrieve data . /1380828379.Didn't retrieve data . /1380828377.Didn't retrieve data . /1380828375.Didn't retrieve data . /1380828366.Didn't retrieve data . /1380828364.Didn't retrieve data . /1380828361.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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.013101577758789062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11821460723876953 time spend to save output : 0.01382136344909668 total time spend for step 5 : 0.1320359706878662 step6:blur_detection Tue Sep 2 13:11:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d.jpg resize: (1080, 1920) 1380828509 3.2202237366319957 treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca.jpg resize: (1080, 1920) 1380828463 -4.2727160099524095 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315.jpg resize: (1080, 1920) 1380828453 -0.1623234492887377 treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6.jpg resize: (1080, 1920) 1380828443 -0.03489608775337115 treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062.jpg resize: (1080, 1920) 1380828442 -3.9115269051657884 treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776.jpg resize: (1080, 1920) 1380828438 -0.2655142409096208 treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a.jpg resize: (1080, 1920) 1380828379 -0.6350401115968104 treat image : temp/1756811427_2945315_1380828377_d5749db15e6a554033051a1be4618030.jpg resize: (1080, 1920) 1380828377 0.33914283751249014 treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c.jpg resize: (1080, 1920) 1380828375 -0.2121549244947261 treat image : temp/1756811427_2945315_1380828366_63a1e36bd703286dc47c0f727487b5c9.jpg resize: (1080, 1920) 1380828366 -0.4826757402925892 treat image : temp/1756811427_2945315_1380828364_4f3bf5a566e3579d94a5d8ef86c16baa.jpg resize: (1080, 1920) 1380828364 0.4112556450227402 treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2.jpg resize: (1080, 1920) 1380828361 -0.8760109836517991 treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456964_0.png resize: (78, 109) 1380838733 -1.1299602417270818 treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456965_0.png resize: (105, 97) 1380838734 -2.0516395246293646 treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456968_0.png resize: (299, 344) 1380838735 -2.4141746717394037 treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456970_0.png resize: (63, 113) 1380838736 -3.0242029466536744 treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456967_0.png resize: (104, 91) 1380838737 -1.2990782283651965 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456975_0.png resize: (134, 62) 1380838738 0.3276963027396722 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456971_0.png resize: (130, 74) 1380838739 2.1290154577125504 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456973_0.png resize: (95, 94) 1380838740 -0.4085449758636053 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456972_0.png resize: (50, 142) 1380838741 -1.5906869312617435 treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456976_0.png resize: (111, 134) 1380838742 -0.3299255410914787 treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456977_0.png resize: (59, 99) 1380838743 -1.7144051872618578 treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456979_0.png resize: (79, 103) 1380838744 -1.262814371165885 treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456983_0.png resize: (92, 105) 1380838745 -1.0975996326202166 treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456984_0.png resize: (137, 108) 1380838746 -1.4268572283898568 treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456985_0.png resize: (144, 132) 1380838747 -1.890695595891072 treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a_rle_crop_3940456988_0.png resize: (187, 116) 1380838748 -0.44358467918055416 treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456989_0.png resize: (56, 38) 1380838749 0.05400570355565723 treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456990_0.png resize: (147, 116) 1380838750 -1.7228775772004226 treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456991_0.png resize: (122, 102) 1380838751 -0.84024278593886 treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456997_0.png resize: (213, 176) 1380838752 -1.6207111974022412 treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456996_0.png resize: (123, 79) 1380838753 -1.7748284623041917 treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456969_0.png resize: (524, 343) 1380838755 -0.6696908173779791 treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456974_0.png resize: (150, 208) 1380838756 -1.8315581983963232 treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456980_0.png resize: (252, 177) 1380838757 -2.8832909362599874 treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456982_0.png resize: (570, 336) 1380838758 -0.5594244825026002 treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456981_0.png resize: (168, 155) 1380838759 -2.1903831247380574 treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456986_0.png resize: (875, 872) 1380838761 -0.813583687357776 treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a_rle_crop_3940456987_0.png resize: (94, 135) 1380838762 -0.8446880315763566 treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456992_0.png resize: (76, 88) 1380838763 2.0732439869479697 treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456966_0.png resize: (95, 177) 1380838764 -1.6069804605926654 treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456978_0.png resize: (42, 71) 1380838772 0.03530421209629662 treat image : temp/1756811427_2945315_1380828366_63a1e36bd703286dc47c0f727487b5c9_rle_crop_3940456993_0.png resize: (216, 102) 1380838773 0.6549228416608008 treat image : temp/1756811427_2945315_1380828364_4f3bf5a566e3579d94a5d8ef86c16baa_rle_crop_3940456994_0.png resize: (51, 74) 1380838775 2.946008708588305 treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456995_0.png resize: (111, 94) 1380838776 -0.16301496918952044 treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456998_0.png resize: (125, 78) 1380838777 -2.316433182629688 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 : 47 time used for this insertion : 0.013422966003417969 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.014305830001831055 save missing photos in datou_result : time spend for datou_step_exec : 10.49341344833374 time spend to save output : 0.03214550018310547 total time spend for step 6 : 10.525558948516846 step7:brightness Tue Sep 2 13:11: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 inside step calcul brightness treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d.jpg treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca.jpg treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315.jpg treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6.jpg treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062.jpg treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776.jpg treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a.jpg treat image : temp/1756811427_2945315_1380828377_d5749db15e6a554033051a1be4618030.jpg treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c.jpg treat image : temp/1756811427_2945315_1380828366_63a1e36bd703286dc47c0f727487b5c9.jpg treat image : temp/1756811427_2945315_1380828364_4f3bf5a566e3579d94a5d8ef86c16baa.jpg treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2.jpg treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456964_0.png treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456965_0.png treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456968_0.png treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456970_0.png treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456967_0.png treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456975_0.png treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456971_0.png treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456973_0.png treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456972_0.png treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456976_0.png treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456977_0.png treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456979_0.png treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456983_0.png treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456984_0.png treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456985_0.png treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a_rle_crop_3940456988_0.png treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456989_0.png treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456990_0.png treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456991_0.png treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456997_0.png treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456996_0.png treat image : temp/1756811427_2945315_1380828463_92e299a97d753da160a2c246c76db4ca_rle_crop_3940456969_0.png treat image : temp/1756811427_2945315_1380828453_cb20280ddf6ce5ca1a27776162986315_rle_crop_3940456974_0.png treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456980_0.png treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456982_0.png treat image : temp/1756811427_2945315_1380828442_1c259e55c9a91e44624dd556d7711062_rle_crop_3940456981_0.png treat image : temp/1756811427_2945315_1380828438_95b9f06aeeda83596ddce151517e1776_rle_crop_3940456986_0.png treat image : temp/1756811427_2945315_1380828379_9c38b0625b3308c16c5e0322f5c3aa4a_rle_crop_3940456987_0.png treat image : temp/1756811427_2945315_1380828375_6a7288eba47aecdec4b3b2f1eeafef9c_rle_crop_3940456992_0.png treat image : temp/1756811427_2945315_1380828509_05ab2550e08d87755d2ff2bee461c76d_rle_crop_3940456966_0.png treat image : temp/1756811427_2945315_1380828443_83485a14a97caef7660d8eac0e7396d6_rle_crop_3940456978_0.png treat image : temp/1756811427_2945315_1380828366_63a1e36bd703286dc47c0f727487b5c9_rle_crop_3940456993_0.png treat image : temp/1756811427_2945315_1380828364_4f3bf5a566e3579d94a5d8ef86c16baa_rle_crop_3940456994_0.png treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456995_0.png treat image : temp/1756811427_2945315_1380828361_8ec0a1a43b9edbc0cdce85e3f3a308f2_rle_crop_3940456998_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 : 47 time used for this insertion : 0.013586997985839844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.013740062713623047 save missing photos in datou_result : time spend for datou_step_exec : 2.9221673011779785 time spend to save output : 0.03213310241699219 total time spend for step 7 : 2.9543004035949707 step8:velours_tree Tue Sep 2 13:11:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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.21627259254455566 time spend to save output : 3.552436828613281e-05 total time spend for step 8 : 0.2163081169128418 step9:send_mail_cod Tue Sep 2 13:11:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26438219_02-09-2025_13_11_36.pdf 26438387 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette264383871756811496 26438389 imagette264383891756811497 26438390 imagette264383901756811497 26438391 imagette264383911756811497 26438392 imagette264383921756811497 26438393 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 .imagette264383931756811497 26438394 change filename to text .imagette264383941756811497 26438395 change filename to text .change filename to text .change filename to text .change filename to text .imagette264383951756811497 26438396 change filename to text .imagette264383961756811498 26438397 imagette264383971756811498 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26438219 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26438387,26438388,26438389,26438390,26438391,26438392,26438393,26438394,26438395,26438396,26438397?tags=papier,environnement,pet_fonce,background,autre,flou,carton,metal,pet_clair,pehd,mal_croppe args[1380828509] : ((1380828509, 3.2202237366319957, 492688767), (1380828509, 0.2952954594948225, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828463] : ((1380828463, -4.2727160099524095, 492609224), (1380828463, 0.5442227514783143, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828453] : ((1380828453, -0.1623234492887377, 492688767), (1380828453, 0.3104297329751905, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828443] : ((1380828443, -0.03489608775337115, 492688767), (1380828443, 0.624653625914461, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828442] : ((1380828442, -3.9115269051657884, 492609224), (1380828442, 0.48277036740544377, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828438] : ((1380828438, -0.2655142409096208, 492688767), (1380828438, 0.6419759594548257, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828379] : ((1380828379, -0.6350401115968104, 492688767), (1380828379, 0.853876810488511, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828377] : ((1380828377, 0.33914283751249014, 492688767), (1380828377, 0.38562268855750303, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828375] : ((1380828375, -0.2121549244947261, 492688767), (1380828375, 1.1200569505909508, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828366] : ((1380828366, -0.4826757402925892, 492688767), (1380828366, 0.5771059264756824, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828364] : ((1380828364, 0.4112556450227402, 492688767), (1380828364, 0.9193694863836702, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com args[1380828361] : ((1380828361, -0.8760109836517991, 492688767), (1380828361, 0.8488144886289187, 2107752395), '0.028957288451646086') We are sending mail with results at report@fotonower.com refus_total : 0.028957288451646086 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=26438219 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_P26438219_02-09-2025_13_11_36.pdf results_Auto_P26438219_02-09-2025_13_11_36.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438219_02-09-2025_13_11_36.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','26438219','results_Auto_P26438219_02-09-2025_13_11_36.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438219_02-09-2025_13_11_36.pdf','pdf','','0.21','0.028957288451646086') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26438219

https://www.fotonower.com/image?json=false&list_photos_id=1380828509
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.2202237366319957)
https://www.fotonower.com/image?json=false&list_photos_id=1380828463
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828453
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828443
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828442
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828438
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828379
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828377
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828375
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828366
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828364
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1380828361
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/26438387?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26438393?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26438394?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26438395?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/26438396?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438219_02-09-2025_13_11_36.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26438387,26438388,26438389,26438390,26438391,26438392,26438393,26438394,26438395,26438396,26438397?tags=papier,environnement,pet_fonce,background,autre,flou,carton,metal,pet_clair,pehd,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 02 Sep 2025 11:11:39 GMT Content-Length: 0 Connection: close X-Message-Id: qDY9g5CpSECCH4J8SSM6Pg 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 [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] 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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014744281768798828 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8914682865142822 time spend to save output : 0.01500248908996582 total time spend for step 9 : 3.906470775604248 step10:split_time_score Tue Sep 2 13:11:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('12', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02092025 26438219 Nombre de photos uploadées : 12 / 23040 (0%) 02092025 26438219 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 02092025 26438219 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005235671997070312 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20839786529541016 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.054770953896604954 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429659_02-09-2025_09_32_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429659 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`=26429659 AND mptpi.`type`=3594 To do Qualite : 0.0918425188362382 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435866_02-09-2025_12_12_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435866 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`=26435866 AND mptpi.`type`=3594 To do Qualite : 0.13202340242704827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435870_02-09-2025_12_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435870 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`=26435870 AND mptpi.`type`=3594 To do Qualite : 0.21863142602237648 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435873_02-09-2025_13_01_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435873 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`=26435873 AND mptpi.`type`=3594 To do Qualite : 0.028957288451646086 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438219_02-09-2025_13_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26438219 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`=26438219 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02092025': {'nb_upload': 12, '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 [1380828509, 1380828463, 1380828453, 1380828443, 1380828442, 1380828438, 1380828379, 1380828377, 1380828375, 1380828366, 1380828364, 1380828361] Looping around the photos to save general results len do output : 1 /26438219Didn'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, '3651811') ('3318', '26438219', '1380828509', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828463', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828453', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828443', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828442', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828438', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828379', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828377', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828375', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828366', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828364', None, None, None, None, None, '3651811') ('3318', None, None, None, None, None, None, None, '3651811') ('3318', '26438219', '1380828361', None, None, None, None, None, '3651811') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01675248146057129 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6939361095428467 time spend to save output : 0.017012834548950195 total time spend for step 10 : 0.7109489440917969 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 37.75user 23.15system 1:15.81elapsed 80%CPU (0avgtext+0avgdata 2686012maxresident)k 661048inputs+13080outputs (1358major+1546074minor)pagefaults 0swaps