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 : 1951838 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 : ['3975115'] with mtr_portfolio_ids : ['28031590'] and first list_photo_ids : [] new path : /proc/1951838/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.4470653533935547 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 Fri Oct 31 16:40: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 : 10774 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-31 16:40:34.073953: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-10-31 16:40:34.082556: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-31 16:40:34.084132: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7fd464000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-31 16:40:34.084192: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-31 16:40:34.087051: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-31 16:40:34.204827: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3dbf8ac0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-31 16:40:34.204878: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-31 16:40:34.206321: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-31 16:40:34.206729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 16:40:34.209896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 16:40:34.212764: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 16:40:34.213164: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 16:40:34.215978: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 16:40:34.217350: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 16:40:34.223304: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 16:40:34.224843: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 16:40:34.224928: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 16:40:34.225737: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 16:40:34.225753: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 16:40:34.225762: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 16:40:34.227156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9841 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-31 16:40:34.506733: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-31 16:40:34.506822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 16:40:34.506843: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 16:40:34.506861: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 16:40:34.506879: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 16:40:34.506896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 16:40:34.506914: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 16:40:34.506932: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 16:40:34.508497: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 16:40:34.509825: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-31 16:40:34.509860: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-31 16:40:34.509879: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 16:40:34.509896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-31 16:40:34.509913: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-31 16:40:34.509930: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-31 16:40:34.509947: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-31 16:40:34.509964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-31 16:40:34.511528: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-31 16:40:34.511561: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-31 16:40:34.511571: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-31 16:40:34.511580: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-31 16:40:34.513201: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9841 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-31 16:40:42.717199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-31 16:40:42.889118: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 7.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 50.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 43.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 Detection mask done ! Trying to reset tf kernel 1952518 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1708 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 6997 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.00041556358337402344 nb_pixel_total : 16888 time to create 1 rle with old method : 0.019109249114990234 length of segment : 149 time for calcul the mask position with numpy : 0.0005733966827392578 nb_pixel_total : 32288 time to create 1 rle with old method : 0.03681015968322754 length of segment : 136 time for calcul the mask position with numpy : 0.00046372413635253906 nb_pixel_total : 23470 time to create 1 rle with old method : 0.02686285972595215 length of segment : 223 time for calcul the mask position with numpy : 0.00036072731018066406 nb_pixel_total : 19864 time to create 1 rle with old method : 0.02263188362121582 length of segment : 174 time for calcul the mask position with numpy : 8.225440979003906e-05 nb_pixel_total : 3707 time to create 1 rle with old method : 0.004350900650024414 length of segment : 50 time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 11054 time to create 1 rle with old method : 0.012749433517456055 length of segment : 141 time for calcul the mask position with numpy : 0.00045680999755859375 nb_pixel_total : 30210 time to create 1 rle with old method : 0.03452658653259277 length of segment : 271 time for calcul the mask position with numpy : 0.0017364025115966797 nb_pixel_total : 99195 time to create 1 rle with old method : 0.11294698715209961 length of segment : 533 time for calcul the mask position with numpy : 0.0005567073822021484 nb_pixel_total : 28506 time to create 1 rle with old method : 0.03343057632446289 length of segment : 283 time for calcul the mask position with numpy : 0.0006873607635498047 nb_pixel_total : 53002 time to create 1 rle with old method : 0.061684370040893555 length of segment : 155 time for calcul the mask position with numpy : 0.0018372535705566406 nb_pixel_total : 104546 time to create 1 rle with old method : 0.1210174560546875 length of segment : 584 time for calcul the mask position with numpy : 0.0016274452209472656 nb_pixel_total : 97275 time to create 1 rle with old method : 0.11852550506591797 length of segment : 489 time for calcul the mask position with numpy : 0.00016307830810546875 nb_pixel_total : 7021 time to create 1 rle with old method : 0.008466958999633789 length of segment : 90 time for calcul the mask position with numpy : 9.34600830078125e-05 nb_pixel_total : 3787 time to create 1 rle with old method : 0.004770040512084961 length of segment : 55 time for calcul the mask position with numpy : 0.0013277530670166016 nb_pixel_total : 92025 time to create 1 rle with old method : 0.10840129852294922 length of segment : 535 time for calcul the mask position with numpy : 0.0022695064544677734 nb_pixel_total : 99981 time to create 1 rle with old method : 0.11568427085876465 length of segment : 531 time for calcul the mask position with numpy : 0.0003895759582519531 nb_pixel_total : 7677 time to create 1 rle with old method : 0.009303569793701172 length of segment : 126 time for calcul the mask position with numpy : 0.00010538101196289062 nb_pixel_total : 2295 time to create 1 rle with old method : 0.002895355224609375 length of segment : 49 time for calcul the mask position with numpy : 0.002705812454223633 nb_pixel_total : 119680 time to create 1 rle with old method : 0.1352858543395996 length of segment : 549 time for calcul the mask position with numpy : 0.00040984153747558594 nb_pixel_total : 21758 time to create 1 rle with old method : 0.02538609504699707 length of segment : 150 time for calcul the mask position with numpy : 0.002416372299194336 nb_pixel_total : 112519 time to create 1 rle with old method : 0.1468524932861328 length of segment : 549 time for calcul the mask position with numpy : 0.0001895427703857422 nb_pixel_total : 7682 time to create 1 rle with old method : 0.009259462356567383 length of segment : 103 time spent for convertir_results : 2.2145769596099854 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 22 chid ids of type : 3594 Number RLEs to save : 5925 save missing photos in datou_result : time spend for datou_step_exec : 23.058297157287598 time spend to save output : 0.35525012016296387 total time spend for step 1 : 23.41354727745056 step2:crop_condition Fri Oct 31 16:40:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 22 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 ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761925255_1951838 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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462884_0.png', 0, 247, 173, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462887_0.png', 0, 152, 112, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462886_0.png', 0, 85, 49, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462883_0.png', 0, 343, 133, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462882_0.png', 0, 172, 144, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462885_0.png', 0, 244, 146, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233054_cbff5f59761c655f92059adc43ae9bcb_rle_crop_4010462895_0.png', 0, 120, 53, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462899_0.png', 0, 85, 41, 0, 1761925257,'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(1761925257), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462903_0.png', 0, 96, 103, 0, 1761925257,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.4867653846740723 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761925258_1951838 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(1761925259), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462901_0.png', 0, 184, 147, 0, 1761925259,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7677876949310303 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761925263_1951838 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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391235654_247cbbe953e36d37c3ea5d8ca80cd674_rle_crop_4010462888_0.png', 0, 155, 266, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462890_0.png', 0, 153, 262, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462889_0.png', 0, 282, 528, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462891_0.png', 0, 468, 152, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462892_0.png', 0, 345, 579, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462894_0.png', 0, 139, 86, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462893_0.png', 0, 306, 489, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391233020_e32937e81482bfa0b9f2cca1fb9bf230_rle_crop_4010462896_0.png', 0, 317, 524, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462897_0.png', 0, 334, 531, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462898_0.png', 0, 149, 124, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462900_0.png', 0, 366, 544, 0, 1761925265,'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(1761925265), 0.0, 0.0, 14, '', 0, 0, '1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462902_0.png', 0, 334, 545, 0, 1761925265,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.980989933013916 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] Looping around the photos to save general results len do output : 22 /1391267535Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267537Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267538Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267539Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267540Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267542Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267543Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267544Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267545Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267557Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267586Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267590Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267594Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267595Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1391267596Didn'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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 76 time used for this insertion : 0.01637578010559082 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.383349418640137 time spend to save output : 0.0175020694732666 total time spend for step 2 : 11.400851488113403 step3:rle_unique_nms_with_priority Fri Oct 31 16:41:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 22 chid ids of type : 3594 ++++++++++++++++++++++++++nb_obj : 6 nb_hashtags : 1 time to prepare the origin masks : 0.8321537971496582 time for calcul the mask position with numpy : 0.09527158737182617 nb_pixel_total : 1971275 time to create 1 rle with new method : 0.09720754623413086 time for calcul the mask position with numpy : 0.0066869258880615234 nb_pixel_total : 6108 time to create 1 rle with old method : 0.00727391242980957 time for calcul the mask position with numpy : 0.006272315979003906 nb_pixel_total : 3707 time to create 1 rle with old method : 0.004375934600830078 time for calcul the mask position with numpy : 0.006647825241088867 nb_pixel_total : 19864 time to create 1 rle with old method : 0.02337646484375 time for calcul the mask position with numpy : 0.0069887638092041016 nb_pixel_total : 23470 time to create 1 rle with old method : 0.03953909873962402 time for calcul the mask position with numpy : 0.0069446563720703125 nb_pixel_total : 32288 time to create 1 rle with old method : 0.045279741287231445 time for calcul the mask position with numpy : 0.006326913833618164 nb_pixel_total : 16888 time to create 1 rle with old method : 0.019744157791137695 create new chi : 0.38217687606811523 time to delete rle : 0.030587196350097656 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 2677 TO DO : save crop sub photo not yet done ! save time : 0.17764949798583984 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.12489199638366699 time for calcul the mask position with numpy : 0.02295994758605957 nb_pixel_total : 2043390 time to create 1 rle with new method : 0.06512331962585449 time for calcul the mask position with numpy : 0.006380796432495117 nb_pixel_total : 30210 time to create 1 rle with old method : 0.0355684757232666 create new chi : 0.13030123710632324 time to delete rle : 0.0002384185791015625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1622 TO DO : save crop sub photo not yet done ! save time : 0.11950540542602539 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.12819409370422363 time for calcul the mask position with numpy : 0.0902552604675293 nb_pixel_total : 1945899 time to create 1 rle with new method : 0.10938405990600586 time for calcul the mask position with numpy : 0.006953001022338867 nb_pixel_total : 28506 time to create 1 rle with old method : 0.0342555046081543 time for calcul the mask position with numpy : 0.007835865020751953 nb_pixel_total : 99195 time to create 1 rle with old method : 0.1173696517944336 create new chi : 0.37603020668029785 time to delete rle : 0.0003612041473388672 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 2712 TO DO : save crop sub photo not yet done ! save time : 0.18139910697937012 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.08220410346984863 time for calcul the mask position with numpy : 0.05874490737915039 nb_pixel_total : 1916052 time to create 1 rle with new method : 0.09288454055786133 time for calcul the mask position with numpy : 0.007402896881103516 nb_pixel_total : 104546 time to create 1 rle with old method : 0.12166261672973633 time for calcul the mask position with numpy : 0.006966590881347656 nb_pixel_total : 53002 time to create 1 rle with old method : 0.06139874458312988 create new chi : 0.35840368270874023 time to delete rle : 0.0004303455352783203 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2558 TO DO : save crop sub photo not yet done ! save time : 0.1697063446044922 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.07008647918701172 time for calcul the mask position with numpy : 0.054666757583618164 nb_pixel_total : 1969304 time to create 1 rle with new method : 0.34505462646484375 time for calcul the mask position with numpy : 0.006317615509033203 nb_pixel_total : 7021 time to create 1 rle with old method : 0.008234262466430664 time for calcul the mask position with numpy : 0.006875038146972656 nb_pixel_total : 97275 time to create 1 rle with old method : 0.11214303970336914 create new chi : 0.5428013801574707 time to delete rle : 0.00033402442932128906 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2238 TO DO : save crop sub photo not yet done ! save time : 0.15434718132019043 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03348731994628906 time for calcul the mask position with numpy : 0.28557801246643066 nb_pixel_total : 2069813 time to create 1 rle with new method : 0.07265543937683105 time for calcul the mask position with numpy : 0.006602048873901367 nb_pixel_total : 3787 time to create 1 rle with old method : 0.004550457000732422 create new chi : 0.3796377182006836 time to delete rle : 0.00026297569274902344 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1190 TO DO : save crop sub photo not yet done ! save time : 0.10883212089538574 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03776049613952637 time for calcul the mask position with numpy : 0.072357177734375 nb_pixel_total : 1981575 time to create 1 rle with new method : 0.09014010429382324 time for calcul the mask position with numpy : 0.007221221923828125 nb_pixel_total : 92025 time to create 1 rle with old method : 0.10895538330078125 create new chi : 0.2889256477355957 time to delete rle : 0.0003707408905029297 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2150 TO DO : save crop sub photo not yet done ! save time : 0.14877057075500488 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1984562873840332 time for calcul the mask position with numpy : 0.07095479965209961 nb_pixel_total : 1963647 time to create 1 rle with new method : 0.15387916564941406 time for calcul the mask position with numpy : 0.0068051815032958984 nb_pixel_total : 2295 time to create 1 rle with old method : 0.0027997493743896484 time for calcul the mask position with numpy : 0.007282257080078125 nb_pixel_total : 7677 time to create 1 rle with old method : 0.011662483215332031 time for calcul the mask position with numpy : 0.007398366928100586 nb_pixel_total : 99981 time to create 1 rle with old method : 0.11870455741882324 create new chi : 0.3900730609893799 time to delete rle : 0.00047326087951660156 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2492 TO DO : save crop sub photo not yet done ! save time : 0.15793681144714355 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04532647132873535 time for calcul the mask position with numpy : 0.09480619430541992 nb_pixel_total : 1932311 time to create 1 rle with new method : 0.17036032676696777 time for calcul the mask position with numpy : 0.00687098503112793 nb_pixel_total : 21609 time to create 1 rle with old method : 0.025357723236083984 time for calcul the mask position with numpy : 0.007366657257080078 nb_pixel_total : 119680 time to create 1 rle with old method : 0.14659714698791504 create new chi : 0.4611549377441406 time to delete rle : 0.0003974437713623047 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2448 TO DO : save crop sub photo not yet done ! save time : 0.17800474166870117 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04236197471618652 time for calcul the mask position with numpy : 0.04361462593078613 nb_pixel_total : 1953399 time to create 1 rle with new method : 0.2459123134613037 time for calcul the mask position with numpy : 0.0077664852142333984 nb_pixel_total : 7682 time to create 1 rle with old method : 0.009046316146850586 time for calcul the mask position with numpy : 0.007143735885620117 nb_pixel_total : 112519 time to create 1 rle with old method : 0.1377873420715332 create new chi : 0.4619581699371338 time to delete rle : 0.0005276203155517578 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2384 TO DO : save crop sub photo not yet done ! save time : 0.15158963203430176 map_output_result : {1391241247: (0.0, 'Should be the crop_list due to order', 0), 1391235654: (0.0, 'Should be the crop_list due to order', 0), 1391235648: (0.0, 'Should be the crop_list due to order', 0), 1391233695: (0.0, 'Should be the crop_list due to order', 0), 1391233619: (0.0, 'Should be the crop_list due to order', 0), 1391233054: (0.0, 'Should be the crop_list due to order', 0), 1391233020: (0.0, 'Should be the crop_list due to order', 0), 1391232978: (0.0, 'Should be the crop_list due to order', 0), 1391232920: (0.0, 'Should be the crop_list due to order', 0), 1391232843: (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 [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] Looping around the photos to save general results len do output : 10 /1391241247.Didn't retrieve data . /1391235654.Didn't retrieve data . /1391235648.Didn't retrieve data . /1391233695.Didn't retrieve data . /1391233619.Didn't retrieve data . /1391233054.Didn't retrieve data . /1391233020.Didn't retrieve data . /1391232978.Didn't retrieve data . /1391232920.Didn't retrieve data . /1391232843.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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01101541519165039 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.304775714874268 time spend to save output : 0.011497259140014648 total time spend for step 3 : 7.316272974014282 step4:ventilate_hashtags_in_portfolio Fri Oct 31 16:41:13 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 : 28031590 get user id for portfolio 28031590 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`=28031590 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','autre','pet_fonce','metal','environnement','flou','mal_croppe','carton','background')) 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`=28031590 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','autre','pet_fonce','metal','environnement','flou','mal_croppe','carton','background')) 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`=28031590 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','papier','pet_clair','autre','pet_fonce','metal','environnement','flou','mal_croppe','carton','background')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28031831,28031832,28031833,28031834,28031835,28031836,28031837,28031838,28031839,28031840,28031841?tags=pehd,papier,pet_clair,autre,pet_fonce,metal,environnement,flou,mal_croppe,carton,background Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] Looping around the photos to save general results len do output : 1 /28031590. 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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.011402130126953125 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6588613986968994 time spend to save output : 0.011866092681884766 total time spend for step 4 : 1.6707274913787842 step5:final Fri Oct 31 16:41:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1391241247: ('0.04771098572530864',), 1391235654: ('0.04771098572530864',), 1391235648: ('0.04771098572530864',), 1391233695: ('0.04771098572530864',), 1391233619: ('0.04771098572530864',), 1391233054: ('0.04771098572530864',), 1391233020: ('0.04771098572530864',), 1391232978: ('0.04771098572530864',), 1391232920: ('0.04771098572530864',), 1391232843: ('0.04771098572530864',)} new output for save of step final : {1391241247: ('0.04771098572530864',), 1391235654: ('0.04771098572530864',), 1391235648: ('0.04771098572530864',), 1391233695: ('0.04771098572530864',), 1391233619: ('0.04771098572530864',), 1391233054: ('0.04771098572530864',), 1391233020: ('0.04771098572530864',), 1391232978: ('0.04771098572530864',), 1391232920: ('0.04771098572530864',), 1391232843: ('0.04771098572530864',)} [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] Looping around the photos to save general results len do output : 10 /1391241247.Didn't retrieve data . /1391235654.Didn't retrieve data . /1391235648.Didn't retrieve data . /1391233695.Didn't retrieve data . /1391233619.Didn't retrieve data . /1391233054.Didn't retrieve data . /1391233020.Didn't retrieve data . /1391232978.Didn't retrieve data . /1391232920.Didn't retrieve data . /1391232843.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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.012076139450073242 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11720728874206543 time spend to save output : 0.012682676315307617 total time spend for step 5 : 0.12988996505737305 step6:blur_detection Fri Oct 31 16:41:15 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487.jpg resize: (1080, 1920) 1391241247 -1.0334178099895184 treat image : temp/1761925229_1951838_1391235654_247cbbe953e36d37c3ea5d8ca80cd674.jpg resize: (1080, 1920) 1391235654 -4.231863437145205 treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690.jpg resize: (1080, 1920) 1391235648 -4.458205479283445 treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8.jpg resize: (1080, 1920) 1391233695 -1.4593515835749686 treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16.jpg resize: (1080, 1920) 1391233619 -2.9455728728272446 treat image : temp/1761925229_1951838_1391233054_cbff5f59761c655f92059adc43ae9bcb.jpg resize: (1080, 1920) 1391233054 -2.170774287390734 treat image : temp/1761925229_1951838_1391233020_e32937e81482bfa0b9f2cca1fb9bf230.jpg resize: (1080, 1920) 1391233020 1.72937774483282 treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44.jpg resize: (1080, 1920) 1391232978 -1.72546474651893 treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f.jpg resize: (1080, 1920) 1391232920 -2.3961352298050542 treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6.jpg resize: (1080, 1920) 1391232843 -2.93609918158416 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462884_0.png resize: (173, 247) 1391267535 -1.9905384737343834 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462887_0.png resize: (112, 152) 1391267537 -1.8665767013515262 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462886_0.png resize: (49, 85) 1391267538 2.9998924227080894 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462883_0.png resize: (133, 343) 1391267539 -0.7842940880057563 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462882_0.png resize: (144, 172) 1391267540 -0.38559245156280814 treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462885_0.png resize: (146, 244) 1391267542 -1.3828717929978223 treat image : temp/1761925229_1951838_1391233054_cbff5f59761c655f92059adc43ae9bcb_rle_crop_4010462895_0.png resize: (53, 120) 1391267543 -1.816285073273379 treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462899_0.png resize: (41, 85) 1391267544 -1.070643155221579 treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462903_0.png resize: (103, 96) 1391267545 -1.7108643650730986 treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462901_0.png resize: (147, 184) 1391267557 1.1347989137838417 treat image : temp/1761925229_1951838_1391235654_247cbbe953e36d37c3ea5d8ca80cd674_rle_crop_4010462888_0.png resize: (266, 155) 1391267585 -2.604781165785859 treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462890_0.png resize: (262, 153) 1391267586 -2.7566190369577472 treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462889_0.png resize: (528, 282) 1391267587 0.2721705088048323 treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462891_0.png resize: (152, 468) 1391267588 -1.004883249590103 treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462892_0.png resize: (579, 345) 1391267589 -0.1749594968471562 treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462894_0.png resize: (86, 139) 1391267590 -2.2293855944101577 treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462893_0.png resize: (489, 306) 1391267591 0.3892726908243378 treat image : temp/1761925229_1951838_1391233020_e32937e81482bfa0b9f2cca1fb9bf230_rle_crop_4010462896_0.png resize: (524, 317) 1391267592 0.19151852801966893 treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462897_0.png resize: (531, 334) 1391267593 0.5009529651774662 treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462898_0.png resize: (124, 149) 1391267594 -2.1701300318979615 treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462900_0.png resize: (544, 366) 1391267595 0.29950876325292286 treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462902_0.png resize: (545, 334) 1391267596 -0.18336231692257013 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 : 32 time used for this insertion : 0.010465145111083984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.010853052139282227 save missing photos in datou_result : time spend for datou_step_exec : 8.731570482254028 time spend to save output : 0.026601314544677734 total time spend for step 6 : 8.758171796798706 step7:brightness Fri Oct 31 16:41:23 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487.jpg treat image : temp/1761925229_1951838_1391235654_247cbbe953e36d37c3ea5d8ca80cd674.jpg treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690.jpg treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8.jpg treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16.jpg treat image : temp/1761925229_1951838_1391233054_cbff5f59761c655f92059adc43ae9bcb.jpg treat image : temp/1761925229_1951838_1391233020_e32937e81482bfa0b9f2cca1fb9bf230.jpg treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44.jpg treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f.jpg treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6.jpg treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462884_0.png treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462887_0.png treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462886_0.png treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462883_0.png treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462882_0.png treat image : temp/1761925229_1951838_1391241247_8d29578eea45ca8f971155ea3342f487_rle_crop_4010462885_0.png treat image : temp/1761925229_1951838_1391233054_cbff5f59761c655f92059adc43ae9bcb_rle_crop_4010462895_0.png treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462899_0.png treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462903_0.png treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462901_0.png treat image : temp/1761925229_1951838_1391235654_247cbbe953e36d37c3ea5d8ca80cd674_rle_crop_4010462888_0.png treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462890_0.png treat image : temp/1761925229_1951838_1391235648_887b32a739f2784704a1f36c9576e690_rle_crop_4010462889_0.png treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462891_0.png treat image : temp/1761925229_1951838_1391233695_d6e37c0e703801d23ce41dfc3c396ba8_rle_crop_4010462892_0.png treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462894_0.png treat image : temp/1761925229_1951838_1391233619_5292ab20e85fb7c06deeb5000407af16_rle_crop_4010462893_0.png treat image : temp/1761925229_1951838_1391233020_e32937e81482bfa0b9f2cca1fb9bf230_rle_crop_4010462896_0.png treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462897_0.png treat image : temp/1761925229_1951838_1391232978_23d47f254bdbf9d9ee606d0109521c44_rle_crop_4010462898_0.png treat image : temp/1761925229_1951838_1391232920_45276568f417ba587da5ecb9a090084f_rle_crop_4010462900_0.png treat image : temp/1761925229_1951838_1391232843_3dc5008403c755e04276b8e0c34cd2f6_rle_crop_4010462902_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 : 32 time used for this insertion : 0.011365413665771484 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 32 time used for this insertion : 0.010927677154541016 save missing photos in datou_result : time spend for datou_step_exec : 2.4339981079101562 time spend to save output : 0.026846647262573242 total time spend for step 7 : 2.4608447551727295 step8:velours_tree Fri Oct 31 16:41:26 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.1633589267730713 time spend to save output : 5.030632019042969e-05 total time spend for step 8 : 0.16340923309326172 step9:send_mail_cod Fri Oct 31 16:41:26 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_P28031590_31-10-2025_16_41_26.pdf 28031831 imagette280318311761925286 28031832 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 .imagette280318321761925286 28031833 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 .imagette280318331761925287 28031834 imagette280318341761925288 28031835 imagette280318351761925288 28031836 imagette280318361761925288 28031838 imagette280318381761925288 28031839 imagette280318391761925288 28031840 change filename to text .imagette280318401761925288 28031841 imagette280318411761925288 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28031590 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28031831,28031832,28031833,28031834,28031835,28031836,28031837,28031838,28031839,28031840,28031841?tags=pehd,papier,pet_clair,autre,pet_fonce,metal,environnement,flou,mal_croppe,carton,background args[1391241247] : ((1391241247, -1.0334178099895184, 492688767), (1391241247, 0.15536104529791878, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391235654] : ((1391235654, -4.231863437145205, 492609224), (1391235654, -0.005050174814738336, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391235648] : ((1391235648, -4.458205479283445, 492609224), (1391235648, 0.247856560343814, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391233695] : ((1391233695, -1.4593515835749686, 492688767), (1391233695, 0.5776407395716509, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391233619] : ((1391233619, -2.9455728728272446, 492609224), (1391233619, 0.20744918434928228, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391233054] : ((1391233054, -2.170774287390734, 492609224), (1391233054, 0.6619457155596764, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391233020] : ((1391233020, 1.72937774483282, 492688767), (1391233020, 0.6335977230652058, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391232978] : ((1391232978, -1.72546474651893, 492688767), (1391232978, 0.8328322293018722, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391232920] : ((1391232920, -2.3961352298050542, 492609224), (1391232920, 0.27645502970140545, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com args[1391232843] : ((1391232843, -2.93609918158416, 492609224), (1391232843, 0.13053637225760176, 2107752395), '0.04771098572530864') We are sending mail with results at report@fotonower.com refus_total : 0.04771098572530864 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=28031590 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_P28031590_31-10-2025_16_41_26.pdf results_Auto_P28031590_31-10-2025_16_41_26.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28031590_31-10-2025_16_41_26.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','28031590','results_Auto_P28031590_31-10-2025_16_41_26.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28031590_31-10-2025_16_41_26.pdf','pdf','','0.22','0.04771098572530864') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28031590

https://www.fotonower.com/image?json=false&list_photos_id=1391241247
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391235654
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391235648
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391233695
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391233619
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391233054
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391233020
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.72937774483282)
https://www.fotonower.com/image?json=false&list_photos_id=1391232978
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391232920
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1391232843
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28031832?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28031833?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/28031840?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28031590_31-10-2025_16_41_26.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28031831,28031832,28031833,28031834,28031835,28031836,28031837,28031838,28031839,28031840,28031841?tags=pehd,papier,pet_clair,autre,pet_fonce,metal,environnement,flou,mal_croppe,carton,background.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 31 Oct 2025 15:41:30 GMT Content-Length: 0 Connection: close X-Message-Id: gkEVXNI-Q--ykBCKrXve4A 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 [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] 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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.011289834976196289 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4591150283813477 time spend to save output : 0.01160883903503418 total time spend for step 9 : 3.470723867416382 step10:split_time_score Fri Oct 31 16:41:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('15', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31102025 28031590 Nombre de photos uploadées : 10 / 23040 (0%) 31102025 28031590 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 31102025 28031590 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005555152893066406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.19087433815002441 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.29787145543981486 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006911_31-10-2025_15_21_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006911 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`=28006911 AND mptpi.`type`=3594 To do Qualite : 0.043131775655864193 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012680_31-10-2025_12_11_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012680 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`=28012680 AND mptpi.`type`=3594 To do Qualite : 0.01856717785493827 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012681_31-10-2025_10_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012681 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`=28012681 AND mptpi.`type`=3594 To do Qualite : 0.044605776650047474 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012682_31-10-2025_14_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012682 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`=28012682 AND mptpi.`type`=3594 To do Qualite : 0.04771098572530864 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28031590_31-10-2025_16_41_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28031590 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`=28031590 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31102025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1391241247, 1391235654, 1391235648, 1391233695, 1391233619, 1391233054, 1391233020, 1391232978, 1391232920, 1391232843] Looping around the photos to save general results len do output : 1 /28031590Didn'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, '3975115') ('3318', '28031590', '1391241247', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235654', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391235648', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233695', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233619', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233054', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391233020', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232978', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232920', None, None, None, None, None, '3975115') ('3318', None, None, None, None, None, None, None, '3975115') ('3318', '28031590', '1391232843', None, None, None, None, None, '3975115') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.010622024536132812 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6563377380371094 time spend to save output : 0.01092219352722168 total time spend for step 10 : 0.667259931564331 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 35.80user 16.74system 1:04.55elapsed 81%CPU (0avgtext+0avgdata 2684696maxresident)k 506512inputs+14440outputs (72major+1418919minor)pagefaults 0swaps