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 : 638903 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 : ['3942465'] with mtr_portfolio_ids : ['27810563'] and first list_photo_ids : [] new path : /proc/638903/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.8127107620239258 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Tue Oct 14 20:10:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-14 20:10:33.657974: 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-10-14 20:10:33.690412: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-14 20:10:33.693081: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f38e4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-14 20:10:33.693142: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-14 20:10:33.698735: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-14 20:10:33.993080: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3c65fc80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-14 20:10:33.993153: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-14 20:10:33.995223: 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-10-14 20:10:33.995718: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-14 20:10:33.998992: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-14 20:10:34.017841: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-14 20:10:34.018428: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-14 20:10:34.051132: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-14 20:10:34.056582: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-14 20:10:34.110578: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-14 20:10:34.112491: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-14 20:10:34.112938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-14 20:10:34.113918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-14 20:10:34.113937: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-14 20:10:34.113947: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-14 20:10:34.116027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-10-14 20:10:34.565391: 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-10-14 20:10:34.565473: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-14 20:10:34.565495: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-14 20:10:34.565514: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-14 20:10:34.565532: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-14 20:10:34.565550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-14 20:10:34.565568: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-14 20:10:34.565586: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-14 20:10:34.567180: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-14 20:10:34.568529: 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-10-14 20:10:34.568562: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-14 20:10:34.568580: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-14 20:10:34.568598: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-14 20:10:34.568615: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-14 20:10:34.568632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-14 20:10:34.568650: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-14 20:10:34.568667: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-14 20:10:34.570238: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-14 20:10:34.570268: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-14 20:10:34.570302: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-14 20:10:34.570312: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-14 20:10:34.571816: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 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-10-14 20:10:42.512799: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-14 20:10:42.698438: 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 : 10 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 : 6 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: 42.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 : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 21.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: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 48.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 0 Detection mask done ! Trying to reset tf kernel 639358 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 10998 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.00015974044799804688 nb_pixel_total : 4120 time to create 1 rle with old method : 0.004937171936035156 length of segment : 113 time for calcul the mask position with numpy : 0.0005095005035400391 nb_pixel_total : 19841 time to create 1 rle with old method : 0.023376941680908203 length of segment : 349 time for calcul the mask position with numpy : 0.014272928237915039 nb_pixel_total : 851396 time to create 1 rle with new method : 0.02801060676574707 length of segment : 1677 time for calcul the mask position with numpy : 0.001626729965209961 nb_pixel_total : 113298 time to create 1 rle with old method : 0.11864376068115234 length of segment : 542 time for calcul the mask position with numpy : 0.00011444091796875 nb_pixel_total : 4771 time to create 1 rle with old method : 0.0052530765533447266 length of segment : 91 time for calcul the mask position with numpy : 0.0012507438659667969 nb_pixel_total : 98864 time to create 1 rle with old method : 0.1031801700592041 length of segment : 593 time for calcul the mask position with numpy : 0.0004673004150390625 nb_pixel_total : 34781 time to create 1 rle with old method : 0.03780078887939453 length of segment : 181 time for calcul the mask position with numpy : 7.939338684082031e-05 nb_pixel_total : 3709 time to create 1 rle with old method : 0.0041351318359375 length of segment : 83 time for calcul the mask position with numpy : 0.00014448165893554688 nb_pixel_total : 8239 time to create 1 rle with old method : 0.008812427520751953 length of segment : 150 time for calcul the mask position with numpy : 0.0008282661437988281 nb_pixel_total : 71138 time to create 1 rle with old method : 0.07511091232299805 length of segment : 225 time for calcul the mask position with numpy : 0.0002231597900390625 nb_pixel_total : 11726 time to create 1 rle with old method : 0.012598514556884766 length of segment : 258 time for calcul the mask position with numpy : 0.00013494491577148438 nb_pixel_total : 7641 time to create 1 rle with old method : 0.008913755416870117 length of segment : 89 time for calcul the mask position with numpy : 0.001173257827758789 nb_pixel_total : 101857 time to create 1 rle with old method : 0.10908317565917969 length of segment : 508 time for calcul the mask position with numpy : 0.00034928321838378906 nb_pixel_total : 15781 time to create 1 rle with old method : 0.01799750328063965 length of segment : 123 time for calcul the mask position with numpy : 0.0001666545867919922 nb_pixel_total : 6684 time to create 1 rle with old method : 0.007573843002319336 length of segment : 143 time for calcul the mask position with numpy : 0.00048089027404785156 nb_pixel_total : 9029 time to create 1 rle with old method : 0.010237932205200195 length of segment : 182 time for calcul the mask position with numpy : 0.00041747093200683594 nb_pixel_total : 11097 time to create 1 rle with old method : 0.012292623519897461 length of segment : 182 time spent for convertir_results : 2.0468921661376953 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 17 chid ids of type : 3594 Number RLEs to save : 5489 save missing photos in datou_result : time spend for datou_step_exec : 24.64795446395874 time spend to save output : 0.838822603225708 total time spend for step 1 : 25.48677706718445 step2:crop_condition Tue Oct 14 20:10: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 ! 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 : 10 ! batch 1 Loaded 17 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 ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760465456_638903 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018523_0.png', 0, 48, 113, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018524_0.png', 0, 159, 226, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018527_0.png', 0, 85, 91, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018530_0.png', 0, 62, 83, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018531_0.png', 0, 77, 150, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018533_0.png', 0, 91, 195, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018537_0.png', 0, 71, 125, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018534_0.png', 0, 157, 89, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448811_d302e93c471b3347b20137e89e137d9e_rle_crop_3998018538_0.png', 0, 106, 177, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465458), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448809_78dcd90e113afbc7f046c446085f7301_rle_crop_3998018539_0.png', 0, 118, 181, 0, 1760465458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.5994582176208496 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 ! 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/1760465460_638903 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465461), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018528_0.png', 0, 318, 532, 0, 1760465461,'0',0) 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.894594669342041 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760465466_638903 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448840_fc6de5f369ce609f06c55a9890c0d616_rle_crop_3998018525_0.png', 0, 1195, 992, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448836_7cf7b0b77fb73857df3ce058b46a48f8_rle_crop_3998018526_0.png', 0, 355, 537, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018529_0.png', 0, 282, 164, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018532_0.png', 0, 428, 216, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018536_0.png', 0, 228, 103, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760465466), 0.0, 0.0, 14, '', 0, 0, '1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018535_0.png', 0, 328, 491, 0, 1760465466,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.980377197265625 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 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] Looping around the photos to save general results len do output : 17 /1389472992Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472993Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472995Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472997Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389472999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473000Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473003Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473005Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389473008Didn'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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 61 time used for this insertion : 0.037870168685913086 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.436585664749146 time spend to save output : 0.038793325424194336 total time spend for step 2 : 12.47537899017334 step3:rle_unique_nms_with_priority Tue Oct 14 20:11:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2237849235534668 time for calcul the mask position with numpy : 0.06960511207580566 nb_pixel_total : 2049639 time to create 1 rle with new method : 0.30609798431396484 time for calcul the mask position with numpy : 0.00805974006652832 nb_pixel_total : 19841 time to create 1 rle with old method : 0.021028995513916016 time for calcul the mask position with numpy : 0.005696535110473633 nb_pixel_total : 4120 time to create 1 rle with old method : 0.004247903823852539 create new chi : 0.4202728271484375 time to delete rle : 0.11914825439453125 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 2004 TO DO : save crop sub photo not yet done ! save time : 0.37804698944091797 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08878517150878906 time for calcul the mask position with numpy : 0.019804716110229492 nb_pixel_total : 1222204 time to create 1 rle with new method : 0.1357102394104004 time for calcul the mask position with numpy : 0.011650562286376953 nb_pixel_total : 851396 time to create 1 rle with new method : 0.06418538093566895 create new chi : 0.2369370460510254 time to delete rle : 0.000476837158203125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 4434 TO DO : save crop sub photo not yet done ! save time : 0.5921752452850342 No data in photo_id : 1389448838 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03994297981262207 time for calcul the mask position with numpy : 0.0322115421295166 nb_pixel_total : 1960302 time to create 1 rle with new method : 0.07241058349609375 time for calcul the mask position with numpy : 0.0066089630126953125 nb_pixel_total : 113298 time to create 1 rle with old method : 0.1204535961151123 create new chi : 0.23926424980163574 time to delete rle : 0.0003380775451660156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2164 TO DO : save crop sub photo not yet done ! save time : 0.37402963638305664 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.7764542102813721 time for calcul the mask position with numpy : 0.23342609405517578 nb_pixel_total : 1923236 time to create 1 rle with new method : 0.08048295974731445 time for calcul the mask position with numpy : 0.0065000057220458984 nb_pixel_total : 8239 time to create 1 rle with old method : 0.008439779281616211 time for calcul the mask position with numpy : 0.006031990051269531 nb_pixel_total : 3709 time to create 1 rle with old method : 0.003986358642578125 time for calcul the mask position with numpy : 0.008194684982299805 nb_pixel_total : 34781 time to create 1 rle with old method : 0.036112308502197266 time for calcul the mask position with numpy : 0.010252952575683594 nb_pixel_total : 98864 time to create 1 rle with old method : 0.10309529304504395 time for calcul the mask position with numpy : 0.010010719299316406 nb_pixel_total : 4771 time to create 1 rle with old method : 0.005150794982910156 create new chi : 0.520909309387207 time to delete rle : 0.00052642822265625 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 3276 TO DO : save crop sub photo not yet done ! save time : 0.5308265686035156 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05369305610656738 time for calcul the mask position with numpy : 0.017699718475341797 nb_pixel_total : 1990736 time to create 1 rle with new method : 0.21417450904846191 time for calcul the mask position with numpy : 0.006117105484008789 nb_pixel_total : 11726 time to create 1 rle with old method : 0.012631893157958984 time for calcul the mask position with numpy : 0.006355762481689453 nb_pixel_total : 71138 time to create 1 rle with old method : 0.07575321197509766 create new chi : 0.3330659866333008 time to delete rle : 0.000274658203125 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2046 TO DO : save crop sub photo not yet done ! save time : 0.3615458011627197 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06350588798522949 time for calcul the mask position with numpy : 0.0535740852355957 nb_pixel_total : 1941637 time to create 1 rle with new method : 0.16871929168701172 time for calcul the mask position with numpy : 0.006125450134277344 nb_pixel_total : 6684 time to create 1 rle with old method : 0.007338523864746094 time for calcul the mask position with numpy : 0.006027936935424805 nb_pixel_total : 15781 time to create 1 rle with old method : 0.017183303833007812 time for calcul the mask position with numpy : 0.006098270416259766 nb_pixel_total : 101857 time to create 1 rle with old method : 0.11149978637695312 time for calcul the mask position with numpy : 0.006661176681518555 nb_pixel_total : 7641 time to create 1 rle with old method : 0.012328147888183594 create new chi : 0.4058835506439209 time to delete rle : 0.0005271434783935547 batch 1 Loaded 9 chid ids of type : 3594 +++++++Number RLEs to save : 2806 TO DO : save crop sub photo not yet done ! save time : 0.44914793968200684 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03175616264343262 time for calcul the mask position with numpy : 0.018255233764648438 nb_pixel_total : 2064571 time to create 1 rle with new method : 0.1851818561553955 time for calcul the mask position with numpy : 0.005580902099609375 nb_pixel_total : 9029 time to create 1 rle with old method : 0.009340763092041016 create new chi : 0.21858620643615723 time to delete rle : 0.00022721290588378906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1444 TO DO : save crop sub photo not yet done ! save time : 0.29586124420166016 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03966164588928223 time for calcul the mask position with numpy : 0.044512033462524414 nb_pixel_total : 2062503 time to create 1 rle with new method : 0.10446739196777344 time for calcul the mask position with numpy : 0.005889415740966797 nb_pixel_total : 11097 time to create 1 rle with old method : 0.01151275634765625 create new chi : 0.17520976066589355 time to delete rle : 0.0002372264862060547 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1444 TO DO : save crop sub photo not yet done ! save time : 0.27964043617248535 No data in photo_id : 1389448806 map_output_result : {1389448842: (0.0, 'Should be the crop_list due to order', 0), 1389448840: (0.0, 'Should be the crop_list due to order', 0), 1389448838: (0.0, 'Should be the crop_list due to order', 0.0), 1389448836: (0.0, 'Should be the crop_list due to order', 0), 1389448833: (0.0, 'Should be the crop_list due to order', 0), 1389448821: (0.0, 'Should be the crop_list due to order', 0), 1389448819: (0.0, 'Should be the crop_list due to order', 0), 1389448811: (0.0, 'Should be the crop_list due to order', 0), 1389448809: (0.0, 'Should be the crop_list due to order', 0), 1389448806: (0.0, 'Should be the crop_list due to order', 0.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 [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] Looping around the photos to save general results len do output : 10 /1389448842.Didn't retrieve data . /1389448840.Didn't retrieve data . /1389448838.Didn't retrieve data . /1389448836.Didn't retrieve data . /1389448833.Didn't retrieve data . /1389448821.Didn't retrieve data . /1389448819.Didn't retrieve data . /1389448811.Didn't retrieve data . /1389448809.Didn't retrieve data . /1389448806.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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.036712646484375 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.659982919692993 time spend to save output : 0.03709125518798828 total time spend for step 3 : 7.6970741748809814 step4:ventilate_hashtags_in_portfolio Tue Oct 14 20:11:15 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 : 27810563 get user id for portfolio 27810563 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`=27810563 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_clair','background','papier','flou','autre','carton','mal_croppe','pet_fonce','pehd')) 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`=27810563 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_clair','background','papier','flou','autre','carton','mal_croppe','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27810563 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','environnement','pet_clair','background','papier','flou','autre','carton','mal_croppe','pet_fonce','pehd')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27810669,27810670,27810671,27810672,27810673,27810674,27810675,27810676,27810677,27810678,27810679?tags=metal,environnement,pet_clair,background,papier,flou,autre,carton,mal_croppe,pet_fonce,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] Looping around the photos to save general results len do output : 1 /27810563. 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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.041362762451171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.469476222991943 time spend to save output : 0.04161977767944336 total time spend for step 4 : 5.511096000671387 step5:final Tue Oct 14 20:11:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1389448842: ('0.0662602237654321',), 1389448840: ('0.0662602237654321',), 1389448838: ('0.0662602237654321',), 1389448836: ('0.0662602237654321',), 1389448833: ('0.0662602237654321',), 1389448821: ('0.0662602237654321',), 1389448819: ('0.0662602237654321',), 1389448811: ('0.0662602237654321',), 1389448809: ('0.0662602237654321',), 1389448806: ('0.0662602237654321',)} new output for save of step final : {1389448842: ('0.0662602237654321',), 1389448840: ('0.0662602237654321',), 1389448838: ('0.0662602237654321',), 1389448836: ('0.0662602237654321',), 1389448833: ('0.0662602237654321',), 1389448821: ('0.0662602237654321',), 1389448819: ('0.0662602237654321',), 1389448811: ('0.0662602237654321',), 1389448809: ('0.0662602237654321',), 1389448806: ('0.0662602237654321',)} [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] Looping around the photos to save general results len do output : 10 /1389448842.Didn't retrieve data . /1389448840.Didn't retrieve data . /1389448838.Didn't retrieve data . /1389448836.Didn't retrieve data . /1389448833.Didn't retrieve data . /1389448821.Didn't retrieve data . /1389448819.Didn't retrieve data . /1389448811.Didn't retrieve data . /1389448809.Didn't retrieve data . /1389448806.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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.0377960205078125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4447975158691406 time spend to save output : 0.03827047348022461 total time spend for step 5 : 0.48306798934936523 step6:blur_detection Tue Oct 14 20:11:21 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/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea.jpg resize: (1080, 1920) 1389448842 1.9487723287245111 treat image : temp/1760465428_638903_1389448840_fc6de5f369ce609f06c55a9890c0d616.jpg resize: (1080, 1920) 1389448840 -0.06409196411087434 treat image : temp/1760465428_638903_1389448838_c5a149aef1d698b0d667cabae5e6ffcf.jpg resize: (1080, 1920) 1389448838 -1.2792073344072104 treat image : temp/1760465428_638903_1389448836_7cf7b0b77fb73857df3ce058b46a48f8.jpg resize: (1080, 1920) 1389448836 -4.787101327606056 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67.jpg resize: (1080, 1920) 1389448833 1.5557549179079921 treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad.jpg resize: (1080, 1920) 1389448821 1.47863571153402 treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342.jpg resize: (1080, 1920) 1389448819 -3.703091432255779 treat image : temp/1760465428_638903_1389448811_d302e93c471b3347b20137e89e137d9e.jpg resize: (1080, 1920) 1389448811 -1.5611506413476037 treat image : temp/1760465428_638903_1389448809_78dcd90e113afbc7f046c446085f7301.jpg resize: (1080, 1920) 1389448809 -2.897485931734152 treat image : temp/1760465428_638903_1389448806_6dfc35b6fde211f17350f7f8a1110598.jpg resize: (1080, 1920) 1389448806 0.35798604072972484 treat image : temp/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018523_0.png resize: (113, 48) 1389472992 -0.3805403332230774 treat image : temp/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018524_0.png resize: (226, 159) 1389472993 -2.1403305140139985 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018527_0.png resize: (91, 85) 1389472994 -1.2924239700814368 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018530_0.png resize: (83, 62) 1389472995 -0.32678220207923675 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018531_0.png resize: (150, 77) 1389472996 -0.887965984723758 treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018533_0.png resize: (195, 91) 1389472997 -2.0638002952749757 treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018537_0.png resize: (125, 71) 1389472998 -3.508380298326725 treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018534_0.png resize: (89, 157) 1389472999 -1.8279545384941853 treat image : temp/1760465428_638903_1389448811_d302e93c471b3347b20137e89e137d9e_rle_crop_3998018538_0.png resize: (177, 106) 1389473000 -1.8700730060910902 treat image : temp/1760465428_638903_1389448809_78dcd90e113afbc7f046c446085f7301_rle_crop_3998018539_0.png resize: (181, 118) 1389473001 -0.6449514675241285 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018528_0.png resize: (532, 318) 1389473002 -0.22536946382746714 treat image : temp/1760465428_638903_1389448840_fc6de5f369ce609f06c55a9890c0d616_rle_crop_3998018525_0.png resize: (992, 1195) 1389473003 -1.2064934411448844 treat image : temp/1760465428_638903_1389448836_7cf7b0b77fb73857df3ce058b46a48f8_rle_crop_3998018526_0.png resize: (537, 355) 1389473004 -0.48311513082740953 treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018529_0.png resize: (164, 282) 1389473005 -1.254438484027857 treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018532_0.png resize: (216, 428) 1389473006 -0.5370278375039831 treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018536_0.png resize: (103, 228) 1389473007 -2.232962455831544 treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018535_0.png resize: (491, 328) 1389473008 -0.1988377791972508 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 : 27 time used for this insertion : 0.03947591781616211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.03721046447753906 save missing photos in datou_result : time spend for datou_step_exec : 8.464634656906128 time spend to save output : 0.09470343589782715 total time spend for step 6 : 8.559338092803955 step7:brightness Tue Oct 14 20:11: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 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/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea.jpg treat image : temp/1760465428_638903_1389448840_fc6de5f369ce609f06c55a9890c0d616.jpg treat image : temp/1760465428_638903_1389448838_c5a149aef1d698b0d667cabae5e6ffcf.jpg treat image : temp/1760465428_638903_1389448836_7cf7b0b77fb73857df3ce058b46a48f8.jpg treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67.jpg treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad.jpg treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342.jpg treat image : temp/1760465428_638903_1389448811_d302e93c471b3347b20137e89e137d9e.jpg treat image : temp/1760465428_638903_1389448809_78dcd90e113afbc7f046c446085f7301.jpg treat image : temp/1760465428_638903_1389448806_6dfc35b6fde211f17350f7f8a1110598.jpg treat image : temp/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018523_0.png treat image : temp/1760465428_638903_1389448842_c18bb7eead6992b723447cdfee8a73ea_rle_crop_3998018524_0.png treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018527_0.png treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018530_0.png treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018531_0.png treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018533_0.png treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018537_0.png treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018534_0.png treat image : temp/1760465428_638903_1389448811_d302e93c471b3347b20137e89e137d9e_rle_crop_3998018538_0.png treat image : temp/1760465428_638903_1389448809_78dcd90e113afbc7f046c446085f7301_rle_crop_3998018539_0.png treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018528_0.png treat image : temp/1760465428_638903_1389448840_fc6de5f369ce609f06c55a9890c0d616_rle_crop_3998018525_0.png treat image : temp/1760465428_638903_1389448836_7cf7b0b77fb73857df3ce058b46a48f8_rle_crop_3998018526_0.png treat image : temp/1760465428_638903_1389448833_97e13562194510e6be5fcf529db1ac67_rle_crop_3998018529_0.png treat image : temp/1760465428_638903_1389448821_e17c489b68b6e59c1034b3824ef4efad_rle_crop_3998018532_0.png treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018536_0.png treat image : temp/1760465428_638903_1389448819_351756d98518af149595225f041aa342_rle_crop_3998018535_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 : 27 time used for this insertion : 0.036225080490112305 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.03749442100524902 save missing photos in datou_result : time spend for datou_step_exec : 2.4883861541748047 time spend to save output : 0.09052276611328125 total time spend for step 7 : 2.578908920288086 step8:velours_tree Tue Oct 14 20:11:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.15866971015930176 time spend to save output : 5.53131103515625e-05 total time spend for step 8 : 0.15872502326965332 step9:send_mail_cod Tue Oct 14 20:11:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P27810563_14-10-2025_20_11_32.pdf 27810669 imagette278106691760465492 27810671 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette278106711760465492 27810672 imagette278106721760465493 27810673 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 .imagette278106731760465493 27810674 imagette278106741760465494 27810675 imagette278106751760465494 27810676 change filename to text .imagette278106761760465494 27810677 imagette278106771760465494 27810678 imagette278106781760465494 27810679 imagette278106791760465494 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27810563 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27810669,27810670,27810671,27810672,27810673,27810674,27810675,27810676,27810677,27810678,27810679?tags=metal,environnement,pet_clair,background,papier,flou,autre,carton,mal_croppe,pet_fonce,pehd args[1389448842] : ((1389448842, 1.9487723287245111, 492688767), (1389448842, 0.7097378529944289, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448840] : ((1389448840, -0.06409196411087434, 492688767), (1389448840, 0.3728151171026705, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448838] : ((1389448838, -1.2792073344072104, 492688767), (1389448838, 0.8688154430346969, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448836] : ((1389448836, -4.787101327606056, 492609224), (1389448836, 0.3820917831604279, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448833] : ((1389448833, 1.5557549179079921, 492688767), (1389448833, 0.5487531367223096, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448821] : ((1389448821, 1.47863571153402, 492688767), (1389448821, 0.4296057062589945, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448819] : ((1389448819, -3.703091432255779, 492609224), (1389448819, 0.3102750645215302, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448811] : ((1389448811, -1.5611506413476037, 492688767), (1389448811, 0.69536020538415, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448809] : ((1389448809, -2.897485931734152, 492609224), (1389448809, 0.3155771912377332, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com args[1389448806] : ((1389448806, 0.35798604072972484, 492688767), (1389448806, 0.9533192279981905, 2107752395), '0.0662602237654321') We are sending mail with results at report@fotonower.com refus_total : 0.0662602237654321 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27810563 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_P27810563_14-10-2025_20_11_32.pdf results_Auto_P27810563_14-10-2025_20_11_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27810563_14-10-2025_20_11_32.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','27810563','results_Auto_P27810563_14-10-2025_20_11_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27810563_14-10-2025_20_11_32.pdf','pdf','','0.24','0.0662602237654321') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27810563

https://www.fotonower.com/image?json=false&list_photos_id=1389448842
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.9487723287245111)
https://www.fotonower.com/image?json=false&list_photos_id=1389448840
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448838
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448836
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448833
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5557549179079921)
https://www.fotonower.com/image?json=false&list_photos_id=1389448821
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.47863571153402)
https://www.fotonower.com/image?json=false&list_photos_id=1389448819
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448811
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448809
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389448806
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/27810671?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27810673?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/27810676?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27810563_14-10-2025_20_11_32.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27810669,27810670,27810671,27810672,27810673,27810674,27810675,27810676,27810677,27810678,27810679?tags=metal,environnement,pet_clair,background,papier,flou,autre,carton,mal_croppe,pet_fonce,pehd.


L'équipe Fotonower 202 b'' Server: nginx Date: Tue, 14 Oct 2025 18:11:36 GMT Content-Length: 0 Connection: close X-Message-Id: ixRk9hbASBWZ6RODVqwqfQ 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 [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] 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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.04047751426696777 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.029295921325684 time spend to save output : 0.04070401191711426 total time spend for step 9 : 4.069999933242798 step10:split_time_score Tue Oct 14 20:11:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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'}] (('17', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14102025 27810563 Nombre de photos uploadées : 10 / 23040 (0%) 14102025 27810563 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 14102025 27810563 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004012584686279297 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6617915630340576 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.04215036651234568 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27795759_14-10-2025_13_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27795759 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`=27795759 AND mptpi.`type`=3594 To do Qualite : 0.03257372249601753 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27799345_14-10-2025_15_12_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27799345 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`=27799345 AND mptpi.`type`=3594 To do Qualite : 0.10960388937114197 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27805405_14-10-2025_17_41_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27805405 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`=27805405 AND mptpi.`type`=3594 To do Qualite : 0.03357706404320987 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27805408_14-10-2025_17_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27805408 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`=27805408 AND mptpi.`type`=3594 To do Qualite : 0.0662602237654321 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27810563_14-10-2025_20_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27810563 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`=27810563 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14102025': {'nb_upload': 10, '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 [1389448842, 1389448840, 1389448838, 1389448836, 1389448833, 1389448821, 1389448819, 1389448811, 1389448809, 1389448806] Looping around the photos to save general results len do output : 1 /27810563Didn'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, '3942465') ('3318', '27810563', '1389448842', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448840', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448838', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448836', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448833', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448821', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448819', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448811', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448809', None, None, None, None, None, '3942465') ('3318', None, None, None, None, None, None, None, '3942465') ('3318', '27810563', '1389448806', None, None, None, None, None, '3942465') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.04636526107788086 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.2970478534698486 time spend to save output : 0.04660344123840332 total time spend for step 10 : 2.343651294708252 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 33.63user 16.31system 1:14.40elapsed 67%CPU (0avgtext+0avgdata 2733412maxresident)k 2068456inputs+15720outputs (7294major+1278758minor)pagefaults 0swaps