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 : 2537463 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 : ['4001693'] with mtr_portfolio_ids : ['28195059'] and first list_photo_ids : [] new path : /proc/2537463/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.215031623840332 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Wed Nov 5 08:10: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-05 08:10:33.165738: 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-05 08:10:33.190498: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-05 08:10:33.192543: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fc7e8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-05 08:10:33.192591: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-05 08:10:33.196190: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-05 08:10:33.503942: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x10d821b0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-05 08:10:33.503984: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-05 08:10:33.505107: 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-05 08:10:33.505435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 08:10:33.511519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 08:10:33.513508: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 08:10:33.513856: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 08:10:33.516851: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 08:10:33.518565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 08:10:33.525018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 08:10:33.526883: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 08:10:33.526976: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 08:10:33.527932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-05 08:10:33.527950: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-05 08:10:33.527961: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-05 08:10:33.529716: 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-05 08:10:33.804335: 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-05 08:10:33.804461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 08:10:33.804487: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 08:10:33.804506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 08:10:33.804523: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 08:10:33.804541: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 08:10:33.804559: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 08:10:33.804577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 08:10:33.806293: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 08:10:33.807951: 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-05 08:10:33.808026: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-05 08:10:33.808044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 08:10:33.808059: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-05 08:10:33.808074: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-05 08:10:33.808089: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-05 08:10:33.808103: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-05 08:10:33.808119: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-05 08:10:33.809372: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-05 08:10:33.809409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-05 08:10:33.809417: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-05 08:10:33.809425: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-05 08:10:33.810708: 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-05 08:10:41.906840: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-05 08:10:42.114894: 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 : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.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: 43.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: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.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: 42.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 2538055 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 16 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 16 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'] time for calcul the mask position with numpy : 0.00018668174743652344 nb_pixel_total : 6739 time to create 1 rle with old method : 0.00788116455078125 length of segment : 80 time for calcul the mask position with numpy : 0.0001995563507080078 nb_pixel_total : 10422 time to create 1 rle with old method : 0.011955738067626953 length of segment : 155 time for calcul the mask position with numpy : 0.00014662742614746094 nb_pixel_total : 8113 time to create 1 rle with old method : 0.009706497192382812 length of segment : 93 time for calcul the mask position with numpy : 0.0001380443572998047 nb_pixel_total : 7435 time to create 1 rle with old method : 0.008892536163330078 length of segment : 94 time for calcul the mask position with numpy : 0.0005095005035400391 nb_pixel_total : 24131 time to create 1 rle with old method : 0.027966737747192383 length of segment : 283 time for calcul the mask position with numpy : 8.511543273925781e-05 nb_pixel_total : 3681 time to create 1 rle with old method : 0.004492044448852539 length of segment : 67 time for calcul the mask position with numpy : 0.00018668174743652344 nb_pixel_total : 8094 time to create 1 rle with old method : 0.009516000747680664 length of segment : 167 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 16964 time to create 1 rle with old method : 0.01988363265991211 length of segment : 99 time for calcul the mask position with numpy : 0.00015425682067871094 nb_pixel_total : 7115 time to create 1 rle with old method : 0.008265256881713867 length of segment : 93 time for calcul the mask position with numpy : 0.00013256072998046875 nb_pixel_total : 7691 time to create 1 rle with old method : 0.009058952331542969 length of segment : 107 time for calcul the mask position with numpy : 0.00038170814514160156 nb_pixel_total : 21559 time to create 1 rle with old method : 0.02550649642944336 length of segment : 222 time for calcul the mask position with numpy : 0.0002846717834472656 nb_pixel_total : 18774 time to create 1 rle with old method : 0.021852731704711914 length of segment : 203 time for calcul the mask position with numpy : 9.059906005859375e-05 nb_pixel_total : 3838 time to create 1 rle with old method : 0.004670143127441406 length of segment : 65 time for calcul the mask position with numpy : 0.00015473365783691406 nb_pixel_total : 9398 time to create 1 rle with old method : 0.01125335693359375 length of segment : 84 time for calcul the mask position with numpy : 0.0002148151397705078 nb_pixel_total : 11446 time to create 1 rle with old method : 0.013724088668823242 length of segment : 141 time for calcul the mask position with numpy : 8.344650268554688e-05 nb_pixel_total : 2730 time to create 1 rle with old method : 0.0034384727478027344 length of segment : 46 time for calcul the mask position with numpy : 0.001791238784790039 nb_pixel_total : 14940 time to create 1 rle with old method : 0.01845860481262207 length of segment : 257 time for calcul the mask position with numpy : 0.00011587142944335938 nb_pixel_total : 3472 time to create 1 rle with old method : 0.00426936149597168 length of segment : 84 time for calcul the mask position with numpy : 0.0066165924072265625 nb_pixel_total : 371176 time to create 1 rle with new method : 0.38991498947143555 length of segment : 1049 time for calcul the mask position with numpy : 0.00012564659118652344 nb_pixel_total : 6475 time to create 1 rle with old method : 0.0072650909423828125 length of segment : 126 time for calcul the mask position with numpy : 0.00020360946655273438 nb_pixel_total : 13317 time to create 1 rle with old method : 0.014981508255004883 length of segment : 146 time for calcul the mask position with numpy : 0.002481222152709961 nb_pixel_total : 103183 time to create 1 rle with old method : 0.12760281562805176 length of segment : 525 time for calcul the mask position with numpy : 0.0005419254302978516 nb_pixel_total : 23788 time to create 1 rle with old method : 0.027140140533447266 length of segment : 192 time for calcul the mask position with numpy : 0.0004901885986328125 nb_pixel_total : 16181 time to create 1 rle with old method : 0.018684864044189453 length of segment : 234 time for calcul the mask position with numpy : 0.00028586387634277344 nb_pixel_total : 7335 time to create 1 rle with old method : 0.00872039794921875 length of segment : 136 time for calcul the mask position with numpy : 0.0007874965667724609 nb_pixel_total : 36226 time to create 1 rle with old method : 0.043187618255615234 length of segment : 193 time for calcul the mask position with numpy : 0.00018477439880371094 nb_pixel_total : 8773 time to create 1 rle with old method : 0.010730266571044922 length of segment : 96 time for calcul the mask position with numpy : 7.987022399902344e-05 nb_pixel_total : 3745 time to create 1 rle with old method : 0.004704952239990234 length of segment : 57 time for calcul the mask position with numpy : 0.00033593177795410156 nb_pixel_total : 19854 time to create 1 rle with old method : 0.029459714889526367 length of segment : 138 time for calcul the mask position with numpy : 0.0002605915069580078 nb_pixel_total : 10379 time to create 1 rle with old method : 0.017659664154052734 length of segment : 122 time for calcul the mask position with numpy : 0.0001513957977294922 nb_pixel_total : 5090 time to create 1 rle with old method : 0.006389617919921875 length of segment : 90 time for calcul the mask position with numpy : 0.0001761913299560547 nb_pixel_total : 4604 time to create 1 rle with old method : 0.005718708038330078 length of segment : 65 time for calcul the mask position with numpy : 0.003069162368774414 nb_pixel_total : 104080 time to create 1 rle with old method : 0.12021303176879883 length of segment : 543 time for calcul the mask position with numpy : 0.0001709461212158203 nb_pixel_total : 6282 time to create 1 rle with old method : 0.007822751998901367 length of segment : 134 time for calcul the mask position with numpy : 0.0002722740173339844 nb_pixel_total : 6647 time to create 1 rle with old method : 0.008091926574707031 length of segment : 99 time for calcul the mask position with numpy : 0.0024094581604003906 nb_pixel_total : 113642 time to create 1 rle with old method : 0.130723237991333 length of segment : 564 time spent for convertir_results : 2.4559028148651123 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 36 chid ids of type : 3594 Number RLEs to save : 6849 save missing photos in datou_result : time spend for datou_step_exec : 27.73896098136902 time spend to save output : 0.6845836639404297 total time spend for step 1 : 28.42354464530945 step2:crop_condition Wed Nov 5 08:10:58 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 : 16 ! batch 1 Loaded 36 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762326660_2537463 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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341081_0.png', 0, 103, 144, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341082_0.png', 0, 122, 91, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341086_0.png', 0, 91, 167, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671696_7b7705b59a1bd042816c136b5e55c159_rle_crop_4021341088_0.png', 0, 135, 93, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671692_bdc5958f40054eca36d663b028765518_rle_crop_4021341089_0.png', 0, 87, 107, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341091_0.png', 0, 121, 202, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341096_0.png', 0, 467, 452, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341099_0.png', 0, 82, 123, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341104_0.png', 0, 81, 136, 0, 1762326662,'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(1762326662), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341113_0.png', 0, 100, 116, 0, 1762326662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.298460006713867 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1762326663_2537463 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(1762326664), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341083_0.png', 0, 123, 94, 0, 1762326664,'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(1762326664), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341094_0.png', 0, 147, 134, 0, 1762326664,'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(1762326664), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341114_0.png', 0, 101, 99, 0, 1762326664,'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.2133336067199707 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762326665_2537463 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(1762326665), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341107_0.png', 0, 86, 56, 0, 1762326665,'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.6498208045959473 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 19 About to insert : list_path_to_insert length 19 new photo from crops ! About to upload 19 photos upload in portfolio : 3736932 init cache_photo without model_param we have 19 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762326670_2537463 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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341080_0.png', 0, 104, 80, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341084_0.png', 0, 209, 245, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341087_0.png', 0, 228, 95, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341085_0.png', 0, 74, 66, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341090_0.png', 0, 291, 137, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341092_0.png', 0, 75, 65, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341093_0.png', 0, 163, 83, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671657_a8c5301bd3f1da97e2347fe988bad7c0_rle_crop_4021341095_0.png', 0, 75, 44, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341098_0.png', 0, 943, 725, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341100_0.png', 0, 120, 140, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341101_0.png', 0, 331, 521, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671623_ec547ca43490edb179baef6ffdbfae8e_rle_crop_4021341102_0.png', 0, 162, 185, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341106_0.png', 0, 134, 92, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341105_0.png', 0, 286, 185, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341109_0.png', 0, 144, 152, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341108_0.png', 0, 259, 124, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341111_0.png', 0, 90, 65, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341112_0.png', 0, 337, 539, 0, 1762326673,'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(1762326673), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341115_0.png', 0, 344, 553, 0, 1762326673,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 19 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.977236270904541 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1762326675_2537463 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(1762326675), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341097_0.png', 0, 72, 75, 0, 1762326675,'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(1762326675), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341110_0.png', 0, 75, 90, 0, 1762326675,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.8833131790161133 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 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/1762326676_2537463 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(1762326676), 0.0, 0.0, 14, '', 0, 0, '1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341103_0.png', 0, 96, 208, 0, 1762326676,'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.6428821086883545 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] Looping around the photos to save general results len do output : 36 /1392675913Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675914Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675915Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675916Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675917Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675918Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675919Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675920Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675956Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675960Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675964Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675968Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675969Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675970Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675971Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675972Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675973Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675974Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675975Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1392675976Didn'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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 124 time used for this insertion : 0.027075767517089844 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.127073526382446 time spend to save output : 0.02860116958618164 total time spend for step 2 : 18.155674695968628 step3:rle_unique_nms_with_priority Wed Nov 5 08:11:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 36 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.5179567337036133 time for calcul the mask position with numpy : 0.5550377368927002 nb_pixel_total : 2056439 time to create 1 rle with new method : 0.07567405700683594 time for calcul the mask position with numpy : 0.00857686996459961 nb_pixel_total : 10422 time to create 1 rle with old method : 0.012035131454467773 time for calcul the mask position with numpy : 0.006203174591064453 nb_pixel_total : 6739 time to create 1 rle with old method : 0.007896184921264648 create new chi : 0.6764390468597412 time to delete rle : 0.016330480575561523 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1550 TO DO : save crop sub photo not yet done ! save time : 0.15082573890686035 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.550046443939209 time for calcul the mask position with numpy : 0.25437307357788086 nb_pixel_total : 2033921 time to create 1 rle with new method : 0.07517004013061523 time for calcul the mask position with numpy : 0.006837606430053711 nb_pixel_total : 24131 time to create 1 rle with old method : 0.03956460952758789 time for calcul the mask position with numpy : 0.006659269332885742 nb_pixel_total : 7435 time to create 1 rle with old method : 0.00970768928527832 time for calcul the mask position with numpy : 0.0060083866119384766 nb_pixel_total : 8113 time to create 1 rle with old method : 0.009112834930419922 create new chi : 0.42075109481811523 time to delete rle : 0.00032591819763183594 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2020 TO DO : save crop sub photo not yet done ! save time : 1.0322470664978027 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.05158567428588867 time for calcul the mask position with numpy : 0.10026001930236816 nb_pixel_total : 2044861 time to create 1 rle with new method : 0.07690954208374023 time for calcul the mask position with numpy : 0.005980253219604492 nb_pixel_total : 16964 time to create 1 rle with old method : 0.018553733825683594 time for calcul the mask position with numpy : 0.005817890167236328 nb_pixel_total : 8094 time to create 1 rle with old method : 0.009193897247314453 time for calcul the mask position with numpy : 0.005805015563964844 nb_pixel_total : 3681 time to create 1 rle with old method : 0.004040956497192383 create new chi : 0.23704075813293457 time to delete rle : 0.0002665519714355469 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1746 TO DO : save crop sub photo not yet done ! save time : 0.21107935905456543 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03284406661987305 time for calcul the mask position with numpy : 0.020398378372192383 nb_pixel_total : 2066485 time to create 1 rle with new method : 0.2763197422027588 time for calcul the mask position with numpy : 0.008907794952392578 nb_pixel_total : 7115 time to create 1 rle with old method : 0.008205413818359375 create new chi : 0.31407713890075684 time to delete rle : 0.00024247169494628906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1266 TO DO : save crop sub photo not yet done ! save time : 0.13841676712036133 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08385467529296875 time for calcul the mask position with numpy : 0.10810613632202148 nb_pixel_total : 2065909 time to create 1 rle with new method : 0.0671072006225586 time for calcul the mask position with numpy : 0.006582021713256836 nb_pixel_total : 7691 time to create 1 rle with old method : 0.012598514556884766 create new chi : 0.20781373977661133 time to delete rle : 0.0003681182861328125 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1294 TO DO : save crop sub photo not yet done ! save time : 0.16298222541809082 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05990743637084961 time for calcul the mask position with numpy : 0.11031484603881836 nb_pixel_total : 2033267 time to create 1 rle with new method : 0.20888018608093262 time for calcul the mask position with numpy : 0.00662684440612793 nb_pixel_total : 18774 time to create 1 rle with old method : 0.021747112274169922 time for calcul the mask position with numpy : 0.006508588790893555 nb_pixel_total : 21559 time to create 1 rle with old method : 0.025041818618774414 create new chi : 0.38939523696899414 time to delete rle : 0.0003151893615722656 batch 1 Loaded 5 chid ids of type : 3594 ++++++Number RLEs to save : 1930 TO DO : save crop sub photo not yet done ! save time : 0.18329668045043945 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07366347312927246 time for calcul the mask position with numpy : 0.12992024421691895 nb_pixel_total : 2048918 time to create 1 rle with new method : 0.13437128067016602 time for calcul the mask position with numpy : 0.006342649459838867 nb_pixel_total : 11446 time to create 1 rle with old method : 0.013512372970581055 time for calcul the mask position with numpy : 0.006169319152832031 nb_pixel_total : 9398 time to create 1 rle with old method : 0.011073589324951172 time for calcul the mask position with numpy : 0.006186008453369141 nb_pixel_total : 3838 time to create 1 rle with old method : 0.004521846771240234 create new chi : 0.32305145263671875 time to delete rle : 0.0002880096435546875 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1660 TO DO : save crop sub photo not yet done ! save time : 0.16637349128723145 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03499603271484375 time for calcul the mask position with numpy : 0.020155906677246094 nb_pixel_total : 2070870 time to create 1 rle with new method : 0.16611909866333008 time for calcul the mask position with numpy : 0.006579875946044922 nb_pixel_total : 2730 time to create 1 rle with old method : 0.0032334327697753906 create new chi : 0.203446626663208 time to delete rle : 0.00022292137145996094 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1172 TO DO : save crop sub photo not yet done ! save time : 0.12090826034545898 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.6623721122741699 time for calcul the mask position with numpy : 0.044222354888916016 nb_pixel_total : 1697291 time to create 1 rle with new method : 0.21388721466064453 time for calcul the mask position with numpy : 0.008481979370117188 nb_pixel_total : 357897 time to create 1 rle with new method : 0.07219123840332031 time for calcul the mask position with numpy : 0.01039433479309082 nb_pixel_total : 3472 time to create 1 rle with old method : 0.004096508026123047 time for calcul the mask position with numpy : 0.010513067245483398 nb_pixel_total : 14940 time to create 1 rle with old method : 0.01812124252319336 create new chi : 0.39258384704589844 time to delete rle : 0.0005202293395996094 batch 1 Loaded 7 chid ids of type : 3594 +++++++++Number RLEs to save : 3791 TO DO : save crop sub photo not yet done ! save time : 0.2981700897216797 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.07462048530578613 time for calcul the mask position with numpy : 0.12618708610534668 nb_pixel_total : 1950625 time to create 1 rle with new method : 0.08620285987854004 time for calcul the mask position with numpy : 0.0076906681060791016 nb_pixel_total : 103183 time to create 1 rle with old method : 0.1501445770263672 time for calcul the mask position with numpy : 0.006548166275024414 nb_pixel_total : 13317 time to create 1 rle with old method : 0.015465736389160156 time for calcul the mask position with numpy : 0.0066835880279541016 nb_pixel_total : 6475 time to create 1 rle with old method : 0.008161544799804688 create new chi : 0.4186527729034424 time to delete rle : 0.00048804283142089844 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2674 TO DO : save crop sub photo not yet done ! save time : 0.23761940002441406 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03492403030395508 time for calcul the mask position with numpy : 0.021012306213378906 nb_pixel_total : 2049812 time to create 1 rle with new method : 0.3987314701080322 time for calcul the mask position with numpy : 0.0065326690673828125 nb_pixel_total : 23788 time to create 1 rle with old method : 0.02791309356689453 create new chi : 0.4544520378112793 time to delete rle : 0.0002570152282714844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1464 TO DO : save crop sub photo not yet done ! save time : 0.13918161392211914 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.39802098274230957 time for calcul the mask position with numpy : 0.2592897415161133 nb_pixel_total : 2005085 time to create 1 rle with new method : 0.07709670066833496 time for calcul the mask position with numpy : 0.00616002082824707 nb_pixel_total : 8773 time to create 1 rle with old method : 0.010277271270751953 time for calcul the mask position with numpy : 0.0064182281494140625 nb_pixel_total : 36226 time to create 1 rle with old method : 0.04468822479248047 time for calcul the mask position with numpy : 0.00639796257019043 nb_pixel_total : 7335 time to create 1 rle with old method : 0.008558034896850586 time for calcul the mask position with numpy : 0.006425380706787109 nb_pixel_total : 16181 time to create 1 rle with old method : 0.018762588500976562 create new chi : 0.4551270008087158 time to delete rle : 0.00038051605224609375 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2398 TO DO : save crop sub photo not yet done ! save time : 0.25321292877197266 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.06197023391723633 time for calcul the mask position with numpy : 0.21477651596069336 nb_pixel_total : 2034532 time to create 1 rle with new method : 0.13496899604797363 time for calcul the mask position with numpy : 0.006247282028198242 nb_pixel_total : 5090 time to create 1 rle with old method : 0.00570988655090332 time for calcul the mask position with numpy : 0.006203174591064453 nb_pixel_total : 10379 time to create 1 rle with old method : 0.01218724250793457 time for calcul the mask position with numpy : 0.006275653839111328 nb_pixel_total : 19854 time to create 1 rle with old method : 0.023122310638427734 time for calcul the mask position with numpy : 0.00617527961730957 nb_pixel_total : 3745 time to create 1 rle with old method : 0.004451274871826172 create new chi : 0.431551456451416 time to delete rle : 0.000415802001953125 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 1894 TO DO : save crop sub photo not yet done ! save time : 0.1696300506591797 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.09535932540893555 time for calcul the mask position with numpy : 0.05187368392944336 nb_pixel_total : 1958634 time to create 1 rle with new method : 0.12014508247375488 time for calcul the mask position with numpy : 0.008083343505859375 nb_pixel_total : 6282 time to create 1 rle with old method : 0.0075681209564208984 time for calcul the mask position with numpy : 0.012394189834594727 nb_pixel_total : 104080 time to create 1 rle with old method : 0.11919665336608887 time for calcul the mask position with numpy : 0.006356716156005859 nb_pixel_total : 4604 time to create 1 rle with old method : 0.005464315414428711 create new chi : 0.3413083553314209 time to delete rle : 0.0004317760467529297 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2564 TO DO : save crop sub photo not yet done ! save time : 0.2728078365325928 No data in photo_id : 1392671582 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.26787734031677246 time for calcul the mask position with numpy : 0.0577082633972168 nb_pixel_total : 1953311 time to create 1 rle with new method : 0.13839197158813477 time for calcul the mask position with numpy : 0.007376432418823242 nb_pixel_total : 113642 time to create 1 rle with old method : 0.13424921035766602 time for calcul the mask position with numpy : 0.010670900344848633 nb_pixel_total : 6647 time to create 1 rle with old method : 0.007981061935424805 create new chi : 0.3704671859741211 time to delete rle : 0.0005478858947753906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2406 TO DO : save crop sub photo not yet done ! save time : 0.2280869483947754 map_output_result : {1392671726: (0.0, 'Should be the crop_list due to order', 0), 1392671722: (0.0, 'Should be the crop_list due to order', 0), 1392671717: (0.0, 'Should be the crop_list due to order', 0), 1392671696: (0.0, 'Should be the crop_list due to order', 0), 1392671692: (0.0, 'Should be the crop_list due to order', 0), 1392671689: (0.0, 'Should be the crop_list due to order', 0), 1392671660: (0.0, 'Should be the crop_list due to order', 0), 1392671657: (0.0, 'Should be the crop_list due to order', 0), 1392671630: (0.0, 'Should be the crop_list due to order', 0), 1392671625: (0.0, 'Should be the crop_list due to order', 0), 1392671623: (0.0, 'Should be the crop_list due to order', 0), 1392671615: (0.0, 'Should be the crop_list due to order', 0), 1392671589: (0.0, 'Should be the crop_list due to order', 0), 1392671583: (0.0, 'Should be the crop_list due to order', 0), 1392671582: (0.0, 'Should be the crop_list due to order', 0.0), 1392671578: (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 [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] Looping around the photos to save general results len do output : 16 /1392671726.Didn't retrieve data . /1392671722.Didn't retrieve data . /1392671717.Didn't retrieve data . /1392671696.Didn't retrieve data . /1392671692.Didn't retrieve data . /1392671689.Didn't retrieve data . /1392671660.Didn't retrieve data . /1392671657.Didn't retrieve data . /1392671630.Didn't retrieve data . /1392671625.Didn't retrieve data . /1392671623.Didn't retrieve data . /1392671615.Didn't retrieve data . /1392671589.Didn't retrieve data . /1392671583.Didn't retrieve data . /1392671582.Didn't retrieve data . /1392671578.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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.016567468643188477 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.931598424911499 time spend to save output : 0.017200708389282227 total time spend for step 3 : 12.948799133300781 step4:ventilate_hashtags_in_portfolio Wed Nov 5 08:11:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28195059 get user id for portfolio 28195059 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`=28195059 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','pet_clair','pehd','metal','pet_fonce','background','carton','mal_croppe','papier','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28195059 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','pet_clair','pehd','metal','pet_fonce','background','carton','mal_croppe','papier','autre')) 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`=28195059 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','flou','pet_clair','pehd','metal','pet_fonce','background','carton','mal_croppe','papier','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28195370,28195371,28195372,28195373,28195374,28195375,28195376,28195377,28195378,28195379,28195380?tags=environnement,flou,pet_clair,pehd,metal,pet_fonce,background,carton,mal_croppe,papier,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] Looping around the photos to save general results len do output : 1 /28195059. 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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.019992589950561523 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7737433910369873 time spend to save output : 0.02031874656677246 total time spend for step 4 : 1.7940621376037598 step5:final Wed Nov 5 08:11:31 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 : {1392671726: ('0.031166811342592592',), 1392671722: ('0.031166811342592592',), 1392671717: ('0.031166811342592592',), 1392671696: ('0.031166811342592592',), 1392671692: ('0.031166811342592592',), 1392671689: ('0.031166811342592592',), 1392671660: ('0.031166811342592592',), 1392671657: ('0.031166811342592592',), 1392671630: ('0.031166811342592592',), 1392671625: ('0.031166811342592592',), 1392671623: ('0.031166811342592592',), 1392671615: ('0.031166811342592592',), 1392671589: ('0.031166811342592592',), 1392671583: ('0.031166811342592592',), 1392671582: ('0.031166811342592592',), 1392671578: ('0.031166811342592592',)} new output for save of step final : {1392671726: ('0.031166811342592592',), 1392671722: ('0.031166811342592592',), 1392671717: ('0.031166811342592592',), 1392671696: ('0.031166811342592592',), 1392671692: ('0.031166811342592592',), 1392671689: ('0.031166811342592592',), 1392671660: ('0.031166811342592592',), 1392671657: ('0.031166811342592592',), 1392671630: ('0.031166811342592592',), 1392671625: ('0.031166811342592592',), 1392671623: ('0.031166811342592592',), 1392671615: ('0.031166811342592592',), 1392671589: ('0.031166811342592592',), 1392671583: ('0.031166811342592592',), 1392671582: ('0.031166811342592592',), 1392671578: ('0.031166811342592592',)} [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] Looping around the photos to save general results len do output : 16 /1392671726.Didn't retrieve data . /1392671722.Didn't retrieve data . /1392671717.Didn't retrieve data . /1392671696.Didn't retrieve data . /1392671692.Didn't retrieve data . /1392671689.Didn't retrieve data . /1392671660.Didn't retrieve data . /1392671657.Didn't retrieve data . /1392671630.Didn't retrieve data . /1392671625.Didn't retrieve data . /1392671623.Didn't retrieve data . /1392671615.Didn't retrieve data . /1392671589.Didn't retrieve data . /1392671583.Didn't retrieve data . /1392671582.Didn't retrieve data . /1392671578.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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.014992713928222656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12394928932189941 time spend to save output : 0.015699148178100586 total time spend for step 5 : 0.1396484375 step6:blur_detection Wed Nov 5 08:11:31 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/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1.jpg resize: (1080, 1920) 1392671726 0.37839399801318313 treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f.jpg resize: (1080, 1920) 1392671722 0.2815034640623766 treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9.jpg resize: (1080, 1920) 1392671717 0.9007182121679306 treat image : temp/1762326628_2537463_1392671696_7b7705b59a1bd042816c136b5e55c159.jpg resize: (1080, 1920) 1392671696 2.895905487592816 treat image : temp/1762326628_2537463_1392671692_bdc5958f40054eca36d663b028765518.jpg resize: (1080, 1920) 1392671692 1.2562983513270283 treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7.jpg resize: (1080, 1920) 1392671689 0.84609269670107 treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e.jpg resize: (1080, 1920) 1392671660 0.04852836821989472 treat image : temp/1762326628_2537463_1392671657_a8c5301bd3f1da97e2347fe988bad7c0.jpg resize: (1080, 1920) 1392671657 0.07601584802461749 treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c.jpg resize: (1080, 1920) 1392671630 0.5189408451692215 treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548.jpg resize: (1080, 1920) 1392671625 2.5239514797060774 treat image : temp/1762326628_2537463_1392671623_ec547ca43490edb179baef6ffdbfae8e.jpg resize: (1080, 1920) 1392671623 1.7817015368619213 treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d.jpg resize: (1080, 1920) 1392671615 1.5222183019861069 treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396.jpg resize: (1080, 1920) 1392671589 0.6902190252069348 treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded.jpg resize: (1080, 1920) 1392671583 0.3664330376976028 treat image : temp/1762326628_2537463_1392671582_59ca6e9aba679713de7849c22e6372f3.jpg resize: (1080, 1920) 1392671582 0.7899275465138372 treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6.jpg resize: (1080, 1920) 1392671578 2.2385750766110286 treat image : temp/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341081_0.png resize: (144, 103) 1392675913 -1.6789375027871025 treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341082_0.png resize: (91, 122) 1392675914 -0.7292654673703405 treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341086_0.png resize: (167, 91) 1392675915 -1.85983015387465 treat image : temp/1762326628_2537463_1392671696_7b7705b59a1bd042816c136b5e55c159_rle_crop_4021341088_0.png resize: (93, 135) 1392675916 -1.1291727803747025 treat image : temp/1762326628_2537463_1392671692_bdc5958f40054eca36d663b028765518_rle_crop_4021341089_0.png resize: (107, 87) 1392675917 1.651571560954157 treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341091_0.png resize: (202, 121) 1392675918 -0.24313750597365638 treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341096_0.png resize: (452, 467) 1392675919 0.8297238519701486 treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341099_0.png resize: (123, 82) 1392675920 -1.0771206741004211 treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341104_0.png resize: (136, 81) 1392675922 -1.2797016275838757 treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341113_0.png resize: (116, 100) 1392675923 -0.3947946255161155 treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341083_0.png resize: (94, 123) 1392675926 -1.7026238121522843 treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341094_0.png resize: (134, 147) 1392675927 -1.691302172871266 treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341114_0.png resize: (99, 101) 1392675928 -1.6064808064431435 treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341107_0.png resize: (56, 86) 1392675929 -1.2190217309855385 treat image : temp/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341080_0.png resize: (80, 104) 1392675955 1.04678858093347 treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341084_0.png resize: (245, 209) 1392675956 -1.3807085881748824 treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341087_0.png resize: (95, 228) 1392675957 1.340963543999466 treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341085_0.png resize: (66, 74) 1392675958 0.4910391008980408 treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341090_0.png resize: (137, 291) 1392675959 -1.9545323785547597 treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341092_0.png resize: (65, 75) 1392675960 -3.440125130917867 treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341093_0.png resize: (83, 163) 1392675961 -1.5646288287363128 treat image : temp/1762326628_2537463_1392671657_a8c5301bd3f1da97e2347fe988bad7c0_rle_crop_4021341095_0.png resize: (44, 75) 1392675962 2.5720688574223964 treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341098_0.png resize: (725, 943) 1392675963 0.3857997957628095 treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341100_0.png resize: (140, 120) 1392675964 -0.7828842292838737 treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341101_0.png resize: (521, 331) 1392675965 -0.09880419732799704 treat image : temp/1762326628_2537463_1392671623_ec547ca43490edb179baef6ffdbfae8e_rle_crop_4021341102_0.png resize: (185, 162) 1392675966 -0.4359922367298674 treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341106_0.png resize: (92, 134) 1392675967 -0.6699194851312879 treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341105_0.png resize: (185, 286) 1392675968 1.1004623212293394 treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341109_0.png resize: (152, 144) 1392675969 -1.1051996999607236 treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341108_0.png resize: (124, 259) 1392675970 -2.8429658889122527 treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341111_0.png resize: (65, 90) 1392675971 0.11494849552296041 treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341112_0.png resize: (539, 337) 1392675972 0.07323423532485385 treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341115_0.png resize: (553, 344) 1392675973 0.11985954862136769 treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341097_0.png resize: (75, 72) 1392675974 -2.296396877329876 treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341110_0.png resize: (90, 75) 1392675975 -0.22893890912162962 treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341103_0.png resize: (208, 96) 1392675976 -0.5050553223297435 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 : 52 time used for this insertion : 0.014811992645263672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.018419504165649414 save missing photos in datou_result : time spend for datou_step_exec : 13.377916097640991 time spend to save output : 0.037982940673828125 total time spend for step 6 : 13.41589903831482 step7:brightness Wed Nov 5 08:11:45 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/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1.jpg treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f.jpg treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9.jpg treat image : temp/1762326628_2537463_1392671696_7b7705b59a1bd042816c136b5e55c159.jpg treat image : temp/1762326628_2537463_1392671692_bdc5958f40054eca36d663b028765518.jpg treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7.jpg treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e.jpg treat image : temp/1762326628_2537463_1392671657_a8c5301bd3f1da97e2347fe988bad7c0.jpg treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c.jpg treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548.jpg treat image : temp/1762326628_2537463_1392671623_ec547ca43490edb179baef6ffdbfae8e.jpg treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d.jpg treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396.jpg treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded.jpg treat image : temp/1762326628_2537463_1392671582_59ca6e9aba679713de7849c22e6372f3.jpg treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6.jpg treat image : temp/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341081_0.png treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341082_0.png treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341086_0.png treat image : temp/1762326628_2537463_1392671696_7b7705b59a1bd042816c136b5e55c159_rle_crop_4021341088_0.png treat image : temp/1762326628_2537463_1392671692_bdc5958f40054eca36d663b028765518_rle_crop_4021341089_0.png treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341091_0.png treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341096_0.png treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341099_0.png treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341104_0.png treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341113_0.png treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341083_0.png treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341094_0.png treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341114_0.png treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341107_0.png treat image : temp/1762326628_2537463_1392671726_a85ce57aa884848048ec8ea45c918ba1_rle_crop_4021341080_0.png treat image : temp/1762326628_2537463_1392671722_9536d3196d17b6dd31ee9efa5f5fce9f_rle_crop_4021341084_0.png treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341087_0.png treat image : temp/1762326628_2537463_1392671717_862bda4b1aac66694ad2b0eb3bbae3e9_rle_crop_4021341085_0.png treat image : temp/1762326628_2537463_1392671689_d3060f1525b4a5389d1258cb6dcbe5d7_rle_crop_4021341090_0.png treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341092_0.png treat image : temp/1762326628_2537463_1392671660_27d291dd615e91941786191a5811702e_rle_crop_4021341093_0.png treat image : temp/1762326628_2537463_1392671657_a8c5301bd3f1da97e2347fe988bad7c0_rle_crop_4021341095_0.png treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341098_0.png treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341100_0.png treat image : temp/1762326628_2537463_1392671625_ab5af01afe2629f122f911d5350e9548_rle_crop_4021341101_0.png treat image : temp/1762326628_2537463_1392671623_ec547ca43490edb179baef6ffdbfae8e_rle_crop_4021341102_0.png treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341106_0.png treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341105_0.png treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341109_0.png treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341108_0.png treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341111_0.png treat image : temp/1762326628_2537463_1392671583_b44fa32abc0090817e3e3dd79e93cded_rle_crop_4021341112_0.png treat image : temp/1762326628_2537463_1392671578_be49486ab25153b956e7e01b529f5df6_rle_crop_4021341115_0.png treat image : temp/1762326628_2537463_1392671630_79dc4bf42e47d2f886d0474959c5254c_rle_crop_4021341097_0.png treat image : temp/1762326628_2537463_1392671589_f8a47f1991224a9a0068f429957cd396_rle_crop_4021341110_0.png treat image : temp/1762326628_2537463_1392671615_1567c50b14e58798b3971098d3b9261d_rle_crop_4021341103_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 : 52 time used for this insertion : 0.01599740982055664 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.019917011260986328 save missing photos in datou_result : time spend for datou_step_exec : 3.77162504196167 time spend to save output : 0.04100227355957031 total time spend for step 7 : 3.8126273155212402 step8:velours_tree Wed Nov 5 08:11:49 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.14366602897644043 time spend to save output : 7.271766662597656e-05 total time spend for step 8 : 0.1437387466430664 step9:send_mail_cod Wed Nov 5 08:11:49 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_P28195059_05-11-2025_08_11_49.pdf 28195371 imagette281953711762326709 28195372 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette281953721762326709 28195373 change filename to text .imagette281953731762326710 28195374 change filename to text .imagette281953741762326710 28195375 imagette281953751762326710 28195376 imagette281953761762326710 28195377 change filename to text .change filename to text .change filename to text .imagette281953771762326710 28195378 imagette281953781762326711 28195379 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 .imagette281953791762326711 28195380 change filename to text .change filename to text .imagette281953801762326711 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28195059 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28195370,28195371,28195372,28195373,28195374,28195375,28195376,28195377,28195378,28195379,28195380?tags=environnement,flou,pet_clair,pehd,metal,pet_fonce,background,carton,mal_croppe,papier,autre args[1392671726] : ((1392671726, 0.37839399801318313, 492688767), (1392671726, 0.5553343127477686, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671722] : ((1392671722, 0.2815034640623766, 492688767), (1392671722, 0.39048214233641326, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671717] : ((1392671717, 0.9007182121679306, 492688767), (1392671717, 0.856094171340675, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671696] : ((1392671696, 2.895905487592816, 492688767), (1392671696, 0.8547639764881596, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671692] : ((1392671692, 1.2562983513270283, 492688767), (1392671692, 0.6966525111025713, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671689] : ((1392671689, 0.84609269670107, 492688767), (1392671689, 0.7984175686463355, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671660] : ((1392671660, 0.04852836821989472, 492688767), (1392671660, 0.4588742996579942, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671657] : ((1392671657, 0.07601584802461749, 492688767), (1392671657, 0.646316736595232, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671630] : ((1392671630, 0.5189408451692215, 492688767), (1392671630, 0.8785353910005688, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671625] : ((1392671625, 2.5239514797060774, 492688767), (1392671625, 0.8612823821924768, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671623] : ((1392671623, 1.7817015368619213, 492688767), (1392671623, 0.6890093664441854, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671615] : ((1392671615, 1.5222183019861069, 492688767), (1392671615, 0.6032467604022912, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671589] : ((1392671589, 0.6902190252069348, 492688767), (1392671589, 0.739506542016685, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671583] : ((1392671583, 0.3664330376976028, 492688767), (1392671583, 0.886922119708616, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671582] : ((1392671582, 0.7899275465138372, 492688767), (1392671582, 0.8194813100038462, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com args[1392671578] : ((1392671578, 2.2385750766110286, 492688767), (1392671578, 0.7002895467697006, 2107752395), '0.031166811342592592') We are sending mail with results at report@fotonower.com refus_total : 0.031166811342592592 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=28195059 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_P28195059_05-11-2025_08_11_49.pdf results_Auto_P28195059_05-11-2025_08_11_49.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195059_05-11-2025_08_11_49.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','28195059','results_Auto_P28195059_05-11-2025_08_11_49.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195059_05-11-2025_08_11_49.pdf','pdf','','0.25','0.031166811342592592') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28195059

