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 : 2940315 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 : ['4141734'] with mtr_portfolio_ids : ['29025958'] and first list_photo_ids : [] new path : /proc/2940315/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 8 ; length of list_pids : 8 ; length of list_args : 8 time to download the photos : 1.0632600784301758 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 Sat Nov 29 19:20:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-29 19:20:33.234854: 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-11-29 19:20:33.266578: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-29 19:20:33.268643: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efec4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-29 19:20:33.268697: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-29 19:20:33.272420: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-29 19:20:33.577861: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x19493370 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-29 19:20:33.577910: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-29 19:20:33.579340: 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-11-29 19:20:33.579706: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 19:20:33.582593: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 19:20:33.585192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 19:20:33.585659: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 19:20:33.588512: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 19:20:33.589505: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 19:20:33.593626: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 19:20:33.595134: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 19:20:33.595196: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 19:20:33.595974: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-29 19:20:33.595989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-29 19:20:33.595997: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-29 19:20:33.597388: 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-11-29 19:20:33.869106: 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-11-29 19:20:33.869207: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 19:20:33.869230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 19:20:33.869250: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 19:20:33.869270: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 19:20:33.869289: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 19:20:33.869307: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 19:20:33.869327: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 19:20:33.870809: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 19:20:33.872067: 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-11-29 19:20:33.872105: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-29 19:20:33.872125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 19:20:33.872144: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-29 19:20:33.872162: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-29 19:20:33.872180: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-29 19:20:33.872199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-29 19:20:33.872217: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-29 19:20:33.873790: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-29 19:20:33.873820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-29 19:20:33.873830: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-29 19:20:33.873840: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-29 19:20:33.875480: 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-11-29 19:20:41.652995: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-29 19:20:41.821776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 19.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 2940958 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 8 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 8 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10196 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'] DEBUG bbox = [954, 231, 1068, 336] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002028942108154297 nb_pixel_total : 6939 time to create 1 rle with old method : 0.00915837287902832 length of segment : 92 DEBUG bbox = [156, 1272, 267, 1323] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010323524475097656 nb_pixel_total : 3824 time to create 1 rle with old method : 0.004723072052001953 length of segment : 101 DEBUG bbox = [954, 1104, 1068, 1284] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00020432472229003906 nb_pixel_total : 9528 time to create 1 rle with old method : 0.012141942977905273 length of segment : 112 DEBUG bbox = [765, 1209, 945, 1467] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00043392181396484375 nb_pixel_total : 25502 time to create 1 rle with old method : 0.031043529510498047 length of segment : 158 DEBUG bbox = [894, 807, 999, 894] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00012683868408203125 nb_pixel_total : 6246 time to create 1 rle with old method : 0.007633686065673828 length of segment : 93 DEBUG bbox = [804, 876, 873, 939] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 7.200241088867188e-05 nb_pixel_total : 2895 time to create 1 rle with old method : 0.003681659698486328 length of segment : 68 DEBUG bbox = [900, 621, 1071, 816] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002803802490234375 nb_pixel_total : 16345 time to create 1 rle with old method : 0.02007269859313965 length of segment : 156 DEBUG bbox = [861, 375, 1077, 654] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00041985511779785156 nb_pixel_total : 26940 time to create 1 rle with old method : 0.03331732749938965 length of segment : 192 DEBUG bbox = [918, 894, 999, 1005] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.678436279296875e-05 nb_pixel_total : 2310 time to create 1 rle with old method : 0.0029561519622802734 length of segment : 75 DEBUG bbox = [789, 726, 972, 864] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002448558807373047 nb_pixel_total : 12698 time to create 1 rle with old method : 0.01582479476928711 length of segment : 160 DEBUG bbox = [900, 837, 1029, 1011] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00021529197692871094 nb_pixel_total : 13322 time to create 1 rle with old method : 0.016277551651000977 length of segment : 117 DEBUG bbox = [354, 1152, 642, 1338] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00045228004455566406 nb_pixel_total : 29978 time to create 1 rle with old method : 0.03652381896972656 length of segment : 285 DEBUG bbox = [930, 765, 1032, 924] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001811981201171875 nb_pixel_total : 12324 time to create 1 rle with old method : 0.015126228332519531 length of segment : 97 DEBUG bbox = [828, 930, 960, 1062] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018310546875 nb_pixel_total : 10347 time to create 1 rle with old method : 0.012772560119628906 length of segment : 120 DEBUG bbox = [930, 660, 1065, 786] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00018453598022460938 nb_pixel_total : 10218 time to create 1 rle with old method : 0.012469768524169922 length of segment : 135 DEBUG bbox = [630, 771, 735, 909] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001735687255859375 nb_pixel_total : 9391 time to create 1 rle with old method : 0.011755943298339844 length of segment : 106 DEBUG bbox = [0, 0, 1068, 1122] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.013537883758544922 nb_pixel_total : 760616 time to create 1 rle with new method : 0.060643911361694336 length of segment : 992 DEBUG bbox = [978, 789, 1077, 918] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001685619354248047 nb_pixel_total : 8119 time to create 1 rle with old method : 0.009775161743164062 length of segment : 106 DEBUG bbox = [903, 780, 990, 879] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 9.679794311523438e-05 nb_pixel_total : 3437 time to create 1 rle with old method : 0.00452733039855957 length of segment : 74 DEBUG bbox = [954, 921, 1068, 1047] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0001552104949951172 nb_pixel_total : 10622 time to create 1 rle with old method : 0.01285409927368164 length of segment : 124 DEBUG bbox = [894, 720, 990, 771] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 8.225440979003906e-05 nb_pixel_total : 3808 time to create 1 rle with old method : 0.004740238189697266 length of segment : 90 time spent for convertir_results : 1.152907371520996 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 21 chid ids of type : 3594 Number RLEs to save : 3453 save missing photos in datou_result : time spend for datou_step_exec : 23.07821536064148 time spend to save output : 0.27884459495544434 total time spend for step 1 : 23.357059955596924 step2:crop_condition Sat Nov 29 19:20:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 8 ! batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 17 About to insert : list_path_to_insert length 17 new photo from crops ! About to upload 17 photos upload in portfolio : 3736932 init cache_photo without model_param we have 17 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764440455_2940315 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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735554_0.png', 0, 95, 92, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735556_0.png', 0, 148, 112, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735555_0.png', 0, 47, 101, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735561_0.png', 0, 260, 204, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735560_0.png', 0, 157, 156, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735558_0.png', 0, 85, 93, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735559_0.png', 0, 57, 64, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735562_0.png', 0, 98, 74, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925073_21b631370ed26055caf50299b38f099e_rle_crop_4051735563_0.png', 0, 123, 160, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735564_0.png', 0, 166, 114, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735565_0.png', 0, 170, 283, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735566_0.png', 0, 153, 94, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735567_0.png', 0, 119, 120, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735574_0.png', 0, 51, 90, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735572_0.png', 0, 89, 69, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735571_0.png', 0, 110, 97, 0, 1764440458,'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(1764440458), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735573_0.png', 0, 122, 105, 0, 1764440458,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 17 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.194261789321899 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 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764440463_2940315 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(1764440463), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735570_0.png', 0, 1076, 990, 0, 1764440463,'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(1764440463), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735568_0.png', 0, 91, 135, 0, 1764440463,'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(1764440463), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735569_0.png', 0, 116, 102, 0, 1764440463,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.098952054977417 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764440464_2940315 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(1764440464), 0.0, 0.0, 14, '', 0, 0, '1764440429_2940315_1396926807_7d9208538a2274e6540cf43c3b1c24b2_rle_crop_4051735557_0.png', 0, 206, 158, 0, 1764440464,'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.5580668449401855 we have finished the crop for the class : pet_fonce delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] Looping around the photos to save general results len do output : 21 /1396936169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936170Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936172Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936173Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1396936238Didn'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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 71 time used for this insertion : 0.018529415130615234 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.684364795684814 time spend to save output : 0.019426584243774414 total time spend for step 2 : 10.703791379928589 step3:rle_unique_nms_with_priority Sat Nov 29 19:21:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 21 chid ids of type : 3594 +++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.45134711265563965 time for calcul the mask position with numpy : 0.1788477897644043 nb_pixel_total : 2053309 time to create 1 rle with new method : 0.21989870071411133 time for calcul the mask position with numpy : 0.006242275238037109 nb_pixel_total : 9528 time to create 1 rle with old method : 0.011268377304077148 time for calcul the mask position with numpy : 0.005991458892822266 nb_pixel_total : 3824 time to create 1 rle with old method : 0.004593372344970703 time for calcul the mask position with numpy : 0.005876302719116211 nb_pixel_total : 6939 time to create 1 rle with old method : 0.007933855056762695 create new chi : 0.451932430267334 time to delete rle : 0.03627610206604004 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1690 TO DO : save crop sub photo not yet done ! save time : 0.15478849411010742 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.09225678443908691 time for calcul the mask position with numpy : 0.03903841972351074 nb_pixel_total : 2048098 time to create 1 rle with new method : 0.1971752643585205 time for calcul the mask position with numpy : 0.007352590560913086 nb_pixel_total : 25502 time to create 1 rle with old method : 0.034899234771728516 create new chi : 0.2865462303161621 time to delete rle : 0.00020885467529296875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1396 TO DO : save crop sub photo not yet done ! save time : 0.12796497344970703 nb_obj : 5 nb_hashtags : 1 time to prepare the origin masks : 0.2191016674041748 time for calcul the mask position with numpy : 0.2100083827972412 nb_pixel_total : 2018864 time to create 1 rle with new method : 0.09141659736633301 time for calcul the mask position with numpy : 0.009801626205444336 nb_pixel_total : 2310 time to create 1 rle with old method : 0.002879619598388672 time for calcul the mask position with numpy : 0.009173393249511719 nb_pixel_total : 26940 time to create 1 rle with old method : 0.03240466117858887 time for calcul the mask position with numpy : 0.006422281265258789 nb_pixel_total : 16345 time to create 1 rle with old method : 0.019315004348754883 time for calcul the mask position with numpy : 0.006127595901489258 nb_pixel_total : 2895 time to create 1 rle with old method : 0.0034210681915283203 time for calcul the mask position with numpy : 0.0062863826751708984 nb_pixel_total : 6246 time to create 1 rle with old method : 0.0073642730712890625 create new chi : 0.4146101474761963 time to delete rle : 0.0003097057342529297 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 2248 TO DO : save crop sub photo not yet done ! save time : 0.18691730499267578 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06152701377868652 time for calcul the mask position with numpy : 0.02617192268371582 nb_pixel_total : 2060902 time to create 1 rle with new method : 0.1912691593170166 time for calcul the mask position with numpy : 0.006088733673095703 nb_pixel_total : 12698 time to create 1 rle with old method : 0.014741897583007812 create new chi : 0.24622440338134766 time to delete rle : 0.0001838207244873047 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1400 TO DO : save crop sub photo not yet done ! save time : 0.12706279754638672 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.18824553489685059 time for calcul the mask position with numpy : 0.12053894996643066 nb_pixel_total : 2030300 time to create 1 rle with new method : 0.07829880714416504 time for calcul the mask position with numpy : 0.006512165069580078 nb_pixel_total : 29978 time to create 1 rle with old method : 0.035253047943115234 time for calcul the mask position with numpy : 0.0062406063079833984 nb_pixel_total : 13322 time to create 1 rle with old method : 0.015450477600097656 create new chi : 0.2723526954650879 time to delete rle : 0.0002532005310058594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1884 TO DO : save crop sub photo not yet done ! save time : 0.16522789001464844 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.042412519454956055 time for calcul the mask position with numpy : 0.09862351417541504 nb_pixel_total : 2050929 time to create 1 rle with new method : 0.1744976043701172 time for calcul the mask position with numpy : 0.00624394416809082 nb_pixel_total : 10347 time to create 1 rle with old method : 0.012370586395263672 time for calcul the mask position with numpy : 0.006070613861083984 nb_pixel_total : 12324 time to create 1 rle with old method : 0.014682292938232422 create new chi : 0.32197999954223633 time to delete rle : 0.0002262592315673828 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1514 TO DO : save crop sub photo not yet done ! save time : 0.15483856201171875 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.0796968936920166 time for calcul the mask position with numpy : 0.05150341987609863 nb_pixel_total : 1293375 time to create 1 rle with new method : 0.15600800514221191 time for calcul the mask position with numpy : 0.012392759323120117 nb_pixel_total : 760616 time to create 1 rle with new method : 0.14168119430541992 time for calcul the mask position with numpy : 0.00583338737487793 nb_pixel_total : 9391 time to create 1 rle with old method : 0.01064920425415039 time for calcul the mask position with numpy : 0.006023883819580078 nb_pixel_total : 10218 time to create 1 rle with old method : 0.011516094207763672 create new chi : 0.40457892417907715 time to delete rle : 0.00035858154296875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3546 TO DO : save crop sub photo not yet done ! save time : 0.2651968002319336 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.05967879295349121 time for calcul the mask position with numpy : 0.0194699764251709 nb_pixel_total : 2047614 time to create 1 rle with new method : 0.10908174514770508 time for calcul the mask position with numpy : 0.010365724563598633 nb_pixel_total : 3808 time to create 1 rle with old method : 0.004571676254272461 time for calcul the mask position with numpy : 0.005987882614135742 nb_pixel_total : 10622 time to create 1 rle with old method : 0.01255941390991211 time for calcul the mask position with numpy : 0.0056285858154296875 nb_pixel_total : 3437 time to create 1 rle with old method : 0.00403904914855957 time for calcul the mask position with numpy : 0.009603738784790039 nb_pixel_total : 8119 time to create 1 rle with old method : 0.009323596954345703 create new chi : 0.20321416854858398 time to delete rle : 0.0002582073211669922 batch 1 Loaded 9 chid ids of type : 3594 +++++++++Number RLEs to save : 1868 TO DO : save crop sub photo not yet done ! save time : 0.15449309349060059 map_output_result : {1396926872: (0.0, 'Should be the crop_list due to order', 0), 1396926807: (0.0, 'Should be the crop_list due to order', 0), 1396925105: (0.0, 'Should be the crop_list due to order', 0), 1396925073: (0.0, 'Should be the crop_list due to order', 0), 1396925043: (0.0, 'Should be the crop_list due to order', 0), 1396925007: (0.0, 'Should be the crop_list due to order', 0), 1396924972: (0.0, 'Should be the crop_list due to order', 0), 1396924939: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] Looping around the photos to save general results len do output : 8 /1396926872.Didn't retrieve data . /1396926807.Didn't retrieve data . /1396925105.Didn't retrieve data . /1396925073.Didn't retrieve data . /1396925043.Didn't retrieve data . /1396925007.Didn't retrieve data . /1396924972.Didn't retrieve data . /1396924939.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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.015262603759765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.457695245742798 time spend to save output : 0.015603780746459961 total time spend for step 3 : 5.473299026489258 step4:ventilate_hashtags_in_portfolio Sat Nov 29 19:21:10 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 : 29025958 get user id for portfolio 29025958 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`=29025958 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','mal_croppe','autre','papier','environnement','flou','pehd','background','pet_clair','metal')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29025958 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','mal_croppe','autre','papier','environnement','flou','pehd','background','pet_clair','metal')) 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`=29025958 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('carton','pet_fonce','mal_croppe','autre','papier','environnement','flou','pehd','background','pet_clair','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/29026172,29026173,29026174,29026175,29026176,29026177,29026178,29026179,29026180,29026181,29026182?tags=carton,pet_fonce,mal_croppe,autre,papier,environnement,flou,pehd,background,pet_clair,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] Looping around the photos to save general results len do output : 1 /29025958. 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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.01699995994567871 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8988521099090576 time spend to save output : 0.017338037490844727 total time spend for step 4 : 1.9161901473999023 step5:final Sat Nov 29 19:21:12 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 : {1396926872: ('0.059402066454475315',), 1396926807: ('0.059402066454475315',), 1396925105: ('0.059402066454475315',), 1396925073: ('0.059402066454475315',), 1396925043: ('0.059402066454475315',), 1396925007: ('0.059402066454475315',), 1396924972: ('0.059402066454475315',), 1396924939: ('0.059402066454475315',)} new output for save of step final : {1396926872: ('0.059402066454475315',), 1396926807: ('0.059402066454475315',), 1396925105: ('0.059402066454475315',), 1396925073: ('0.059402066454475315',), 1396925043: ('0.059402066454475315',), 1396925007: ('0.059402066454475315',), 1396924972: ('0.059402066454475315',), 1396924939: ('0.059402066454475315',)} [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] Looping around the photos to save general results len do output : 8 /1396926872.Didn't retrieve data . /1396926807.Didn't retrieve data . /1396925105.Didn't retrieve data . /1396925073.Didn't retrieve data . /1396925043.Didn't retrieve data . /1396925007.Didn't retrieve data . /1396924972.Didn't retrieve data . /1396924939.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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.013918399810791016 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14638018608093262 time spend to save output : 0.014338254928588867 total time spend for step 5 : 0.16071844100952148 step6:blur_detection Sat Nov 29 19:21:12 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/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6.jpg resize: (1080, 1920) 1396926872 0.37884251440129957 treat image : temp/1764440429_2940315_1396926807_7d9208538a2274e6540cf43c3b1c24b2.jpg resize: (1080, 1920) 1396926807 4.745443451521813 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27.jpg resize: (1080, 1920) 1396925105 -0.06706639169572287 treat image : temp/1764440429_2940315_1396925073_21b631370ed26055caf50299b38f099e.jpg resize: (1080, 1920) 1396925073 1.9542027386844574 treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff.jpg resize: (1080, 1920) 1396925043 0.7554526126857432 treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964.jpg resize: (1080, 1920) 1396925007 0.2706651069262051 treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1.jpg resize: (1080, 1920) 1396924972 -0.01925816466142285 treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591.jpg resize: (1080, 1920) 1396924939 1.2697196902248353 treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735554_0.png resize: (92, 95) 1396936169 0.7099496695360358 treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735556_0.png resize: (112, 148) 1396936170 -0.4548784197865421 treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735555_0.png resize: (101, 47) 1396936172 -0.03158512827563108 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735561_0.png resize: (204, 260) 1396936173 -1.3872669414129077 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735560_0.png resize: (156, 157) 1396936174 -0.7535508790319962 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735558_0.png resize: (93, 85) 1396936176 -0.22272106345310883 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735559_0.png resize: (64, 57) 1396936177 2.357327711022087 treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735562_0.png resize: (74, 98) 1396936178 -2.446683350144706 treat image : temp/1764440429_2940315_1396925073_21b631370ed26055caf50299b38f099e_rle_crop_4051735563_0.png resize: (160, 123) 1396936180 -0.24830458595194452 treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735564_0.png resize: (114, 166) 1396936181 1.0422676272338327 treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735565_0.png resize: (283, 170) 1396936182 -1.2870922427315374 treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735566_0.png resize: (94, 153) 1396936184 0.8175604065929319 treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735567_0.png resize: (120, 119) 1396936185 -1.7389322848128057 treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735574_0.png resize: (90, 51) 1396936186 4.696917111606061 treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735572_0.png resize: (69, 89) 1396936188 2.163678489717782 treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735571_0.png resize: (97, 110) 1396936189 -0.28097891237110184 treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735573_0.png resize: (105, 122) 1396936190 -1.3919937091849826 treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735570_0.png resize: (990, 1076) 1396936226 -0.04500104597843213 treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735568_0.png resize: (135, 91) 1396936227 -0.9503540181493125 treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735569_0.png resize: (102, 116) 1396936229 -2.046413651808043 treat image : temp/1764440429_2940315_1396926807_7d9208538a2274e6540cf43c3b1c24b2_rle_crop_4051735557_0.png resize: (158, 206) 1396936238 -0.7698824617029253 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 29 time used for this insertion : 0.016005754470825195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.016958236694335938 save missing photos in datou_result : time spend for datou_step_exec : 7.52681565284729 time spend to save output : 0.03876471519470215 total time spend for step 6 : 7.565580368041992 step7:brightness Sat Nov 29 19:21:19 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/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6.jpg treat image : temp/1764440429_2940315_1396926807_7d9208538a2274e6540cf43c3b1c24b2.jpg treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27.jpg treat image : temp/1764440429_2940315_1396925073_21b631370ed26055caf50299b38f099e.jpg treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff.jpg treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964.jpg treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1.jpg treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591.jpg treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735554_0.png treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735556_0.png treat image : temp/1764440429_2940315_1396926872_83969b2c744c26b68d486150dc93b9b6_rle_crop_4051735555_0.png treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735561_0.png treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735560_0.png treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735558_0.png treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735559_0.png treat image : temp/1764440429_2940315_1396925105_0125599d4e7ee747e384a16de5bcbe27_rle_crop_4051735562_0.png treat image : temp/1764440429_2940315_1396925073_21b631370ed26055caf50299b38f099e_rle_crop_4051735563_0.png treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735564_0.png treat image : temp/1764440429_2940315_1396925043_0a505815b32c9b8c7bd1d843e2e0a8ff_rle_crop_4051735565_0.png treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735566_0.png treat image : temp/1764440429_2940315_1396925007_a1b52f8125bd51c41d35b3658c98c964_rle_crop_4051735567_0.png treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735574_0.png treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735572_0.png treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735571_0.png treat image : temp/1764440429_2940315_1396924939_35f81a72750584dbe407b1b6214d4591_rle_crop_4051735573_0.png treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735570_0.png treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735568_0.png treat image : temp/1764440429_2940315_1396924972_ab89ac8f68731bdf304f3feb39a059c1_rle_crop_4051735569_0.png treat image : temp/1764440429_2940315_1396926807_7d9208538a2274e6540cf43c3b1c24b2_rle_crop_4051735557_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 29 time used for this insertion : 0.015003442764282227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.016006946563720703 save missing photos in datou_result : time spend for datou_step_exec : 2.0345399379730225 time spend to save output : 0.03718686103820801 total time spend for step 7 : 2.0717267990112305 step8:velours_tree Sat Nov 29 19:21: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 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.09064435958862305 time spend to save output : 4.1484832763671875e-05 total time spend for step 8 : 0.09068584442138672 step9:send_mail_cod Sat Nov 29 19:21: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 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_P29025958_29-11-2025_19_21_21.pdf 29026172 imagette290261721764440481 29026173 change filename to text .imagette290261731764440481 29026174 imagette290261741764440481 29026175 imagette290261751764440482 29026176 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette290261761764440482 29026178 imagette290261781764440483 29026179 imagette290261791764440483 29026180 imagette290261801764440483 29026181 change filename to text .change filename to text .change filename to text .imagette290261811764440483 29026182 imagette290261821764440483 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29025958 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29026172,29026173,29026174,29026175,29026176,29026177,29026178,29026179,29026180,29026181,29026182?tags=carton,pet_fonce,mal_croppe,autre,papier,environnement,flou,pehd,background,pet_clair,metal your option no_mail is active, we will not send the real mail to your client args[1396926872] : ((1396926872, 0.37884251440129957, 492688767), (1396926872, 0.3473643307741166, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396926807] : ((1396926807, 4.745443451521813, 492688767), (1396926807, 0.3740149088998535, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396925105] : ((1396925105, -0.06706639169572287, 492688767), (1396925105, 0.2914455029142293, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396925073] : ((1396925073, 1.9542027386844574, 492688767), (1396925073, 0.6503559588525086, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396925043] : ((1396925043, 0.7554526126857432, 492688767), (1396925043, 0.5769607530867931, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396925007] : ((1396925007, 0.2706651069262051, 492688767), (1396925007, 0.48150115542742755, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396924972] : ((1396924972, -0.01925816466142285, 492688767), (1396924972, 0.6148041929135245, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com args[1396924939] : ((1396924939, 1.2697196902248353, 492688767), (1396924939, 0.3004573277904673, 2107752395), '0.059402066454475315') We are sending mail with results at report@fotonower.com refus_total : 0.059402066454475315 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=29025958 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_P29025958_29-11-2025_19_21_21.pdf results_Auto_P29025958_29-11-2025_19_21_21.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29025958_29-11-2025_19_21_21.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','29025958','results_Auto_P29025958_29-11-2025_19_21_21.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29025958_29-11-2025_19_21_21.pdf','pdf','','0.18','0.059402066454475315') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] 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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 8 time used for this insertion : 0.02718663215637207 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.8857922554016113 time spend to save output : 0.02751779556274414 total time spend for step 9 : 2.9133100509643555 step10:split_time_score Sat Nov 29 19:21:24 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', 8),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29112025 29025958 Nombre de photos uploadées : 8 / 23040 (0%) 29112025 29025958 Nombre de photos taguées (types de déchets): 0 / 8 (0%) 29112025 29025958 Nombre de photos taguées (volume) : 0 / 8 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.2159347534179688e-05 ???????? elapsed_time : fill_and_build_computed_from_old_data 0.0005464553833007812 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26048803329467773 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.10320384837962962 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29021685_29-11-2025_10_51_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29021685 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`=29021685 AND mptpi.`type`=3594 To do Qualite : 0.041827811535493815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29022217_29-11-2025_10_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29022217 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`=29022217 AND mptpi.`type`=3594 To do Qualite : 0.017633715628507293 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29022669_29-11-2025_11_11_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29022669 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`=29022669 AND mptpi.`type`=3594 To do Qualite : 0.052152970679012346 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29024909_29-11-2025_16_21_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29024909 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`=29024909 AND mptpi.`type`=3594 To do Qualite : 0.08298075810185186 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29024910_29-11-2025_16_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29024910 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`=29024910 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29025954 order by id desc limit 1 Qualite : 0.059402066454475315 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29025958_29-11-2025_19_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29025958 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`=29025958 AND mptpi.`type`=3594 To do Qualite : 0.0442104981138546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29025960_29-11-2025_19_11_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29025960 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`=29025960 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29112025': {'nb_upload': 8, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1396926872, 1396926807, 1396925105, 1396925073, 1396925043, 1396925007, 1396924972, 1396924939] Looping around the photos to save general results len do output : 1 /29025958Didn'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, '4141734') ('3318', '29025958', '1396926872', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396926807', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925105', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925073', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925043', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396925007', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924972', None, None, None, None, None, '4141734') ('3318', None, None, None, None, None, None, None, '4141734') ('3318', '29025958', '1396924939', None, None, None, None, None, '4141734') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.019316434860229492 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1728100776672363 time spend to save output : 0.019579172134399414 total time spend for step 10 : 2.1923892498016357 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 8 set_done_treatment 30.26user 17.40system 1:02.02elapsed 76%CPU (0avgtext+0avgdata 2717924maxresident)k 467840inputs+10896outputs (382major+1436449minor)pagefaults 0swaps