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 : 3710089 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 : ['3962920'] with mtr_portfolio_ids : ['27930307'] and first list_photo_ids : [] new path : /proc/3710089/ 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 1.6292407512664795 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 Thu Oct 30 00:50:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 4026 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-30 00:50:35.255879: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-10-30 00:50:35.282595: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-30 00:50:35.284612: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f0f1c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-30 00:50:35.284656: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-30 00:50:35.288134: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-30 00:50:35.527840: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x23bbfad0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-30 00:50:35.527907: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-30 00:50:35.528835: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-30 00:50:35.529208: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:50:35.531597: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:50:35.533701: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:50:35.534099: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:50:35.536655: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:50:35.537964: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:50:35.542497: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:50:35.543592: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:50:35.543661: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:50:35.544262: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-30 00:50:35.544277: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-30 00:50:35.544286: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-30 00:50:35.545584: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3574 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-30 00:50:35.832240: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-30 00:50:35.832337: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:50:35.832369: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:50:35.832398: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:50:35.832426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:50:35.832461: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:50:35.832488: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:50:35.832516: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:50:35.833947: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:50:35.835390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-30 00:50:35.835422: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-30 00:50:35.835437: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:50:35.835452: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-30 00:50:35.835466: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-30 00:50:35.835480: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-30 00:50:35.835494: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-30 00:50:35.835508: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:50:35.836391: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-30 00:50:35.836416: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-30 00:50:35.836423: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-30 00:50:35.836430: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-30 00:50:35.837350: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 3574 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-30 00:50:43.983829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-30 00:50:44.189945: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-30 00:50:45.612826: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:45.613469: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.69G (2891435264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.383016: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-10-30 00:50:46.444645: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.444727: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.445565: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.445588: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.452560: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.452600: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.458928: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.458984: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.459608: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.459641: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.490771: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.490852: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.490867: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-10-30 00:50:46.491676: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.491699: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.492484: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.492505: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.499723: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.499782: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-10-30 00:50:46.500559: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.501353: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.502126: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.511324: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.512194: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.529398: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.530637: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.531647: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.532665: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.537617: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.538729: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.539768: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.540823: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.542731: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.552487: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.553161: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.562654: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.563341: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.563987: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.564614: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.565254: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-10-30 00:50:46.565878: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.99G (3212705792 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 11 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 34.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 1 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 31.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 8 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: 36.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 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 : 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 : 8 Detection mask done ! Trying to reset tf kernel 3710711 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2526 tf kernel not reseted sub process len(results) : 11 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 11 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 : 3719 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.0004239082336425781 nb_pixel_total : 5698 time to create 1 rle with old method : 0.0067844390869140625 length of segment : 88 time for calcul the mask position with numpy : 0.00026798248291015625 nb_pixel_total : 5424 time to create 1 rle with old method : 0.006493568420410156 length of segment : 72 time for calcul the mask position with numpy : 0.00031375885009765625 nb_pixel_total : 6916 time to create 1 rle with old method : 0.008000373840332031 length of segment : 103 time for calcul the mask position with numpy : 0.00039696693420410156 nb_pixel_total : 8195 time to create 1 rle with old method : 0.009739160537719727 length of segment : 156 time for calcul the mask position with numpy : 0.00033974647521972656 nb_pixel_total : 7360 time to create 1 rle with old method : 0.008321762084960938 length of segment : 98 time for calcul the mask position with numpy : 0.00021910667419433594 nb_pixel_total : 5489 time to create 1 rle with old method : 0.006470680236816406 length of segment : 79 time for calcul the mask position with numpy : 0.00021839141845703125 nb_pixel_total : 3551 time to create 1 rle with old method : 0.004099845886230469 length of segment : 129 time for calcul the mask position with numpy : 0.00017905235290527344 nb_pixel_total : 6263 time to create 1 rle with old method : 0.007128238677978516 length of segment : 63 time for calcul the mask position with numpy : 0.0001914501190185547 nb_pixel_total : 5096 time to create 1 rle with old method : 0.005867719650268555 length of segment : 67 time for calcul the mask position with numpy : 0.00015044212341308594 nb_pixel_total : 2741 time to create 1 rle with old method : 0.0030426979064941406 length of segment : 74 time for calcul the mask position with numpy : 0.002609729766845703 nb_pixel_total : 99996 time to create 1 rle with old method : 0.11283588409423828 length of segment : 514 time for calcul the mask position with numpy : 0.0002789497375488281 nb_pixel_total : 5303 time to create 1 rle with old method : 0.006200313568115234 length of segment : 125 time for calcul the mask position with numpy : 0.00046825408935546875 nb_pixel_total : 15299 time to create 1 rle with old method : 0.01732468605041504 length of segment : 179 time for calcul the mask position with numpy : 0.001178741455078125 nb_pixel_total : 19254 time to create 1 rle with old method : 0.0306396484375 length of segment : 302 time for calcul the mask position with numpy : 0.0023643970489501953 nb_pixel_total : 110553 time to create 1 rle with old method : 0.12075161933898926 length of segment : 498 time for calcul the mask position with numpy : 0.00017333030700683594 nb_pixel_total : 6014 time to create 1 rle with old method : 0.006978511810302734 length of segment : 62 time for calcul the mask position with numpy : 0.0004649162292480469 nb_pixel_total : 13182 time to create 1 rle with old method : 0.015174150466918945 length of segment : 165 time for calcul the mask position with numpy : 0.0002467632293701172 nb_pixel_total : 7878 time to create 1 rle with old method : 0.009247064590454102 length of segment : 85 time for calcul the mask position with numpy : 0.0005352497100830078 nb_pixel_total : 17396 time to create 1 rle with old method : 0.02008676528930664 length of segment : 163 time for calcul the mask position with numpy : 0.0002598762512207031 nb_pixel_total : 7383 time to create 1 rle with old method : 0.008796930313110352 length of segment : 101 time for calcul the mask position with numpy : 0.0002772808074951172 nb_pixel_total : 9211 time to create 1 rle with old method : 0.010338783264160156 length of segment : 123 time for calcul the mask position with numpy : 0.040283203125 nb_pixel_total : 1294848 time to create 1 rle with new method : 0.07530736923217773 length of segment : 1550 time for calcul the mask position with numpy : 0.0005481243133544922 nb_pixel_total : 24674 time to create 1 rle with old method : 0.02622818946838379 length of segment : 169 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 6165 time to create 1 rle with old method : 0.0073909759521484375 length of segment : 110 time for calcul the mask position with numpy : 0.011606216430664062 nb_pixel_total : 751561 time to create 1 rle with new method : 0.35499000549316406 length of segment : 1006 time for calcul the mask position with numpy : 0.0003688335418701172 nb_pixel_total : 20372 time to create 1 rle with old method : 0.022917747497558594 length of segment : 132 time for calcul the mask position with numpy : 0.00023865699768066406 nb_pixel_total : 8091 time to create 1 rle with old method : 0.008992433547973633 length of segment : 97 time for calcul the mask position with numpy : 0.0003695487976074219 nb_pixel_total : 22483 time to create 1 rle with old method : 0.024349451065063477 length of segment : 157 time for calcul the mask position with numpy : 0.0005366802215576172 nb_pixel_total : 23694 time to create 1 rle with old method : 0.026418447494506836 length of segment : 189 time for calcul the mask position with numpy : 0.0023827552795410156 nb_pixel_total : 109210 time to create 1 rle with old method : 0.12562036514282227 length of segment : 570 time for calcul the mask position with numpy : 0.0002276897430419922 nb_pixel_total : 5523 time to create 1 rle with old method : 0.006459712982177734 length of segment : 115 time for calcul the mask position with numpy : 0.014795064926147461 nb_pixel_total : 1234223 time to create 1 rle with new method : 0.04198884963989258 length of segment : 1236 time spent for convertir_results : 2.7364370822906494 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 32 chid ids of type : 3594 Number RLEs to save : 8577 save missing photos in datou_result : time spend for datou_step_exec : 25.714709043502808 time spend to save output : 0.5419728755950928 total time spend for step 1 : 26.2566819190979 step2:crop_condition Thu Oct 30 00:50:58 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 : 11 ! batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1761781860_3710089 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577905_0.png', 0, 112, 72, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577904_0.png', 0, 115, 88, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577906_0.png', 0, 90, 102, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577907_0.png', 0, 113, 146, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577909_0.png', 0, 95, 79, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577911_0.png', 0, 130, 56, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577912_0.png', 0, 152, 65, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577915_0.png', 0, 66, 125, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577916_0.png', 0, 197, 128, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577920_0.png', 0, 123, 165, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577921_0.png', 0, 132, 81, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577927_0.png', 0, 89, 110, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577931_0.png', 0, 195, 157, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577930_0.png', 0, 130, 97, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577934_0.png', 0, 94, 115, 0, 1761781862,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781862), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577932_0.png', 0, 446, 189, 0, 1761781862,'0',0) 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 : 3.487712860107422 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761781863_3710089 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781864), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199617_9048ff863d3c13cf4814786fe1d65421_rle_crop_4003577908_0.png', 0, 100, 98, 0, 1761781864,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6194279193878174 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 12 About to insert : list_path_to_insert length 12 new photo from crops ! About to upload 12 photos upload in portfolio : 3736932 init cache_photo without model_param we have 12 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761781879_3710089 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577914_0.png', 0, 316, 507, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577919_0.png', 0, 119, 61, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577918_0.png', 0, 338, 495, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577925_0.png', 0, 1472, 1007, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577923_0.png', 0, 128, 82, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577924_0.png', 0, 146, 122, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577922_0.png', 0, 185, 148, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577928_0.png', 0, 1009, 996, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577926_0.png', 0, 277, 123, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577929_0.png', 0, 202, 130, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577935_0.png', 0, 1304, 997, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781883), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577933_0.png', 0, 347, 565, 0, 1761781883,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 12 photos in the portfolio 3736932 time of upload the photos Elapsed time : 3.9266695976257324 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1761781884_3710089 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781885), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577910_0.png', 0, 40, 129, 0, 1761781885,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781885), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577913_0.png', 0, 48, 74, 0, 1761781885,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1761781885), 0.0, 0.0, 14, '', 0, 0, '1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577917_0.png', 0, 101, 280, 0, 1761781885,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.2563085556030273 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] Looping around the photos to save general results len do output : 32 /1390208892Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208893Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208894Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208895Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208896Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208897Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208898Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208899Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208900Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208901Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208902Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208903Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208904Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208905Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208906Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208907Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208908Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208922Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208923Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208924Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208925Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208926Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208927Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208928Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208929Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208930Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208932Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208934Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208935Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208937Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208938Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1390208939Didn'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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 107 time used for this insertion : 0.018754243850708008 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.562360525131226 time spend to save output : 0.0201873779296875 total time spend for step 2 : 26.582547903060913 step3:rle_unique_nms_with_priority Thu Oct 30 00:51:25 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 32 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 1 time to prepare the origin masks : 0.3101615905761719 time for calcul the mask position with numpy : 0.07408452033996582 nb_pixel_total : 2047367 time to create 1 rle with new method : 0.29771876335144043 time for calcul the mask position with numpy : 0.011953592300415039 nb_pixel_total : 8195 time to create 1 rle with old method : 0.013957023620605469 time for calcul the mask position with numpy : 0.007445335388183594 nb_pixel_total : 6916 time to create 1 rle with old method : 0.008193492889404297 time for calcul the mask position with numpy : 0.0073626041412353516 nb_pixel_total : 5424 time to create 1 rle with old method : 0.006288051605224609 time for calcul the mask position with numpy : 0.008537054061889648 nb_pixel_total : 5698 time to create 1 rle with old method : 0.006585597991943359 create new chi : 0.46921515464782715 time to delete rle : 0.02567887306213379 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1918 TO DO : save crop sub photo not yet done ! save time : 0.1321704387664795 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.06827020645141602 time for calcul the mask position with numpy : 0.1725301742553711 nb_pixel_total : 2066240 time to create 1 rle with new method : 0.18822979927062988 time for calcul the mask position with numpy : 0.006880760192871094 nb_pixel_total : 7360 time to create 1 rle with old method : 0.01199030876159668 create new chi : 0.3799571990966797 time to delete rle : 0.0002970695495605469 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1276 TO DO : save crop sub photo not yet done ! save time : 0.1069793701171875 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.04984307289123535 time for calcul the mask position with numpy : 0.16733360290527344 nb_pixel_total : 2064560 time to create 1 rle with new method : 0.12952709197998047 time for calcul the mask position with numpy : 0.006932497024536133 nb_pixel_total : 3551 time to create 1 rle with old method : 0.005799770355224609 time for calcul the mask position with numpy : 0.006696939468383789 nb_pixel_total : 5489 time to create 1 rle with old method : 0.008913755416870117 create new chi : 0.33766627311706543 time to delete rle : 0.00035071372985839844 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1496 TO DO : save crop sub photo not yet done ! save time : 0.10102653503417969 No data in photo_id : 1390199420 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08769845962524414 time for calcul the mask position with numpy : 0.2280261516571045 nb_pixel_total : 2059500 time to create 1 rle with new method : 0.20213723182678223 time for calcul the mask position with numpy : 0.008187532424926758 nb_pixel_total : 2741 time to create 1 rle with old method : 0.003184080123901367 time for calcul the mask position with numpy : 0.008135318756103516 nb_pixel_total : 5096 time to create 1 rle with old method : 0.006022930145263672 time for calcul the mask position with numpy : 0.008110761642456055 nb_pixel_total : 6263 time to create 1 rle with old method : 0.007159709930419922 create new chi : 0.4834177494049072 time to delete rle : 0.0004570484161376953 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 1488 TO DO : save crop sub photo not yet done ! save time : 0.10840058326721191 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07662677764892578 time for calcul the mask position with numpy : 0.16110682487487793 nb_pixel_total : 1968301 time to create 1 rle with new method : 0.1075124740600586 time for calcul the mask position with numpy : 0.007919788360595703 nb_pixel_total : 5303 time to create 1 rle with old method : 0.006380796432495117 time for calcul the mask position with numpy : 0.009331226348876953 nb_pixel_total : 99996 time to create 1 rle with old method : 0.12020707130432129 create new chi : 0.42514896392822266 time to delete rle : 0.0007090568542480469 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2358 TO DO : save crop sub photo not yet done ! save time : 0.18899106979370117 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.5975849628448486 time for calcul the mask position with numpy : 0.08956408500671387 nb_pixel_total : 1922480 time to create 1 rle with new method : 0.10311388969421387 time for calcul the mask position with numpy : 0.0077478885650634766 nb_pixel_total : 6014 time to create 1 rle with old method : 0.0069735050201416016 time for calcul the mask position with numpy : 0.007272958755493164 nb_pixel_total : 110553 time to create 1 rle with old method : 0.12058281898498535 time for calcul the mask position with numpy : 0.008064746856689453 nb_pixel_total : 19254 time to create 1 rle with old method : 0.024666309356689453 time for calcul the mask position with numpy : 0.007712602615356445 nb_pixel_total : 15299 time to create 1 rle with old method : 0.01721048355102539 create new chi : 0.4033701419830322 time to delete rle : 0.0007443428039550781 batch 1 Loaded 9 chid ids of type : 3594 +++++Number RLEs to save : 3162 TO DO : save crop sub photo not yet done ! save time : 0.21067023277282715 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.17729949951171875 time for calcul the mask position with numpy : 0.10214710235595703 nb_pixel_total : 756502 time to create 1 rle with new method : 0.1767265796661377 time for calcul the mask position with numpy : 0.06052041053771973 nb_pixel_total : 1262048 time to create 1 rle with new method : 0.12994098663330078 time for calcul the mask position with numpy : 0.009479045867919922 nb_pixel_total : 9211 time to create 1 rle with old method : 0.010608673095703125 time for calcul the mask position with numpy : 0.008127689361572266 nb_pixel_total : 7383 time to create 1 rle with old method : 0.00839996337890625 time for calcul the mask position with numpy : 0.007930994033813477 nb_pixel_total : 17396 time to create 1 rle with old method : 0.019745826721191406 time for calcul the mask position with numpy : 0.008047819137573242 nb_pixel_total : 7878 time to create 1 rle with old method : 0.00917506217956543 time for calcul the mask position with numpy : 0.008174657821655273 nb_pixel_total : 13182 time to create 1 rle with old method : 0.014951705932617188 create new chi : 0.5945708751678467 time to delete rle : 0.0010466575622558594 batch 1 Loaded 13 chid ids of type : 3594 ++++++++++Number RLEs to save : 5274 TO DO : save crop sub photo not yet done ! save time : 0.3013744354248047 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.09058451652526855 time for calcul the mask position with numpy : 0.02400040626525879 nb_pixel_total : 1291200 time to create 1 rle with new method : 0.1497344970703125 time for calcul the mask position with numpy : 0.017917871475219727 nb_pixel_total : 751561 time to create 1 rle with new method : 0.0729520320892334 time for calcul the mask position with numpy : 0.008044958114624023 nb_pixel_total : 6165 time to create 1 rle with old method : 0.007176399230957031 time for calcul the mask position with numpy : 0.008033514022827148 nb_pixel_total : 24674 time to create 1 rle with old method : 0.02744460105895996 create new chi : 0.32521533966064453 time to delete rle : 0.0007922649383544922 batch 1 Loaded 7 chid ids of type : 3594 ++++Number RLEs to save : 3650 TO DO : save crop sub photo not yet done ! save time : 0.3058464527130127 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.31714296340942383 time for calcul the mask position with numpy : 0.1238710880279541 nb_pixel_total : 2022654 time to create 1 rle with new method : 0.09106969833374023 time for calcul the mask position with numpy : 0.0062255859375 nb_pixel_total : 22483 time to create 1 rle with old method : 0.024773120880126953 time for calcul the mask position with numpy : 0.006052732467651367 nb_pixel_total : 8091 time to create 1 rle with old method : 0.008927106857299805 time for calcul the mask position with numpy : 0.006441831588745117 nb_pixel_total : 20372 time to create 1 rle with old method : 0.022448301315307617 create new chi : 0.30138611793518066 time to delete rle : 0.0003218650817871094 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1852 TO DO : save crop sub photo not yet done ! save time : 0.13273143768310547 nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.09608674049377441 time for calcul the mask position with numpy : 0.011784076690673828 nb_pixel_total : 704452 time to create 1 rle with new method : 0.1651618480682373 time for calcul the mask position with numpy : 0.06259799003601074 nb_pixel_total : 1230721 time to create 1 rle with new method : 0.07887744903564453 time for calcul the mask position with numpy : 0.006443023681640625 nb_pixel_total : 5523 time to create 1 rle with old method : 0.006204843521118164 time for calcul the mask position with numpy : 0.006474971771240234 nb_pixel_total : 109210 time to create 1 rle with old method : 0.11954116821289062 time for calcul the mask position with numpy : 0.006762027740478516 nb_pixel_total : 23694 time to create 1 rle with old method : 0.03327059745788574 create new chi : 0.5114796161651611 time to delete rle : 0.0007348060607910156 batch 1 Loaded 9 chid ids of type : 3594 ++++++Number RLEs to save : 5298 TO DO : save crop sub photo not yet done ! save time : 0.3135714530944824 map_output_result : {1390199622: (0.0, 'Should be the crop_list due to order', 0), 1390199617: (0.0, 'Should be the crop_list due to order', 0), 1390199423: (0.0, 'Should be the crop_list due to order', 0), 1390199420: (0.0, 'Should be the crop_list due to order', 0.0), 1390199393: (0.0, 'Should be the crop_list due to order', 0), 1390199389: (0.0, 'Should be the crop_list due to order', 0), 1390199386: (0.0, 'Should be the crop_list due to order', 0), 1390199382: (0.0, 'Should be the crop_list due to order', 0), 1390199378: (0.0, 'Should be the crop_list due to order', 0), 1390199373: (0.0, 'Should be the crop_list due to order', 0), 1390199333: (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 [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] Looping around the photos to save general results len do output : 11 /1390199622.Didn't retrieve data . /1390199617.Didn't retrieve data . /1390199423.Didn't retrieve data . /1390199420.Didn't retrieve data . /1390199393.Didn't retrieve data . /1390199389.Didn't retrieve data . /1390199386.Didn't retrieve data . /1390199382.Didn't retrieve data . /1390199378.Didn't retrieve data . /1390199373.Didn't retrieve data . /1390199333.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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.011218786239624023 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.469644546508789 time spend to save output : 0.011785268783569336 total time spend for step 3 : 8.481429815292358 step4:ventilate_hashtags_in_portfolio Thu Oct 30 00:51:33 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 : 27930307 get user id for portfolio 27930307 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`=27930307 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','carton','background','pehd','autre','pet_fonce','mal_croppe','pet_clair','papier','metal')) 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`=27930307 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','carton','background','pehd','autre','pet_fonce','mal_croppe','pet_clair','papier','metal')) 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`=27930307 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','environnement','carton','background','pehd','autre','pet_fonce','mal_croppe','pet_clair','papier','metal')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27930548,27930549,27930550,27930551,27930552,27930553,27930554,27930555,27930556,27930557,27930558?tags=flou,environnement,carton,background,pehd,autre,pet_fonce,mal_croppe,pet_clair,papier,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] Looping around the photos to save general results len do output : 1 /27930307. 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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.011782407760620117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.619736671447754 time spend to save output : 0.012043476104736328 total time spend for step 4 : 1.6317801475524902 step5:final Thu Oct 30 00:51:35 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 : {1390199622: ('0.16803205667789',), 1390199617: ('0.16803205667789',), 1390199423: ('0.16803205667789',), 1390199420: ('0.16803205667789',), 1390199393: ('0.16803205667789',), 1390199389: ('0.16803205667789',), 1390199386: ('0.16803205667789',), 1390199382: ('0.16803205667789',), 1390199378: ('0.16803205667789',), 1390199373: ('0.16803205667789',), 1390199333: ('0.16803205667789',)} new output for save of step final : {1390199622: ('0.16803205667789',), 1390199617: ('0.16803205667789',), 1390199423: ('0.16803205667789',), 1390199420: ('0.16803205667789',), 1390199393: ('0.16803205667789',), 1390199389: ('0.16803205667789',), 1390199386: ('0.16803205667789',), 1390199382: ('0.16803205667789',), 1390199378: ('0.16803205667789',), 1390199373: ('0.16803205667789',), 1390199333: ('0.16803205667789',)} [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] Looping around the photos to save general results len do output : 11 /1390199622.Didn't retrieve data . /1390199617.Didn't retrieve data . /1390199423.Didn't retrieve data . /1390199420.Didn't retrieve data . /1390199393.Didn't retrieve data . /1390199389.Didn't retrieve data . /1390199386.Didn't retrieve data . /1390199382.Didn't retrieve data . /1390199378.Didn't retrieve data . /1390199373.Didn't retrieve data . /1390199333.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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.01134490966796875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1180417537689209 time spend to save output : 0.011925697326660156 total time spend for step 5 : 0.12996745109558105 step6:blur_detection Thu Oct 30 00:51:35 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/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977.jpg resize: (1080, 1920) 1390199622 0.22415246978661046 treat image : temp/1761781830_3710089_1390199617_9048ff863d3c13cf4814786fe1d65421.jpg resize: (1080, 1920) 1390199617 1.6104020911233186 treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7.jpg resize: (1080, 1920) 1390199423 -0.7700017675284264 treat image : temp/1761781830_3710089_1390199420_3f79ed39a419fb9cce23ea557fba2898.jpg resize: (1080, 1920) 1390199420 4.009321723137822 treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f.jpg resize: (1080, 1920) 1390199393 -0.4711754544589009 treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b.jpg resize: (1080, 1920) 1390199389 -0.24715857565348237 treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc.jpg resize: (1080, 1920) 1390199386 1.209248340642354 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2.jpg resize: (1080, 1920) 1390199382 0.5408380395150677 treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7.jpg resize: (1080, 1920) 1390199378 -0.2376690551961245 treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac.jpg resize: (1080, 1920) 1390199373 0.9065031556030039 treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2.jpg resize: (1080, 1920) 1390199333 -0.44138181379631125 treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577905_0.png resize: (72, 112) 1390208892 0.8076272374258252 treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577904_0.png resize: (88, 115) 1390208893 -1.9876336655086118 treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577906_0.png resize: (102, 90) 1390208894 -0.7331844912480862 treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577907_0.png resize: (146, 113) 1390208895 -1.575919282174287 treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577909_0.png resize: (79, 95) 1390208896 -0.5549176526727713 treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577911_0.png resize: (56, 130) 1390208897 2.668138266300032 treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577912_0.png resize: (65, 152) 1390208898 -2.57732938420583 treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577915_0.png resize: (125, 66) 1390208899 -1.2022614721666571 treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577916_0.png resize: (128, 197) 1390208900 -1.175883693879733 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577920_0.png resize: (165, 123) 1390208901 -1.7471646414892332 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577921_0.png resize: (81, 132) 1390208902 -0.5498681012364789 treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577927_0.png resize: (110, 89) 1390208903 -0.3172644764513041 treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577931_0.png resize: (157, 195) 1390208904 -1.4100312353309012 treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577930_0.png resize: (97, 130) 1390208905 -1.9528606556944361 treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577934_0.png resize: (115, 94) 1390208906 -1.5461154928806955 treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577932_0.png resize: (189, 446) 1390208907 -1.8700951788509654 treat image : temp/1761781830_3710089_1390199617_9048ff863d3c13cf4814786fe1d65421_rle_crop_4003577908_0.png resize: (98, 100) 1390208908 -0.786655214863803 treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577914_0.png resize: (507, 316) 1390208922 0.1839975847500005 treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577919_0.png resize: (61, 119) 1390208923 -3.2803264163560093 treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577918_0.png resize: (495, 338) 1390208924 0.5560228463535595 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577925_0.png resize: (1007, 1472) 1390208925 -0.9452947321631119 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577923_0.png resize: (82, 128) 1390208926 -3.305099819351839 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577924_0.png resize: (122, 146) 1390208927 -2.6454227122166154 treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577922_0.png resize: (148, 185) 1390208928 -0.24750981096310734 treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577928_0.png resize: (996, 1009) 1390208929 0.24505428936043408 treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577926_0.png resize: (123, 277) 1390208930 -1.81301150803296 treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577929_0.png resize: (130, 202) 1390208932 -1.4884342098594003 treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577935_0.png resize: (997, 1304) 1390208934 -1.4257028057219454 treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577933_0.png resize: (565, 347) 1390208935 -0.49198790769728384 treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577910_0.png resize: (129, 40) 1390208937 -1.7969227124790417 treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577913_0.png resize: (74, 48) 1390208938 -0.47617613897307626 treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577917_0.png resize: (280, 101) 1390208939 -1.242115821277547 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 : 43 time used for this insertion : 0.01154327392578125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.01130819320678711 save missing photos in datou_result : time spend for datou_step_exec : 10.453741073608398 time spend to save output : 0.02913498878479004 total time spend for step 6 : 10.482876062393188 step7:brightness Thu Oct 30 00:51:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977.jpg treat image : temp/1761781830_3710089_1390199617_9048ff863d3c13cf4814786fe1d65421.jpg treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7.jpg treat image : temp/1761781830_3710089_1390199420_3f79ed39a419fb9cce23ea557fba2898.jpg treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f.jpg treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b.jpg treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc.jpg treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2.jpg treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7.jpg treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac.jpg treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2.jpg treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577905_0.png treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577904_0.png treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577906_0.png treat image : temp/1761781830_3710089_1390199622_74869494815de50cdbed215152e3c977_rle_crop_4003577907_0.png treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577909_0.png treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577911_0.png treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577912_0.png treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577915_0.png treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577916_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577920_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577921_0.png treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577927_0.png treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577931_0.png treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577930_0.png treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577934_0.png treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577932_0.png treat image : temp/1761781830_3710089_1390199617_9048ff863d3c13cf4814786fe1d65421_rle_crop_4003577908_0.png treat image : temp/1761781830_3710089_1390199389_321b8f74da121d8fefbc1820cb2e9b8b_rle_crop_4003577914_0.png treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577919_0.png treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577918_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577925_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577923_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577924_0.png treat image : temp/1761781830_3710089_1390199382_bef0c72b23878521da1cbb1be6900ff2_rle_crop_4003577922_0.png treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577928_0.png treat image : temp/1761781830_3710089_1390199378_27cac86040378c341394deaf032094c7_rle_crop_4003577926_0.png treat image : temp/1761781830_3710089_1390199373_31b8d6a36a92c5dbf53a761fec6ec9ac_rle_crop_4003577929_0.png treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577935_0.png treat image : temp/1761781830_3710089_1390199333_892daa46015b0c0a08089cebd4fe63f2_rle_crop_4003577933_0.png treat image : temp/1761781830_3710089_1390199423_2e3048cf1116a1cfa735e2917aa311c7_rle_crop_4003577910_0.png treat image : temp/1761781830_3710089_1390199393_de58353181a3c2fe995e57202c2f5d0f_rle_crop_4003577913_0.png treat image : temp/1761781830_3710089_1390199386_e3cd9c5f7d7116cba101d0b6c03db5fc_rle_crop_4003577917_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 : 43 time used for this insertion : 0.0122222900390625 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 43 time used for this insertion : 0.012245655059814453 save missing photos in datou_result : time spend for datou_step_exec : 3.0798304080963135 time spend to save output : 0.029692649841308594 total time spend for step 7 : 3.109523057937622 step8:velours_tree Thu Oct 30 00:51:49 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.1774156093597412 time spend to save output : 3.886222839355469e-05 total time spend for step 8 : 0.17745447158813477 step9:send_mail_cod Thu Oct 30 00:51:49 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_P27930307_30-10-2025_00_51_49.pdf 27930548 imagette279305481761781909 27930550 change filename to text .imagette279305501761781909 27930551 imagette279305511761781909 27930552 imagette279305521761781909 27930553 change filename to text .change filename to text .change filename to text .imagette279305531761781909 27930554 imagette279305541761781909 27930555 imagette279305551761781909 27930556 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 .imagette279305561761781909 27930557 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 .imagette279305571761781910 27930558 imagette279305581761781911 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27930307 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27930548,27930549,27930550,27930551,27930552,27930553,27930554,27930555,27930556,27930557,27930558?tags=flou,environnement,carton,background,pehd,autre,pet_fonce,mal_croppe,pet_clair,papier,metal args[1390199622] : ((1390199622, 0.22415246978661046, 492688767), (1390199622, 0.6256076663124585, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199617] : ((1390199617, 1.6104020911233186, 492688767), (1390199617, 0.21066330370195255, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199423] : ((1390199423, -0.7700017675284264, 492688767), (1390199423, 0.5153748233460446, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199420] : ((1390199420, 4.009321723137822, 492688767), (1390199420, 0.4578525754507584, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199393] : ((1390199393, -0.4711754544589009, 492688767), (1390199393, 0.4439661715284366, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199389] : ((1390199389, -0.24715857565348237, 492688767), (1390199389, 0.7316764615853598, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199386] : ((1390199386, 1.209248340642354, 492688767), (1390199386, 0.5343982661031335, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199382] : ((1390199382, 0.5408380395150677, 492688767), (1390199382, 0.4479503803397268, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199378] : ((1390199378, -0.2376690551961245, 492688767), (1390199378, 0.727045423159659, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199373] : ((1390199373, 0.9065031556030039, 492688767), (1390199373, 0.38198383584571083, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com args[1390199333] : ((1390199333, -0.44138181379631125, 492688767), (1390199333, 0.38867304987960655, 2107752395), '0.16803205667789') We are sending mail with results at report@fotonower.com refus_total : 0.16803205667789 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27930307 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_P27930307_30-10-2025_00_51_49.pdf results_Auto_P27930307_30-10-2025_00_51_49.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27930307_30-10-2025_00_51_49.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','27930307','results_Auto_P27930307_30-10-2025_00_51_49.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27930307_30-10-2025_00_51_49.pdf','pdf','','0.47','0.16803205667789') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27930307

https://www.fotonower.com/image?json=false&list_photos_id=1390199622
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199617
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.6104020911233186)
https://www.fotonower.com/image?json=false&list_photos_id=1390199423
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199420
La photo est trop floue, merci de reprendre une photo.(avec le score = 4.009321723137822)
https://www.fotonower.com/image?json=false&list_photos_id=1390199393
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199389
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199386
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.209248340642354)
https://www.fotonower.com/image?json=false&list_photos_id=1390199382
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199378
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199373
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1390199333
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/27930550?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27930553?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27930556?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27930557?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27930307_30-10-2025_00_51_49.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27930548,27930549,27930550,27930551,27930552,27930553,27930554,27930555,27930556,27930557,27930558?tags=flou,environnement,carton,background,pehd,autre,pet_fonce,mal_croppe,pet_clair,papier,metal.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 29 Oct 2025 23:51:54 GMT Content-Length: 0 Connection: close X-Message-Id: kalMtTvXQ3SPcwaQcrZNPw 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 [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] 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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.011120080947875977 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.810351848602295 time spend to save output : 0.011368036270141602 total time spend for step 9 : 4.8217198848724365 step10:split_time_score Thu Oct 30 00: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 ! 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'}] (('12', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29102025 27930307 Nombre de photos uploadées : 11 / 23040 (0%) 29102025 27930307 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 29102025 27930307 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.4543533325195312e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009806156158447266 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.29316282272338867 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.16803205667789 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27930307_30-10-2025_00_51_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27930307 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`=27930307 AND mptpi.`type`=3594 To do Qualite : 0.006388044945987655 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918348_29-10-2025_21_11_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918348 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`=27918348 AND mptpi.`type`=3594 To do Qualite : 0.03321498842592593 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918366_29-10-2025_21_01_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918366 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`=27918366 AND mptpi.`type`=3594 To do Qualite : 0.0282281279677113 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27918372_29-10-2025_19_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27918372 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`=27918372 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29102025': {'nb_upload': 11, '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 [1390199622, 1390199617, 1390199423, 1390199420, 1390199393, 1390199389, 1390199386, 1390199382, 1390199378, 1390199373, 1390199333] Looping around the photos to save general results len do output : 1 /27930307Didn'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, '3962920') ('3318', '27930307', '1390199622', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199617', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199423', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199420', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199393', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199389', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199386', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199382', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199378', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199373', None, None, None, None, None, '3962920') ('3318', None, None, None, None, None, None, None, '3962920') ('3318', '27930307', '1390199333', None, None, None, None, None, '3962920') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.01108098030090332 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.292156457901001 time spend to save output : 0.011313676834106445 total time spend for step 10 : 1.3034701347351074 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 50.46user 20.71system 1:29.45elapsed 79%CPU (0avgtext+0avgdata 2664168maxresident)k 555112inputs+31896outputs (371major+1612568minor)pagefaults 0swaps