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 : 1373060 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 : ['3676910'] with mtr_portfolio_ids : ['26629340'] and first list_photo_ids : [] new path : /proc/1373060/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.2887582778930664 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Sep 8 08:50:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 10373 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-09-08 08:50:34.472098: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-09-08 08:50:34.486283: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-09-08 08:50:34.487900: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f30e4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-09-08 08:50:34.487920: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-09-08 08:50:34.491230: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-09-08 08:50:34.693452: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x275fd4e0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-09-08 08:50:34.693503: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-09-08 08:50:34.694278: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-08 08:50:34.694690: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-08 08:50:34.696959: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-08 08:50:34.699275: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-08 08:50:34.699619: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-08 08:50:34.702030: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-08 08:50:34.703285: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-08 08:50:34.708725: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-08 08:50:34.710907: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-08 08:50:34.710996: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-08 08:50:34.712099: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-08 08:50:34.712116: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-08 08:50:34.712125: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-08 08:50:34.715642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9466 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-09-08 08:50:35.028854: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-08 08:50:35.028970: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-08 08:50:35.028988: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-08 08:50:35.029003: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-08 08:50:35.029018: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-08 08:50:35.029032: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-08 08:50:35.029046: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-08 08:50:35.029062: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-08 08:50:35.030253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-08 08:50:35.031495: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-09-08 08:50:35.031535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-09-08 08:50:35.031550: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-08 08:50:35.031564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-09-08 08:50:35.031577: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-09-08 08:50:35.031590: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-09-08 08:50:35.031604: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-09-08 08:50:35.031617: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-09-08 08:50:35.032851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-09-08 08:50:35.032886: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-09-08 08:50:35.032895: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-09-08 08:50:35.032902: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-09-08 08:50:35.034098: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9466 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-09-08 08:50:44.527647: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-09-08 08:50:44.767361: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 16 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: 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: 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.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: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 18.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 23.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 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: 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 : 11 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 : 4 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: 25.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: 19.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: 14.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 17.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 Detection mask done ! Trying to reset tf kernel 1373599 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 508 tf kernel not reseted sub process len(results) : 16 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 16 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 : 5797 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.00035858154296875 nb_pixel_total : 8800 time to create 1 rle with old method : 0.011040210723876953 length of segment : 172 time for calcul the mask position with numpy : 0.001973390579223633 nb_pixel_total : 106381 time to create 1 rle with old method : 0.1252443790435791 length of segment : 544 time for calcul the mask position with numpy : 0.010679960250854492 nb_pixel_total : 608050 time to create 1 rle with new method : 0.03877902030944824 length of segment : 1338 time for calcul the mask position with numpy : 0.00026917457580566406 nb_pixel_total : 15917 time to create 1 rle with old method : 0.02169013023376465 length of segment : 129 time for calcul the mask position with numpy : 0.012136220932006836 nb_pixel_total : 835354 time to create 1 rle with new method : 0.04242730140686035 length of segment : 1012 time for calcul the mask position with numpy : 0.011529684066772461 nb_pixel_total : 743404 time to create 1 rle with new method : 0.04000258445739746 length of segment : 940 time for calcul the mask position with numpy : 0.00031948089599609375 nb_pixel_total : 22785 time to create 1 rle with old method : 0.026456594467163086 length of segment : 104 time for calcul the mask position with numpy : 0.0001270771026611328 nb_pixel_total : 5414 time to create 1 rle with old method : 0.0064847469329833984 length of segment : 143 time for calcul the mask position with numpy : 9.751319885253906e-05 nb_pixel_total : 5069 time to create 1 rle with old method : 0.006032705307006836 length of segment : 84 time for calcul the mask position with numpy : 0.00013709068298339844 nb_pixel_total : 5831 time to create 1 rle with old method : 0.007040262222290039 length of segment : 93 time for calcul the mask position with numpy : 0.013426542282104492 nb_pixel_total : 940875 time to create 1 rle with new method : 0.7008519172668457 length of segment : 1493 time for calcul the mask position with numpy : 0.0002009868621826172 nb_pixel_total : 3073 time to create 1 rle with old method : 0.0037446022033691406 length of segment : 68 time for calcul the mask position with numpy : 0.05301356315612793 nb_pixel_total : 1511114 time to create 1 rle with new method : 0.06952786445617676 length of segment : 1120 time for calcul the mask position with numpy : 0.0002830028533935547 nb_pixel_total : 15529 time to create 1 rle with old method : 0.017808914184570312 length of segment : 119 time for calcul the mask position with numpy : 0.00020265579223632812 nb_pixel_total : 4475 time to create 1 rle with old method : 0.005057334899902344 length of segment : 75 time for calcul the mask position with numpy : 0.0003883838653564453 nb_pixel_total : 11874 time to create 1 rle with old method : 0.013583898544311523 length of segment : 126 time for calcul the mask position with numpy : 0.0004246234893798828 nb_pixel_total : 8243 time to create 1 rle with old method : 0.00950765609741211 length of segment : 152 time for calcul the mask position with numpy : 0.015980005264282227 nb_pixel_total : 770554 time to create 1 rle with new method : 0.06579875946044922 length of segment : 1085 time for calcul the mask position with numpy : 0.00023889541625976562 nb_pixel_total : 11770 time to create 1 rle with old method : 0.013471364974975586 length of segment : 209 time for calcul the mask position with numpy : 0.001535654067993164 nb_pixel_total : 107352 time to create 1 rle with old method : 0.12341785430908203 length of segment : 626 time for calcul the mask position with numpy : 0.012539863586425781 nb_pixel_total : 675733 time to create 1 rle with new method : 0.04030966758728027 length of segment : 983 time for calcul the mask position with numpy : 0.0003993511199951172 nb_pixel_total : 7797 time to create 1 rle with old method : 0.01395559310913086 length of segment : 107 time for calcul the mask position with numpy : 0.015935897827148438 nb_pixel_total : 779513 time to create 1 rle with new method : 0.04117274284362793 length of segment : 953 time for calcul the mask position with numpy : 0.0002777576446533203 nb_pixel_total : 5586 time to create 1 rle with old method : 0.00719761848449707 length of segment : 96 time for calcul the mask position with numpy : 0.00020051002502441406 nb_pixel_total : 4345 time to create 1 rle with old method : 0.005334377288818359 length of segment : 70 time for calcul the mask position with numpy : 0.00017690658569335938 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0027093887329101562 length of segment : 41 time for calcul the mask position with numpy : 0.000377655029296875 nb_pixel_total : 14868 time to create 1 rle with old method : 0.01777052879333496 length of segment : 125 time for calcul the mask position with numpy : 0.0003094673156738281 nb_pixel_total : 8802 time to create 1 rle with old method : 0.010521888732910156 length of segment : 142 time for calcul the mask position with numpy : 0.0005595684051513672 nb_pixel_total : 21041 time to create 1 rle with old method : 0.02422046661376953 length of segment : 228 time for calcul the mask position with numpy : 0.0007374286651611328 nb_pixel_total : 27502 time to create 1 rle with old method : 0.03189396858215332 length of segment : 188 time for calcul the mask position with numpy : 0.00022792816162109375 nb_pixel_total : 5316 time to create 1 rle with old method : 0.006261348724365234 length of segment : 89 time spent for convertir_results : 3.840407371520996 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 31 chid ids of type : 3594 Number RLEs to save : 12654 save missing photos in datou_result : time spend for datou_step_exec : 31.00166082382202 time spend to save output : 0.7679016590118408 total time spend for step 1 : 31.769562482833862 step2:crop_condition Mon Sep 8 08:51:02 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 16 ! batch 1 Loaded 31 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 ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757314263_1373060 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.274723529815674 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757314271_1373060 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.6792008876800537 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757314298_1373060 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.250231742858887 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 ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1757314302_1373060 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6862406730651855 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 [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] Looping around the photos to save general results len do output : 31 /1382481277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481291Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481292Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481293Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481392Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481393Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481394Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481395Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481396Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481397Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481398Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481399Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481400Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481401Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481402Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481403Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481404Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481405Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481406Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481407Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1382481408Didn'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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 109 time used for this insertion : 0.021076679229736328 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.05868983268738 time spend to save output : 0.02252936363220215 total time spend for step 2 : 41.08121919631958 step3:rle_unique_nms_with_priority Mon Sep 8 08:51:43 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 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 31 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++ No data in photo_id : 1382471712 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.48366856575012207 time for calcul the mask position with numpy : 0.15163040161132812 nb_pixel_total : 1350369 time to create 1 rle with new method : 0.07790422439575195 time for calcul the mask position with numpy : 0.010576963424682617 nb_pixel_total : 608050 time to create 1 rle with new method : 0.23381924629211426 time for calcul the mask position with numpy : 0.00667881965637207 nb_pixel_total : 106381 time to create 1 rle with old method : 0.11417722702026367 time for calcul the mask position with numpy : 0.006270408630371094 nb_pixel_total : 8800 time to create 1 rle with old method : 0.009995222091674805 create new chi : 0.6284222602844238 time to delete rle : 0.0265505313873291 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 5188 TO DO : save crop sub photo not yet done ! save time : 0.33876609802246094 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.2912306785583496 time for calcul the mask position with numpy : 0.03742790222167969 nb_pixel_total : 1222329 time to create 1 rle with new method : 0.16217303276062012 time for calcul the mask position with numpy : 0.015474557876586914 nb_pixel_total : 835354 time to create 1 rle with new method : 0.053470611572265625 time for calcul the mask position with numpy : 0.006210803985595703 nb_pixel_total : 15917 time to create 1 rle with old method : 0.018843412399291992 create new chi : 0.30185508728027344 time to delete rle : 0.00044798851013183594 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 3362 TO DO : save crop sub photo not yet done ! save time : 0.22662615776062012 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04171609878540039 time for calcul the mask position with numpy : 0.020795106887817383 nb_pixel_total : 1330196 time to create 1 rle with new method : 0.3004183769226074 time for calcul the mask position with numpy : 0.013261556625366211 nb_pixel_total : 743404 time to create 1 rle with new method : 0.10360932350158691 create new chi : 0.45369887351989746 time to delete rle : 0.00030541419982910156 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 2960 TO DO : save crop sub photo not yet done ! save time : 0.2199115753173828 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.11183738708496094 time for calcul the mask position with numpy : 0.2662527561187744 nb_pixel_total : 2040332 time to create 1 rle with new method : 0.2927999496459961 time for calcul the mask position with numpy : 0.006093025207519531 nb_pixel_total : 5069 time to create 1 rle with old method : 0.0056705474853515625 time for calcul the mask position with numpy : 0.0060422420501708984 nb_pixel_total : 5414 time to create 1 rle with old method : 0.006066083908081055 time for calcul the mask position with numpy : 0.005895376205444336 nb_pixel_total : 22785 time to create 1 rle with old method : 0.025269746780395508 create new chi : 0.6237056255340576 time to delete rle : 0.00035953521728515625 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1742 TO DO : save crop sub photo not yet done ! save time : 0.13769841194152832 No data in photo_id : 1382471646 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04297375679016113 time for calcul the mask position with numpy : 0.04409599304199219 nb_pixel_total : 1126894 time to create 1 rle with new method : 0.29074788093566895 time for calcul the mask position with numpy : 0.013611078262329102 nb_pixel_total : 940875 time to create 1 rle with new method : 0.3058192729949951 time for calcul the mask position with numpy : 0.00601649284362793 nb_pixel_total : 5831 time to create 1 rle with old method : 0.0065114498138427734 create new chi : 0.6742339134216309 time to delete rle : 0.0006265640258789062 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 4252 TO DO : save crop sub photo not yet done ! save time : 0.28635096549987793 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07618141174316406 time for calcul the mask position with numpy : 0.009231328964233398 nb_pixel_total : 561890 time to create 1 rle with new method : 0.16245770454406738 time for calcul the mask position with numpy : 0.04794740676879883 nb_pixel_total : 1508637 time to create 1 rle with new method : 0.15177583694458008 time for calcul the mask position with numpy : 0.005921363830566406 nb_pixel_total : 3073 time to create 1 rle with old method : 0.0033440589904785156 create new chi : 0.3954596519470215 time to delete rle : 0.0004305839538574219 batch 1 Loaded 6 chid ids of type : 3594 +++Number RLEs to save : 3417 TO DO : save crop sub photo not yet done ! save time : 0.2429952621459961 No data in photo_id : 1382471626 nb_obj : 3 nb_hashtags : 3 time to prepare the origin masks : 0.18261194229125977 time for calcul the mask position with numpy : 0.060097455978393555 nb_pixel_total : 2049008 time to create 1 rle with new method : 0.16574859619140625 time for calcul the mask position with numpy : 0.0073795318603515625 nb_pixel_total : 8243 time to create 1 rle with old method : 0.009080171585083008 time for calcul the mask position with numpy : 0.006078004837036133 nb_pixel_total : 11874 time to create 1 rle with old method : 0.012863636016845703 time for calcul the mask position with numpy : 0.0061435699462890625 nb_pixel_total : 4475 time to create 1 rle with old method : 0.004984617233276367 create new chi : 0.2868010997772217 time to delete rle : 0.0002837181091308594 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1786 TO DO : save crop sub photo not yet done ! save time : 0.14693760871887207 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.054593563079833984 time for calcul the mask position with numpy : 0.015172481536865234 nb_pixel_total : 1183924 time to create 1 rle with new method : 0.1672196388244629 time for calcul the mask position with numpy : 0.006484508514404297 nb_pixel_total : 107352 time to create 1 rle with old method : 0.11499762535095215 time for calcul the mask position with numpy : 0.006017923355102539 nb_pixel_total : 11770 time to create 1 rle with old method : 0.012671232223510742 time for calcul the mask position with numpy : 0.011109113693237305 nb_pixel_total : 770554 time to create 1 rle with new method : 0.06563663482666016 create new chi : 0.4068465232849121 time to delete rle : 0.0005934238433837891 batch 1 Loaded 7 chid ids of type : 3594 ++++++Number RLEs to save : 4920 TO DO : save crop sub photo not yet done ! save time : 0.3124368190765381 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04200410842895508 time for calcul the mask position with numpy : 0.2006397247314453 nb_pixel_total : 1397867 time to create 1 rle with new method : 0.07638907432556152 time for calcul the mask position with numpy : 0.010277271270751953 nb_pixel_total : 675733 time to create 1 rle with new method : 0.1556847095489502 create new chi : 0.45232081413269043 time to delete rle : 0.0003135204315185547 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 3046 TO DO : save crop sub photo not yet done ! save time : 0.22056269645690918 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.2004406452178955 time for calcul the mask position with numpy : 0.03714323043823242 nb_pixel_total : 1286290 time to create 1 rle with new method : 0.1739351749420166 time for calcul the mask position with numpy : 0.011406898498535156 nb_pixel_total : 779513 time to create 1 rle with new method : 0.16353511810302734 time for calcul the mask position with numpy : 0.006520271301269531 nb_pixel_total : 7797 time to create 1 rle with old method : 0.008961915969848633 create new chi : 0.41087937355041504 time to delete rle : 0.0005633831024169922 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 3200 TO DO : save crop sub photo not yet done ! save time : 0.23770642280578613 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.22365474700927734 time for calcul the mask position with numpy : 0.16816401481628418 nb_pixel_total : 2046738 time to create 1 rle with new method : 0.07711338996887207 time for calcul the mask position with numpy : 0.006098747253417969 nb_pixel_total : 14868 time to create 1 rle with old method : 0.015553951263427734 time for calcul the mask position with numpy : 0.00567317008972168 nb_pixel_total : 2063 time to create 1 rle with old method : 0.0022056102752685547 time for calcul the mask position with numpy : 0.006155490875244141 nb_pixel_total : 4345 time to create 1 rle with old method : 0.004597663879394531 time for calcul the mask position with numpy : 0.006083250045776367 nb_pixel_total : 5586 time to create 1 rle with old method : 0.006165027618408203 create new chi : 0.3079409599304199 time to delete rle : 0.0003066062927246094 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1744 TO DO : save crop sub photo not yet done ! save time : 0.14493942260742188 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04221153259277344 time for calcul the mask position with numpy : 0.01900005340576172 nb_pixel_total : 2043757 time to create 1 rle with new method : 0.17026042938232422 time for calcul the mask position with numpy : 0.006054878234863281 nb_pixel_total : 21041 time to create 1 rle with old method : 0.022628068923950195 time for calcul the mask position with numpy : 0.005845308303833008 nb_pixel_total : 8802 time to create 1 rle with old method : 0.009701013565063477 create new chi : 0.24017095565795898 time to delete rle : 0.0002894401550292969 batch 1 Loaded 5 chid ids of type : 3594 ++++Number RLEs to save : 1820 TO DO : save crop sub photo not yet done ! save time : 0.15384864807128906 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.21168112754821777 time for calcul the mask position with numpy : 0.05681777000427246 nb_pixel_total : 2040782 time to create 1 rle with new method : 0.1736314296722412 time for calcul the mask position with numpy : 0.006033420562744141 nb_pixel_total : 5316 time to create 1 rle with old method : 0.0060160160064697266 time for calcul the mask position with numpy : 0.006057024002075195 nb_pixel_total : 27502 time to create 1 rle with old method : 0.031069040298461914 create new chi : 0.2900965213775635 time to delete rle : 0.00027632713317871094 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1634 TO DO : save crop sub photo not yet done ! save time : 0.1488184928894043 map_output_result : {1382471712: (0.0, 'Should be the crop_list due to order', 0.0), 1382471709: (0.0, 'Should be the crop_list due to order', 0), 1382471707: (0.0, 'Should be the crop_list due to order', 0), 1382471653: (0.0, 'Should be the crop_list due to order', 0), 1382471650: (0.0, 'Should be the crop_list due to order', 0), 1382471646: (0.0, 'Should be the crop_list due to order', 0.0), 1382471634: (0.0, 'Should be the crop_list due to order', 0), 1382471631: (0.0, 'Should be the crop_list due to order', 0), 1382471626: (0.0, 'Should be the crop_list due to order', 0.0), 1382471589: (0.0, 'Should be the crop_list due to order', 0), 1382471587: (0.0, 'Should be the crop_list due to order', 0), 1382471584: (0.0, 'Should be the crop_list due to order', 0), 1382471580: (0.0, 'Should be the crop_list due to order', 0), 1382471568: (0.0, 'Should be the crop_list due to order', 0), 1382471566: (0.0, 'Should be the crop_list due to order', 0), 1382471513: (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 [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] Looping around the photos to save general results len do output : 16 /1382471712.Didn't retrieve data . /1382471709.Didn't retrieve data . /1382471707.Didn't retrieve data . /1382471653.Didn't retrieve data . /1382471650.Didn't retrieve data . /1382471646.Didn't retrieve data . /1382471634.Didn't retrieve data . /1382471631.Didn't retrieve data . /1382471626.Didn't retrieve data . /1382471589.Didn't retrieve data . /1382471587.Didn't retrieve data . /1382471584.Didn't retrieve data . /1382471580.Didn't retrieve data . /1382471568.Didn't retrieve data . /1382471566.Didn't retrieve data . /1382471513.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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.013428449630737305 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.753166913986206 time spend to save output : 0.013967752456665039 total time spend for step 3 : 10.767134666442871 step4:ventilate_hashtags_in_portfolio Mon Sep 8 08:51:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 26629340 get user id for portfolio 26629340 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`=26629340 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','pet_fonce','environnement','pet_clair','background','carton','pehd','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26629340 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','pet_fonce','environnement','pet_clair','background','carton','pehd','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26629340 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','flou','pet_fonce','environnement','pet_clair','background','carton','pehd','papier','metal','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26629999,26630000,26630001,26630002,26630003,26630004,26630005,26630006,26630007,26630008,26630009?tags=mal_croppe,flou,pet_fonce,environnement,pet_clair,background,carton,pehd,papier,metal,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] Looping around the photos to save general results len do output : 1 /26629340. 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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.015035629272460938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7286837100982666 time spend to save output : 0.015303611755371094 total time spend for step 4 : 1.7439873218536377 step5:final Mon Sep 8 08:51:55 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 : {1382471712: ('0.21931737075617283',), 1382471709: ('0.21931737075617283',), 1382471707: ('0.21931737075617283',), 1382471653: ('0.21931737075617283',), 1382471650: ('0.21931737075617283',), 1382471646: ('0.21931737075617283',), 1382471634: ('0.21931737075617283',), 1382471631: ('0.21931737075617283',), 1382471626: ('0.21931737075617283',), 1382471589: ('0.21931737075617283',), 1382471587: ('0.21931737075617283',), 1382471584: ('0.21931737075617283',), 1382471580: ('0.21931737075617283',), 1382471568: ('0.21931737075617283',), 1382471566: ('0.21931737075617283',), 1382471513: ('0.21931737075617283',)} new output for save of step final : {1382471712: ('0.21931737075617283',), 1382471709: ('0.21931737075617283',), 1382471707: ('0.21931737075617283',), 1382471653: ('0.21931737075617283',), 1382471650: ('0.21931737075617283',), 1382471646: ('0.21931737075617283',), 1382471634: ('0.21931737075617283',), 1382471631: ('0.21931737075617283',), 1382471626: ('0.21931737075617283',), 1382471589: ('0.21931737075617283',), 1382471587: ('0.21931737075617283',), 1382471584: ('0.21931737075617283',), 1382471580: ('0.21931737075617283',), 1382471568: ('0.21931737075617283',), 1382471566: ('0.21931737075617283',), 1382471513: ('0.21931737075617283',)} [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] Looping around the photos to save general results len do output : 16 /1382471712.Didn't retrieve data . /1382471709.Didn't retrieve data . /1382471707.Didn't retrieve data . /1382471653.Didn't retrieve data . /1382471650.Didn't retrieve data . /1382471646.Didn't retrieve data . /1382471634.Didn't retrieve data . /1382471631.Didn't retrieve data . /1382471626.Didn't retrieve data . /1382471589.Didn't retrieve data . /1382471587.Didn't retrieve data . /1382471584.Didn't retrieve data . /1382471580.Didn't retrieve data . /1382471568.Didn't retrieve data . /1382471566.Didn't retrieve data . /1382471513.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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.014861822128295898 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12082600593566895 time spend to save output : 0.015550374984741211 total time spend for step 5 : 0.13637638092041016 step6:blur_detection Mon Sep 8 08:51:56 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/1757314228_1373060_1382471712_b71c66d92c5c156833f4fbed6a572d09.jpg resize: (1080, 1920) 1382471712 -2.42831429234739 treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341.jpg resize: (1080, 1920) 1382471709 -2.208469966014363 treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab.jpg resize: (1080, 1920) 1382471707 -2.0909238987674352 treat image : temp/1757314228_1373060_1382471653_8007547269ae94e696a5131ce71d7998.jpg resize: (1080, 1920) 1382471653 -2.657794988029361 treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500.jpg resize: (1080, 1920) 1382471650 -2.6315237488835868 treat image : temp/1757314228_1373060_1382471646_dd433cfc80c30b219f1448fadd9e44cf.jpg resize: (1080, 1920) 1382471646 -2.111964205026449 treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f.jpg resize: (1080, 1920) 1382471634 0.2554810338161824 treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0.jpg resize: (1080, 1920) 1382471631 3.4326727980922107 treat image : temp/1757314228_1373060_1382471626_b997e3f4c53849749cbbfafcad80a085.jpg resize: (1080, 1920) 1382471626 -1.2897077758555375 treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2.jpg resize: (1080, 1920) 1382471589 -2.4742183104193463 treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3.jpg resize: (1080, 1920) 1382471587 -2.106624963267548 treat image : temp/1757314228_1373060_1382471584_59cf6a5760854a35a063d5dd875518c8.jpg resize: (1080, 1920) 1382471584 -2.123569775878031 treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c.jpg resize: (1080, 1920) 1382471580 -2.0748778534517043 treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98.jpg resize: (1080, 1920) 1382471568 -3.035960896849205 treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258.jpg resize: (1080, 1920) 1382471566 -2.8707361366477406 treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082.jpg resize: (1080, 1920) 1382471513 -2.192467508001022 treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521987_0.png resize: (174, 111) 1382481277 -1.9266764320047987 treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521994_0.png resize: (143, 78) 1382481278 -2.3189052200164153 treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f_rle_crop_3950521996_0.png resize: (93, 111) 1382481279 -1.95553497834722 treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522002_0.png resize: (112, 150) 1382481280 -0.7315117469211838 treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522012_0.png resize: (41, 91) 1382481281 -2.9326077702505486 treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522010_0.png resize: (96, 120) 1382481282 -2.314099140136124 treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082_rle_crop_3950522017_0.png resize: (89, 100) 1382481283 -1.7230255825384932 treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521989_0.png resize: (936, 967) 1382481291 -0.44432890438674605 treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950521998_0.png resize: (68, 78) 1382481292 -2.2712739215733926 treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522003_0.png resize: (152, 85) 1382481293 -1.7368324629468093 treat image : temp/1757314228_1373060_1382471584_59cf6a5760854a35a063d5dd875518c8_rle_crop_3950522007_0.png resize: (970, 960) 1382481294 0.08247764127513761 treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c_rle_crop_3950522008_0.png resize: (96, 111) 1382481295 -1.3495833969077546 treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522011_0.png resize: (70, 86) 1382481296 -0.7471173173498503 treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258_rle_crop_3950522014_0.png resize: (93, 136) 1382481297 -1.8099321827690074 treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521988_0.png resize: (536, 317) 1382481392 -0.023527642104675738 treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab_rle_crop_3950521991_0.png resize: (976, 1219) 1382481393 0.08259092916450017 treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab_rle_crop_3950521990_0.png resize: (125, 153) 1382481394 -1.952447245862724 treat image : temp/1757314228_1373060_1382471653_8007547269ae94e696a5131ce71d7998_rle_crop_3950521992_0.png resize: (939, 1037) 1382481395 0.00810994835334973 treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521993_0.png resize: (102, 262) 1382481396 -3.8290603062032047 treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521995_0.png resize: (84, 78) 1382481397 -0.6392595028120225 treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f_rle_crop_3950521997_0.png resize: (990, 1199) 1382481398 -1.027442007098143 treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950521999_0.png resize: (976, 1644) 1382481399 0.7732434041336311 treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950522000_0.png resize: (118, 176) 1382481400 -0.8334331097845068 treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522001_0.png resize: (75, 70) 1382481401 -2.3879007235165703 treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522004_0.png resize: (992, 1155) 1382481402 -0.38661112091077954 treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522005_0.png resize: (168, 102) 1382481403 -2.477847515180713 treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522006_0.png resize: (527, 347) 1382481404 -0.6846861909828651 treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c_rle_crop_3950522009_0.png resize: (948, 1192) 1382481405 -0.008573927625620311 treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258_rle_crop_3950522015_0.png resize: (206, 155) 1382481406 -3.2689239238959003 treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082_rle_crop_3950522016_0.png resize: (188, 308) 1382481407 -3.249258660744999 treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522013_0.png resize: (125, 147) 1382481408 -0.9386757150133376 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 : 47 time used for this insertion : 0.014573097229003906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.014151573181152344 save missing photos in datou_result : time spend for datou_step_exec : 15.454798221588135 time spend to save output : 0.03386330604553223 total time spend for step 6 : 15.488661527633667 step7:brightness Mon Sep 8 08:52:11 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/1757314228_1373060_1382471712_b71c66d92c5c156833f4fbed6a572d09.jpg treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341.jpg treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab.jpg treat image : temp/1757314228_1373060_1382471653_8007547269ae94e696a5131ce71d7998.jpg treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500.jpg treat image : temp/1757314228_1373060_1382471646_dd433cfc80c30b219f1448fadd9e44cf.jpg treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f.jpg treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0.jpg treat image : temp/1757314228_1373060_1382471626_b997e3f4c53849749cbbfafcad80a085.jpg treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2.jpg treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3.jpg treat image : temp/1757314228_1373060_1382471584_59cf6a5760854a35a063d5dd875518c8.jpg treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c.jpg treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98.jpg treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258.jpg treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082.jpg treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521987_0.png treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521994_0.png treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f_rle_crop_3950521996_0.png treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522002_0.png treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522012_0.png treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522010_0.png treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082_rle_crop_3950522017_0.png treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521989_0.png treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950521998_0.png treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522003_0.png treat image : temp/1757314228_1373060_1382471584_59cf6a5760854a35a063d5dd875518c8_rle_crop_3950522007_0.png treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c_rle_crop_3950522008_0.png treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522011_0.png treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258_rle_crop_3950522014_0.png treat image : temp/1757314228_1373060_1382471709_84b543d93ca4dbc940a601f7c1759341_rle_crop_3950521988_0.png treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab_rle_crop_3950521991_0.png treat image : temp/1757314228_1373060_1382471707_be9488e4bac5a2552cdd2f95135991ab_rle_crop_3950521990_0.png treat image : temp/1757314228_1373060_1382471653_8007547269ae94e696a5131ce71d7998_rle_crop_3950521992_0.png treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521993_0.png treat image : temp/1757314228_1373060_1382471650_98cd6f8e183e291e70d11b911295a500_rle_crop_3950521995_0.png treat image : temp/1757314228_1373060_1382471634_182047d5d496e57fdb6a856f38d1506f_rle_crop_3950521997_0.png treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950521999_0.png treat image : temp/1757314228_1373060_1382471631_588b499a08dc1550a2f737645ccd9cf0_rle_crop_3950522000_0.png treat image : temp/1757314228_1373060_1382471589_337623d225307258edb71e018dbb0de2_rle_crop_3950522001_0.png treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522004_0.png treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522005_0.png treat image : temp/1757314228_1373060_1382471587_b4535f1387722ebb066c2b29280717b3_rle_crop_3950522006_0.png treat image : temp/1757314228_1373060_1382471580_b06cbf125d14b97551e491febc60d65c_rle_crop_3950522009_0.png treat image : temp/1757314228_1373060_1382471566_5ed74cbff286c49e3b7855bb9e865258_rle_crop_3950522015_0.png treat image : temp/1757314228_1373060_1382471513_6d9866700fd8582a6f4f195f7bbaf082_rle_crop_3950522016_0.png treat image : temp/1757314228_1373060_1382471568_14e69ff62f929b88fa35d114a8fbbe98_rle_crop_3950522013_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 : 47 time used for this insertion : 0.015540122985839844 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 47 time used for this insertion : 0.014910697937011719 save missing photos in datou_result : time spend for datou_step_exec : 4.6121649742126465 time spend to save output : 0.035462141036987305 total time spend for step 7 : 4.647627115249634 step8:velours_tree Mon Sep 8 08:52:16 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.09592270851135254 time spend to save output : 4.9114227294921875e-05 total time spend for step 8 : 0.09597182273864746 step9:send_mail_cod Mon Sep 8 08:52:16 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_P26629340_08-09-2025_08_52_16.pdf 26629999 imagette266299991757314336 26630000 imagette266300001757314336 26630001 imagette266300011757314336 26630003 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette266300031757314336 26630004 imagette266300041757314337 26630005 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 .imagette266300051757314337 26630006 imagette266300061757314338 26630007 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 .imagette266300071757314338 26630008 imagette266300081757314338 26630009 change filename to text .imagette266300091757314338 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26629340 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26629999,26630000,26630001,26630002,26630003,26630004,26630005,26630006,26630007,26630008,26630009?tags=mal_croppe,flou,pet_fonce,environnement,pet_clair,background,carton,pehd,papier,metal,autre args[1382471712] : ((1382471712, -2.42831429234739, 492609224), (1382471712, 0.5198512268191947, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471709] : ((1382471709, -2.208469966014363, 492609224), (1382471709, 0.5592448078148029, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471707] : ((1382471707, -2.0909238987674352, 492609224), (1382471707, 0.579905681616651, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471653] : ((1382471653, -2.657794988029361, 492609224), (1382471653, 0.6193401963287899, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471650] : ((1382471650, -2.6315237488835868, 492609224), (1382471650, 0.6186662615562936, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471646] : ((1382471646, -2.111964205026449, 492609224), (1382471646, 0.3948704441754252, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471634] : ((1382471634, 0.2554810338161824, 492688767), (1382471634, 0.41597240716593925, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471631] : ((1382471631, 3.4326727980922107, 492688767), (1382471631, 0.4377080070026239, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471626] : ((1382471626, -1.2897077758555375, 492688767), (1382471626, 0.5684106149545486, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471589] : ((1382471589, -2.4742183104193463, 492609224), (1382471589, 0.5125166234829235, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471587] : ((1382471587, -2.106624963267548, 492609224), (1382471587, 0.540200886348894, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471584] : ((1382471584, -2.123569775878031, 492609224), (1382471584, 0.5746924986497058, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471580] : ((1382471580, -2.0748778534517043, 492609224), (1382471580, 0.5157346941486767, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471568] : ((1382471568, -3.035960896849205, 492609224), (1382471568, 0.6014567667636369, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471566] : ((1382471566, -2.8707361366477406, 492609224), (1382471566, 0.5322852418458132, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com args[1382471513] : ((1382471513, -2.192467508001022, 492609224), (1382471513, 0.8018022985903094, 2107752395), '0.21931737075617283') We are sending mail with results at report@fotonower.com refus_total : 0.21931737075617283 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26629340 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_P26629340_08-09-2025_08_52_16.pdf results_Auto_P26629340_08-09-2025_08_52_16.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629340_08-09-2025_08_52_16.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','26629340','results_Auto_P26629340_08-09-2025_08_52_16.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629340_08-09-2025_08_52_16.pdf','pdf','','0.81','0.21931737075617283') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26629340

https://www.fotonower.com/image?json=false&list_photos_id=1382471712
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471709
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471707
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471653
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471650
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471646
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471634
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471631
La photo est trop floue, merci de reprendre une photo.(avec le score = 3.4326727980922107)
https://www.fotonower.com/image?json=false&list_photos_id=1382471626
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471589
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471587
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471584
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471580
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471568
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471566
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1382471513
Bravo, la photo est bien prise.

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26630003?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26630005?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26630007?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26630009?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629340_08-09-2025_08_52_16.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/26629999,26630000,26630001,26630002,26630003,26630004,26630005,26630006,26630007,26630008,26630009?tags=mal_croppe,flou,pet_fonce,environnement,pet_clair,background,carton,pehd,papier,metal,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 08 Sep 2025 06:52:20 GMT Content-Length: 0 Connection: close X-Message-Id: tcCi1XcOTISYQY6ytfSQ9Q 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 [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] 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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.015483617782592773 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.588471174240112 time spend to save output : 0.015681982040405273 total time spend for step 9 : 4.604153156280518 step10:split_time_score Mon Sep 8 08:52:20 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'}] (('07', 16),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08092025 26629340 Nombre de photos uploadées : 16 / 23040 (0%) 08092025 26629340 Nombre de photos taguées (types de déchets): 0 / 16 (0%) 08092025 26629340 Nombre de photos taguées (volume) : 0 / 16 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ???????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0007505416870117188 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23132085800170898 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26629339 order by id desc limit 1 Qualite : 0.21931737075617283 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629340_08-09-2025_08_52_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26629340 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`=26629340 AND mptpi.`type`=3594 To do Qualite : 0.17503380155723905 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26629342_08-09-2025_08_41_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26629342 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`=26629342 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08092025': {'nb_upload': 16, '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 [1382471712, 1382471709, 1382471707, 1382471653, 1382471650, 1382471646, 1382471634, 1382471631, 1382471626, 1382471589, 1382471587, 1382471584, 1382471580, 1382471568, 1382471566, 1382471513] Looping around the photos to save general results len do output : 1 /26629340Didn'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, '3676910') ('3318', '26629340', '1382471712', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471709', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471707', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471653', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471650', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471646', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471634', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471631', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471626', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471589', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471587', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471584', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471580', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471568', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471566', None, None, None, None, None, '3676910') ('3318', None, None, None, None, None, None, None, '3676910') ('3318', '26629340', '1382471513', None, None, None, None, None, '3676910') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.017077207565307617 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4848687648773193 time spend to save output : 0.017259836196899414 total time spend for step 10 : 1.5021286010742188 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 73.32user 25.41system 1:56.73elapsed 84%CPU (0avgtext+0avgdata 2850508maxresident)k 986832inputs+54560outputs (3748major+1934635minor)pagefaults 0swaps