https://www.fotonower.com/image?json=false&list_photos_id=1392671726
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671722
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671717
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671696
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.895905487592816)
https://www.fotonower.com/image?json=false&list_photos_id=1392671692
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2562983513270283)
https://www.fotonower.com/image?json=false&list_photos_id=1392671689
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671660
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671657
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671630
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671625
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.5239514797060774)
https://www.fotonower.com/image?json=false&list_photos_id=1392671623
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.7817015368619213)
https://www.fotonower.com/image?json=false&list_photos_id=1392671615
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.5222183019861069)
https://www.fotonower.com/image?json=false&list_photos_id=1392671589
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671583
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671582
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1392671578
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.2385750766110286)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28195372?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/28195373?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/28195374?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28195377?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28195379?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28195380?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195059_05-11-2025_08_11_49.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28195370,28195371,28195372,28195373,28195374,28195375,28195376,28195377,28195378,28195379,28195380?tags=environnement,flou,pet_clair,pehd,metal,pet_fonce,background,carton,mal_croppe,papier,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 05 Nov 2025 07:11:53 GMT Content-Length: 0 Connection: close X-Message-Id: VROe0b7YT6mQnFlcxH-xLQ Access-Control-Allow-Origin: https://sendgrid.api-docs.io Access-Control-Allow-Methods: POST Access-Control-Allow-Headers: Authorization, Content-Type, On-behalf-of, x-sg-elas-acl Access-Control-Max-Age: 600 X-No-CORS-Reason: https://sendgrid.com/docs/Classroom/Basics/API/cors.html Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Security-Policy: frame-ancestors 'none' Cache-Control: no-cache X-Content-Type-Options: no-sniff Referrer-Policy: strict-origin-when-cross-origin Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] 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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.013636589050292969 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.684204816818237 time spend to save output : 0.013909339904785156 total time spend for step 9 : 4.6981141567230225 step10:split_time_score Wed Nov 5 08:11: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 ! 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'}] (('07', 16),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05112025 28195059 Nombre de photos uploadées : 16 / 23040 (0%) 05112025 28195059 Nombre de photos taguées (types de déchets): 0 / 16 (0%) 05112025 28195059 Nombre de photos taguées (volume) : 0 / 16 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ???????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007641315460205078 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2275385856628418 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195056 order by id desc limit 1 Qualite : 0.031166811342592592 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28195059_05-11-2025_08_11_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28195059 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`=28195059 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05112025': {'nb_upload': 16, '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 [1392671726, 1392671722, 1392671717, 1392671696, 1392671692, 1392671689, 1392671660, 1392671657, 1392671630, 1392671625, 1392671623, 1392671615, 1392671589, 1392671583, 1392671582, 1392671578] Looping around the photos to save general results len do output : 1 /28195059Didn'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, '4001693') ('3318', '28195059', '1392671726', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671722', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671717', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671696', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671692', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671689', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671660', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671657', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671630', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671625', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671623', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671615', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671589', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671583', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671582', None, None, None, None, None, '4001693') ('3318', None, None, None, None, None, None, None, '4001693') ('3318', '28195059', '1392671578', None, None, None, None, None, '4001693') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.05384182929992676 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.980018138885498 time spend to save output : 0.05412483215332031 total time spend for step 10 : 2.0341429710388184 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 45.01user 25.14system 1:30.52elapsed 77%CPU (0avgtext+0avgdata 2955940maxresident)k 516144inputs+15360outputs (312major+2004672minor)pagefaults 0swaps