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 : 4182848 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 : ['3669703'] with mtr_portfolio_ids : ['26574888'] and first list_photo_ids : [] new path : /proc/4182848/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.487401008605957 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Sep 5 12:20: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 : 6598 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-05 12:20:36.269330: 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-09-05 12:20:36.300599: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-05 12:20:36.302336: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7ff47c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-05 12:20:36.302382: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-05 12:20:36.306998: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-05 12:20:36.448081: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x144f7d80 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-05 12:20:36.448151: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-05 12:20:36.449200: 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-09-05 12:20:36.449631: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 12:20:36.454286: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 12:20:36.472306: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 12:20:36.474272: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 12:20:36.480033: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 12:20:36.482974: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 12:20:36.496129: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 12:20:36.497717: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 12:20:36.497853: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 12:20:36.498586: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 12:20:36.498604: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 12:20:36.498615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 12:20:36.500446: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6059 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-09-05 12:20:37.027615: 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-09-05 12:20:37.027750: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 12:20:37.027774: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 12:20:37.027793: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 12:20:37.027812: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 12:20:37.027830: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 12:20:37.027849: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 12:20:37.027868: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 12:20:37.029172: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 12:20:37.030641: 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-09-05 12:20:37.030719: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-05 12:20:37.030737: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 12:20:37.030752: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-05 12:20:37.030766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-05 12:20:37.030780: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-05 12:20:37.030794: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-05 12:20:37.030810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-05 12:20:37.031830: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-05 12:20:37.031878: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-05 12:20:37.031888: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-05 12:20:37.031896: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-05 12:20:37.033008: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6059 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-09-05 12:20:46.712389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-05 12:20:46.990473: 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 : 12 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: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 15 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 29.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 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: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 30.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.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 : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 6 Detection mask done ! Trying to reset tf kernel 4183494 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 15 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 5337 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0011241436004638672 nb_pixel_total : 32844 time to create 1 rle with old method : 0.04124116897583008 length of segment : 282 time for calcul the mask position with numpy : 0.00018143653869628906 nb_pixel_total : 7372 time to create 1 rle with old method : 0.012074708938598633 length of segment : 124 time for calcul the mask position with numpy : 0.00034117698669433594 nb_pixel_total : 16319 time to create 1 rle with old method : 0.019890546798706055 length of segment : 114 time for calcul the mask position with numpy : 0.00022482872009277344 nb_pixel_total : 10076 time to create 1 rle with old method : 0.01229238510131836 length of segment : 135 time for calcul the mask position with numpy : 0.0001647472381591797 nb_pixel_total : 5492 time to create 1 rle with old method : 0.009554862976074219 length of segment : 80 time for calcul the mask position with numpy : 0.0004017353057861328 nb_pixel_total : 17699 time to create 1 rle with old method : 0.029543161392211914 length of segment : 182 time for calcul the mask position with numpy : 0.00010013580322265625 nb_pixel_total : 4168 time to create 1 rle with old method : 0.005448579788208008 length of segment : 79 time for calcul the mask position with numpy : 0.00026035308837890625 nb_pixel_total : 14544 time to create 1 rle with old method : 0.019013404846191406 length of segment : 146 time for calcul the mask position with numpy : 0.0002739429473876953 nb_pixel_total : 14090 time to create 1 rle with old method : 0.01927924156188965 length of segment : 136 time for calcul the mask position with numpy : 0.00030112266540527344 nb_pixel_total : 9947 time to create 1 rle with old method : 0.013451576232910156 length of segment : 114 time for calcul the mask position with numpy : 0.0003032684326171875 nb_pixel_total : 11779 time to create 1 rle with old method : 0.01680612564086914 length of segment : 127 time for calcul the mask position with numpy : 0.0008747577667236328 nb_pixel_total : 15327 time to create 1 rle with old method : 0.027675867080688477 length of segment : 306 time for calcul the mask position with numpy : 0.00014543533325195312 nb_pixel_total : 4940 time to create 1 rle with old method : 0.0061910152435302734 length of segment : 84 time for calcul the mask position with numpy : 0.0005643367767333984 nb_pixel_total : 33800 time to create 1 rle with old method : 0.04128575325012207 length of segment : 195 time for calcul the mask position with numpy : 0.00021719932556152344 nb_pixel_total : 9930 time to create 1 rle with old method : 0.012284517288208008 length of segment : 149 time for calcul the mask position with numpy : 0.00021386146545410156 nb_pixel_total : 8665 time to create 1 rle with old method : 0.010981082916259766 length of segment : 126 time for calcul the mask position with numpy : 0.00014591217041015625 nb_pixel_total : 3715 time to create 1 rle with old method : 0.0055119991302490234 length of segment : 69 time for calcul the mask position with numpy : 0.0024976730346679688 nb_pixel_total : 112200 time to create 1 rle with old method : 0.1310896873474121 length of segment : 560 time for calcul the mask position with numpy : 0.0002453327178955078 nb_pixel_total : 11659 time to create 1 rle with old method : 0.014109373092651367 length of segment : 170 time for calcul the mask position with numpy : 0.0001690387725830078 nb_pixel_total : 8649 time to create 1 rle with old method : 0.010645389556884766 length of segment : 106 time for calcul the mask position with numpy : 0.00016164779663085938 nb_pixel_total : 5422 time to create 1 rle with old method : 0.006718873977661133 length of segment : 146 time for calcul the mask position with numpy : 0.0001010894775390625 nb_pixel_total : 3772 time to create 1 rle with old method : 0.004975318908691406 length of segment : 43 time for calcul the mask position with numpy : 0.00015115737915039062 nb_pixel_total : 7633 time to create 1 rle with old method : 0.009596824645996094 length of segment : 97 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 10312 time to create 1 rle with old method : 0.012495756149291992 length of segment : 189 time for calcul the mask position with numpy : 0.0015559196472167969 nb_pixel_total : 104706 time to create 1 rle with old method : 0.12283515930175781 length of segment : 550 time for calcul the mask position with numpy : 0.00015664100646972656 nb_pixel_total : 3244 time to create 1 rle with old method : 0.004272937774658203 length of segment : 59 time for calcul the mask position with numpy : 0.00021982192993164062 nb_pixel_total : 11677 time to create 1 rle with old method : 0.01505899429321289 length of segment : 128 time for calcul the mask position with numpy : 0.0015821456909179688 nb_pixel_total : 92604 time to create 1 rle with old method : 0.11407756805419922 length of segment : 389 time for calcul the mask position with numpy : 0.00026702880859375 nb_pixel_total : 3117 time to create 1 rle with old method : 0.004015684127807617 length of segment : 97 time for calcul the mask position with numpy : 0.000881195068359375 nb_pixel_total : 25078 time to create 1 rle with old method : 0.03029179573059082 length of segment : 277 time for calcul the mask position with numpy : 0.0004875659942626953 nb_pixel_total : 12686 time to create 1 rle with old method : 0.015470504760742188 length of segment : 202 time for calcul the mask position with numpy : 0.0002143383026123047 nb_pixel_total : 6143 time to create 1 rle with old method : 0.0075457096099853516 length of segment : 108 time for calcul the mask position with numpy : 0.0003426074981689453 nb_pixel_total : 8721 time to create 1 rle with old method : 0.01056814193725586 length of segment : 159 time for calcul the mask position with numpy : 0.00041556358337402344 nb_pixel_total : 12691 time to create 1 rle with old method : 0.015807390213012695 length of segment : 134 time for calcul the mask position with numpy : 0.0006718635559082031 nb_pixel_total : 18145 time to create 1 rle with old method : 0.02187347412109375 length of segment : 143 time for calcul the mask position with numpy : 0.000152587890625 nb_pixel_total : 6260 time to create 1 rle with old method : 0.007990598678588867 length of segment : 66 time for calcul the mask position with numpy : 0.00013566017150878906 nb_pixel_total : 4520 time to create 1 rle with old method : 0.005713224411010742 length of segment : 76 time for calcul the mask position with numpy : 0.0002665519714355469 nb_pixel_total : 3728 time to create 1 rle with old method : 0.004655599594116211 length of segment : 173 time for calcul the mask position with numpy : 0.0001304149627685547 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0027806758880615234 length of segment : 49 time for calcul the mask position with numpy : 0.0002841949462890625 nb_pixel_total : 7235 time to create 1 rle with old method : 0.008895158767700195 length of segment : 109 time spent for convertir_results : 2.0544495582580566 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 40 chid ids of type : 3594 Number RLEs to save : 6478 save missing photos in datou_result : time spend for datou_step_exec : 27.42607021331787 time spend to save output : 0.4321000576019287 total time spend for step 1 : 27.8581702709198 step2:crop_condition Fri Sep 5 12:21:00 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 : 12 ! batch 1 Loaded 40 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 26 About to insert : list_path_to_insert length 26 new photo from crops ! About to upload 26 photos upload in portfolio : 3736932 init cache_photo without model_param we have 26 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757067662_4182848 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 26 photos in the portfolio 3736932 time of upload the photos Elapsed time : 7.223809242248535 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757067670_4182848 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2435946464538574 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 2 About to insert : list_path_to_insert length 2 new photo from crops ! About to upload 2 photos upload in portfolio : 3736932 init cache_photo without model_param we have 2 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757067672_4182848 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 2 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7690005302429199 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 9 About to insert : list_path_to_insert length 9 new photo from crops ! About to upload 9 photos upload in portfolio : 3736932 init cache_photo without model_param we have 9 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757067674_4182848 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 9 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.7456674575805664 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 [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] Looping around the photos to save general results len do output : 40 /1381719561Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719562Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719563Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719565Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719566Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719567Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719569Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719570Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719571Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719572Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719574Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719575Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719576Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719578Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719579Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719580Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719582Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719583Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719584Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719585Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719587Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719588Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719589Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719591Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719592Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719593Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719607Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719609Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719610Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719611Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719612Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719614Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719615Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719616Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719617Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719618Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719619Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719620Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719621Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1381719622Didn'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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 time used for this insertion : 0.019583463668823242 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.56034255027771 time spend to save output : 0.024068355560302734 total time spend for step 2 : 16.584410905838013 step3:rle_unique_nms_with_priority Fri Sep 5 12:21:17 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 40 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.3616456985473633 time for calcul the mask position with numpy : 0.5714221000671387 nb_pixel_total : 2040756 time to create 1 rle with new method : 0.5333681106567383 time for calcul the mask position with numpy : 0.008100748062133789 nb_pixel_total : 32844 time to create 1 rle with old method : 0.03818464279174805 create new chi : 1.1627328395843506 time to delete rle : 0.02422475814819336 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1644 TO DO : save crop sub photo not yet done ! save time : 0.1319117546081543 nb_obj : 8 nb_hashtags : 2 time to prepare the origin masks : 1.146697998046875 time for calcul the mask position with numpy : 0.1221303939819336 nb_pixel_total : 1983840 time to create 1 rle with new method : 0.08785200119018555 time for calcul the mask position with numpy : 0.00644683837890625 nb_pixel_total : 14090 time to create 1 rle with old method : 0.016494274139404297 time for calcul the mask position with numpy : 0.006230831146240234 nb_pixel_total : 14544 time to create 1 rle with old method : 0.01686573028564453 time for calcul the mask position with numpy : 0.007888555526733398 nb_pixel_total : 4168 time to create 1 rle with old method : 0.0050563812255859375 time for calcul the mask position with numpy : 0.0065097808837890625 nb_pixel_total : 17699 time to create 1 rle with old method : 0.02050304412841797 time for calcul the mask position with numpy : 0.006297588348388672 nb_pixel_total : 5492 time to create 1 rle with old method : 0.00643157958984375 time for calcul the mask position with numpy : 0.006592988967895508 nb_pixel_total : 10076 time to create 1 rle with old method : 0.011887311935424805 time for calcul the mask position with numpy : 0.006337642669677734 nb_pixel_total : 16319 time to create 1 rle with old method : 0.01911163330078125 time for calcul the mask position with numpy : 0.006241798400878906 nb_pixel_total : 7372 time to create 1 rle with old method : 0.008691787719726562 create new chi : 0.37898874282836914 time to delete rle : 0.0004398822784423828 batch 1 Loaded 17 chid ids of type : 3594 ++++++++Number RLEs to save : 3065 TO DO : save crop sub photo not yet done ! save time : 0.2133629322052002 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.0561981201171875 time for calcul the mask position with numpy : 0.023662328720092773 nb_pixel_total : 2051874 time to create 1 rle with new method : 0.03492259979248047 time for calcul the mask position with numpy : 0.007284879684448242 nb_pixel_total : 11779 time to create 1 rle with old method : 0.014070272445678711 time for calcul the mask position with numpy : 0.007218837738037109 nb_pixel_total : 9947 time to create 1 rle with old method : 0.011794805526733398 create new chi : 0.11062121391296387 time to delete rle : 0.00026726722717285156 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1562 TO DO : save crop sub photo not yet done ! save time : 0.12960290908813477 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.2246847152709961 time for calcul the mask position with numpy : 0.09973478317260742 nb_pixel_total : 2019533 time to create 1 rle with new method : 0.07900333404541016 time for calcul the mask position with numpy : 0.006560325622558594 nb_pixel_total : 33800 time to create 1 rle with old method : 0.03930306434631348 time for calcul the mask position with numpy : 0.006241559982299805 nb_pixel_total : 4940 time to create 1 rle with old method : 0.005731821060180664 time for calcul the mask position with numpy : 0.006209611892700195 nb_pixel_total : 15327 time to create 1 rle with old method : 0.017940282821655273 create new chi : 0.2718195915222168 time to delete rle : 0.0005702972412109375 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 2250 TO DO : save crop sub photo not yet done ! save time : 0.1607654094696045 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.3212862014770508 time for calcul the mask position with numpy : 0.0399775505065918 nb_pixel_total : 2063670 time to create 1 rle with new method : 0.2663424015045166 time for calcul the mask position with numpy : 0.006257295608520508 nb_pixel_total : 9930 time to create 1 rle with old method : 0.011607646942138672 create new chi : 0.33153867721557617 time to delete rle : 0.0002536773681640625 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1378 TO DO : save crop sub photo not yet done ! save time : 0.11264395713806152 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0753486156463623 time for calcul the mask position with numpy : 0.20588231086730957 nb_pixel_total : 1949020 time to create 1 rle with new method : 0.08227944374084473 time for calcul the mask position with numpy : 0.007315874099731445 nb_pixel_total : 112200 time to create 1 rle with old method : 0.12921547889709473 time for calcul the mask position with numpy : 0.00644373893737793 nb_pixel_total : 3715 time to create 1 rle with old method : 0.00440216064453125 time for calcul the mask position with numpy : 0.006937742233276367 nb_pixel_total : 8665 time to create 1 rle with old method : 0.010216712951660156 create new chi : 0.46373677253723145 time to delete rle : 0.00043320655822753906 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2590 TO DO : save crop sub photo not yet done ! save time : 0.1862471103668213 nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.07471060752868652 time for calcul the mask position with numpy : 0.06289052963256836 nb_pixel_total : 2044098 time to create 1 rle with new method : 0.3887960910797119 time for calcul the mask position with numpy : 0.006897449493408203 nb_pixel_total : 3772 time to create 1 rle with old method : 0.006403684616088867 time for calcul the mask position with numpy : 0.007303953170776367 nb_pixel_total : 5422 time to create 1 rle with old method : 0.009030342102050781 time for calcul the mask position with numpy : 0.006918907165527344 nb_pixel_total : 8649 time to create 1 rle with old method : 0.014351844787597656 time for calcul the mask position with numpy : 0.007100105285644531 nb_pixel_total : 11659 time to create 1 rle with old method : 0.01516270637512207 create new chi : 0.5390117168426514 time to delete rle : 0.00041365623474121094 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2010 TO DO : save crop sub photo not yet done ! save time : 0.1646862030029297 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.21801042556762695 time for calcul the mask position with numpy : 0.09670877456665039 nb_pixel_total : 1843424 time to create 1 rle with new method : 0.08403396606445312 time for calcul the mask position with numpy : 0.0069484710693359375 nb_pixel_total : 92604 time to create 1 rle with old method : 0.10777139663696289 time for calcul the mask position with numpy : 0.00641322135925293 nb_pixel_total : 11677 time to create 1 rle with old method : 0.013628959655761719 time for calcul the mask position with numpy : 0.007985353469848633 nb_pixel_total : 3244 time to create 1 rle with old method : 0.0038208961486816406 time for calcul the mask position with numpy : 0.00684809684753418 nb_pixel_total : 104706 time to create 1 rle with old method : 0.12177848815917969 time for calcul the mask position with numpy : 0.007117509841918945 nb_pixel_total : 10312 time to create 1 rle with old method : 0.012332439422607422 time for calcul the mask position with numpy : 0.006550788879394531 nb_pixel_total : 7633 time to create 1 rle with old method : 0.009845495223999023 create new chi : 0.5030646324157715 time to delete rle : 0.0007486343383789062 batch 1 Loaded 13 chid ids of type : 3594 +++++++Number RLEs to save : 3904 TO DO : save crop sub photo not yet done ! save time : 0.24609661102294922 No data in photo_id : 1381697115 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.06608033180236816 time for calcul the mask position with numpy : 0.020508289337158203 nb_pixel_total : 2026576 time to create 1 rle with new method : 0.30527496337890625 time for calcul the mask position with numpy : 0.006917238235473633 nb_pixel_total : 6143 time to create 1 rle with old method : 0.007235288619995117 time for calcul the mask position with numpy : 0.006948232650756836 nb_pixel_total : 12686 time to create 1 rle with old method : 0.015014886856079102 time for calcul the mask position with numpy : 0.0072078704833984375 nb_pixel_total : 25078 time to create 1 rle with old method : 0.04093170166015625 time for calcul the mask position with numpy : 0.0360260009765625 nb_pixel_total : 3117 time to create 1 rle with old method : 0.005091428756713867 create new chi : 0.45911359786987305 time to delete rle : 0.0004961490631103516 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2448 TO DO : save crop sub photo not yet done ! save time : 0.1753087043762207 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.08450436592102051 time for calcul the mask position with numpy : 0.31656861305236816 nb_pixel_total : 2023273 time to create 1 rle with new method : 0.0871732234954834 time for calcul the mask position with numpy : 0.006651401519775391 nb_pixel_total : 4520 time to create 1 rle with old method : 0.005300045013427734 time for calcul the mask position with numpy : 0.006980180740356445 nb_pixel_total : 6250 time to create 1 rle with old method : 0.007387876510620117 time for calcul the mask position with numpy : 0.009419441223144531 nb_pixel_total : 18145 time to create 1 rle with old method : 0.021159648895263672 time for calcul the mask position with numpy : 0.006918430328369141 nb_pixel_total : 12691 time to create 1 rle with old method : 0.015358924865722656 time for calcul the mask position with numpy : 0.008672714233398438 nb_pixel_total : 8721 time to create 1 rle with old method : 0.01063680648803711 create new chi : 0.5139727592468262 time to delete rle : 0.00041937828063964844 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2236 TO DO : save crop sub photo not yet done ! save time : 0.1588611602783203 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.06604886054992676 time for calcul the mask position with numpy : 0.023574352264404297 nb_pixel_total : 2060572 time to create 1 rle with new method : 0.0844416618347168 time for calcul the mask position with numpy : 0.006499052047729492 nb_pixel_total : 7235 time to create 1 rle with old method : 0.008748054504394531 time for calcul the mask position with numpy : 0.007050275802612305 nb_pixel_total : 2065 time to create 1 rle with old method : 0.0024285316467285156 time for calcul the mask position with numpy : 0.006356954574584961 nb_pixel_total : 3728 time to create 1 rle with old method : 0.004397869110107422 create new chi : 0.1509556770324707 time to delete rle : 0.00029921531677246094 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1742 TO DO : save crop sub photo not yet done ! save time : 0.12900948524475098 map_output_result : {1381698252: (0.0, 'Should be the crop_list due to order', 0), 1381698250: (0.0, 'Should be the crop_list due to order', 0), 1381697668: (0.0, 'Should be the crop_list due to order', 0), 1381697597: (0.0, 'Should be the crop_list due to order', 0), 1381697507: (0.0, 'Should be the crop_list due to order', 0), 1381697438: (0.0, 'Should be the crop_list due to order', 0), 1381697390: (0.0, 'Should be the crop_list due to order', 0), 1381697338: (0.0, 'Should be the crop_list due to order', 0), 1381697115: (0.0, 'Should be the crop_list due to order', 0.0), 1381697034: (0.0, 'Should be the crop_list due to order', 0), 1381697022: (0.0, 'Should be the crop_list due to order', 0), 1381696999: (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 [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] Looping around the photos to save general results len do output : 12 /1381698252.Didn't retrieve data . /1381698250.Didn't retrieve data . /1381697668.Didn't retrieve data . /1381697597.Didn't retrieve data . /1381697507.Didn't retrieve data . /1381697438.Didn't retrieve data . /1381697390.Didn't retrieve data . /1381697338.Didn't retrieve data . /1381697115.Didn't retrieve data . /1381697034.Didn't retrieve data . /1381697022.Didn't retrieve data . /1381696999.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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.012920141220092773 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.816216945648193 time spend to save output : 0.013551473617553711 total time spend for step 3 : 9.829768419265747 step4:ventilate_hashtags_in_portfolio Fri Sep 5 12:21:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 26574888 get user id for portfolio 26574888 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`=26574888 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','background','papier','metal','mal_croppe','autre','pet_clair','flou','environnement','pet_fonce')) 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`=26574888 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','background','papier','metal','mal_croppe','autre','pet_clair','flou','environnement','pet_fonce')) 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`=26574888 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','carton','background','papier','metal','mal_croppe','autre','pet_clair','flou','environnement','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26575764,26575765,26575766,26575767,26575768,26575769,26575770,26575771,26575772,26575773,26575774?tags=pehd,carton,background,papier,metal,mal_croppe,autre,pet_clair,flou,environnement,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] Looping around the photos to save general results len do output : 1 /26574888. 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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.016219139099121094 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6592822074890137 time spend to save output : 0.016679048538208008 total time spend for step 4 : 1.6759612560272217 step5:final Fri Sep 5 12:21:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1381698252: ('0.028250546553497957',), 1381698250: ('0.028250546553497957',), 1381697668: ('0.028250546553497957',), 1381697597: ('0.028250546553497957',), 1381697507: ('0.028250546553497957',), 1381697438: ('0.028250546553497957',), 1381697390: ('0.028250546553497957',), 1381697338: ('0.028250546553497957',), 1381697115: ('0.028250546553497957',), 1381697034: ('0.028250546553497957',), 1381697022: ('0.028250546553497957',), 1381696999: ('0.028250546553497957',)} new output for save of step final : {1381698252: ('0.028250546553497957',), 1381698250: ('0.028250546553497957',), 1381697668: ('0.028250546553497957',), 1381697597: ('0.028250546553497957',), 1381697507: ('0.028250546553497957',), 1381697438: ('0.028250546553497957',), 1381697390: ('0.028250546553497957',), 1381697338: ('0.028250546553497957',), 1381697115: ('0.028250546553497957',), 1381697034: ('0.028250546553497957',), 1381697022: ('0.028250546553497957',), 1381696999: ('0.028250546553497957',)} [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] Looping around the photos to save general results len do output : 12 /1381698252.Didn't retrieve data . /1381698250.Didn't retrieve data . /1381697668.Didn't retrieve data . /1381697597.Didn't retrieve data . /1381697507.Didn't retrieve data . /1381697438.Didn't retrieve data . /1381697390.Didn't retrieve data . /1381697338.Didn't retrieve data . /1381697115.Didn't retrieve data . /1381697034.Didn't retrieve data . /1381697022.Didn't retrieve data . /1381696999.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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.016092777252197266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12983345985412598 time spend to save output : 0.01659083366394043 total time spend for step 5 : 0.1464242935180664 step6:blur_detection Fri Sep 5 12:21:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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/1757067631_4182848_1381698252_cfcb8064a9ba8b6898ac892bb0c3af4e.jpg resize: (1080, 1920) 1381698252 1.0160336048595378 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba.jpg resize: (1080, 1920) 1381698250 -0.0008212959254224986 treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b.jpg resize: (1080, 1920) 1381697668 0.47120086854666005 treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406.jpg resize: (1080, 1920) 1381697597 0.9404065147015356 treat image : temp/1757067631_4182848_1381697507_be07bcc276d6ee0a23475cf96d6b6519.jpg resize: (1080, 1920) 1381697507 -0.27297224691997607 treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e.jpg resize: (1080, 1920) 1381697438 0.29431927722973106 treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519.jpg resize: (1080, 1920) 1381697390 3.143173172472664 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db.jpg resize: (1080, 1920) 1381697338 1.2171235930282243 treat image : temp/1757067631_4182848_1381697115_1386c59871dc07cd4002a6f690aedaf7.jpg resize: (1080, 1920) 1381697115 1.0691023341587074 treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708.jpg resize: (1080, 1920) 1381697034 0.528660758324805 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695.jpg resize: (1080, 1920) 1381697022 0.10019513603360607 treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e.jpg resize: (1080, 1920) 1381696999 -0.2254298928786778 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977292_0.png resize: (146, 127) 1381719561 -0.11895386675962782 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977290_0.png resize: (171, 123) 1381719562 0.18831109334739543 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977291_0.png resize: (76, 82) 1381719563 -1.036465325107217 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977286_0.png resize: (124, 83) 1381719565 -1.3375898065150134 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977289_0.png resize: (79, 118) 1381719566 -1.871572690877507 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977288_0.png resize: (133, 146) 1381719567 -1.8109802123834344 treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977297_0.png resize: (84, 79) 1381719569 -0.29763277513281977 treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977296_0.png resize: (255, 144) 1381719570 -1.9249377109815755 treat image : temp/1757067631_4182848_1381697507_be07bcc276d6ee0a23475cf96d6b6519_rle_crop_3945977299_0.png resize: (133, 92) 1381719571 1.027301804909735 treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977300_0.png resize: (126, 126) 1381719572 -2.0629911431320713 treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977301_0.png resize: (69, 88) 1381719574 -1.5215587910407686 treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977304_0.png resize: (105, 111) 1381719575 0.044890326281728885 treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977303_0.png resize: (170, 116) 1381719576 -1.1613090446341519 treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977306_0.png resize: (42, 134) 1381719578 -0.658799872263668 treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977305_0.png resize: (146, 81) 1381719579 -2.038201449582393 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977312_0.png resize: (311, 517) 1381719580 -1.2183470852827405 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977310_0.png resize: (58, 72) 1381719582 3.0805298355917947 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977307_0.png resize: (97, 109) 1381719583 -0.8987827293166675 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977308_0.png resize: (189, 81) 1381719584 -0.9012468720839477 treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977316_0.png resize: (108, 85) 1381719585 -1.4083799596833364 treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977313_0.png resize: (97, 74) 1381719587 -2.6632324444176296 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977319_0.png resize: (128, 185) 1381719588 0.36924951049777643 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977320_0.png resize: (64, 118) 1381719589 0.5835028868831006 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977317_0.png resize: (159, 77) 1381719591 -1.6369479248553471 treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977322_0.png resize: (124, 58) 1381719592 -1.9625024557770645 treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977324_0.png resize: (109, 104) 1381719593 -2.57435771788519 treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b_rle_crop_3945977295_0.png resize: (124, 130) 1381719607 -1.0224371546885436 treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977302_0.png resize: (553, 343) 1381719609 -0.3434409061131634 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977318_0.png resize: (129, 137) 1381719610 -1.1589915568921283 treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977321_0.png resize: (75, 70) 1381719611 9.49417908709844 treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977323_0.png resize: (49, 54) 1381719612 1.8859305223123826 treat image : temp/1757067631_4182848_1381698252_cfcb8064a9ba8b6898ac892bb0c3af4e_rle_crop_3945977285_0.png resize: (267, 172) 1381719614 -1.6043125045074778 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977293_0.png resize: (135, 130) 1381719615 -1.0326582143784482 treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977287_0.png resize: (111, 180) 1381719616 -2.261349480967125 treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b_rle_crop_3945977294_0.png resize: (108, 157) 1381719617 -0.5118512913362745 treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977298_0.png resize: (157, 275) 1381719618 -0.5193697213881149 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977311_0.png resize: (127, 107) 1381719619 0.9249453827140846 treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977309_0.png resize: (535, 314) 1381719620 0.26655434565161756 treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977315_0.png resize: (190, 96) 1381719621 -0.5221129838630151 treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977314_0.png resize: (259, 208) 1381719622 -2.331179370460854 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 52 time used for this insertion : 0.013522863388061523 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.013743877410888672 save missing photos in datou_result : time spend for datou_step_exec : 10.081090450286865 time spend to save output : 0.03171491622924805 total time spend for step 6 : 10.112805366516113 step7:brightness Fri Sep 5 12:21:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1757067631_4182848_1381698252_cfcb8064a9ba8b6898ac892bb0c3af4e.jpg treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba.jpg treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b.jpg treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406.jpg treat image : temp/1757067631_4182848_1381697507_be07bcc276d6ee0a23475cf96d6b6519.jpg treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e.jpg treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519.jpg treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db.jpg treat image : temp/1757067631_4182848_1381697115_1386c59871dc07cd4002a6f690aedaf7.jpg treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708.jpg treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695.jpg treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e.jpg treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977292_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977290_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977291_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977286_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977289_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977288_0.png treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977297_0.png treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977296_0.png treat image : temp/1757067631_4182848_1381697507_be07bcc276d6ee0a23475cf96d6b6519_rle_crop_3945977299_0.png treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977300_0.png treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977301_0.png treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977304_0.png treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977303_0.png treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977306_0.png treat image : temp/1757067631_4182848_1381697390_693b3defd40b549b011a99c136807519_rle_crop_3945977305_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977312_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977310_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977307_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977308_0.png treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977316_0.png treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977313_0.png treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977319_0.png treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977320_0.png treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977317_0.png treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977322_0.png treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977324_0.png treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b_rle_crop_3945977295_0.png treat image : temp/1757067631_4182848_1381697438_67a7fd1e82f05e2555f60ddd42169f9e_rle_crop_3945977302_0.png treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977318_0.png treat image : temp/1757067631_4182848_1381697022_7bb7ee8af85c14a7703dad9744578695_rle_crop_3945977321_0.png treat image : temp/1757067631_4182848_1381696999_9260bc36e23792c71ee0aa776d225b0e_rle_crop_3945977323_0.png treat image : temp/1757067631_4182848_1381698252_cfcb8064a9ba8b6898ac892bb0c3af4e_rle_crop_3945977285_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977293_0.png treat image : temp/1757067631_4182848_1381698250_a094063979c322cb7c9214cfe59c3eba_rle_crop_3945977287_0.png treat image : temp/1757067631_4182848_1381697668_9c00e429212a3e399e347cdae6657d0b_rle_crop_3945977294_0.png treat image : temp/1757067631_4182848_1381697597_68bc8517d8ea26e3d6b5147d4abf7406_rle_crop_3945977298_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977311_0.png treat image : temp/1757067631_4182848_1381697338_b76a0a436a4665905e7ba1f0ef8858db_rle_crop_3945977309_0.png treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977315_0.png treat image : temp/1757067631_4182848_1381697034_1aa746a78321cf905dffa10d59a22708_rle_crop_3945977314_0.png Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 52 time used for this insertion : 0.013631582260131836 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 52 time used for this insertion : 0.01500558853149414 save missing photos in datou_result : time spend for datou_step_exec : 2.836519718170166 time spend to save output : 0.033568382263183594 total time spend for step 7 : 2.8700881004333496 step8:velours_tree Fri Sep 5 12:21:41 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.21975302696228027 time spend to save output : 6.222724914550781e-05 total time spend for step 8 : 0.21981525421142578 step9:send_mail_cod Fri Sep 5 12:21:41 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_P26574888_05-09-2025_12_21_41.pdf 26575764 imagette265757641757067701 26575765 change filename to text .change filename to text .change filename to text .imagette265757651757067701 26575766 imagette265757661757067702 26575767 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265757671757067702 26575768 change filename to text .change filename to text .imagette265757681757067703 26575769 imagette265757691757067703 26575770 imagette265757701757067703 26575771 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 .imagette265757711757067703 26575772 imagette265757721757067703 26575774 imagette265757741757067704 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26574888 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26575764,26575765,26575766,26575767,26575768,26575769,26575770,26575771,26575772,26575773,26575774?tags=pehd,carton,background,papier,metal,mal_croppe,autre,pet_clair,flou,environnement,pet_fonce args[1381698252] : ((1381698252, 1.0160336048595378, 492688767), (1381698252, 0.6320300864493831, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381698250] : ((1381698250, -0.0008212959254224986, 492688767), (1381698250, 0.40558204312674995, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697668] : ((1381697668, 0.47120086854666005, 492688767), (1381697668, 0.6957052742722453, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697597] : ((1381697597, 0.9404065147015356, 492688767), (1381697597, 0.4884827916108949, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697507] : ((1381697507, -0.27297224691997607, 492688767), (1381697507, 0.6156729876617534, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697438] : ((1381697438, 0.29431927722973106, 492688767), (1381697438, 0.35509072053050555, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697390] : ((1381697390, 3.143173172472664, 492688767), (1381697390, 0.5578880212490914, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697338] : ((1381697338, 1.2171235930282243, 492688767), (1381697338, 0.7074526616879317, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697115] : ((1381697115, 1.0691023341587074, 492688767), (1381697115, 0.37713498634624615, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697034] : ((1381697034, 0.528660758324805, 492688767), (1381697034, 0.7222802413000534, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381697022] : ((1381697022, 0.10019513603360607, 492688767), (1381697022, 0.7578579723925413, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com args[1381696999] : ((1381696999, -0.2254298928786778, 492688767), (1381696999, 0.7197117276049432, 2107752395), '0.028250546553497957') We are sending mail with results at report@fotonower.com refus_total : 0.028250546553497957 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26574888 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_P26574888_05-09-2025_12_21_41.pdf results_Auto_P26574888_05-09-2025_12_21_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574888_05-09-2025_12_21_41.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','26574888','results_Auto_P26574888_05-09-2025_12_21_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574888_05-09-2025_12_21_41.pdf','pdf','','0.2','0.028250546553497957') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26574888

https://www.fotonower.com/image?json=false&list_photos_id=1381698252
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0160336048595378)
https://www.fotonower.com/image?json=false&list_photos_id=1381698250
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697668
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697597
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697507
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697438
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697390
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.143173172472664)
https://www.fotonower.com/image?json=false&list_photos_id=1381697338
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2171235930282243)
https://www.fotonower.com/image?json=false&list_photos_id=1381697115
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.0691023341587074)
https://www.fotonower.com/image?json=false&list_photos_id=1381697034
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381697022
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1381696999
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26575765?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26575767?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26575768?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26575771?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574888_05-09-2025_12_21_41.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26575764,26575765,26575766,26575767,26575768,26575769,26575770,26575771,26575772,26575773,26575774?tags=pehd,carton,background,papier,metal,mal_croppe,autre,pet_clair,flou,environnement,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Fri, 05 Sep 2025 10:21:45 GMT Content-Length: 0 Connection: close X-Message-Id: xXtMldX5Q7aBqrJo3_8R5g 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 [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] 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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014122724533081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.904585838317871 time spend to save output : 0.014358043670654297 total time spend for step 9 : 3.9189438819885254 step10:split_time_score Fri Sep 5 12:21:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('11', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05092025 26574888 Nombre de photos uploadées : 12 / 23040 (0%) 05092025 26574888 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 05092025 26574888 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006296634674072266 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20511937141418457 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.09195606235970821 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26566359_05-09-2025_08_12_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26566359 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`=26566359 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574866 order by id desc limit 1 Qualite : 0.028250546553497957 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574888_05-09-2025_12_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574888 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`=26574888 AND mptpi.`type`=3594 To do Qualite : 0.046818832585841054 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574891_05-09-2025_12_13_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574891 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`=26574891 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05092025': {'nb_upload': 12, '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 [1381698252, 1381698250, 1381697668, 1381697597, 1381697507, 1381697438, 1381697390, 1381697338, 1381697115, 1381697034, 1381697022, 1381696999] Looping around the photos to save general results len do output : 1 /26574888Didn'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, '3669703') ('3318', '26574888', '1381698252', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381698250', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697668', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697597', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697507', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697438', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697390', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697338', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697115', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697034', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381697022', None, None, None, None, None, '3669703') ('3318', None, None, None, None, None, None, None, '3669703') ('3318', '26574888', '1381696999', None, None, None, None, None, '3669703') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.013422966003417969 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5257799625396729 time spend to save output : 0.013686418533325195 total time spend for step 10 : 1.539466381072998 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 38.54user 21.94system 1:21.37elapsed 74%CPU (0avgtext+0avgdata 2892216maxresident)k 950352inputs+13480outputs (2872major+1658929minor)pagefaults 0swaps