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 : 408952 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 : ['3978466'] with mtr_portfolio_ids : ['28056172'] and first list_photo_ids : [] new path : /proc/408952/ 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 , BFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 9 ; length of list_pids : 9 ; length of list_args : 9 time to download the photos : 2.233233690261841 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Sat Nov 1 09:00: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 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-01 09:00:34.742451: 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-01 09:00:34.778543: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-01 09:00:34.780408: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f7f9c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-01 09:00:34.780463: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-01 09:00:34.783712: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-01 09:00:35.102863: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1749f040 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-01 09:00:35.102952: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-01 09:00:35.104570: 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-01 09:00:35.105044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-01 09:00:35.108494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-01 09:00:35.112028: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-01 09:00:35.112674: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-01 09:00:35.116363: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-01 09:00:35.117871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-01 09:00:35.124200: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-01 09:00:35.125899: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-01 09:00:35.126003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-01 09:00:35.126858: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-01 09:00:35.126876: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-01 09:00:35.126886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-01 09:00:35.128391: 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-01 09:00:35.505600: 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-01 09:00:35.505690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-01 09:00:35.505712: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-01 09:00:35.505731: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-01 09:00:35.505749: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-01 09:00:35.505768: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-01 09:00:35.505786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-01 09:00:35.505804: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-01 09:00:35.507620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-01 09:00:35.509099: 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-01 09:00:35.509161: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-01 09:00:35.509180: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-01 09:00:35.509197: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-01 09:00:35.509214: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-01 09:00:35.509230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-01 09:00:35.509247: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-01 09:00:35.509264: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-01 09:00:35.510583: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-01 09:00:35.510620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-01 09:00:35.510630: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-01 09:00:35.510638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-01 09:00:35.511994: 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-01 09:00:46.042482: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-01 09:00:46.254080: 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 : 9 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 13 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 18 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 409473 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 417 tf kernel not reseted sub process len(results) : 9 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 9 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 : 5706 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.0006878376007080078 nb_pixel_total : 16474 time to create 1 rle with old method : 0.019833087921142578 length of segment : 100 time for calcul the mask position with numpy : 0.0015060901641845703 nb_pixel_total : 43368 time to create 1 rle with old method : 0.05334305763244629 length of segment : 326 time for calcul the mask position with numpy : 0.0005905628204345703 nb_pixel_total : 13031 time to create 1 rle with old method : 0.015480756759643555 length of segment : 204 time for calcul the mask position with numpy : 0.0020737648010253906 nb_pixel_total : 71740 time to create 1 rle with old method : 0.08370208740234375 length of segment : 324 time for calcul the mask position with numpy : 0.0007648468017578125 nb_pixel_total : 22393 time to create 1 rle with old method : 0.02825164794921875 length of segment : 186 time for calcul the mask position with numpy : 0.0008995532989501953 nb_pixel_total : 26093 time to create 1 rle with old method : 0.030379533767700195 length of segment : 164 time for calcul the mask position with numpy : 0.0010328292846679688 nb_pixel_total : 49984 time to create 1 rle with old method : 0.08033490180969238 length of segment : 302 time for calcul the mask position with numpy : 0.00020241737365722656 nb_pixel_total : 7581 time to create 1 rle with old method : 0.009177446365356445 length of segment : 95 time for calcul the mask position with numpy : 0.0005044937133789062 nb_pixel_total : 30191 time to create 1 rle with old method : 0.03656268119812012 length of segment : 208 time for calcul the mask position with numpy : 0.00045490264892578125 nb_pixel_total : 22947 time to create 1 rle with old method : 0.0266416072845459 length of segment : 279 time for calcul the mask position with numpy : 0.002376079559326172 nb_pixel_total : 123944 time to create 1 rle with old method : 0.14435482025146484 length of segment : 289 time for calcul the mask position with numpy : 0.00026345252990722656 nb_pixel_total : 13096 time to create 1 rle with old method : 0.015561819076538086 length of segment : 134 time for calcul the mask position with numpy : 0.0006465911865234375 nb_pixel_total : 16676 time to create 1 rle with old method : 0.01945781707763672 length of segment : 156 time for calcul the mask position with numpy : 0.0008797645568847656 nb_pixel_total : 14655 time to create 1 rle with old method : 0.0233151912689209 length of segment : 138 time for calcul the mask position with numpy : 0.0013244152069091797 nb_pixel_total : 35395 time to create 1 rle with old method : 0.041567325592041016 length of segment : 446 time for calcul the mask position with numpy : 0.0010542869567871094 nb_pixel_total : 38512 time to create 1 rle with old method : 0.04425764083862305 length of segment : 239 time for calcul the mask position with numpy : 0.0006792545318603516 nb_pixel_total : 22630 time to create 1 rle with old method : 0.026333332061767578 length of segment : 203 time for calcul the mask position with numpy : 0.0008833408355712891 nb_pixel_total : 34901 time to create 1 rle with old method : 0.04033803939819336 length of segment : 182 time for calcul the mask position with numpy : 0.0006556510925292969 nb_pixel_total : 22926 time to create 1 rle with old method : 0.027924537658691406 length of segment : 143 time for calcul the mask position with numpy : 0.0008115768432617188 nb_pixel_total : 25638 time to create 1 rle with old method : 0.03011798858642578 length of segment : 217 time for calcul the mask position with numpy : 0.0013515949249267578 nb_pixel_total : 40599 time to create 1 rle with old method : 0.04887509346008301 length of segment : 303 time for calcul the mask position with numpy : 0.0025479793548583984 nb_pixel_total : 49687 time to create 1 rle with old method : 0.056372642517089844 length of segment : 958 time for calcul the mask position with numpy : 0.0029964447021484375 nb_pixel_total : 39357 time to create 1 rle with old method : 0.050212860107421875 length of segment : 699 time for calcul the mask position with numpy : 0.0010192394256591797 nb_pixel_total : 42240 time to create 1 rle with old method : 0.04933929443359375 length of segment : 327 time for calcul the mask position with numpy : 0.0007810592651367188 nb_pixel_total : 40498 time to create 1 rle with old method : 0.04691505432128906 length of segment : 269 time for calcul the mask position with numpy : 0.0006380081176757812 nb_pixel_total : 41273 time to create 1 rle with old method : 0.047926902770996094 length of segment : 268 time for calcul the mask position with numpy : 0.0004627704620361328 nb_pixel_total : 25540 time to create 1 rle with old method : 0.0333399772644043 length of segment : 199 time for calcul the mask position with numpy : 0.0008749961853027344 nb_pixel_total : 32886 time to create 1 rle with old method : 0.045377492904663086 length of segment : 292 time for calcul the mask position with numpy : 0.0004951953887939453 nb_pixel_total : 14159 time to create 1 rle with old method : 0.0171661376953125 length of segment : 140 time for calcul the mask position with numpy : 0.0011398792266845703 nb_pixel_total : 40269 time to create 1 rle with old method : 0.04649925231933594 length of segment : 206 time for calcul the mask position with numpy : 0.0016210079193115234 nb_pixel_total : 54602 time to create 1 rle with old method : 0.06414031982421875 length of segment : 351 time for calcul the mask position with numpy : 0.0005512237548828125 nb_pixel_total : 15914 time to create 1 rle with old method : 0.018984079360961914 length of segment : 156 time for calcul the mask position with numpy : 0.0008361339569091797 nb_pixel_total : 30014 time to create 1 rle with old method : 0.03487586975097656 length of segment : 276 time for calcul the mask position with numpy : 0.0013988018035888672 nb_pixel_total : 30695 time to create 1 rle with old method : 0.0383458137512207 length of segment : 386 time for calcul the mask position with numpy : 0.0004916191101074219 nb_pixel_total : 14499 time to create 1 rle with old method : 0.017171382904052734 length of segment : 116 time for calcul the mask position with numpy : 0.0014972686767578125 nb_pixel_total : 42232 time to create 1 rle with old method : 0.052408456802368164 length of segment : 417 time for calcul the mask position with numpy : 0.0015475749969482422 nb_pixel_total : 63711 time to create 1 rle with old method : 0.0735177993774414 length of segment : 278 time for calcul the mask position with numpy : 0.0011091232299804688 nb_pixel_total : 34354 time to create 1 rle with old method : 0.03970146179199219 length of segment : 260 time for calcul the mask position with numpy : 0.0007576942443847656 nb_pixel_total : 32716 time to create 1 rle with old method : 0.03861069679260254 length of segment : 202 time for calcul the mask position with numpy : 0.0010886192321777344 nb_pixel_total : 55638 time to create 1 rle with old method : 0.06824564933776855 length of segment : 353 time for calcul the mask position with numpy : 0.0011010169982910156 nb_pixel_total : 55103 time to create 1 rle with old method : 0.06252813339233398 length of segment : 244 time for calcul the mask position with numpy : 0.0004918575286865234 nb_pixel_total : 20205 time to create 1 rle with old method : 0.02353644371032715 length of segment : 111 time for calcul the mask position with numpy : 0.0005848407745361328 nb_pixel_total : 17911 time to create 1 rle with old method : 0.020261764526367188 length of segment : 201 time for calcul the mask position with numpy : 0.0007390975952148438 nb_pixel_total : 20732 time to create 1 rle with old method : 0.024524450302124023 length of segment : 181 time for calcul the mask position with numpy : 0.0008611679077148438 nb_pixel_total : 34008 time to create 1 rle with old method : 0.03905963897705078 length of segment : 285 time for calcul the mask position with numpy : 0.0005548000335693359 nb_pixel_total : 21638 time to create 1 rle with old method : 0.025665283203125 length of segment : 165 time for calcul the mask position with numpy : 0.0006971359252929688 nb_pixel_total : 29627 time to create 1 rle with old method : 0.04813742637634277 length of segment : 262 time for calcul the mask position with numpy : 0.0005428791046142578 nb_pixel_total : 13579 time to create 1 rle with old method : 0.016214370727539062 length of segment : 124 time spent for convertir_results : 3.9404003620147705 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 48 chid ids of type : 3594 Number RLEs to save : 12364 save missing photos in datou_result : time spend for datou_step_exec : 51.32516956329346 time spend to save output : 0.6858854293823242 total time spend for step 1 : 52.01105499267578 step2:crop_condition Sat Nov 1 09:01:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 9 ! batch 1 Loaded 48 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 32 About to insert : list_path_to_insert length 32 new photo from crops ! About to upload 32 photos upload in portfolio : 3736932 init cache_photo without model_param we have 32 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761984091_408952 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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861475_0.png', 0, 183, 186, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861471_0.png', 0, 257, 99, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861474_0.png', 0, 513, 225, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861473_0.png', 0, 142, 142, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861479_0.png', 0, 221, 194, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861478_0.png', 0, 105, 95, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861477_0.png', 0, 269, 302, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861483_0.png', 0, 187, 152, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861489_0.png', 0, 220, 130, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861490_0.png', 0, 152, 210, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861487_0.png', 0, 172, 199, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861486_0.png', 0, 231, 239, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861485_0.png', 0, 172, 395, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861491_0.png', 0, 288, 303, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509170_9833a47958f0ab2456c3c36de3d5c23a_87251839_rle_crop_4012861494_0.png', 0, 201, 313, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861495_0.png', 0, 242, 268, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861499_0.png', 0, 180, 138, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861508_0.png', 0, 188, 260, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861502_0.png', 0, 157, 147, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861503_0.png', 0, 148, 272, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861498_0.png', 0, 149, 292, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861504_0.png', 0, 108, 384, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861500_0.png', 0, 286, 201, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861507_0.png', 0, 380, 250, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861512_0.png', 0, 227, 110, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861509_0.png', 0, 211, 201, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861511_0.png', 0, 423, 202, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861515_0.png', 0, 168, 285, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861517_0.png', 0, 160, 252, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861516_0.png', 0, 172, 164, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861514_0.png', 0, 208, 176, 0, 1761984097,'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(1761984097), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861513_0.png', 0, 224, 188, 0, 1761984097,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 32 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.289300441741943 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761984101_408952 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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861472_0.png', 0, 222, 313, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861482_0.png', 0, 121, 131, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861484_0.png', 0, 159, 138, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861497_0.png', 0, 176, 197, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861506_0.png', 0, 347, 249, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861501_0.png', 0, 243, 351, 0, 1761984103,'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(1761984103), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861518_0.png', 0, 137, 124, 0, 1761984103,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.175697088241577 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 6 About to insert : list_path_to_insert length 6 new photo from crops ! About to upload 6 photos upload in portfolio : 3736932 init cache_photo without model_param we have 6 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761984106_408952 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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861476_0.png', 0, 277, 153, 0, 1761984107,'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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861480_0.png', 0, 239, 174, 0, 1761984107,'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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861481_0.png', 0, 529, 272, 0, 1761984107,'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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861488_0.png', 0, 265, 182, 0, 1761984107,'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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861505_0.png', 0, 162, 112, 0, 1761984107,'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(1761984107), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861510_0.png', 0, 218, 352, 0, 1761984107,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 6 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.8218305110931396 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 ! 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/1761984109_408952 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(1761984110), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861493_0.png', 0, 225, 699, 0, 1761984110,'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(1761984110), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861492_0.png', 0, 149, 690, 0, 1761984110,'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(1761984110), 0.0, 0.0, 14, '', 0, 0, '1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861496_0.png', 0, 204, 268, 0, 1761984110,'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.0348830223083496 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 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] Looping around the photos to save general results len do output : 48 /1391553537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553541Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553546Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553547Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553548Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553549Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553550Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553551Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553552Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553553Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553554Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553555Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553556Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553558Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553559Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553560Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553564Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553568Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553573Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553581Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391553586Didn'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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 153 time used for this insertion : 0.027621984481811523 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.680838584899902 time spend to save output : 0.0297243595123291 total time spend for step 2 : 26.71056294441223 step3:rle_unique_nms_with_priority Sat Nov 1 09:01:50 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 48 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 4.418264865875244 time for calcul the mask position with numpy : 0.4130058288574219 nb_pixel_total : 8101301 time to create 1 rle with new method : 0.7343101501464844 time for calcul the mask position with numpy : 0.027176856994628906 nb_pixel_total : 26093 time to create 1 rle with old method : 0.031673431396484375 time for calcul the mask position with numpy : 0.02978658676147461 nb_pixel_total : 22393 time to create 1 rle with old method : 0.02728128433227539 time for calcul the mask position with numpy : 0.02587270736694336 nb_pixel_total : 71740 time to create 1 rle with old method : 0.08085107803344727 time for calcul the mask position with numpy : 0.026336669921875 nb_pixel_total : 13031 time to create 1 rle with old method : 0.014819145202636719 time for calcul the mask position with numpy : 0.03857302665710449 nb_pixel_total : 43368 time to create 1 rle with old method : 0.04897284507751465 time for calcul the mask position with numpy : 0.026456356048583984 nb_pixel_total : 16474 time to create 1 rle with old method : 0.018639087677001953 create new chi : 1.5840229988098145 time to delete rle : 0.026991605758666992 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4768 TO DO : save crop sub photo not yet done ! save time : 0.3415076732635498 nb_obj : 6 nb_hashtags : 3 time to prepare the origin masks : 3.1629393100738525 time for calcul the mask position with numpy : 0.8089599609375 nb_pixel_total : 8046657 time to create 1 rle with new method : 1.1668195724487305 time for calcul the mask position with numpy : 0.033574819564819336 nb_pixel_total : 13096 time to create 1 rle with old method : 0.018006324768066406 time for calcul the mask position with numpy : 0.033081769943237305 nb_pixel_total : 123944 time to create 1 rle with old method : 0.16013288497924805 time for calcul the mask position with numpy : 0.02657604217529297 nb_pixel_total : 22947 time to create 1 rle with old method : 0.025933265686035156 time for calcul the mask position with numpy : 0.026949644088745117 nb_pixel_total : 30191 time to create 1 rle with old method : 0.03366875648498535 time for calcul the mask position with numpy : 0.02687525749206543 nb_pixel_total : 7581 time to create 1 rle with old method : 0.00861215591430664 time for calcul the mask position with numpy : 0.026718854904174805 nb_pixel_total : 49984 time to create 1 rle with old method : 0.05969858169555664 create new chi : 2.505631923675537 time to delete rle : 0.0006749629974365234 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 4774 TO DO : save crop sub photo not yet done ! save time : 0.2786834239959717 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 4.992555618286133 time for calcul the mask position with numpy : 0.28623270988464355 nb_pixel_total : 8042468 time to create 1 rle with new method : 0.3481144905090332 time for calcul the mask position with numpy : 0.04095292091369629 nb_pixel_total : 40599 time to create 1 rle with old method : 0.04580116271972656 time for calcul the mask position with numpy : 0.04317760467529297 nb_pixel_total : 25638 time to create 1 rle with old method : 0.029132604598999023 time for calcul the mask position with numpy : 0.04156947135925293 nb_pixel_total : 22926 time to create 1 rle with old method : 0.02628493309020996 time for calcul the mask position with numpy : 0.034047842025756836 nb_pixel_total : 34901 time to create 1 rle with old method : 0.041873931884765625 time for calcul the mask position with numpy : 0.029707908630371094 nb_pixel_total : 22630 time to create 1 rle with old method : 0.025403976440429688 time for calcul the mask position with numpy : 0.02650618553161621 nb_pixel_total : 38512 time to create 1 rle with old method : 0.043016672134399414 time for calcul the mask position with numpy : 0.026474952697753906 nb_pixel_total : 35395 time to create 1 rle with old method : 0.039327144622802734 time for calcul the mask position with numpy : 0.03375387191772461 nb_pixel_total : 14655 time to create 1 rle with old method : 0.016624927520751953 time for calcul the mask position with numpy : 0.04094052314758301 nb_pixel_total : 16676 time to create 1 rle with old method : 0.018490076065063477 create new chi : 1.2802526950836182 time to delete rle : 0.0009262561798095703 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 6214 TO DO : save crop sub photo not yet done ! save time : 0.5170023441314697 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 1.7411041259765625 time for calcul the mask position with numpy : 0.2918550968170166 nb_pixel_total : 8205356 time to create 1 rle with new method : 0.4215986728668213 time for calcul the mask position with numpy : 0.026309490203857422 nb_pixel_total : 39357 time to create 1 rle with old method : 0.044438838958740234 time for calcul the mask position with numpy : 0.02667832374572754 nb_pixel_total : 49687 time to create 1 rle with old method : 0.06046652793884277 create new chi : 0.9183516502380371 time to delete rle : 0.0009157657623291016 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 5474 TO DO : save crop sub photo not yet done ! save time : 0.371976375579834 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 3.259648561477661 time for calcul the mask position with numpy : 0.5847377777099609 nb_pixel_total : 8252160 time to create 1 rle with new method : 0.758061408996582 time for calcul the mask position with numpy : 0.026674985885620117 nb_pixel_total : 42240 time to create 1 rle with old method : 0.0501408576965332 create new chi : 1.470569372177124 time to delete rle : 0.000457763671875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2814 TO DO : save crop sub photo not yet done ! save time : 0.3060874938964844 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 1.645719289779663 time for calcul the mask position with numpy : 0.7180979251861572 nb_pixel_total : 8187089 time to create 1 rle with new method : 0.9557642936706543 time for calcul the mask position with numpy : 0.03795886039733887 nb_pixel_total : 25540 time to create 1 rle with old method : 0.030208349227905273 time for calcul the mask position with numpy : 0.026484966278076172 nb_pixel_total : 41273 time to create 1 rle with old method : 0.04615330696105957 time for calcul the mask position with numpy : 0.02581477165222168 nb_pixel_total : 40498 time to create 1 rle with old method : 0.04542946815490723 create new chi : 1.9336435794830322 time to delete rle : 0.0006239414215087891 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 3632 TO DO : save crop sub photo not yet done ! save time : 0.22916698455810547 nb_obj : 11 nb_hashtags : 3 time to prepare the origin masks : 3.812840223312378 time for calcul the mask position with numpy : 0.7816133499145508 nb_pixel_total : 7921065 time to create 1 rle with new method : 0.4055204391479492 time for calcul the mask position with numpy : 0.024166107177734375 nb_pixel_total : 34354 time to create 1 rle with old method : 0.038347482681274414 time for calcul the mask position with numpy : 0.024785518646240234 nb_pixel_total : 63711 time to create 1 rle with old method : 0.07083988189697266 time for calcul the mask position with numpy : 0.027126789093017578 nb_pixel_total : 42232 time to create 1 rle with old method : 0.052318572998046875 time for calcul the mask position with numpy : 0.028043031692504883 nb_pixel_total : 14499 time to create 1 rle with old method : 0.0238034725189209 time for calcul the mask position with numpy : 0.030315876007080078 nb_pixel_total : 30695 time to create 1 rle with old method : 0.039530277252197266 time for calcul the mask position with numpy : 0.026901960372924805 nb_pixel_total : 30014 time to create 1 rle with old method : 0.03301286697387695 time for calcul the mask position with numpy : 0.02563619613647461 nb_pixel_total : 15914 time to create 1 rle with old method : 0.017975568771362305 time for calcul the mask position with numpy : 0.025917530059814453 nb_pixel_total : 54602 time to create 1 rle with old method : 0.06016993522644043 time for calcul the mask position with numpy : 0.03251934051513672 nb_pixel_total : 40269 time to create 1 rle with old method : 0.04454970359802246 time for calcul the mask position with numpy : 0.03968930244445801 nb_pixel_total : 14159 time to create 1 rle with old method : 0.015571355819702148 time for calcul the mask position with numpy : 0.039314985275268555 nb_pixel_total : 32886 time to create 1 rle with old method : 0.03718066215515137 create new chi : 1.9888842105865479 time to delete rle : 0.0010204315185546875 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++Number RLEs to save : 7915 TO DO : save crop sub photo not yet done ! save time : 0.4417707920074463 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 2.3433191776275635 time for calcul the mask position with numpy : 0.48131322860717773 nb_pixel_total : 8130738 time to create 1 rle with new method : 0.7776670455932617 time for calcul the mask position with numpy : 0.03621983528137207 nb_pixel_total : 20205 time to create 1 rle with old method : 0.022432804107666016 time for calcul the mask position with numpy : 0.029221057891845703 nb_pixel_total : 55103 time to create 1 rle with old method : 0.06269025802612305 time for calcul the mask position with numpy : 0.025683879852294922 nb_pixel_total : 55638 time to create 1 rle with old method : 0.06043553352355957 time for calcul the mask position with numpy : 0.02456378936767578 nb_pixel_total : 32716 time to create 1 rle with old method : 0.035538673400878906 create new chi : 1.5998027324676514 time to delete rle : 0.0006041526794433594 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 3980 TO DO : save crop sub photo not yet done ! save time : 0.24153518676757812 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 1.900787591934204 time for calcul the mask position with numpy : 0.4170398712158203 nb_pixel_total : 8156905 time to create 1 rle with new method : 1.07822847366333 time for calcul the mask position with numpy : 0.04179191589355469 nb_pixel_total : 13579 time to create 1 rle with old method : 0.015183448791503906 time for calcul the mask position with numpy : 0.0264434814453125 nb_pixel_total : 29627 time to create 1 rle with old method : 0.03334498405456543 time for calcul the mask position with numpy : 0.024922847747802734 nb_pixel_total : 21638 time to create 1 rle with old method : 0.024052143096923828 time for calcul the mask position with numpy : 0.024819374084472656 nb_pixel_total : 34008 time to create 1 rle with old method : 0.03688454627990723 time for calcul the mask position with numpy : 0.028310537338256836 nb_pixel_total : 20732 time to create 1 rle with old method : 0.02298569679260254 time for calcul the mask position with numpy : 0.02725815773010254 nb_pixel_total : 17911 time to create 1 rle with old method : 0.020300865173339844 create new chi : 1.8686397075653076 time to delete rle : 0.0008032321929931641 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 4596 TO DO : save crop sub photo not yet done ! save time : 0.32227110862731934 map_output_result : {1390509204: (0.0, 'Should be the crop_list due to order', 0), 1390509174: (0.0, 'Should be the crop_list due to order', 0), 1390509172: (0.0, 'Should be the crop_list due to order', 0), 1390509171: (0.0, 'Should be the crop_list due to order', 0), 1390509170: (0.0, 'Should be the crop_list due to order', 0), 1390509169: (0.0, 'Should be the crop_list due to order', 0), 1390509168: (0.0, 'Should be the crop_list due to order', 0), 1390509142: (0.0, 'Should be the crop_list due to order', 0), 1390509140: (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 [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] Looping around the photos to save general results len do output : 9 /1390509204.Didn't retrieve data . /1390509174.Didn't retrieve data . /1390509172.Didn't retrieve data . /1390509171.Didn't retrieve data . /1390509170.Didn't retrieve data . /1390509169.Didn't retrieve data . /1390509168.Didn't retrieve data . /1390509142.Didn't retrieve data . /1390509140.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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.011607646942138672 save_final save missing photos in datou_result : time spend for datou_step_exec : 46.724242210388184 time spend to save output : 0.012007951736450195 total time spend for step 3 : 46.736250162124634 step4:ventilate_hashtags_in_portfolio Sat Nov 1 09:02:37 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 : 28056172 get user id for portfolio 28056172 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`=28056172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','pet_fonce','metal','environnement','flou','mal_croppe','pehd','background','carton','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`=28056172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','pet_fonce','metal','environnement','flou','mal_croppe','pehd','background','carton','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`=28056172 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','papier','pet_fonce','metal','environnement','flou','mal_croppe','pehd','background','carton','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28056493,28056494,28056495,28056496,28056497,28056498,28056499,28056500,28056501,28056502,28056503?tags=pet_clair,papier,pet_fonce,metal,environnement,flou,mal_croppe,pehd,background,carton,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] Looping around the photos to save general results len do output : 1 /28056172. 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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.019930601119995117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6301360130310059 time spend to save output : 0.020163774490356445 total time spend for step 4 : 1.6502997875213623 step5:final Sat Nov 1 09:02:38 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 : {1390509204: ('0.021511983989197528',), 1390509174: ('0.021511983989197528',), 1390509172: ('0.021511983989197528',), 1390509171: ('0.021511983989197528',), 1390509170: ('0.021511983989197528',), 1390509169: ('0.021511983989197528',), 1390509168: ('0.021511983989197528',), 1390509142: ('0.021511983989197528',), 1390509140: ('0.021511983989197528',)} new output for save of step final : {1390509204: ('0.021511983989197528',), 1390509174: ('0.021511983989197528',), 1390509172: ('0.021511983989197528',), 1390509171: ('0.021511983989197528',), 1390509170: ('0.021511983989197528',), 1390509169: ('0.021511983989197528',), 1390509168: ('0.021511983989197528',), 1390509142: ('0.021511983989197528',), 1390509140: ('0.021511983989197528',)} [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] Looping around the photos to save general results len do output : 9 /1390509204.Didn't retrieve data . /1390509174.Didn't retrieve data . /1390509172.Didn't retrieve data . /1390509171.Didn't retrieve data . /1390509170.Didn't retrieve data . /1390509169.Didn't retrieve data . /1390509168.Didn't retrieve data . /1390509142.Didn't retrieve data . /1390509140.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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.010565757751464844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12266302108764648 time spend to save output : 0.011037349700927734 total time spend for step 5 : 0.13370037078857422 step6:blur_detection Sat Nov 1 09:02:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326.jpg resize: (2160, 3840) 1390509204 -5.924981560784625 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194.jpg resize: (2160, 3840) 1390509174 -6.742321420262123 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382.jpg resize: (2160, 3840) 1390509172 -6.028620866969635 treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221.jpg resize: (2160, 3840) 1390509171 -7.0493320802651365 treat image : temp/1761984029_408952_1390509170_9833a47958f0ab2456c3c36de3d5c23a_87251839.jpg resize: (2160, 3840) 1390509170 -6.995221224876423 treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372.jpg resize: (2160, 3840) 1390509169 -6.8340108745541315 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127.jpg resize: (2160, 3840) 1390509168 -7.012074568283425 treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315.jpg resize: (2160, 3840) 1390509142 -5.994856172222607 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910.jpg resize: (2160, 3840) 1390509140 -6.987517659390581 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861475_0.png resize: (186, 183) 1391553537 -3.9464693485975753 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861471_0.png resize: (99, 257) 1391553538 -3.9001854597819747 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861474_0.png resize: (225, 513) 1391553539 -4.330336063107456 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861473_0.png resize: (142, 142) 1391553540 -4.0164831656900795 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861479_0.png resize: (194, 221) 1391553541 -4.663312908053458 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861478_0.png resize: (95, 105) 1391553542 -0.5314538283827167 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861477_0.png resize: (302, 269) 1391553543 -4.38803094144749 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861483_0.png resize: (152, 187) 1391553544 -4.292111272183247 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861489_0.png resize: (130, 220) 1391553545 -3.9042103366180236 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861490_0.png resize: (210, 152) 1391553546 -2.701405605272735 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861487_0.png resize: (199, 172) 1391553547 -2.867679117969372 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861486_0.png resize: (239, 231) 1391553548 -4.330985096140183 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861485_0.png resize: (395, 172) 1391553549 -3.51242406871666 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861491_0.png resize: (303, 288) 1391553550 -2.474960075897885 treat image : temp/1761984029_408952_1390509170_9833a47958f0ab2456c3c36de3d5c23a_87251839_rle_crop_4012861494_0.png resize: (313, 201) 1391553551 -5.096814256294142 treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861495_0.png resize: (268, 242) 1391553552 -4.112289277859512 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861499_0.png resize: (138, 180) 1391553553 -4.081905734794899 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861508_0.png resize: (260, 188) 1391553554 -4.082037114763362 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861502_0.png resize: (147, 157) 1391553555 -3.4470621527497523 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861503_0.png resize: (272, 148) 1391553556 -4.776945157332721 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861498_0.png resize: (292, 149) 1391553557 -2.745039066780918 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861504_0.png resize: (384, 108) 1391553558 -4.938349059813461 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861500_0.png resize: (201, 286) 1391553559 -4.215451250932605 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861507_0.png resize: (250, 380) 1391553560 -2.8755387380393964 treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861512_0.png resize: (110, 227) 1391553561 -4.149365962799209 treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861509_0.png resize: (201, 211) 1391553562 -3.8499200933076203 treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861511_0.png resize: (202, 423) 1391553563 -4.904585448990838 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861515_0.png resize: (285, 168) 1391553564 -4.849604620894741 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861517_0.png resize: (252, 160) 1391553565 -3.159686558804442 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861516_0.png resize: (164, 172) 1391553566 -3.1515997360614163 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861514_0.png resize: (176, 208) 1391553567 -3.6062304475578886 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861513_0.png resize: (188, 224) 1391553568 -3.585655735717688 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861472_0.png resize: (313, 222) 1391553570 -3.1335950229020315 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861482_0.png resize: (131, 121) 1391553571 -2.1354041310792815 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861484_0.png resize: (138, 159) 1391553572 -2.8706977207266062 treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861497_0.png resize: (197, 176) 1391553573 -3.4052405589238797 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861506_0.png resize: (249, 347) 1391553574 -3.3589875214705605 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861501_0.png resize: (351, 243) 1391553575 -3.9874282910178245 treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861518_0.png resize: (124, 137) 1391553576 -2.525325774907315 treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861476_0.png resize: (153, 277) 1391553578 -3.3950134808897925 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861480_0.png resize: (174, 239) 1391553579 -3.4110115027125447 treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861481_0.png resize: (272, 529) 1391553580 -5.201170320414692 treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861488_0.png resize: (182, 265) 1391553581 -3.7236649285315835 treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861505_0.png resize: (112, 162) 1391553582 -3.773446440086198 treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861510_0.png resize: (352, 218) 1391553583 -5.325421701613613 treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861493_0.png resize: (699, 225) 1391553584 -2.3626497900264742 treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861492_0.png resize: (690, 149) 1391553585 -3.6362629206511423 treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861496_0.png resize: (268, 204) 1391553586 -3.475097210512586 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 : 57 time used for this insertion : 0.010298967361450195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.012007474899291992 save missing photos in datou_result : time spend for datou_step_exec : 34.92337656021118 time spend to save output : 0.02677154541015625 total time spend for step 6 : 34.95014810562134 step7:brightness Sat Nov 1 09:03:14 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/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326.jpg treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194.jpg treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382.jpg treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221.jpg treat image : temp/1761984029_408952_1390509170_9833a47958f0ab2456c3c36de3d5c23a_87251839.jpg treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372.jpg treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127.jpg treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315.jpg treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910.jpg treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861475_0.png treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861471_0.png treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861474_0.png treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861473_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861479_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861478_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861477_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861483_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861489_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861490_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861487_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861486_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861485_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861491_0.png treat image : temp/1761984029_408952_1390509170_9833a47958f0ab2456c3c36de3d5c23a_87251839_rle_crop_4012861494_0.png treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861495_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861499_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861508_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861502_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861503_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861498_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861504_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861500_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861507_0.png treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861512_0.png treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861509_0.png treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861511_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861515_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861517_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861516_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861514_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861513_0.png treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861472_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861482_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861484_0.png treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861497_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861506_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861501_0.png treat image : temp/1761984029_408952_1390509140_2c3868cd7697bee806394cdb9f605a31_8824910_rle_crop_4012861518_0.png treat image : temp/1761984029_408952_1390509204_1e0c6a318adf0bbbf254956f92d13520_91458326_rle_crop_4012861476_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861480_0.png treat image : temp/1761984029_408952_1390509174_d06f01fe5a4875a87d79c90feb949e69_56646194_rle_crop_4012861481_0.png treat image : temp/1761984029_408952_1390509172_b528eddb44d19687a15d685e28a9c74f_89384382_rle_crop_4012861488_0.png treat image : temp/1761984029_408952_1390509168_24c26cb5e8d10d6b8940bdca518f147d_10645127_rle_crop_4012861505_0.png treat image : temp/1761984029_408952_1390509142_81fc8fac5089e0d24787f9b7da3eb391_12854315_rle_crop_4012861510_0.png treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861493_0.png treat image : temp/1761984029_408952_1390509171_b5aee3fe396076c9579ef0a00fd2dec1_96669221_rle_crop_4012861492_0.png treat image : temp/1761984029_408952_1390509169_8c6a82f6628cc674326df5fa3febf483_71545372_rle_crop_4012861496_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 : 57 time used for this insertion : 0.018115758895874023 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 57 time used for this insertion : 0.013337373733520508 save missing photos in datou_result : time spend for datou_step_exec : 8.232833862304688 time spend to save output : 0.03594255447387695 total time spend for step 7 : 8.268776416778564 step8:velours_tree Sat Nov 1 09:03:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.16588640213012695 time spend to save output : 4.7206878662109375e-05 total time spend for step 8 : 0.16593360900878906 step9:send_mail_cod Sat Nov 1 09:03:22 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P28056172_01-11-2025_09_03_22.pdf 28056493 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette280564931761984202 28056494 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette280564941761984203 28056495 imagette280564951761984204 28056496 imagette280564961761984204 28056498 imagette280564981761984204 28056499 imagette280564991761984204 28056500 imagette280565001761984204 28056501 imagette280565011761984204 28056502 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 .imagette280565021761984204 28056503 change filename to text .change filename to text .change filename to text .imagette280565031761984205 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28056172 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28056493,28056494,28056495,28056496,28056497,28056498,28056499,28056500,28056501,28056502,28056503?tags=pet_clair,papier,pet_fonce,metal,environnement,flou,mal_croppe,pehd,background,carton,autre args[1390509204] : ((1390509204, -5.924981560784625, 492609224), (1390509204, -0.1633471077715292, 496442774), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509174] : ((1390509174, -6.742321420262123, 492609224), (1390509174, 0.20424422233795386, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509172] : ((1390509172, -6.028620866969635, 492609224), (1390509172, -0.07978109013938428, 496442774), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509171] : ((1390509171, -7.0493320802651365, 492609224), (1390509171, 0.5591073105750433, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509170] : ((1390509170, -6.995221224876423, 492609224), (1390509170, 0.24272307202779436, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509169] : ((1390509169, -6.8340108745541315, 492609224), (1390509169, 0.38599513656946444, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509168] : ((1390509168, -7.012074568283425, 492609224), (1390509168, 0.44566867486468514, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509142] : ((1390509142, -5.994856172222607, 492609224), (1390509142, -0.3978243000666049, 496442774), '0.021511983989197528') We are sending mail with results at report@fotonower.com args[1390509140] : ((1390509140, -6.987517659390581, 492609224), (1390509140, 0.4346224713684823, 2107752395), '0.021511983989197528') We are sending mail with results at report@fotonower.com refus_total : 0.021511983989197528 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=28056172 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_P28056172_01-11-2025_09_03_22.pdf results_Auto_P28056172_01-11-2025_09_03_22.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056172_01-11-2025_09_03_22.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','28056172','results_Auto_P28056172_01-11-2025_09_03_22.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056172_01-11-2025_09_03_22.pdf','pdf','','0.44','0.021511983989197528') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28056172

https://www.fotonower.com/image?json=false&list_photos_id=1390509204
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509174
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509172
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509171
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509170
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509169
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509168
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509142
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390509140
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/28056493?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/28056494?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28056502?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/28056503?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056172_01-11-2025_09_03_22.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28056493,28056494,28056495,28056496,28056497,28056498,28056499,28056500,28056501,28056502,28056503?tags=pet_clair,papier,pet_fonce,metal,environnement,flou,mal_croppe,pehd,background,carton,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Sat, 01 Nov 2025 08:03:28 GMT Content-Length: 0 Connection: close X-Message-Id: J1ALj_pBRW2z0vpkBYrCMA 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 [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] 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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 9 time used for this insertion : 0.010821342468261719 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.9482808113098145 time spend to save output : 0.011229276657104492 total time spend for step 9 : 5.959510087966919 step10:split_time_score Sat Nov 1 09:03:28 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'}] (('20', 9),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 27102025 28056172 Nombre de photos uploadées : 9 / 23040 (0%) 27102025 28056172 Nombre de photos taguées (types de déchets): 0 / 9 (0%) 27102025 28056172 Nombre de photos taguées (volume) : 0 / 9 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.0531158447265625e-06 ????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005249977111816406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2043745517730713 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 = 28055805 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055847 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055879 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055888 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055890 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055937 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055969 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28055984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056036 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056070 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056130 order by id desc limit 1 Qualite : 0.021511983989197528 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056172_01-11-2025_09_03_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056172 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`=28056172 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056181 order by id desc limit 1 Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056184_01-11-2025_09_01_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056184 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=28056184 AND mptpi.`type`=3726 To do Qualite : 0.11163449593537282 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28056188_01-11-2025_08_58_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28056188 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=28056188 AND mptpi.`type`=3726 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'27102025': {'nb_upload': 9, '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 [1390509204, 1390509174, 1390509172, 1390509171, 1390509170, 1390509169, 1390509168, 1390509142, 1390509140] Looping around the photos to save general results len do output : 1 /28056172Didn'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, '3978466') ('3318', '28056172', '1390509204', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509174', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509172', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509171', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509170', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509169', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509168', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509142', None, None, None, None, None, '3978466') ('3318', None, None, None, None, None, None, None, '3978466') ('3318', '28056172', '1390509140', None, None, None, None, None, '3978466') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.010846376419067383 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.866472721099854 time spend to save output : 0.011086702346801758 total time spend for step 10 : 18.877559423446655 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 9 set_done_treatment 82.23user 79.54system 3:22.35elapsed 79%CPU (0avgtext+0avgdata 3853680maxresident)k 583648inputs+55872outputs (2179major+7318957minor)pagefaults 0swaps