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 : 2587869 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 : ['3534285'] with mtr_portfolio_ids : ['25980109'] and first list_photo_ids : [] new path : /proc/2587869/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 1.7152910232543945 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Aug 14 12:40: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 : 10619 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-14 12:40:32.688783: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-08-14 12:40:32.716490: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-14 12:40:32.718693: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7898000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-14 12:40:32.718767: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-14 12:40:32.723099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-14 12:40:32.884201: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x140969c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-14 12:40:32.884272: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-14 12:40:32.885919: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 12:40:32.886389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 12:40:32.889678: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 12:40:32.892830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 12:40:32.893323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 12:40:32.895486: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 12:40:32.896575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 12:40:32.901283: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 12:40:32.903799: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 12:40:32.903896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 12:40:32.905290: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 12:40:32.905321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 12:40:32.905337: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 12:40:32.907242: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-08-14 12:40:33.250492: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 12:40:33.250575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 12:40:33.250595: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 12:40:33.250614: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 12:40:33.250633: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 12:40:33.250650: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 12:40:33.250668: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 12:40:33.250685: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 12:40:33.252487: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 12:40:33.254208: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-08-14 12:40:33.254289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-14 12:40:33.254328: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 12:40:33.254363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-14 12:40:33.254398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-14 12:40:33.254432: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-14 12:40:33.254475: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-14 12:40:33.254512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-14 12:40:33.256684: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-14 12:40:33.256729: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-14 12:40:33.256746: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-14 12:40:33.256760: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-14 12:40:33.258725: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9836 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-08-14 12:40:40.156401: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-14 12:40:40.352597: 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 : 14 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 57.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: 56.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: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 53.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: 49.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 : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 44.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: 31.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: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 60.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: 31.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: 64.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 Detection mask done ! Trying to reset tf kernel 2588370 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1268 tf kernel not reseted sub process len(results) : 14 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 14 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 : 5301 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.00015354156494140625 nb_pixel_total : 4734 time to create 1 rle with old method : 0.00590062141418457 length of segment : 61 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 6790 time to create 1 rle with old method : 0.00822591781616211 length of segment : 100 time for calcul the mask position with numpy : 0.00023245811462402344 nb_pixel_total : 10073 time to create 1 rle with old method : 0.011924505233764648 length of segment : 177 time for calcul the mask position with numpy : 0.0016503334045410156 nb_pixel_total : 98762 time to create 1 rle with old method : 0.11853408813476562 length of segment : 521 time for calcul the mask position with numpy : 0.00014638900756835938 nb_pixel_total : 6911 time to create 1 rle with old method : 0.008497238159179688 length of segment : 113 time for calcul the mask position with numpy : 0.01655864715576172 nb_pixel_total : 1057692 time to create 1 rle with new method : 0.033228158950805664 length of segment : 1345 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 11039 time to create 1 rle with old method : 0.012428760528564453 length of segment : 112 time for calcul the mask position with numpy : 0.00021314620971679688 nb_pixel_total : 13624 time to create 1 rle with old method : 0.01573920249938965 length of segment : 164 time for calcul the mask position with numpy : 0.00020265579223632812 nb_pixel_total : 9794 time to create 1 rle with old method : 0.011417388916015625 length of segment : 173 time for calcul the mask position with numpy : 0.010114908218383789 nb_pixel_total : 776665 time to create 1 rle with new method : 0.020850181579589844 length of segment : 1409 time for calcul the mask position with numpy : 0.00934457778930664 nb_pixel_total : 725929 time to create 1 rle with new method : 0.018922805786132812 length of segment : 920 time for calcul the mask position with numpy : 0.00017881393432617188 nb_pixel_total : 3121 time to create 1 rle with old method : 0.00410008430480957 length of segment : 58 time for calcul the mask position with numpy : 0.0024614334106445312 nb_pixel_total : 107843 time to create 1 rle with old method : 0.13879704475402832 length of segment : 548 time for calcul the mask position with numpy : 0.013953685760498047 nb_pixel_total : 733547 time to create 1 rle with new method : 0.026465415954589844 length of segment : 985 time for calcul the mask position with numpy : 9.989738464355469e-05 nb_pixel_total : 1879 time to create 1 rle with old method : 0.002405405044555664 length of segment : 45 time for calcul the mask position with numpy : 5.698204040527344e-05 nb_pixel_total : 1021 time to create 1 rle with old method : 0.0013484954833984375 length of segment : 37 time for calcul the mask position with numpy : 0.00017595291137695312 nb_pixel_total : 7811 time to create 1 rle with old method : 0.009502649307250977 length of segment : 136 time for calcul the mask position with numpy : 0.002214193344116211 nb_pixel_total : 117506 time to create 1 rle with old method : 0.13769030570983887 length of segment : 531 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 11723 time to create 1 rle with old method : 0.013852596282958984 length of segment : 123 time for calcul the mask position with numpy : 0.0018720626831054688 nb_pixel_total : 99918 time to create 1 rle with old method : 0.11680221557617188 length of segment : 508 time for calcul the mask position with numpy : 0.00046634674072265625 nb_pixel_total : 25518 time to create 1 rle with old method : 0.030397891998291016 length of segment : 176 time for calcul the mask position with numpy : 0.0004737377166748047 nb_pixel_total : 10936 time to create 1 rle with old method : 0.01319122314453125 length of segment : 178 time for calcul the mask position with numpy : 0.0003495216369628906 nb_pixel_total : 4206 time to create 1 rle with old method : 0.0052433013916015625 length of segment : 163 time for calcul the mask position with numpy : 0.0003123283386230469 nb_pixel_total : 15634 time to create 1 rle with old method : 0.0191347599029541 length of segment : 165 time for calcul the mask position with numpy : 0.0003535747528076172 nb_pixel_total : 16414 time to create 1 rle with old method : 0.02182912826538086 length of segment : 122 time for calcul the mask position with numpy : 0.00038933753967285156 nb_pixel_total : 6253 time to create 1 rle with old method : 0.007599830627441406 length of segment : 203 time for calcul the mask position with numpy : 0.00022554397583007812 nb_pixel_total : 6633 time to create 1 rle with old method : 0.008224725723266602 length of segment : 80 time for calcul the mask position with numpy : 0.00017786026000976562 nb_pixel_total : 3335 time to create 1 rle with old method : 0.0042057037353515625 length of segment : 80 time for calcul the mask position with numpy : 0.0002422332763671875 nb_pixel_total : 9804 time to create 1 rle with old method : 0.011640071868896484 length of segment : 116 time for calcul the mask position with numpy : 0.012508869171142578 nb_pixel_total : 749593 time to create 1 rle with new method : 0.01719832420349121 length of segment : 934 time for calcul the mask position with numpy : 0.0003514289855957031 nb_pixel_total : 7450 time to create 1 rle with old method : 0.010475873947143555 length of segment : 97 time for calcul the mask position with numpy : 0.00016188621520996094 nb_pixel_total : 3123 time to create 1 rle with old method : 0.004019975662231445 length of segment : 48 time for calcul the mask position with numpy : 0.0025031566619873047 nb_pixel_total : 104977 time to create 1 rle with old method : 0.12352991104125977 length of segment : 586 time for calcul the mask position with numpy : 0.0007655620574951172 nb_pixel_total : 29325 time to create 1 rle with old method : 0.03488302230834961 length of segment : 183 time for calcul the mask position with numpy : 0.0003476142883300781 nb_pixel_total : 10612 time to create 1 rle with old method : 0.012939214706420898 length of segment : 126 time spent for convertir_results : 2.8488895893096924 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 : 11323 save missing photos in datou_result : time spend for datou_step_exec : 22.709877729415894 time spend to save output : 0.7657840251922607 total time spend for step 1 : 23.475661754608154 step2:crop_condition Thu Aug 14 12:40:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 14 ! 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 ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755168054_2587869 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 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.906831979751587 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 ! 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/1755168060_2587869 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.4335851669311523 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755168079_2587869 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 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.1748058795928955 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 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! 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/1755168083_2587869 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.5417828559875488 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] Looping around the photos to save general results len do output : 35 /1376996848Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996849Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996850Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996852Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996853Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996854Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996855Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996857Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996858Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996859Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996861Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996862Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996863Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996865Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996866Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996868Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996870Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996871Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996872Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996891Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996910Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1376996921Didn'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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 119 time used for this insertion : 0.02496957778930664 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.249110221862793 time spend to save output : 0.02650904655456543 total time spend for step 2 : 30.27561926841736 step3:rle_unique_nms_with_priority Thu Aug 14 12:41:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 : 2 nb_hashtags : 2 time to prepare the origin masks : 0.046219825744628906 time for calcul the mask position with numpy : 0.022355079650878906 nb_pixel_total : 2062076 time to create 1 rle with new method : 0.03966856002807617 time for calcul the mask position with numpy : 0.0061910152435302734 nb_pixel_total : 6790 time to create 1 rle with old method : 0.007731437683105469 time for calcul the mask position with numpy : 0.005934953689575195 nb_pixel_total : 4734 time to create 1 rle with old method : 0.005367755889892578 create new chi : 0.09173941612243652 time to delete rle : 0.024596214294433594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1402 TO DO : save crop sub photo not yet done ! save time : 0.12009167671203613 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0902717113494873 time for calcul the mask position with numpy : 0.02749919891357422 nb_pixel_total : 1964765 time to create 1 rle with new method : 0.0429682731628418 time for calcul the mask position with numpy : 0.006853342056274414 nb_pixel_total : 98762 time to create 1 rle with old method : 0.11575078964233398 time for calcul the mask position with numpy : 0.006657838821411133 nb_pixel_total : 10073 time to create 1 rle with old method : 0.011659383773803711 create new chi : 0.21605801582336426 time to delete rle : 0.0003826618194580078 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2476 TO DO : save crop sub photo not yet done ! save time : 0.17015862464904785 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07011747360229492 time for calcul the mask position with numpy : 0.015429973602294922 nb_pixel_total : 1009307 time to create 1 rle with new method : 0.04431438446044922 time for calcul the mask position with numpy : 0.00634765625 nb_pixel_total : 5994 time to create 1 rle with old method : 0.007053375244140625 time for calcul the mask position with numpy : 0.016372203826904297 nb_pixel_total : 1051388 time to create 1 rle with new method : 0.039240121841430664 time for calcul the mask position with numpy : 0.00673675537109375 nb_pixel_total : 6911 time to create 1 rle with old method : 0.008219718933105469 create new chi : 0.15131330490112305 time to delete rle : 0.0007185935974121094 batch 1 Loaded 7 chid ids of type : 3594 +++++Number RLEs to save : 4107 TO DO : save crop sub photo not yet done ! save time : 0.2644484043121338 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.09541058540344238 time for calcul the mask position with numpy : 0.024222135543823242 nb_pixel_total : 1274404 time to create 1 rle with new method : 0.04899001121520996 time for calcul the mask position with numpy : 0.013985395431518555 nb_pixel_total : 775778 time to create 1 rle with new method : 0.04140067100524902 time for calcul the mask position with numpy : 0.006537914276123047 nb_pixel_total : 9794 time to create 1 rle with old method : 0.011627435684204102 time for calcul the mask position with numpy : 0.008166790008544922 nb_pixel_total : 13624 time to create 1 rle with old method : 0.0161588191986084 create new chi : 0.17664432525634766 time to delete rle : 0.0006868839263916016 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 4486 TO DO : save crop sub photo not yet done ! save time : 0.3021810054779053 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.0525822639465332 time for calcul the mask position with numpy : 0.025174379348754883 nb_pixel_total : 1347671 time to create 1 rle with new method : 0.04276537895202637 time for calcul the mask position with numpy : 0.01651453971862793 nb_pixel_total : 725929 time to create 1 rle with new method : 0.04831266403198242 create new chi : 0.13679027557373047 time to delete rle : 0.000507354736328125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2920 TO DO : save crop sub photo not yet done ! save time : 0.22058820724487305 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05576133728027344 time for calcul the mask position with numpy : 0.017852783203125 nb_pixel_total : 1229089 time to create 1 rle with new method : 0.04575753211975098 time for calcul the mask position with numpy : 0.011445999145507812 nb_pixel_total : 733547 time to create 1 rle with new method : 0.04026651382446289 time for calcul the mask position with numpy : 0.007258415222167969 nb_pixel_total : 107843 time to create 1 rle with old method : 0.1264815330505371 time for calcul the mask position with numpy : 0.007189273834228516 nb_pixel_total : 3121 time to create 1 rle with old method : 0.003670930862426758 create new chi : 0.2650611400604248 time to delete rle : 0.0007107257843017578 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4262 TO DO : save crop sub photo not yet done ! save time : 0.2826418876647949 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.06048274040222168 time for calcul the mask position with numpy : 0.024123191833496094 nb_pixel_total : 2062889 time to create 1 rle with new method : 0.044599294662475586 time for calcul the mask position with numpy : 0.006394147872924805 nb_pixel_total : 7811 time to create 1 rle with old method : 0.009665966033935547 time for calcul the mask position with numpy : 0.0063629150390625 nb_pixel_total : 1021 time to create 1 rle with old method : 0.0012564659118652344 time for calcul the mask position with numpy : 0.006055593490600586 nb_pixel_total : 1879 time to create 1 rle with old method : 0.0022351741790771484 create new chi : 0.10516548156738281 time to delete rle : 0.0003724098205566406 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1516 TO DO : save crop sub photo not yet done ! save time : 0.14920949935913086 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06605792045593262 time for calcul the mask position with numpy : 0.02907562255859375 nb_pixel_total : 1956094 time to create 1 rle with new method : 0.046845436096191406 time for calcul the mask position with numpy : 0.008049249649047852 nb_pixel_total : 117506 time to create 1 rle with old method : 0.14908647537231445 create new chi : 0.2377176284790039 time to delete rle : 0.0003859996795654297 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2142 TO DO : save crop sub photo not yet done ! save time : 0.17562150955200195 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03740978240966797 time for calcul the mask position with numpy : 0.024068355560302734 nb_pixel_total : 2061877 time to create 1 rle with new method : 0.04366421699523926 time for calcul the mask position with numpy : 0.00635218620300293 nb_pixel_total : 11723 time to create 1 rle with old method : 0.013633251190185547 create new chi : 0.0943136215209961 time to delete rle : 0.0002827644348144531 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1326 TO DO : save crop sub photo not yet done ! save time : 0.1268782615661621 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05027413368225098 time for calcul the mask position with numpy : 0.023587465286254883 nb_pixel_total : 1948164 time to create 1 rle with new method : 0.041452646255493164 time for calcul the mask position with numpy : 0.00640559196472168 nb_pixel_total : 25518 time to create 1 rle with old method : 0.029445171356201172 time for calcul the mask position with numpy : 0.0066070556640625 nb_pixel_total : 99918 time to create 1 rle with old method : 0.12414050102233887 create new chi : 0.2363264560699463 time to delete rle : 0.00040793418884277344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2448 TO DO : save crop sub photo not yet done ! save time : 0.1772303581237793 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0558619499206543 time for calcul the mask position with numpy : 0.02365851402282715 nb_pixel_total : 2042824 time to create 1 rle with new method : 0.04170036315917969 time for calcul the mask position with numpy : 0.006214618682861328 nb_pixel_total : 15634 time to create 1 rle with old method : 0.018307924270629883 time for calcul the mask position with numpy : 0.006028413772583008 nb_pixel_total : 4206 time to create 1 rle with old method : 0.004972696304321289 time for calcul the mask position with numpy : 0.006023883819580078 nb_pixel_total : 10936 time to create 1 rle with old method : 0.012644529342651367 create new chi : 0.12420463562011719 time to delete rle : 0.0003783702850341797 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 2092 TO DO : save crop sub photo not yet done ! save time : 0.1624610424041748 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.045003652572631836 time for calcul the mask position with numpy : 0.020563364028930664 nb_pixel_total : 2050933 time to create 1 rle with new method : 0.04231452941894531 time for calcul the mask position with numpy : 0.006536960601806641 nb_pixel_total : 6253 time to create 1 rle with old method : 0.007364034652709961 time for calcul the mask position with numpy : 0.00665283203125 nb_pixel_total : 16414 time to create 1 rle with old method : 0.019182682037353516 create new chi : 0.10819339752197266 time to delete rle : 0.0003211498260498047 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1730 TO DO : save crop sub photo not yet done ! save time : 0.5150201320648193 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.07519125938415527 time for calcul the mask position with numpy : 0.019191741943359375 nb_pixel_total : 1304235 time to create 1 rle with new method : 0.0460972785949707 time for calcul the mask position with numpy : 0.013683319091796875 nb_pixel_total : 749593 time to create 1 rle with new method : 0.03991270065307617 time for calcul the mask position with numpy : 0.006583213806152344 nb_pixel_total : 9804 time to create 1 rle with old method : 0.01141977310180664 time for calcul the mask position with numpy : 0.006478309631347656 nb_pixel_total : 3335 time to create 1 rle with old method : 0.004006147384643555 time for calcul the mask position with numpy : 0.006449699401855469 nb_pixel_total : 6633 time to create 1 rle with old method : 0.007726192474365234 create new chi : 0.16689634323120117 time to delete rle : 0.0006339550018310547 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3500 TO DO : save crop sub photo not yet done ! save time : 0.39455342292785645 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.0865015983581543 time for calcul the mask position with numpy : 0.027001380920410156 nb_pixel_total : 1918113 time to create 1 rle with new method : 0.049443721771240234 time for calcul the mask position with numpy : 0.006712198257446289 nb_pixel_total : 10612 time to create 1 rle with old method : 0.012429237365722656 time for calcul the mask position with numpy : 0.006886482238769531 nb_pixel_total : 29325 time to create 1 rle with old method : 0.034285783767700195 time for calcul the mask position with numpy : 0.007258176803588867 nb_pixel_total : 104977 time to create 1 rle with old method : 0.12231564521789551 time for calcul the mask position with numpy : 0.0069103240966796875 nb_pixel_total : 3123 time to create 1 rle with old method : 0.003703594207763672 time for calcul the mask position with numpy : 0.006700754165649414 nb_pixel_total : 7450 time to create 1 rle with old method : 0.00893259048461914 create new chi : 0.2987358570098877 time to delete rle : 0.0005867481231689453 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 3160 TO DO : save crop sub photo not yet done ! save time : 0.24742364883422852 map_output_result : {1376982168: (0.0, 'Should be the crop_list due to order', 0), 1376982166: (0.0, 'Should be the crop_list due to order', 0), 1376982117: (0.0, 'Should be the crop_list due to order', 0), 1376982114: (0.0, 'Should be the crop_list due to order', 0), 1376982110: (0.0, 'Should be the crop_list due to order', 0), 1376982102: (0.0, 'Should be the crop_list due to order', 0), 1376982099: (0.0, 'Should be the crop_list due to order', 0), 1376982094: (0.0, 'Should be the crop_list due to order', 0), 1376982069: (0.0, 'Should be the crop_list due to order', 0), 1376982067: (0.0, 'Should be the crop_list due to order', 0), 1376982065: (0.0, 'Should be the crop_list due to order', 0), 1376982056: (0.0, 'Should be the crop_list due to order', 0), 1376982055: (0.0, 'Should be the crop_list due to order', 0), 1376982052: (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 [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] Looping around the photos to save general results len do output : 14 /1376982168.Didn't retrieve data . /1376982166.Didn't retrieve data . /1376982117.Didn't retrieve data . /1376982114.Didn't retrieve data . /1376982110.Didn't retrieve data . /1376982102.Didn't retrieve data . /1376982099.Didn't retrieve data . /1376982094.Didn't retrieve data . /1376982069.Didn't retrieve data . /1376982067.Didn't retrieve data . /1376982065.Didn't retrieve data . /1376982056.Didn't retrieve data . /1376982055.Didn't retrieve data . /1376982052.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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.05797457695007324 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.1101977825164795 time spend to save output : 0.0586543083190918 total time spend for step 3 : 7.168852090835571 step4:ventilate_hashtags_in_portfolio Thu Aug 14 12:41:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 25980109 get user id for portfolio 25980109 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`=25980109 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','autre','pet_fonce','papier','flou','pehd','metal','pet_clair','environnement','carton')) 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`=25980109 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','autre','pet_fonce','papier','flou','pehd','metal','pet_clair','environnement','carton')) 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`=25980109 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','background','autre','pet_fonce','papier','flou','pehd','metal','pet_clair','environnement','carton')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25980482,25980483,25980484,25980485,25980486,25980487,25980488,25980489,25980490,25980491,25980492?tags=mal_croppe,background,autre,pet_fonce,papier,flou,pehd,metal,pet_clair,environnement,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] Looping around the photos to save general results len do output : 1 /25980109. 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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01833963394165039 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.725200891494751 time spend to save output : 0.018630027770996094 total time spend for step 4 : 1.743830919265747 step5:final Thu Aug 14 12:41: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 ! 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 : {1376982168: ('0.16527360973324515',), 1376982166: ('0.16527360973324515',), 1376982117: ('0.16527360973324515',), 1376982114: ('0.16527360973324515',), 1376982110: ('0.16527360973324515',), 1376982102: ('0.16527360973324515',), 1376982099: ('0.16527360973324515',), 1376982094: ('0.16527360973324515',), 1376982069: ('0.16527360973324515',), 1376982067: ('0.16527360973324515',), 1376982065: ('0.16527360973324515',), 1376982056: ('0.16527360973324515',), 1376982055: ('0.16527360973324515',), 1376982052: ('0.16527360973324515',)} new output for save of step final : {1376982168: ('0.16527360973324515',), 1376982166: ('0.16527360973324515',), 1376982117: ('0.16527360973324515',), 1376982114: ('0.16527360973324515',), 1376982110: ('0.16527360973324515',), 1376982102: ('0.16527360973324515',), 1376982099: ('0.16527360973324515',), 1376982094: ('0.16527360973324515',), 1376982069: ('0.16527360973324515',), 1376982067: ('0.16527360973324515',), 1376982065: ('0.16527360973324515',), 1376982056: ('0.16527360973324515',), 1376982055: ('0.16527360973324515',), 1376982052: ('0.16527360973324515',)} [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] Looping around the photos to save general results len do output : 14 /1376982168.Didn't retrieve data . /1376982166.Didn't retrieve data . /1376982117.Didn't retrieve data . /1376982114.Didn't retrieve data . /1376982110.Didn't retrieve data . /1376982102.Didn't retrieve data . /1376982099.Didn't retrieve data . /1376982094.Didn't retrieve data . /1376982069.Didn't retrieve data . /1376982067.Didn't retrieve data . /1376982065.Didn't retrieve data . /1376982056.Didn't retrieve data . /1376982055.Didn't retrieve data . /1376982052.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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.015597820281982422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12557005882263184 time spend to save output : 0.016329288482666016 total time spend for step 5 : 0.14189934730529785 step6:blur_detection Thu Aug 14 12:41: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 blur_detection methode: ratio et variance treat image : temp/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404.jpg resize: (1080, 1920) 1376982168 -0.5501193067309037 treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400.jpg resize: (1080, 1920) 1376982166 2.97638007987344 treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e.jpg resize: (1080, 1920) 1376982117 1.748908001197973 treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02.jpg resize: (1080, 1920) 1376982114 0.5802661892707489 treat image : temp/1755168028_2587869_1376982110_e0c7ee7d8738b7512636ed82706ab368.jpg resize: (1080, 1920) 1376982110 0.6603479165899238 treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636.jpg resize: (1080, 1920) 1376982102 -0.5695320219139914 treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed.jpg resize: (1080, 1920) 1376982099 0.10162258101073794 treat image : temp/1755168028_2587869_1376982094_aa625248a0728dce02f4df710c431a18.jpg resize: (1080, 1920) 1376982094 -0.37359937234818685 treat image : temp/1755168028_2587869_1376982069_51ecc053d24f290286d13a1b477f3f35.jpg resize: (1080, 1920) 1376982069 -0.9548069482751478 treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8.jpg resize: (1080, 1920) 1376982067 -0.26841102799479255 treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de.jpg resize: (1080, 1920) 1376982065 0.49021092801050054 treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f.jpg resize: (1080, 1920) 1376982056 2.5136924529800915 treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b.jpg resize: (1080, 1920) 1376982055 1.819285946524695 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455.jpg resize: (1080, 1920) 1376982052 -3.35475037874327 treat image : temp/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404_rle_crop_3914671349_0.png resize: (61, 102) 1376996848 1.358929924773708 treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400_rle_crop_3914671351_0.png resize: (176, 112) 1376996849 -1.0074785288959995 treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671353_0.png resize: (106, 121) 1376996850 -1.4257079247430433 treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671357_0.png resize: (173, 108) 1376996852 -0.7723111397058188 treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671356_0.png resize: (162, 125) 1376996853 -1.3833742754120526 treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671360_0.png resize: (57, 67) 1376996854 2.0722362346222485 treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671363_0.png resize: (45, 58) 1376996855 -1.7522659448197329 treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671364_0.png resize: (37, 38) 1376996857 0.40069747555723434 treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671365_0.png resize: (136, 82) 1376996858 -1.1816073099576967 treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671370_0.png resize: (178, 109) 1376996859 0.05316043316883684 treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671371_0.png resize: (123, 83) 1376996861 -2.1116947460315476 treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f_rle_crop_3914671374_0.png resize: (174, 71) 1376996862 -3.029407226794432 treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f_rle_crop_3914671373_0.png resize: (105, 222) 1376996863 -1.8831160012304307 treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671375_0.png resize: (80, 109) 1376996865 3.447537559105303 treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671377_0.png resize: (115, 119) 1376996866 -1.2198975254201923 treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671376_0.png resize: (80, 77) 1376996868 -1.9519012328679113 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671380_0.png resize: (44, 92) 1376996870 -3.1736208291671564 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671383_0.png resize: (118, 116) 1376996871 -1.4838172734966484 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671379_0.png resize: (93, 132) 1376996872 -2.6018720570262333 treat image : temp/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404_rle_crop_3914671350_0.png resize: (100, 99) 1376996887 -1.57955761505356 treat image : temp/1755168028_2587869_1376982069_51ecc053d24f290286d13a1b477f3f35_rle_crop_3914671367_0.png resize: (119, 120) 1376996888 0.028493961731973726 treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8_rle_crop_3914671369_0.png resize: (173, 197) 1376996889 -1.209399860716668 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671381_0.png resize: (543, 344) 1376996891 -0.18681535480303607 treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400_rle_crop_3914671352_0.png resize: (511, 321) 1376996909 -0.00966592927355633 treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671354_0.png resize: (1009, 1309) 1376996910 -0.033619983234794974 treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671355_0.png resize: (106, 141) 1376996911 -2.3658774360868864 treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671358_0.png resize: (984, 1165) 1376996912 -0.45643773342771493 treat image : temp/1755168028_2587869_1376982110_e0c7ee7d8738b7512636ed82706ab368_rle_crop_3914671359_0.png resize: (911, 1017) 1376996913 0.4889342813283089 treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671362_0.png resize: (981, 1014) 1376996914 0.30336027246151415 treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671361_0.png resize: (543, 326) 1376996915 0.4130151883920343 treat image : temp/1755168028_2587869_1376982094_aa625248a0728dce02f4df710c431a18_rle_crop_3914671366_0.png resize: (529, 345) 1376996916 0.416271488150898 treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8_rle_crop_3914671368_0.png resize: (507, 330) 1376996917 -0.09310273825983492 treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671372_0.png resize: (130, 160) 1376996918 -1.7349869472024377 treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671378_0.png resize: (927, 1045) 1376996919 1.2626373330853768 treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671382_0.png resize: (183, 233) 1376996921 -2.7359998231457765 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 : 49 time used for this insertion : 0.016648530960083008 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.01839423179626465 save missing photos in datou_result : time spend for datou_step_exec : 14.074287414550781 time spend to save output : 0.040290117263793945 total time spend for step 6 : 14.114577531814575 step7:brightness Thu Aug 14 12:41:46 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/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404.jpg treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400.jpg treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e.jpg treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02.jpg treat image : temp/1755168028_2587869_1376982110_e0c7ee7d8738b7512636ed82706ab368.jpg treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636.jpg treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed.jpg treat image : temp/1755168028_2587869_1376982094_aa625248a0728dce02f4df710c431a18.jpg treat image : temp/1755168028_2587869_1376982069_51ecc053d24f290286d13a1b477f3f35.jpg treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8.jpg treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de.jpg treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f.jpg treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b.jpg treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455.jpg treat image : temp/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404_rle_crop_3914671349_0.png treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400_rle_crop_3914671351_0.png treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671353_0.png treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671357_0.png treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671356_0.png treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671360_0.png treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671363_0.png treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671364_0.png treat image : temp/1755168028_2587869_1376982099_992f7b456d5bd00a3791b0c3afdc5aed_rle_crop_3914671365_0.png treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671370_0.png treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671371_0.png treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f_rle_crop_3914671374_0.png treat image : temp/1755168028_2587869_1376982056_8d6e3a310a109c9ac9a692ba210a532f_rle_crop_3914671373_0.png treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671375_0.png treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671377_0.png treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671376_0.png treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671380_0.png treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671383_0.png treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671379_0.png treat image : temp/1755168028_2587869_1376982168_78bffd2e2793b0b33bb3ddbb709c9404_rle_crop_3914671350_0.png treat image : temp/1755168028_2587869_1376982069_51ecc053d24f290286d13a1b477f3f35_rle_crop_3914671367_0.png treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8_rle_crop_3914671369_0.png treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671381_0.png treat image : temp/1755168028_2587869_1376982166_d7c0b4aaa83a8059e2a478a1509d3400_rle_crop_3914671352_0.png treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671354_0.png treat image : temp/1755168028_2587869_1376982117_50dcd0c29adab50bfea6772268137d1e_rle_crop_3914671355_0.png treat image : temp/1755168028_2587869_1376982114_7dd1d53b56ae0bcb2fc29478daabfe02_rle_crop_3914671358_0.png treat image : temp/1755168028_2587869_1376982110_e0c7ee7d8738b7512636ed82706ab368_rle_crop_3914671359_0.png treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671362_0.png treat image : temp/1755168028_2587869_1376982102_e8fa6b392816d9fdb8610df82f342636_rle_crop_3914671361_0.png treat image : temp/1755168028_2587869_1376982094_aa625248a0728dce02f4df710c431a18_rle_crop_3914671366_0.png treat image : temp/1755168028_2587869_1376982067_6542345697347992372a0ce964412be8_rle_crop_3914671368_0.png treat image : temp/1755168028_2587869_1376982065_537aba63733558d99f3bb006d759d8de_rle_crop_3914671372_0.png treat image : temp/1755168028_2587869_1376982055_43c2d04ee770b35e24c114700a51312b_rle_crop_3914671378_0.png treat image : temp/1755168028_2587869_1376982052_27b4eca38221c377a9ca492e6fd3b455_rle_crop_3914671382_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 : 49 time used for this insertion : 0.016106128692626953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 49 time used for this insertion : 0.018170595169067383 save missing photos in datou_result : time spend for datou_step_exec : 4.37019681930542 time spend to save output : 0.039031028747558594 total time spend for step 7 : 4.4092278480529785 step8:velours_tree Thu Aug 14 12:41:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.14982080459594727 time spend to save output : 3.314018249511719e-05 total time spend for step 8 : 0.14985394477844238 step9:send_mail_cod Thu Aug 14 12:41:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P25980109_14-08-2025_12_41_51.pdf 25980482 imagette259804821755168111 25980483 imagette259804831755168111 25980484 imagette259804841755168111 25980485 change filename to text .imagette259804851755168111 25980486 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 .imagette259804861755168111 25980487 imagette259804871755168112 25980488 imagette259804881755168112 25980489 imagette259804891755168112 25980490 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 .imagette259804901755168112 25980492 change filename to text .change filename to text .change filename to text .change filename to text .imagette259804921755168113 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25980109 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25980482,25980483,25980484,25980485,25980486,25980487,25980488,25980489,25980490,25980491,25980492?tags=mal_croppe,background,autre,pet_fonce,papier,flou,pehd,metal,pet_clair,environnement,carton args[1376982168] : ((1376982168, -0.5501193067309037, 492688767), (1376982168, 0.5392136097742035, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982166] : ((1376982166, 2.97638007987344, 492688767), (1376982166, 0.45162211732456364, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982117] : ((1376982117, 1.748908001197973, 492688767), (1376982117, 0.3592141012139082, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982114] : ((1376982114, 0.5802661892707489, 492688767), (1376982114, 0.5474197366423488, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982110] : ((1376982110, 0.6603479165899238, 492688767), (1376982110, 0.49319057935208477, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982102] : ((1376982102, -0.5695320219139914, 492688767), (1376982102, 0.7626576039137106, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982099] : ((1376982099, 0.10162258101073794, 492688767), (1376982099, 0.5251557083307393, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982094] : ((1376982094, -0.37359937234818685, 492688767), (1376982094, 0.599751829801523, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982069] : ((1376982069, -0.9548069482751478, 492688767), (1376982069, 0.4416767510914514, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982067] : ((1376982067, -0.26841102799479255, 492688767), (1376982067, 0.7816518980398954, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982065] : ((1376982065, 0.49021092801050054, 492688767), (1376982065, 0.6359097134205867, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982056] : ((1376982056, 2.5136924529800915, 492688767), (1376982056, 0.323603367431322, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982055] : ((1376982055, 1.819285946524695, 492688767), (1376982055, 0.7225936940349228, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com args[1376982052] : ((1376982052, -3.35475037874327, 492609224), (1376982052, 0.4275381358891752, 2107752395), '0.16527360973324515') We are sending mail with results at report@fotonower.com refus_total : 0.16527360973324515 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=25980109 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_P25980109_14-08-2025_12_41_51.pdf results_Auto_P25980109_14-08-2025_12_41_51.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980109_14-08-2025_12_41_51.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','25980109','results_Auto_P25980109_14-08-2025_12_41_51.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980109_14-08-2025_12_41_51.pdf','pdf','','0.51','0.16527360973324515') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25980109

