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 : 2093555 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 : ['3824865'] with mtr_portfolio_ids : ['27463488'] and first list_photo_ids : [] new path : /proc/2093555/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 3.2213544845581055 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Fri Oct 3 01:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 5287 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-03 01:50:35.088283: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-10-03 01:50:35.116709: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-10-03 01:50:35.118791: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0274000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-03 01:50:35.118843: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-03 01:50:35.122835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-03 01:50:35.271901: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x12cb5d40 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-03 01:50:35.271961: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-03 01:50:35.273199: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-03 01:50:35.273628: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-03 01:50:35.276810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-03 01:50:35.279819: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-03 01:50:35.280324: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-03 01:50:35.283155: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-03 01:50:35.284521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-03 01:50:35.289621: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-03 01:50:35.290817: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-03 01:50:35.290892: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-03 01:50:35.291477: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-03 01:50:35.291492: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-03 01:50:35.291501: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-03 01:50:35.292497: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4827 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-03 01:50:35.692664: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-03 01:50:35.692766: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-03 01:50:35.692796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-03 01:50:35.692824: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-03 01:50:35.692851: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-03 01:50:35.692894: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-03 01:50:35.692934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-03 01:50:35.692963: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-03 01:50:35.694155: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-03 01:50:35.695283: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-03 01:50:35.695317: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-03 01:50:35.695337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-03 01:50:35.695352: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-03 01:50:35.695366: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-03 01:50:35.695380: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-03 01:50:35.695394: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-03 01:50:35.695417: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-03 01:50:35.696427: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-03 01:50:35.696456: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-03 01:50:35.696465: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-03 01:50:35.696473: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-03 01:50:35.697547: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4827 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-03 01:50:43.252090: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-03 01:50:43.441725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-03 01:50:44.843693: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:44.844572: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.683276: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-10-03 01:50:45.766549: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.766623: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.767251: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.767267: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.773430: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.773452: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.774028: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.774042: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.815472: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.815515: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.816176: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.816192: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.816860: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.816877: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.817455: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.817469: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.26GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.825336: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.825357: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.825972: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.825988: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 417.62MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-03 01:50:45.841243: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.841927: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.842529: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.843228: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.847278: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.847873: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.848503: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.849093: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.850097: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.850126: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-10-03 01:50:45.860322: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.860937: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.869894: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.870487: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.871084: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.871671: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.872267: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-03 01:50:45.872885: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 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 : 2 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 : 9 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 : 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 : 15 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 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 : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 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 : 3 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 : 8 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 : 13 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 : 7 Detection mask done ! Trying to reset tf kernel 2094154 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2949 tf kernel not reseted sub process len(results) : 15 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 15 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4142 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.0003886222839355469 nb_pixel_total : 6805 time to create 1 rle with old method : 0.008016347885131836 length of segment : 131 time for calcul the mask position with numpy : 0.0023643970489501953 nb_pixel_total : 101278 time to create 1 rle with old method : 0.11283731460571289 length of segment : 507 time for calcul the mask position with numpy : 0.00037288665771484375 nb_pixel_total : 17163 time to create 1 rle with old method : 0.01954483985900879 length of segment : 278 time for calcul the mask position with numpy : 0.0004703998565673828 nb_pixel_total : 17813 time to create 1 rle with old method : 0.019451141357421875 length of segment : 196 time for calcul the mask position with numpy : 0.0021893978118896484 nb_pixel_total : 104416 time to create 1 rle with old method : 0.11712265014648438 length of segment : 512 time for calcul the mask position with numpy : 0.0017075538635253906 nb_pixel_total : 80224 time to create 1 rle with old method : 0.08492755889892578 length of segment : 424 time for calcul the mask position with numpy : 0.01592731475830078 nb_pixel_total : 754112 time to create 1 rle with new method : 0.04869866371154785 length of segment : 987 time for calcul the mask position with numpy : 0.0002961158752441406 nb_pixel_total : 6461 time to create 1 rle with old method : 0.007253408432006836 length of segment : 103 time for calcul the mask position with numpy : 0.0028676986694335938 nb_pixel_total : 114169 time to create 1 rle with old method : 0.12026619911193848 length of segment : 545 time for calcul the mask position with numpy : 0.00014781951904296875 nb_pixel_total : 4436 time to create 1 rle with old method : 0.005097150802612305 length of segment : 56 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 3394 time to create 1 rle with old method : 0.003864765167236328 length of segment : 78 time for calcul the mask position with numpy : 0.00016999244689941406 nb_pixel_total : 5591 time to create 1 rle with old method : 0.006306171417236328 length of segment : 58 time for calcul the mask position with numpy : 0.0005095005035400391 nb_pixel_total : 16499 time to create 1 rle with old method : 0.017821073532104492 length of segment : 176 time for calcul the mask position with numpy : 0.0001811981201171875 nb_pixel_total : 4730 time to create 1 rle with old method : 0.005437374114990234 length of segment : 62 time for calcul the mask position with numpy : 0.0005366802215576172 nb_pixel_total : 11200 time to create 1 rle with old method : 0.012394905090332031 length of segment : 232 time for calcul the mask position with numpy : 0.0054624080657958984 nb_pixel_total : 116520 time to create 1 rle with old method : 0.12551665306091309 length of segment : 1214 time for calcul the mask position with numpy : 0.0012917518615722656 nb_pixel_total : 11875 time to create 1 rle with old method : 0.013445854187011719 length of segment : 235 time for calcul the mask position with numpy : 0.0019199848175048828 nb_pixel_total : 101563 time to create 1 rle with old method : 0.11854934692382812 length of segment : 708 time for calcul the mask position with numpy : 0.0002307891845703125 nb_pixel_total : 4356 time to create 1 rle with old method : 0.004942417144775391 length of segment : 120 time for calcul the mask position with numpy : 0.0001544952392578125 nb_pixel_total : 3462 time to create 1 rle with old method : 0.0038824081420898438 length of segment : 78 time for calcul the mask position with numpy : 0.00020503997802734375 nb_pixel_total : 5264 time to create 1 rle with old method : 0.0062792301177978516 length of segment : 82 time for calcul the mask position with numpy : 0.0003769397735595703 nb_pixel_total : 11367 time to create 1 rle with old method : 0.012714147567749023 length of segment : 166 time for calcul the mask position with numpy : 0.0001888275146484375 nb_pixel_total : 4756 time to create 1 rle with old method : 0.0056552886962890625 length of segment : 85 time for calcul the mask position with numpy : 0.00018525123596191406 nb_pixel_total : 5417 time to create 1 rle with old method : 0.0063021183013916016 length of segment : 75 time for calcul the mask position with numpy : 6.246566772460938e-05 nb_pixel_total : 2276 time to create 1 rle with old method : 0.0025870800018310547 length of segment : 50 time for calcul the mask position with numpy : 0.0002741813659667969 nb_pixel_total : 6656 time to create 1 rle with old method : 0.007414817810058594 length of segment : 108 time for calcul the mask position with numpy : 0.0020399093627929688 nb_pixel_total : 94563 time to create 1 rle with old method : 0.10321164131164551 length of segment : 505 time for calcul the mask position with numpy : 0.0023543834686279297 nb_pixel_total : 110594 time to create 1 rle with old method : 0.11808228492736816 length of segment : 541 time for calcul the mask position with numpy : 0.00021195411682128906 nb_pixel_total : 4258 time to create 1 rle with old method : 0.0049741268157958984 length of segment : 87 time for calcul the mask position with numpy : 9.72747802734375e-05 nb_pixel_total : 1478 time to create 1 rle with old method : 0.0017971992492675781 length of segment : 42 time spent for convertir_results : 2.7132551670074463 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 30 chid ids of type : 3594 Number RLEs to save : 8441 save missing photos in datou_result : time spend for datou_step_exec : 27.535953998565674 time spend to save output : 1.087984323501587 total time spend for step 1 : 28.62393832206726 step2:crop_condition Fri Oct 3 01:51: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 : 15 ! batch 1 Loaded 30 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 ! map_result returned by crop_photo_return_map_crop : length : 13 About to insert : list_path_to_insert length 13 new photo from crops ! About to upload 13 photos upload in portfolio : 3736932 init cache_photo without model_param we have 13 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759449062_2093555 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963829_0.png', 0, 118, 58, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963827_0.png', 0, 93, 56, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963825_0.png', 0, 91, 103, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409620_ae8efdceadca5985ba143c5a8b7f07a2_rle_crop_3984963830_0.png', 0, 182, 143, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409604_ceb23574496e49a9fb916869cfc6870c_rle_crop_3984963832_0.png', 0, 157, 204, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963836_0.png', 0, 56, 120, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963837_0.png', 0, 57, 78, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963839_0.png', 0, 110, 149, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963840_0.png', 0, 106, 81, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963841_0.png', 0, 111, 70, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963843_0.png', 0, 99, 108, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963846_0.png', 0, 91, 87, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449064), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963847_0.png', 0, 41, 42, 0, 1759449064,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 13 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.035820722579956 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/1759449067_2093555 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449067), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963833_0.png', 0, 757, 926, 0, 1759449067,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449067), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963834_0.png', 0, 303, 248, 0, 1759449067,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449067), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963838_0.png', 0, 96, 72, 0, 1759449067,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.3075716495513916 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759449074_2093555 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963820_0.png', 0, 226, 170, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963818_0.png', 0, 96, 131, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963819_0.png', 0, 335, 506, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409645_9464b9efa5379c336778f829037e4e11_rle_crop_3984963821_0.png', 0, 141, 169, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409638_edb56aae4d315e031b171c07a7e5d583_rle_crop_3984963822_0.png', 0, 323, 512, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963824_0.png', 0, 1011, 984, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963823_0.png', 0, 326, 417, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963826_0.png', 0, 353, 540, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963835_0.png', 0, 330, 538, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963844_0.png', 0, 298, 495, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449076), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963845_0.png', 0, 354, 538, 0, 1759449076,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.6634466648101807 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1759449078_2093555 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449080), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963828_0.png', 0, 61, 78, 0, 1759449080,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449080), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409607_823c4c0e0215cdf8d7a33738cf92f13d_rle_crop_3984963831_0.png', 0, 108, 62, 0, 1759449080,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1759449080), 0.0, 0.0, 14, '', 0, 0, '1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963842_0.png', 0, 57, 49, 0, 1759449080,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.581354856491089 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles 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 [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] Looping around the photos to save general results len do output : 30 /1387522878Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522879Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522880Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522881Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522882Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522883Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522884Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522885Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522886Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522887Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522888Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522889Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522890Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522908Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522909Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522911Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522912Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1387522913Didn'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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 time used for this insertion : 0.04170370101928711 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.274924516677856 time spend to save output : 0.04268956184387207 total time spend for step 2 : 20.31761407852173 step3:rle_unique_nms_with_priority Fri Oct 3 01:51:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 30 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.24241900444030762 time for calcul the mask position with numpy : 0.05972433090209961 nb_pixel_total : 1948354 time to create 1 rle with new method : 0.19678115844726562 time for calcul the mask position with numpy : 0.006174564361572266 nb_pixel_total : 17163 time to create 1 rle with old method : 0.018437862396240234 time for calcul the mask position with numpy : 0.0065860748291015625 nb_pixel_total : 101278 time to create 1 rle with old method : 0.12047195434570312 time for calcul the mask position with numpy : 0.006281375885009766 nb_pixel_total : 6805 time to create 1 rle with old method : 0.007975339889526367 create new chi : 0.4324030876159668 time to delete rle : 0.10257959365844727 batch 1 Loaded 7 chid ids of type : 3594 +++++++Number RLEs to save : 2912 TO DO : save crop sub photo not yet done ! save time : 0.5402312278747559 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.09141945838928223 time for calcul the mask position with numpy : 0.03031158447265625 nb_pixel_total : 2055787 time to create 1 rle with new method : 0.18266010284423828 time for calcul the mask position with numpy : 0.006421327590942383 nb_pixel_total : 17813 time to create 1 rle with old method : 0.019444942474365234 create new chi : 0.24606704711914062 time to delete rle : 0.0002391338348388672 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1472 TO DO : save crop sub photo not yet done ! save time : 0.28598952293395996 No data in photo_id : 1387409641 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03300356864929199 time for calcul the mask position with numpy : 0.06145215034484863 nb_pixel_total : 1969184 time to create 1 rle with new method : 0.20588326454162598 time for calcul the mask position with numpy : 0.00690913200378418 nb_pixel_total : 104416 time to create 1 rle with old method : 0.16789531707763672 create new chi : 0.45200395584106445 time to delete rle : 0.00032591819763183594 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2104 TO DO : save crop sub photo not yet done ! save time : 0.4047853946685791 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.058641910552978516 time for calcul the mask position with numpy : 0.27985191345214844 nb_pixel_total : 1239264 time to create 1 rle with new method : 0.0821232795715332 time for calcul the mask position with numpy : 0.012355327606201172 nb_pixel_total : 754112 time to create 1 rle with new method : 0.1504201889038086 time for calcul the mask position with numpy : 0.006559610366821289 nb_pixel_total : 80224 time to create 1 rle with old method : 0.09012365341186523 create new chi : 0.6310868263244629 time to delete rle : 0.0007600784301757812 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3902 TO DO : save crop sub photo not yet done ! save time : 0.5706753730773926 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.25008440017700195 time for calcul the mask position with numpy : 0.06594491004943848 nb_pixel_total : 1939549 time to create 1 rle with new method : 0.332491397857666 time for calcul the mask position with numpy : 0.006689786911010742 nb_pixel_total : 5591 time to create 1 rle with old method : 0.006398439407348633 time for calcul the mask position with numpy : 0.006567239761352539 nb_pixel_total : 3394 time to create 1 rle with old method : 0.0041773319244384766 time for calcul the mask position with numpy : 0.007123708724975586 nb_pixel_total : 4436 time to create 1 rle with old method : 0.0050580501556396484 time for calcul the mask position with numpy : 0.008868694305419922 nb_pixel_total : 114169 time to create 1 rle with old method : 0.1299586296081543 time for calcul the mask position with numpy : 0.006829261779785156 nb_pixel_total : 6461 time to create 1 rle with old method : 0.007785797119140625 create new chi : 0.5990948677062988 time to delete rle : 0.0003833770751953125 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2760 TO DO : save crop sub photo not yet done ! save time : 0.4513232707977295 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03968358039855957 time for calcul the mask position with numpy : 0.022037506103515625 nb_pixel_total : 2057101 time to create 1 rle with new method : 0.03269219398498535 time for calcul the mask position with numpy : 0.005981922149658203 nb_pixel_total : 16499 time to create 1 rle with old method : 0.017979145050048828 create new chi : 0.07892656326293945 time to delete rle : 0.00022172927856445312 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1432 TO DO : save crop sub photo not yet done ! save time : 0.27994370460510254 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03982400894165039 time for calcul the mask position with numpy : 0.022778749465942383 nb_pixel_total : 2068870 time to create 1 rle with new method : 0.033678293228149414 time for calcul the mask position with numpy : 0.006606101989746094 nb_pixel_total : 4730 time to create 1 rle with old method : 0.0054721832275390625 create new chi : 0.06877374649047852 time to delete rle : 0.0002827644348144531 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1204 TO DO : save crop sub photo not yet done ! save time : 0.2786591053009033 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.07178115844726562 time for calcul the mask position with numpy : 0.30063533782958984 nb_pixel_total : 2062400 time to create 1 rle with new method : 0.19055557250976562 time for calcul the mask position with numpy : 0.006737470626831055 nb_pixel_total : 11200 time to create 1 rle with old method : 0.012704133987426758 create new chi : 0.5221869945526123 time to delete rle : 0.00032830238342285156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1544 TO DO : save crop sub photo not yet done ! save time : 0.42502617835998535 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.06794977188110352 time for calcul the mask position with numpy : 0.16952300071716309 nb_pixel_total : 1945205 time to create 1 rle with new method : 0.17270135879516602 time for calcul the mask position with numpy : 0.006286144256591797 nb_pixel_total : 11875 time to create 1 rle with old method : 0.01277017593383789 time for calcul the mask position with numpy : 0.007021188735961914 nb_pixel_total : 116520 time to create 1 rle with old method : 0.12855172157287598 create new chi : 0.507542610168457 time to delete rle : 0.0005254745483398438 batch 1 Loaded 5 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 3978 TO DO : save crop sub photo not yet done ! save time : 0.5668418407440186 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.1101677417755127 time for calcul the mask position with numpy : 0.15451288223266602 nb_pixel_total : 1964219 time to create 1 rle with new method : 0.17415475845336914 time for calcul the mask position with numpy : 0.006151914596557617 nb_pixel_total : 3462 time to create 1 rle with old method : 0.003936052322387695 time for calcul the mask position with numpy : 0.005903482437133789 nb_pixel_total : 4356 time to create 1 rle with old method : 0.004769563674926758 time for calcul the mask position with numpy : 0.006521463394165039 nb_pixel_total : 101563 time to create 1 rle with old method : 0.1127774715423584 create new chi : 0.47900843620300293 time to delete rle : 0.0004904270172119141 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2892 TO DO : save crop sub photo not yet done ! save time : 0.4931766986846924 No data in photo_id : 1387409593 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.257371187210083 time for calcul the mask position with numpy : 0.06673932075500488 nb_pixel_total : 2044520 time to create 1 rle with new method : 0.3228747844696045 time for calcul the mask position with numpy : 0.006665468215942383 nb_pixel_total : 2276 time to create 1 rle with old method : 0.0025947093963623047 time for calcul the mask position with numpy : 0.0066297054290771484 nb_pixel_total : 5417 time to create 1 rle with old method : 0.006045818328857422 time for calcul the mask position with numpy : 0.006676197052001953 nb_pixel_total : 4756 time to create 1 rle with old method : 0.0053904056549072266 time for calcul the mask position with numpy : 0.0069730281829833984 nb_pixel_total : 11367 time to create 1 rle with old method : 0.014024019241333008 time for calcul the mask position with numpy : 0.006325960159301758 nb_pixel_total : 5264 time to create 1 rle with old method : 0.006528615951538086 create new chi : 0.4690587520599365 time to delete rle : 0.00042247772216796875 batch 1 Loaded 11 chid ids of type : 3594 ++++++Number RLEs to save : 1996 TO DO : save crop sub photo not yet done ! save time : 0.3705770969390869 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.03995108604431152 time for calcul the mask position with numpy : 0.0187070369720459 nb_pixel_total : 1972381 time to create 1 rle with new method : 0.18069005012512207 time for calcul the mask position with numpy : 0.006342172622680664 nb_pixel_total : 94563 time to create 1 rle with old method : 0.10203003883361816 time for calcul the mask position with numpy : 0.006090879440307617 nb_pixel_total : 6656 time to create 1 rle with old method : 0.007029294967651367 create new chi : 0.3277130126953125 time to delete rle : 0.0003833770751953125 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2306 TO DO : save crop sub photo not yet done ! save time : 0.411085844039917 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.04994535446166992 time for calcul the mask position with numpy : 0.08205127716064453 nb_pixel_total : 1957270 time to create 1 rle with new method : 0.2169647216796875 time for calcul the mask position with numpy : 0.006215810775756836 nb_pixel_total : 1478 time to create 1 rle with old method : 0.0016067028045654297 time for calcul the mask position with numpy : 0.006203174591064453 nb_pixel_total : 4258 time to create 1 rle with old method : 0.004645347595214844 time for calcul the mask position with numpy : 0.0068302154541015625 nb_pixel_total : 110594 time to create 1 rle with old method : 0.1215200424194336 create new chi : 0.4549834728240967 time to delete rle : 0.00041174888610839844 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2420 TO DO : save crop sub photo not yet done ! save time : 0.5221505165100098 map_output_result : {1387409819: (0.0, 'Should be the crop_list due to order', 0), 1387409645: (0.0, 'Should be the crop_list due to order', 0), 1387409641: (0.0, 'Should be the crop_list due to order', 0.0), 1387409638: (0.0, 'Should be the crop_list due to order', 0), 1387409636: (0.0, 'Should be the crop_list due to order', 0), 1387409625: (0.0, 'Should be the crop_list due to order', 0), 1387409620: (0.0, 'Should be the crop_list due to order', 0), 1387409607: (0.0, 'Should be the crop_list due to order', 0), 1387409604: (0.0, 'Should be the crop_list due to order', 0), 1387409601: (0.0, 'Should be the crop_list due to order', 0), 1387409596: (0.0, 'Should be the crop_list due to order', 0), 1387409593: (0.0, 'Should be the crop_list due to order', 0.0), 1387409578: (0.0, 'Should be the crop_list due to order', 0), 1387409492: (0.0, 'Should be the crop_list due to order', 0), 1387409486: (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 [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] Looping around the photos to save general results len do output : 15 /1387409819.Didn't retrieve data . /1387409645.Didn't retrieve data . /1387409641.Didn't retrieve data . /1387409638.Didn't retrieve data . /1387409636.Didn't retrieve data . /1387409625.Didn't retrieve data . /1387409620.Didn't retrieve data . /1387409607.Didn't retrieve data . /1387409604.Didn't retrieve data . /1387409601.Didn't retrieve data . /1387409596.Didn't retrieve data . /1387409593.Didn't retrieve data . /1387409578.Didn't retrieve data . /1387409492.Didn't retrieve data . /1387409486.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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.03742241859436035 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.951480627059937 time spend to save output : 0.0380399227142334 total time spend for step 3 : 12.98952054977417 step4:ventilate_hashtags_in_portfolio Fri Oct 3 01:51:34 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 : 27463488 get user id for portfolio 27463488 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`=27463488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','metal','pet_clair','pehd','flou','background','pet_fonce','autre','environnement','papier')) 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`=27463488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','metal','pet_clair','pehd','flou','background','pet_fonce','autre','environnement','papier')) 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`=27463488 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','carton','metal','pet_clair','pehd','flou','background','pet_fonce','autre','environnement','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27464694,27464695,27464696,27464697,27464698,27464699,27464700,27464701,27464702,27464703,27464704?tags=mal_croppe,carton,metal,pet_clair,pehd,flou,background,pet_fonce,autre,environnement,papier Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] Looping around the photos to save general results len do output : 1 /27463488. 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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.05109739303588867 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.536029815673828 time spend to save output : 0.05159473419189453 total time spend for step 4 : 5.587624549865723 step5:final Fri Oct 3 01:51:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Catched exception ! Connect or reconnect ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1387409819: ('0.0557065329218107',), 1387409645: ('0.0557065329218107',), 1387409641: ('0.0557065329218107',), 1387409638: ('0.0557065329218107',), 1387409636: ('0.0557065329218107',), 1387409625: ('0.0557065329218107',), 1387409620: ('0.0557065329218107',), 1387409607: ('0.0557065329218107',), 1387409604: ('0.0557065329218107',), 1387409601: ('0.0557065329218107',), 1387409596: ('0.0557065329218107',), 1387409593: ('0.0557065329218107',), 1387409578: ('0.0557065329218107',), 1387409492: ('0.0557065329218107',), 1387409486: ('0.0557065329218107',)} new output for save of step final : {1387409819: ('0.0557065329218107',), 1387409645: ('0.0557065329218107',), 1387409641: ('0.0557065329218107',), 1387409638: ('0.0557065329218107',), 1387409636: ('0.0557065329218107',), 1387409625: ('0.0557065329218107',), 1387409620: ('0.0557065329218107',), 1387409607: ('0.0557065329218107',), 1387409604: ('0.0557065329218107',), 1387409601: ('0.0557065329218107',), 1387409596: ('0.0557065329218107',), 1387409593: ('0.0557065329218107',), 1387409578: ('0.0557065329218107',), 1387409492: ('0.0557065329218107',), 1387409486: ('0.0557065329218107',)} [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] Looping around the photos to save general results len do output : 15 /1387409819.Didn't retrieve data . /1387409645.Didn't retrieve data . /1387409641.Didn't retrieve data . /1387409638.Didn't retrieve data . /1387409636.Didn't retrieve data . /1387409625.Didn't retrieve data . /1387409620.Didn't retrieve data . /1387409607.Didn't retrieve data . /1387409604.Didn't retrieve data . /1387409601.Didn't retrieve data . /1387409596.Didn't retrieve data . /1387409593.Didn't retrieve data . /1387409578.Didn't retrieve data . /1387409492.Didn't retrieve data . /1387409486.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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 time used for this insertion : 0.03662276268005371 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.41764283180236816 time spend to save output : 0.03734111785888672 total time spend for step 5 : 0.4549839496612549 step6:blur_detection Fri Oct 3 01:51:40 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/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4.jpg resize: (1080, 1920) 1387409819 -3.5343734063068935 treat image : temp/1759449029_2093555_1387409645_9464b9efa5379c336778f829037e4e11.jpg resize: (1080, 1920) 1387409645 -1.6606471135252083 treat image : temp/1759449029_2093555_1387409641_b66fc50b14032a14d398fa99d20fe556.jpg resize: (1080, 1920) 1387409641 -2.500474915447853 treat image : temp/1759449029_2093555_1387409638_edb56aae4d315e031b171c07a7e5d583.jpg resize: (1080, 1920) 1387409638 -4.288890917072833 treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd.jpg resize: (1080, 1920) 1387409636 -0.7794431040749957 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c.jpg resize: (1080, 1920) 1387409625 -4.28459111916633 treat image : temp/1759449029_2093555_1387409620_ae8efdceadca5985ba143c5a8b7f07a2.jpg resize: (1080, 1920) 1387409620 -2.1798550846043434 treat image : temp/1759449029_2093555_1387409607_823c4c0e0215cdf8d7a33738cf92f13d.jpg resize: (1080, 1920) 1387409607 -1.6169201816168988 treat image : temp/1759449029_2093555_1387409604_ceb23574496e49a9fb916869cfc6870c.jpg resize: (1080, 1920) 1387409604 -0.9592759934909972 treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093.jpg resize: (1080, 1920) 1387409601 -1.4182001692109578 treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14.jpg resize: (1080, 1920) 1387409596 -2.123532560711546 treat image : temp/1759449029_2093555_1387409593_e3ae39908614b8af273c436e790f31c3.jpg resize: (1080, 1920) 1387409593 -1.6915598353366992 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb.jpg resize: (1080, 1920) 1387409578 -2.1407702231194117 treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782.jpg resize: (1080, 1920) 1387409492 -1.2579110899812112 treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd.jpg resize: (1080, 1920) 1387409486 -2.1959042335059498 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963829_0.png resize: (58, 118) 1387522878 -4.083091792582555 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963827_0.png resize: (56, 93) 1387522879 -3.248440083099047 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963825_0.png resize: (103, 91) 1387522880 -4.548490714123892 treat image : temp/1759449029_2093555_1387409620_ae8efdceadca5985ba143c5a8b7f07a2_rle_crop_3984963830_0.png resize: (143, 182) 1387522881 -2.007480229754079 treat image : temp/1759449029_2093555_1387409604_ceb23574496e49a9fb916869cfc6870c_rle_crop_3984963832_0.png resize: (204, 157) 1387522882 -1.8909591540481312 treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963836_0.png resize: (120, 56) 1387522883 -0.9125184696892112 treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963837_0.png resize: (78, 57) 1387522884 1.1146600999364211 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963839_0.png resize: (149, 110) 1387522885 -0.4290099429969766 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963840_0.png resize: (81, 106) 1387522886 -1.5023881070124858 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963841_0.png resize: (70, 111) 1387522887 -1.9484937706528576 treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963843_0.png resize: (108, 99) 1387522888 -1.6771807887817614 treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963846_0.png resize: (87, 91) 1387522889 -1.5607717703244575 treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963847_0.png resize: (42, 41) 1387522890 20.0 treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963833_0.png resize: (926, 757) 1387522892 0.20951767968044807 treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963834_0.png resize: (248, 303) 1387522893 -0.916917975463665 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963838_0.png resize: (72, 96) 1387522895 -0.8363675581213709 treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963820_0.png resize: (170, 226) 1387522898 -4.560104590190755 treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963818_0.png resize: (131, 96) 1387522899 -4.493700666481377 treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963819_0.png resize: (506, 335) 1387522900 -0.15845279941046728 treat image : temp/1759449029_2093555_1387409645_9464b9efa5379c336778f829037e4e11_rle_crop_3984963821_0.png resize: (169, 141) 1387522901 -1.9457070354848567 treat image : temp/1759449029_2093555_1387409638_edb56aae4d315e031b171c07a7e5d583_rle_crop_3984963822_0.png resize: (512, 323) 1387522902 -0.25279625534785877 treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963824_0.png resize: (984, 1011) 1387522903 0.945139127557989 treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963823_0.png resize: (417, 326) 1387522904 -0.5601173672551469 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963826_0.png resize: (540, 353) 1387522905 -0.29724531977352975 treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963835_0.png resize: (538, 330) 1387522907 -0.6679646987636589 treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963844_0.png resize: (495, 298) 1387522908 -0.06902902234515865 treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963845_0.png resize: (538, 354) 1387522909 0.11774839743633114 treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963828_0.png resize: (78, 61) 1387522911 -5.4328870724136165 treat image : temp/1759449029_2093555_1387409607_823c4c0e0215cdf8d7a33738cf92f13d_rle_crop_3984963831_0.png resize: (62, 108) 1387522912 -0.6575273674683509 treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963842_0.png resize: (49, 57) 1387522913 -3.013662419855572 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 : 45 time used for this insertion : 0.03979349136352539 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.03702712059020996 save missing photos in datou_result : time spend for datou_step_exec : 13.062264204025269 time spend to save output : 0.09406208992004395 total time spend for step 6 : 13.156326293945312 step7:brightness Fri Oct 3 01:51:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4.jpg treat image : temp/1759449029_2093555_1387409645_9464b9efa5379c336778f829037e4e11.jpg treat image : temp/1759449029_2093555_1387409641_b66fc50b14032a14d398fa99d20fe556.jpg treat image : temp/1759449029_2093555_1387409638_edb56aae4d315e031b171c07a7e5d583.jpg treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd.jpg treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c.jpg treat image : temp/1759449029_2093555_1387409620_ae8efdceadca5985ba143c5a8b7f07a2.jpg treat image : temp/1759449029_2093555_1387409607_823c4c0e0215cdf8d7a33738cf92f13d.jpg treat image : temp/1759449029_2093555_1387409604_ceb23574496e49a9fb916869cfc6870c.jpg treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093.jpg treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14.jpg treat image : temp/1759449029_2093555_1387409593_e3ae39908614b8af273c436e790f31c3.jpg treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb.jpg treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782.jpg treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd.jpg treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963829_0.png treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963827_0.png treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963825_0.png treat image : temp/1759449029_2093555_1387409620_ae8efdceadca5985ba143c5a8b7f07a2_rle_crop_3984963830_0.png treat image : temp/1759449029_2093555_1387409604_ceb23574496e49a9fb916869cfc6870c_rle_crop_3984963832_0.png treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963836_0.png treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963837_0.png treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963839_0.png treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963840_0.png treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963841_0.png treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963843_0.png treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963846_0.png treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963847_0.png treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963833_0.png treat image : temp/1759449029_2093555_1387409601_2dd69a83eaceae3f69cbe1b7d3ecf093_rle_crop_3984963834_0.png treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963838_0.png treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963820_0.png treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963818_0.png treat image : temp/1759449029_2093555_1387409819_b67405d1fe6ff1ac1acbdcd81f0596b4_rle_crop_3984963819_0.png treat image : temp/1759449029_2093555_1387409645_9464b9efa5379c336778f829037e4e11_rle_crop_3984963821_0.png treat image : temp/1759449029_2093555_1387409638_edb56aae4d315e031b171c07a7e5d583_rle_crop_3984963822_0.png treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963824_0.png treat image : temp/1759449029_2093555_1387409636_86f955e57cffec07929b13c96eca2ccd_rle_crop_3984963823_0.png treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963826_0.png treat image : temp/1759449029_2093555_1387409596_be313cf3adbc2cc6151c8246be52ad14_rle_crop_3984963835_0.png treat image : temp/1759449029_2093555_1387409492_c17f30a2b877a94d8e70859b26f9d782_rle_crop_3984963844_0.png treat image : temp/1759449029_2093555_1387409486_8fcbb8700138099ec4fd8af0810cdacd_rle_crop_3984963845_0.png treat image : temp/1759449029_2093555_1387409625_1b43417878176095ae79adad9af1239c_rle_crop_3984963828_0.png treat image : temp/1759449029_2093555_1387409607_823c4c0e0215cdf8d7a33738cf92f13d_rle_crop_3984963831_0.png treat image : temp/1759449029_2093555_1387409578_acde552ec637012daf946b0261c0e3cb_rle_crop_3984963842_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 : 45 time used for this insertion : 0.03956747055053711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 45 time used for this insertion : 0.03642749786376953 save missing photos in datou_result : time spend for datou_step_exec : 3.6553001403808594 time spend to save output : 0.09389495849609375 total time spend for step 7 : 3.749195098876953 step8:velours_tree Fri Oct 3 01:51:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure can't find the photo_desc_type Inside saveOutput : final : False verbose : 0 ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.10249948501586914 time spend to save output : 4.029273986816406e-05 total time spend for step 8 : 0.1025397777557373 step9:send_mail_cod Fri Oct 3 01:51:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_Auto_P27463488_03-10-2025_01_51_57.pdf 27464694 imagette274646941759449117 27464695 change filename to text .change filename to text .change filename to text .imagette274646951759449117 27464696 imagette274646961759449117 27464697 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 .imagette274646971759449117 27464698 imagette274646981759449118 27464699 imagette274646991759449118 27464700 imagette274647001759449118 27464701 imagette274647011759449118 27464702 change filename to text .change filename to text .change filename to text .imagette274647021759449118 27464704 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 .imagette274647041759449118 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27463488 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27464694,27464695,27464696,27464697,27464698,27464699,27464700,27464701,27464702,27464703,27464704?tags=mal_croppe,carton,metal,pet_clair,pehd,flou,background,pet_fonce,autre,environnement,papier args[1387409819] : ((1387409819, -3.5343734063068935, 492609224), (1387409819, 0.5185912561125358, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409645] : ((1387409645, -1.6606471135252083, 492688767), (1387409645, 0.6585154577040508, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409641] : ((1387409641, -2.500474915447853, 492609224), (1387409641, 0.519554638492815, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409638] : ((1387409638, -4.288890917072833, 492609224), (1387409638, 0.3047192144664475, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409636] : ((1387409636, -0.7794431040749957, 492688767), (1387409636, 0.4674289316663899, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409625] : ((1387409625, -4.28459111916633, 492609224), (1387409625, 0.44651790535515773, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409620] : ((1387409620, -2.1798550846043434, 492609224), (1387409620, 0.4483602194318073, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409607] : ((1387409607, -1.6169201816168988, 492688767), (1387409607, 0.5408136787413611, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409604] : ((1387409604, -0.9592759934909972, 492688767), (1387409604, 0.5909142888516712, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409601] : ((1387409601, -1.4182001692109578, 492688767), (1387409601, 0.5109745499768381, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409596] : ((1387409596, -2.123532560711546, 492609224), (1387409596, 0.4779430873322326, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409593] : ((1387409593, -1.6915598353366992, 492688767), (1387409593, 0.4755007311778489, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409578] : ((1387409578, -2.1407702231194117, 492609224), (1387409578, 0.505334718344589, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409492] : ((1387409492, -1.2579110899812112, 492688767), (1387409492, 0.5085260617746185, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com args[1387409486] : ((1387409486, -2.1959042335059498, 492609224), (1387409486, 0.4787223684531372, 2107752395), '0.0557065329218107') We are sending mail with results at report@fotonower.com refus_total : 0.0557065329218107 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27463488 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_P27463488_03-10-2025_01_51_57.pdf results_Auto_P27463488_03-10-2025_01_51_57.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463488_03-10-2025_01_51_57.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('3318','27463488','results_Auto_P27463488_03-10-2025_01_51_57.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463488_03-10-2025_01_51_57.pdf','pdf','','0.31','0.0557065329218107') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27463488

https://www.fotonower.com/image?json=false&list_photos_id=1387409819
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409645
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409641
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409638
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409636
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409625
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409620
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409607
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409604
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409601
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409596
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409593
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409578
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409492
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1387409486
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/27464695?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27464697?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27464702?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27464704?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463488_03-10-2025_01_51_57.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27464694,27464695,27464696,27464697,27464698,27464699,27464700,27464701,27464702,27464703,27464704?tags=mal_croppe,carton,metal,pet_clair,pehd,flou,background,pet_fonce,autre,environnement,papier.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 02 Oct 2025 23:52:02 GMT Content-Length: 0 Connection: close X-Message-Id: t9oN_nR-Qp2fsSZWMyDsUw 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 [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] 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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.04493546485900879 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.951793432235718 time spend to save output : 0.04526519775390625 total time spend for step 9 : 4.997058629989624 step10:split_time_score Fri Oct 3 01:52:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('14', 15),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02102025 27463488 Nombre de photos uploadées : 15 / 23040 (0%) 02102025 27463488 Nombre de photos taguées (types de déchets): 0 / 15 (0%) 02102025 27463488 Nombre de photos taguées (volume) : 0 / 15 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 8.821487426757812e-06 ??????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005447864532470703 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6835877895355225 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.016331413089225585 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463472 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`=27463472 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463474 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463475 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463477 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463481 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463483 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463485 order by id desc limit 1 Qualite : 0.0557065329218107 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463488_03-10-2025_01_51_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463488 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`=27463488 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463504 order by id desc limit 1 Qualite : 0.0 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27463505_03-10-2025_01_31_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27463505 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`=27463505 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02102025': {'nb_upload': 15, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387409819, 1387409645, 1387409641, 1387409638, 1387409636, 1387409625, 1387409620, 1387409607, 1387409604, 1387409601, 1387409596, 1387409593, 1387409578, 1387409492, 1387409486] Looping around the photos to save general results len do output : 1 /27463488Didn'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, '3824865') ('3318', '27463488', '1387409819', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409645', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409641', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409638', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409636', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409625', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409620', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409607', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409604', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409601', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409596', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409593', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409578', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409492', None, None, None, None, None, '3824865') ('3318', None, None, None, None, None, None, None, '3824865') ('3318', '27463488', '1387409486', None, None, None, None, None, '3824865') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.03841114044189453 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.746891975402832 time spend to save output : 0.038713693618774414 total time spend for step 10 : 6.7856056690216064 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 45.97user 22.85system 1:43.84elapsed 66%CPU (0avgtext+0avgdata 2784104maxresident)k 3088inputs+20328outputs (66major+1673990minor)pagefaults 0swaps