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 : 69678 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 : ['4104363'] with mtr_portfolio_ids : ['28838794'] and first list_photo_ids : [] new path : /proc/69678/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 2.371737241744995 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 Mon Nov 24 17:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-11-24 17:50:36.329546: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-11-24 17:50:38.114696: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-11-24 17:50:38.117075: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7faaf0000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-11-24 17:50:38.117129: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-11-24 17:50:38.122561: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-11-24 17:50:38.519423: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0xebd8280 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-11-24 17:50:38.519469: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-11-24 17:50:38.521511: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 17:50:38.522921: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 17:50:38.554762: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 17:50:38.572062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 17:50:38.575601: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 17:50:38.606588: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 17:50:38.611421: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 17:50:38.666612: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 17:50:38.668720: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 17:50:38.669138: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 17:50:38.670938: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-24 17:50:38.670967: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-24 17:50:38.670981: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-24 17:50:38.673536: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-11-24 17:50:39.089469: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 17:50:39.089585: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 17:50:39.089603: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 17:50:39.089618: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 17:50:39.089632: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 17:50:39.089647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 17:50:39.089662: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 17:50:39.089677: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 17:50:39.090984: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 17:50:39.092217: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-11-24 17:50:39.092252: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-11-24 17:50:39.092268: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 17:50:39.092282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-11-24 17:50:39.092295: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-11-24 17:50:39.092309: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-11-24 17:50:39.092322: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-11-24 17:50:39.092336: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-11-24 17:50:39.093606: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-11-24 17:50:39.093641: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-11-24 17:50:39.093649: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-11-24 17:50:39.093657: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-11-24 17:50:39.094944: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-11-24 17:50:47.973830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-11-24 17:50:48.332766: 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 : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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: 35.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.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: 27.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: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 41.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 2 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 Detection mask done ! Trying to reset tf kernel 70949 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5706 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 10998 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] DEBUG bbox = [921, 1212, 1080, 1506] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0007328987121582031 nb_pixel_total : 25045 time to create 1 rle with old method : 0.029059171676635742 length of segment : 152 DEBUG bbox = [51, 1053, 237, 1164] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002288818359375 nb_pixel_total : 13186 time to create 1 rle with old method : 0.014125347137451172 length of segment : 185 DEBUG bbox = [12, 1452, 180, 1602] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0002579689025878906 nb_pixel_total : 17889 time to create 1 rle with old method : 0.019248008728027344 length of segment : 161 DEBUG bbox = [543, 1533, 1080, 1911] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.002115964889526367 nb_pixel_total : 110827 time to create 1 rle with old method : 0.12297892570495605 length of segment : 520 DEBUG bbox = [12, 1266, 168, 1386] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00023818016052246094 nb_pixel_total : 10213 time to create 1 rle with old method : 0.011536121368408203 length of segment : 146 DEBUG bbox = [390, 1455, 483, 1527] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00010251998901367188 nb_pixel_total : 4098 time to create 1 rle with old method : 0.004692554473876953 length of segment : 86 DEBUG bbox = [0, 0, 933, 1014] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.022072792053222656 nb_pixel_total : 727366 time to create 1 rle with new method : 0.2818901538848877 length of segment : 911 DEBUG bbox = [495, 1530, 1050, 1905] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0015294551849365234 nb_pixel_total : 111875 time to create 1 rle with old method : 0.11587905883789062 length of segment : 511 DEBUG bbox = [51, 21, 1008, 1749] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0673060417175293 nb_pixel_total : 1143063 time to create 1 rle with new method : 0.08261799812316895 length of segment : 1426 DEBUG bbox = [0, 0, 936, 936] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.008453369140625 nb_pixel_total : 605201 time to create 1 rle with new method : 0.03604459762573242 length of segment : 1229 DEBUG bbox = [66, 1257, 213, 1293] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.00029468536376953125 nb_pixel_total : 3585 time to create 1 rle with old method : 0.003834962844848633 length of segment : 144 DEBUG bbox = [525, 1518, 1074, 1899] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0026874542236328125 nb_pixel_total : 107353 time to create 1 rle with old method : 0.1103367805480957 length of segment : 540 DEBUG bbox = [336, 1005, 489, 1092] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0003294944763183594 nb_pixel_total : 9105 time to create 1 rle with old method : 0.009803533554077148 length of segment : 148 DEBUG bbox = [0, 258, 1080, 1722] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0619664192199707 nb_pixel_total : 1388037 time to create 1 rle with new method : 0.06420445442199707 length of segment : 1300 DEBUG bbox = [27, 1356, 273, 1488] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.0005137920379638672 nb_pixel_total : 10756 time to create 1 rle with old method : 0.011664867401123047 length of segment : 212 DEBUG bbox = [9, 0, 1050, 1179] DEBUG masks shape = (1080, 1920) time for calcul the mask position with numpy : 0.012904644012451172 nb_pixel_total : 800092 time to create 1 rle with new method : 0.07793521881103516 length of segment : 1056 time spent for convertir_results : 2.746053695678711 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 16 chid ids of type : 3594 Number RLEs to save : 8727 save missing photos in datou_result : time spend for datou_step_exec : 29.626303911209106 time spend to save output : 0.6128330230712891 total time spend for step 1 : 30.239136934280396 step2:crop_condition Mon Nov 24 17:51:02 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 : 15 ! batch 1 Loaded 16 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 ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764003063_69678 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(1764003064), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893500_0.png', 0, 69, 86, 0, 1764003064,'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(1764003064), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893505_0.png', 0, 34, 144, 0, 1764003064,'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(1764003064), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919201_aed48637172580a23113cf93b057ac35_rle_crop_4043893509_0.png', 0, 111, 211, 0, 1764003064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.9950525760650635 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1764003084_69678 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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893496_0.png', 0, 100, 185, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893495_0.png', 0, 258, 139, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893497_0.png', 0, 146, 146, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919449_6a4c21bd16bb4456505d8401ff4b6419_rle_crop_4043893498_0.png', 0, 344, 514, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893499_0.png', 0, 97, 146, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919254_ac346dec27dadc94ad8d648583ab8873_rle_crop_4043893501_0.png', 0, 996, 908, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893503_0.png', 0, 1717, 955, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893502_0.png', 0, 357, 511, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893504_0.png', 0, 909, 913, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919244_4a110703e6f6ecc8e67731faa20cf5ce_rle_crop_4043893506_0.png', 0, 340, 534, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919206_62a1d045b1dc39193821eae5da3e47b2_rle_crop_4043893507_0.png', 0, 82, 148, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919203_47e7c3ad0b813ccb76935ee1197a6e8e_rle_crop_4043893508_0.png', 0, 1463, 1011, 0, 1764003087,'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(1764003087), 0.0, 0.0, 14, '', 0, 0, '1764003030_69678_1395919199_0ba131e76ac53f0f29a9d21dc9fa35cd_rle_crop_4043893510_0.png', 0, 1152, 988, 0, 1764003087,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.4061453342437744 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 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 [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] Looping around the photos to save general results len do output : 16 /1395933167Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933168Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933169Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933183Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933184Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933185Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933186Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933187Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933188Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933189Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933190Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933191Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1395933192Didn'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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 63 time used for this insertion : 0.02130913734436035 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.32857847213745 time spend to save output : 0.02231884002685547 total time spend for step 2 : 25.350897312164307 step3:rle_unique_nms_with_priority Mon Nov 24 17:51:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 16 chid ids of type : 3594 +++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.36226391792297363 time for calcul the mask position with numpy : 0.0768275260925293 nb_pixel_total : 2017480 time to create 1 rle with new method : 0.09368205070495605 time for calcul the mask position with numpy : 0.006036281585693359 nb_pixel_total : 17889 time to create 1 rle with old method : 0.01856088638305664 time for calcul the mask position with numpy : 0.005663633346557617 nb_pixel_total : 13186 time to create 1 rle with old method : 0.013538599014282227 time for calcul the mask position with numpy : 0.005789995193481445 nb_pixel_total : 25045 time to create 1 rle with old method : 0.026615381240844727 create new chi : 0.2566256523132324 time to delete rle : 0.04147219657897949 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2076 TO DO : save crop sub photo not yet done ! save time : 0.19300103187561035 No data in photo_id : 1395919452 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.1317429542541504 time for calcul the mask position with numpy : 0.06428337097167969 nb_pixel_total : 1962773 time to create 1 rle with new method : 0.36348485946655273 time for calcul the mask position with numpy : 0.006497383117675781 nb_pixel_total : 110827 time to create 1 rle with old method : 0.11834859848022461 create new chi : 0.5595667362213135 time to delete rle : 0.00032782554626464844 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2120 TO DO : save crop sub photo not yet done ! save time : 0.1978011131286621 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05199122428894043 time for calcul the mask position with numpy : 0.09580874443054199 nb_pixel_total : 2059289 time to create 1 rle with new method : 0.09540009498596191 time for calcul the mask position with numpy : 0.006371736526489258 nb_pixel_total : 4098 time to create 1 rle with old method : 0.007696628570556641 time for calcul the mask position with numpy : 0.006645679473876953 nb_pixel_total : 10213 time to create 1 rle with old method : 0.011454582214355469 create new chi : 0.2345893383026123 time to delete rle : 0.00029468536376953125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1544 TO DO : save crop sub photo not yet done ! save time : 0.16060709953308105 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03588747978210449 time for calcul the mask position with numpy : 0.015587091445922852 nb_pixel_total : 1346234 time to create 1 rle with new method : 0.09786748886108398 time for calcul the mask position with numpy : 0.012983083724975586 nb_pixel_total : 727366 time to create 1 rle with new method : 2.0670700073242188 create new chi : 2.2042038440704346 time to delete rle : 0.00028777122497558594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2902 TO DO : save crop sub photo not yet done ! save time : 0.23313355445861816 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.13449859619140625 time for calcul the mask position with numpy : 0.012110710144042969 nb_pixel_total : 818662 time to create 1 rle with new method : 0.08538460731506348 time for calcul the mask position with numpy : 0.07760286331176758 nb_pixel_total : 1143063 time to create 1 rle with new method : 0.08019590377807617 time for calcul the mask position with numpy : 0.006622791290283203 nb_pixel_total : 111875 time to create 1 rle with old method : 0.11837267875671387 create new chi : 0.3951528072357178 time to delete rle : 0.0005834102630615234 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4954 TO DO : save crop sub photo not yet done ! save time : 0.37149643898010254 No data in photo_id : 1395919250 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.06377840042114258 time for calcul the mask position with numpy : 0.06495904922485352 nb_pixel_total : 1464814 time to create 1 rle with new method : 0.10222578048706055 time for calcul the mask position with numpy : 0.005945682525634766 nb_pixel_total : 3585 time to create 1 rle with old method : 0.00394129753112793 time for calcul the mask position with numpy : 0.010541439056396484 nb_pixel_total : 605201 time to create 1 rle with new method : 0.07716846466064453 create new chi : 0.27460789680480957 time to delete rle : 0.0003345012664794922 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3826 TO DO : save crop sub photo not yet done ! save time : 0.2958531379699707 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03849291801452637 time for calcul the mask position with numpy : 0.09388279914855957 nb_pixel_total : 1966247 time to create 1 rle with new method : 0.09249639511108398 time for calcul the mask position with numpy : 0.00681304931640625 nb_pixel_total : 107353 time to create 1 rle with old method : 0.11281871795654297 create new chi : 0.3156249523162842 time to delete rle : 0.00036835670471191406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2160 TO DO : save crop sub photo not yet done ! save time : 0.18226075172424316 No data in photo_id : 1395919240 No data in photo_id : 1395919211 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.08052611351013184 time for calcul the mask position with numpy : 0.14479494094848633 nb_pixel_total : 2064495 time to create 1 rle with new method : 0.08894109725952148 time for calcul the mask position with numpy : 0.005684375762939453 nb_pixel_total : 9105 time to create 1 rle with old method : 0.009155035018920898 create new chi : 0.29743194580078125 time to delete rle : 0.0006542205810546875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1376 TO DO : save crop sub photo not yet done ! save time : 0.14441490173339844 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04982566833496094 time for calcul the mask position with numpy : 0.01681828498840332 nb_pixel_total : 685563 time to create 1 rle with new method : 0.09215092658996582 time for calcul the mask position with numpy : 0.07166171073913574 nb_pixel_total : 1388037 time to create 1 rle with new method : 0.08410024642944336 create new chi : 0.28060317039489746 time to delete rle : 0.0005481243133544922 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 3680 TO DO : save crop sub photo not yet done ! save time : 0.29096508026123047 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.033731937408447266 time for calcul the mask position with numpy : 0.07884025573730469 nb_pixel_total : 2062844 time to create 1 rle with new method : 0.09534502029418945 time for calcul the mask position with numpy : 0.0067403316497802734 nb_pixel_total : 10756 time to create 1 rle with old method : 0.011624336242675781 create new chi : 0.2040424346923828 time to delete rle : 0.00033020973205566406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1504 TO DO : save crop sub photo not yet done ! save time : 0.15570521354675293 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03583049774169922 time for calcul the mask position with numpy : 0.0407106876373291 nb_pixel_total : 1273508 time to create 1 rle with new method : 0.1025390625 time for calcul the mask position with numpy : 0.011597633361816406 nb_pixel_total : 800092 time to create 1 rle with new method : 0.07965731620788574 create new chi : 0.24427342414855957 time to delete rle : 0.0003113746643066406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3192 TO DO : save crop sub photo not yet done ! save time : 0.26690196990966797 map_output_result : {1395919455: (0.0, 'Should be the crop_list due to order', 0), 1395919452: (0.0, 'Should be the crop_list due to order', 0.0), 1395919449: (0.0, 'Should be the crop_list due to order', 0), 1395919425: (0.0, 'Should be the crop_list due to order', 0), 1395919254: (0.0, 'Should be the crop_list due to order', 0), 1395919252: (0.0, 'Should be the crop_list due to order', 0), 1395919250: (0.0, 'Should be the crop_list due to order', 0.0), 1395919247: (0.0, 'Should be the crop_list due to order', 0), 1395919244: (0.0, 'Should be the crop_list due to order', 0), 1395919240: (0.0, 'Should be the crop_list due to order', 0.0), 1395919211: (0.0, 'Should be the crop_list due to order', 0.0), 1395919206: (0.0, 'Should be the crop_list due to order', 0), 1395919203: (0.0, 'Should be the crop_list due to order', 0), 1395919201: (0.0, 'Should be the crop_list due to order', 0), 1395919199: (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 [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] Looping around the photos to save general results len do output : 15 /1395919455.Didn't retrieve data . /1395919452.Didn't retrieve data . /1395919449.Didn't retrieve data . /1395919425.Didn't retrieve data . /1395919254.Didn't retrieve data . /1395919252.Didn't retrieve data . /1395919250.Didn't retrieve data . /1395919247.Didn't retrieve data . /1395919244.Didn't retrieve data . /1395919240.Didn't retrieve data . /1395919211.Didn't retrieve data . /1395919206.Didn't retrieve data . /1395919203.Didn't retrieve data . /1395919201.Didn't retrieve data . /1395919199.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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.016751766204833984 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.206707239151001 time spend to save output : 0.017253637313842773 total time spend for step 3 : 9.223960876464844 step4:ventilate_hashtags_in_portfolio Mon Nov 24 17:51:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28838794 get user id for portfolio 28838794 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`=28838794 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pet_fonce','metal','pehd','autre','background','carton','environnement','papier','pet_clair','flou')) 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`=28838794 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pet_fonce','metal','pehd','autre','background','carton','environnement','papier','pet_clair','flou')) 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`=28838794 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','pet_fonce','metal','pehd','autre','background','carton','environnement','papier','pet_clair','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28839228,28839229,28839230,28839231,28839232,28839233,28839234,28839235,28839236,28839237,28839238?tags=mal_croppe,pet_fonce,metal,pehd,autre,background,carton,environnement,papier,pet_clair,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] Looping around the photos to save general results len do output : 1 /28838794. 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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.019684314727783203 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9920015335083008 time spend to save output : 0.019960641860961914 total time spend for step 4 : 2.0119621753692627 step5:final Mon Nov 24 17:51:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1395919455: ('0.16357031249999998',), 1395919452: ('0.16357031249999998',), 1395919449: ('0.16357031249999998',), 1395919425: ('0.16357031249999998',), 1395919254: ('0.16357031249999998',), 1395919252: ('0.16357031249999998',), 1395919250: ('0.16357031249999998',), 1395919247: ('0.16357031249999998',), 1395919244: ('0.16357031249999998',), 1395919240: ('0.16357031249999998',), 1395919211: ('0.16357031249999998',), 1395919206: ('0.16357031249999998',), 1395919203: ('0.16357031249999998',), 1395919201: ('0.16357031249999998',), 1395919199: ('0.16357031249999998',)} new output for save of step final : {1395919455: ('0.16357031249999998',), 1395919452: ('0.16357031249999998',), 1395919449: ('0.16357031249999998',), 1395919425: ('0.16357031249999998',), 1395919254: ('0.16357031249999998',), 1395919252: ('0.16357031249999998',), 1395919250: ('0.16357031249999998',), 1395919247: ('0.16357031249999998',), 1395919244: ('0.16357031249999998',), 1395919240: ('0.16357031249999998',), 1395919211: ('0.16357031249999998',), 1395919206: ('0.16357031249999998',), 1395919203: ('0.16357031249999998',), 1395919201: ('0.16357031249999998',), 1395919199: ('0.16357031249999998',)} [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] Looping around the photos to save general results len do output : 15 /1395919455.Didn't retrieve data . /1395919452.Didn't retrieve data . /1395919449.Didn't retrieve data . /1395919425.Didn't retrieve data . /1395919254.Didn't retrieve data . /1395919252.Didn't retrieve data . /1395919250.Didn't retrieve data . /1395919247.Didn't retrieve data . /1395919244.Didn't retrieve data . /1395919240.Didn't retrieve data . /1395919211.Didn't retrieve data . /1395919206.Didn't retrieve data . /1395919203.Didn't retrieve data . /1395919201.Didn't retrieve data . /1395919199.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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.02105998992919922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14827728271484375 time spend to save output : 0.02181077003479004 total time spend for step 5 : 0.1700880527496338 step6:blur_detection Mon Nov 24 17:51:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: ratio et variance treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d.jpg resize: (1080, 1920) 1395919455 -2.2679056968171483 treat image : temp/1764003030_69678_1395919452_ee37cabfe2a4746c98cb59ca078d073d.jpg resize: (1080, 1920) 1395919452 -1.7833857759065872 treat image : temp/1764003030_69678_1395919449_6a4c21bd16bb4456505d8401ff4b6419.jpg resize: (1080, 1920) 1395919449 -1.7387873343651552 treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af.jpg resize: (1080, 1920) 1395919425 -2.1923483776918435 treat image : temp/1764003030_69678_1395919254_ac346dec27dadc94ad8d648583ab8873.jpg resize: (1080, 1920) 1395919254 -0.7147555713427114 treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c.jpg resize: (1080, 1920) 1395919252 -2.0045129026749016 treat image : temp/1764003030_69678_1395919250_05bf60433ec87c440a179adca59338ef.jpg resize: (1080, 1920) 1395919250 -1.0708584101444518 treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6.jpg resize: (1080, 1920) 1395919247 0.1323919885287761 treat image : temp/1764003030_69678_1395919244_4a110703e6f6ecc8e67731faa20cf5ce.jpg resize: (1080, 1920) 1395919244 -2.1219181924994657 treat image : temp/1764003030_69678_1395919240_fc80886b647152c6a9818295b7c2b68c.jpg resize: (1080, 1920) 1395919240 -2.3496990292100137 treat image : temp/1764003030_69678_1395919211_b030e8286b260767910e5a475db384c1.jpg resize: (1080, 1920) 1395919211 -1.1333451762300617 treat image : temp/1764003030_69678_1395919206_62a1d045b1dc39193821eae5da3e47b2.jpg resize: (1080, 1920) 1395919206 -1.224697504653353 treat image : temp/1764003030_69678_1395919203_47e7c3ad0b813ccb76935ee1197a6e8e.jpg resize: (1080, 1920) 1395919203 -1.8730744315262966 treat image : temp/1764003030_69678_1395919201_aed48637172580a23113cf93b057ac35.jpg resize: (1080, 1920) 1395919201 -1.739295280940612 treat image : temp/1764003030_69678_1395919199_0ba131e76ac53f0f29a9d21dc9fa35cd.jpg resize: (1080, 1920) 1395919199 -1.3376646155733305 treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893500_0.png resize: (86, 69) 1395933167 -1.0470868325136 treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893505_0.png resize: (144, 34) 1395933168 -0.523593567735025 treat image : temp/1764003030_69678_1395919201_aed48637172580a23113cf93b057ac35_rle_crop_4043893509_0.png resize: (211, 111) 1395933169 -1.3260911722106694 treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893496_0.png resize: (185, 100) 1395933180 -3.175623766268594 treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893495_0.png resize: (139, 258) 1395933181 -2.7373563290047964 treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893497_0.png resize: (146, 146) 1395933182 -0.11993842363976764 treat image : temp/1764003030_69678_1395919449_6a4c21bd16bb4456505d8401ff4b6419_rle_crop_4043893498_0.png resize: (514, 344) 1395933183 0.33036958021104335 treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893499_0.png resize: (146, 97) 1395933184 -3.4998479596787297 treat image : temp/1764003030_69678_1395919254_ac346dec27dadc94ad8d648583ab8873_rle_crop_4043893501_0.png resize: (908, 996) 1395933185 1.1592913469193604 treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893503_0.png resize: (955, 1717) 1395933186 -0.48301488694421807 treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893502_0.png resize: (511, 357) 1395933187 -0.14244296386349692 treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893504_0.png resize: (913, 909) 1395933188 0.7051801503464753 treat image : temp/1764003030_69678_1395919244_4a110703e6f6ecc8e67731faa20cf5ce_rle_crop_4043893506_0.png resize: (534, 340) 1395933189 -0.3192022555511701 treat image : temp/1764003030_69678_1395919206_62a1d045b1dc39193821eae5da3e47b2_rle_crop_4043893507_0.png resize: (148, 82) 1395933190 -1.4728182101320306 treat image : temp/1764003030_69678_1395919203_47e7c3ad0b813ccb76935ee1197a6e8e_rle_crop_4043893508_0.png resize: (1011, 1463) 1395933191 -2.27393414163458 treat image : temp/1764003030_69678_1395919199_0ba131e76ac53f0f29a9d21dc9fa35cd_rle_crop_4043893510_0.png resize: (988, 1152) 1395933192 0.2679176350802321 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 : 31 time used for this insertion : 0.01884937286376953 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.01922917366027832 save missing photos in datou_result : time spend for datou_step_exec : 14.196551084518433 time spend to save output : 0.04439806938171387 total time spend for step 6 : 14.240949153900146 step7:brightness Mon Nov 24 17:51:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d.jpg treat image : temp/1764003030_69678_1395919452_ee37cabfe2a4746c98cb59ca078d073d.jpg treat image : temp/1764003030_69678_1395919449_6a4c21bd16bb4456505d8401ff4b6419.jpg treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af.jpg treat image : temp/1764003030_69678_1395919254_ac346dec27dadc94ad8d648583ab8873.jpg treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c.jpg treat image : temp/1764003030_69678_1395919250_05bf60433ec87c440a179adca59338ef.jpg treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6.jpg treat image : temp/1764003030_69678_1395919244_4a110703e6f6ecc8e67731faa20cf5ce.jpg treat image : temp/1764003030_69678_1395919240_fc80886b647152c6a9818295b7c2b68c.jpg treat image : temp/1764003030_69678_1395919211_b030e8286b260767910e5a475db384c1.jpg treat image : temp/1764003030_69678_1395919206_62a1d045b1dc39193821eae5da3e47b2.jpg treat image : temp/1764003030_69678_1395919203_47e7c3ad0b813ccb76935ee1197a6e8e.jpg treat image : temp/1764003030_69678_1395919201_aed48637172580a23113cf93b057ac35.jpg treat image : temp/1764003030_69678_1395919199_0ba131e76ac53f0f29a9d21dc9fa35cd.jpg treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893500_0.png treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893505_0.png treat image : temp/1764003030_69678_1395919201_aed48637172580a23113cf93b057ac35_rle_crop_4043893509_0.png treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893496_0.png treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893495_0.png treat image : temp/1764003030_69678_1395919455_3a46af4c2fcb2979cfb702e4ae4fad7d_rle_crop_4043893497_0.png treat image : temp/1764003030_69678_1395919449_6a4c21bd16bb4456505d8401ff4b6419_rle_crop_4043893498_0.png treat image : temp/1764003030_69678_1395919425_cd607b7e6ca7084ae32a836dfb8c76af_rle_crop_4043893499_0.png treat image : temp/1764003030_69678_1395919254_ac346dec27dadc94ad8d648583ab8873_rle_crop_4043893501_0.png treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893503_0.png treat image : temp/1764003030_69678_1395919252_ed9391fbf5c51df2283ac5c5711e724c_rle_crop_4043893502_0.png treat image : temp/1764003030_69678_1395919247_8c6ff8a32ca5ab6283781525a0a204f6_rle_crop_4043893504_0.png treat image : temp/1764003030_69678_1395919244_4a110703e6f6ecc8e67731faa20cf5ce_rle_crop_4043893506_0.png treat image : temp/1764003030_69678_1395919206_62a1d045b1dc39193821eae5da3e47b2_rle_crop_4043893507_0.png treat image : temp/1764003030_69678_1395919203_47e7c3ad0b813ccb76935ee1197a6e8e_rle_crop_4043893508_0.png treat image : temp/1764003030_69678_1395919199_0ba131e76ac53f0f29a9d21dc9fa35cd_rle_crop_4043893510_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 : 31 time used for this insertion : 0.015811681747436523 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.015500545501708984 save missing photos in datou_result : time spend for datou_step_exec : 4.00960636138916 time spend to save output : 0.03836703300476074 total time spend for step 7 : 4.047973394393921 step8:velours_tree Mon Nov 24 17:51:57 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.22970223426818848 time spend to save output : 6.103515625e-05 total time spend for step 8 : 0.22976326942443848 step9:send_mail_cod Mon Nov 24 17:51:57 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_P28838794_24-11-2025_17_51_57.pdf 28839228 imagette288392281764003117 28839229 imagette288392291764003117 28839230 imagette288392301764003118 28839231 imagette288392311764003118 28839232 imagette288392321764003118 28839233 imagette288392331764003118 28839234 imagette288392341764003118 28839236 change filename to text .change filename to text .change filename to text .imagette288392361764003118 28839237 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette288392371764003118 28839238 imagette288392381764003119 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28838794 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28839228,28839229,28839230,28839231,28839232,28839233,28839234,28839235,28839236,28839237,28839238?tags=mal_croppe,pet_fonce,metal,pehd,autre,background,carton,environnement,papier,pet_clair,flou args[1395919455] : ((1395919455, -2.2679056968171483, 492609224), (1395919455, 0.5561694731182333, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919452] : ((1395919452, -1.7833857759065872, 492688767), (1395919452, 0.6922976780886428, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919449] : ((1395919449, -1.7387873343651552, 492688767), (1395919449, 0.6963398313658827, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919425] : ((1395919425, -2.1923483776918435, 492609224), (1395919425, 0.5456982741806891, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919254] : ((1395919254, -0.7147555713427114, 492688767), (1395919254, 0.6967877329041454, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919252] : ((1395919252, -2.0045129026749016, 492609224), (1395919252, 0.5226874010058543, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919250] : ((1395919250, -1.0708584101444518, 492688767), (1395919250, 0.7250851462690268, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919247] : ((1395919247, 0.1323919885287761, 492688767), (1395919247, 0.6153592029345535, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919244] : ((1395919244, -2.1219181924994657, 492609224), (1395919244, 0.7306037632239532, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919240] : ((1395919240, -2.3496990292100137, 492609224), (1395919240, 0.4436586661275942, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919211] : ((1395919211, -1.1333451762300617, 492688767), (1395919211, 0.34258978785341165, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919206] : ((1395919206, -1.224697504653353, 492688767), (1395919206, 0.5302329284740199, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919203] : ((1395919203, -1.8730744315262966, 492688767), (1395919203, 0.7723168608570443, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919201] : ((1395919201, -1.739295280940612, 492688767), (1395919201, 0.7448063614273093, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com args[1395919199] : ((1395919199, -1.3376646155733305, 492688767), (1395919199, 0.7943341315798144, 2107752395), '0.16357031249999998') We are sending mail with results at report@fotonower.com refus_total : 0.16357031249999998 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=28838794 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_P28838794_24-11-2025_17_51_57.pdf results_Auto_P28838794_24-11-2025_17_51_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28838794_24-11-2025_17_51_57.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','28838794','results_Auto_P28838794_24-11-2025_17_51_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28838794_24-11-2025_17_51_57.pdf','pdf','','0.63','0.16357031249999998') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/28838794

https://www.fotonower.com/image?json=false&list_photos_id=1395919455
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919452
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919449
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919425
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919254
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919252
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919250
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919247
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919244
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919240
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919211
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919206
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919203
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919201
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1395919199
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/28839236?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/28839237?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28838794_24-11-2025_17_51_57.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/28839228,28839229,28839230,28839231,28839232,28839233,28839234,28839235,28839236,28839237,28839238?tags=mal_croppe,pet_fonce,metal,pehd,autre,background,carton,environnement,papier,pet_clair,flou.


L'équipe Fotonower 202 b'' Date: Mon, 24 Nov 2025 16:52:01 GMT Content-Length: 0 Connection: close Server: nginx X-Message-Id: YQ3L9YF_Swe7IVIteX-uAg 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 [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] 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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.015407085418701172 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.783128261566162 time spend to save output : 0.01565384864807129 total time spend for step 9 : 3.7987821102142334 step10:split_time_score Mon Nov 24 17:52:01 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'}] (('16', 15),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24112025 28838794 Nombre de photos uploadées : 15 / 23040 (0%) 24112025 28838794 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 24112025 28838794 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 2.9098687171936035 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2630195617675781 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.1292190272955247 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828426_24-11-2025_14_21_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828426 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`=28828426 AND mptpi.`type`=3594 To do Qualite : 0.07383158114711934 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828428_24-11-2025_14_31_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828428 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`=28828428 AND mptpi.`type`=3594 To do Qualite : 0.07008904145622898 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828431_24-11-2025_13_52_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828431 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`=28828431 AND mptpi.`type`=3594 To do Qualite : 0.25237177426268853 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828433_24-11-2025_12_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828433 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`=28828433 AND mptpi.`type`=3594 To do Qualite : 0.021958550347222217 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828435_24-11-2025_12_41_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828435 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`=28828435 AND mptpi.`type`=3594 To do Qualite : 0.05147855581275721 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28828444_24-11-2025_12_11_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28828444 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`=28828444 AND mptpi.`type`=3594 To do Qualite : 0.030636240206552704 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28829905_24-11-2025_13_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28829905 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`=28829905 AND mptpi.`type`=3594 To do Qualite : 0.03575169994212963 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28829907_24-11-2025_13_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28829907 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`=28829907 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28838759 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28838789 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28838790 order by id desc limit 1 Qualite : 0.16357031249999998 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28838794_24-11-2025_17_51_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28838794 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`=28838794 AND mptpi.`type`=3594 To do Qualite : 0.08623340115989649 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28838796_24-11-2025_17_42_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28838796 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`=28838796 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24112025': {'nb_upload': 15, '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 [1395919455, 1395919452, 1395919449, 1395919425, 1395919254, 1395919252, 1395919250, 1395919247, 1395919244, 1395919240, 1395919211, 1395919206, 1395919203, 1395919201, 1395919199] Looping around the photos to save general results len do output : 1 /28838794Didn'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, '4104363') ('3318', '28838794', '1395919455', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919452', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919449', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919425', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919254', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919252', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919250', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919247', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919244', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919240', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919211', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919206', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919203', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919201', None, None, None, None, None, '4104363') ('3318', None, None, None, None, None, None, None, '4104363') ('3318', '28838794', '1395919199', None, None, None, None, None, '4104363') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.018635272979736328 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.16704511642456 time spend to save output : 0.018900156021118164 total time spend for step 10 : 9.185945272445679 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 57.81user 19.79system 1:45.01elapsed 73%CPU (0avgtext+0avgdata 2797488maxresident)k 2178720inputs+44208outputs (8662major+1686302minor)pagefaults 0swaps