https://www.fotonower.com/image?json=false&list_photos_id=1376982168
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982166
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.97638007987344)
https://www.fotonower.com/image?json=false&list_photos_id=1376982117
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.748908001197973)
https://www.fotonower.com/image?json=false&list_photos_id=1376982114
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982110
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982102
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982099
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982094
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982069
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982067
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982065
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1376982056
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.5136924529800915)
https://www.fotonower.com/image?json=false&list_photos_id=1376982055
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.819285946524695)
https://www.fotonower.com/image?json=false&list_photos_id=1376982052
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_fonce: https://www.fotonower.com/view/25980485?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/25980486?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25980490?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25980492?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980109_14-08-2025_12_41_51.pdf.

Lien vers velours :https://www.fotonower.com/velours/25980482,25980483,25980484,25980485,25980486,25980487,25980488,25980489,25980490,25980491,25980492?tags=mal_croppe,background,autre,pet_fonce,papier,flou,pehd,metal,pet_clair,environnement,carton.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 14 Aug 2025 10:41:55 GMT Content-Length: 0 Connection: close X-Message-Id: Q1ECwTU-S_i7FtYw4Nt-ng 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 [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] 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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.017073631286621094 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.43303656578064 time spend to save output : 0.017341136932373047 total time spend for step 9 : 4.450377702713013 step10:split_time_score Thu Aug 14 12:41:55 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'}] (('11', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14082025 25980109 Nombre de photos uploadées : 14 / 23040 (0%) 14082025 25980109 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 14082025 25980109 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.1920928955078125e-05 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006074905395507812 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.204514741897583 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.1280742026748971 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974582_14-08-2025_10_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974582 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`=25974582 AND mptpi.`type`=3594 To do Qualite : 0.015116423932613166 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25974586_14-08-2025_10_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25974586 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`=25974586 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980071 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980101 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980105 order by id desc limit 1 Qualite : 0.16527360973324515 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25980109_14-08-2025_12_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25980109 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`=25980109 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14082025': {'nb_upload': 14, '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 [1376982168, 1376982166, 1376982117, 1376982114, 1376982110, 1376982102, 1376982099, 1376982094, 1376982069, 1376982067, 1376982065, 1376982056, 1376982055, 1376982052] Looping around the photos to save general results len do output : 1 /25980109Didn'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, '3534285') ('3318', '25980109', '1376982168', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982166', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982117', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982114', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982110', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982102', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982099', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982094', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982069', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982067', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982065', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982056', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982055', None, None, None, None, None, '3534285') ('3318', None, None, None, None, None, None, None, '3534285') ('3318', '25980109', '1376982052', None, None, None, None, None, '3534285') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03980851173400879 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9191536903381348 time spend to save output : 0.04004955291748047 total time spend for step 10 : 3.9592032432556152 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 60.48user 14.33system 1:34.80elapsed 78%CPU (0avgtext+0avgdata 2888096maxresident)k 529368inputs+33376outputs (68major+1289927minor)pagefaults 0swaps