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 : 72029 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 : ['2954434'] with mtr_portfolio_ids : ['23339062'] and first list_photo_ids : [] new path : /proc/72029/ 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 , BFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 6 ; length of list_pids : 6 ; length of list_args : 6 time to download the photos : 1.1731209754943848 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon May 26 15:30:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-05-26 15:30:34.098369: 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-05-26 15:30:34.127374: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493065000 Hz 2025-05-26 15:30:34.130969: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efb54000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-05-26 15:30:34.131030: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-05-26 15:30:34.135136: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-05-26 15:30:34.267072: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x287a0390 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-05-26 15:30:34.267118: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-05-26 15:30:34.268129: 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-05-26 15:30:34.268450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 15:30:34.270576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 15:30:34.272775: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 15:30:34.273128: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 15:30:34.275418: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 15:30:34.276521: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 15:30:34.281084: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 15:30:34.282647: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 15:30:34.282729: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 15:30:34.283549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-26 15:30:34.283567: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-26 15:30:34.283577: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-26 15:30:34.284992: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-05-26 15:30:34.572672: 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-05-26 15:30:34.572753: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 15:30:34.572770: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 15:30:34.572786: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 15:30:34.572801: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 15:30:34.572815: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 15:30:34.572829: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 15:30:34.572844: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 15:30:34.574280: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 15:30:34.575422: 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-05-26 15:30:34.575460: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-05-26 15:30:34.575476: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 15:30:34.575490: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-05-26 15:30:34.575526: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-05-26 15:30:34.575548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-05-26 15:30:34.575565: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-05-26 15:30:34.575579: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-05-26 15:30:34.576924: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-05-26 15:30:34.576953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-05-26 15:30:34.576962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-05-26 15:30:34.576970: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-05-26 15:30:34.578426: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10049 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-05-26 15:30:44.675154: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-05-26 15:30:44.871660: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 6 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.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: 3840.00000 nb d'objets trouves : 8 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 6.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: 3840.00000 nb d'objets trouves : 21 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 3.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: 3840.00000 nb d'objets trouves : 35 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 31 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.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: 3840.00000 nb d'objets trouves : 29 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 8.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: 3840.00000 nb d'objets trouves : 28 Detection mask done ! Trying to reset tf kernel 73098 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 1929 tf kernel not reseted sub process len(results) : 6 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 6 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 : 7218 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_classificationInside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 72 chid ids of type : 3594 Number RLEs to save : 24774 save missing photos in datou_result : time spend for datou_step_exec : 57.433626890182495 time spend to save output : 1.4839403629302979 total time spend for step 1 : 58.91756725311279 step2:crop_condition Mon May 26 15:31:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 6 ! batch 1 Loaded 72 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 42 About to insert : list_path_to_insert length 42 new photo from crops ! About to upload 42 photos upload in portfolio : 3736932 init cache_photo without model_param we have 42 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748266305_72029 we have uploaded 42 photos in the portfolio 3736932 time of upload the photos Elapsed time : 10.747892379760742 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748266318_72029 we have uploaded 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4512689113616943 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! 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/1748266321_72029 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6542844772338867 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 23 About to insert : list_path_to_insert length 23 new photo from crops ! About to upload 23 photos upload in portfolio : 3736932 init cache_photo without model_param we have 23 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748266333_72029 we have uploaded 23 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.339539527893066 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1748266339_72029 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6208896636962891 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 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/1748266341_72029 we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.6098208427429199 we have finished the crop for the class : pehd 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 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] Looping around the photos to save general results len do output : 72 /1361094249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094254Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094255Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094256Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094257Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094258Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094259Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094260Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094261Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094262Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094263Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094271Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094272Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094273Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094274Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094275Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094276Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094277Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094278Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094279Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094280Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094281Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094282Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094283Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094284Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094285Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094286Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094287Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094288Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094289Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094290Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094294Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094295Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094296Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094297Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094305Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094422Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094423Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094425Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094426Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094427Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094429Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094430Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094431Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094432Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094433Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094435Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094436Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094437Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094438Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094439Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094440Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094441Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094442Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094443Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094444Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094445Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094446Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094447Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094449Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1361094454Didn'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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 222 time used for this insertion : 0.022496700286865234 save_final save missing photos in datou_result : time spend for datou_step_exec : 51.62067174911499 time spend to save output : 0.02529764175415039 total time spend for step 2 : 51.64596939086914 step3:rle_unique_nms_with_priority Mon May 26 15:32:21 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 72 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 2.299257516860962 time for calcul the mask position with numpy : 0.5896790027618408 nb_pixel_total : 7735951 time to create 1 rle with new method : 1.085148811340332 time for calcul the mask position with numpy : 0.08714079856872559 nb_pixel_total : 101592 time to create 1 rle with old method : 0.21199893951416016 time for calcul the mask position with numpy : 0.03918814659118652 nb_pixel_total : 192666 time to create 1 rle with new method : 1.1146819591522217 time for calcul the mask position with numpy : 0.028757572174072266 nb_pixel_total : 118410 time to create 1 rle with old method : 0.140244722366333 time for calcul the mask position with numpy : 0.029743194580078125 nb_pixel_total : 145781 time to create 1 rle with old method : 0.17319965362548828 create new chi : 3.5949127674102783 time to delete rle : 0.017750978469848633 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 4956 TO DO : save crop sub photo not yet done ! save time : 0.31457042694091797 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 5.166222810745239 time for calcul the mask position with numpy : 0.6296849250793457 nb_pixel_total : 7702080 time to create 1 rle with new method : 0.9049885272979736 time for calcul the mask position with numpy : 0.025907516479492188 nb_pixel_total : 160279 time to create 1 rle with new method : 0.5165979862213135 time for calcul the mask position with numpy : 0.025506258010864258 nb_pixel_total : 25128 time to create 1 rle with old method : 0.029654979705810547 time for calcul the mask position with numpy : 0.04386544227600098 nb_pixel_total : 122962 time to create 1 rle with old method : 0.15345549583435059 time for calcul the mask position with numpy : 0.041507720947265625 nb_pixel_total : 120958 time to create 1 rle with old method : 0.13287067413330078 time for calcul the mask position with numpy : 0.04141831398010254 nb_pixel_total : 41604 time to create 1 rle with old method : 0.046822547912597656 time for calcul the mask position with numpy : 0.04130959510803223 nb_pixel_total : 51836 time to create 1 rle with old method : 0.057918548583984375 time for calcul the mask position with numpy : 0.0401155948638916 nb_pixel_total : 37530 time to create 1 rle with old method : 0.0422520637512207 time for calcul the mask position with numpy : 0.03481578826904297 nb_pixel_total : 23082 time to create 1 rle with old method : 0.026047706604003906 time for calcul the mask position with numpy : 0.02648472785949707 nb_pixel_total : 8941 time to create 1 rle with old method : 0.010157585144042969 create new chi : 2.9466447830200195 time to delete rle : 0.0012671947479248047 batch 1 Loaded 19 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 8464 TO DO : save crop sub photo not yet done ! save time : 0.5172724723815918 nb_obj : 14 nb_hashtags : 4 time to prepare the origin masks : 7.1278276443481445 time for calcul the mask position with numpy : 0.5524928569793701 nb_pixel_total : 6593389 time to create 1 rle with new method : 0.5092921257019043 time for calcul the mask position with numpy : 0.02477550506591797 nb_pixel_total : 121090 time to create 1 rle with old method : 0.12952327728271484 time for calcul the mask position with numpy : 0.025529146194458008 nb_pixel_total : 46853 time to create 1 rle with old method : 0.04972052574157715 time for calcul the mask position with numpy : 0.023645401000976562 nb_pixel_total : 63801 time to create 1 rle with old method : 0.06877994537353516 time for calcul the mask position with numpy : 0.0255587100982666 nb_pixel_total : 81446 time to create 1 rle with old method : 0.09278249740600586 time for calcul the mask position with numpy : 0.027088165283203125 nb_pixel_total : 154456 time to create 1 rle with new method : 1.2214281558990479 time for calcul the mask position with numpy : 0.02826976776123047 nb_pixel_total : 101284 time to create 1 rle with old method : 0.11053204536437988 time for calcul the mask position with numpy : 0.024202585220336914 nb_pixel_total : 360 time to create 1 rle with old method : 0.0006847381591796875 time for calcul the mask position with numpy : 0.024972915649414062 nb_pixel_total : 35267 time to create 1 rle with old method : 0.050821781158447266 time for calcul the mask position with numpy : 0.02815103530883789 nb_pixel_total : 86959 time to create 1 rle with old method : 0.09742498397827148 time for calcul the mask position with numpy : 0.024932146072387695 nb_pixel_total : 11376 time to create 1 rle with old method : 0.012847900390625 time for calcul the mask position with numpy : 0.025779008865356445 nb_pixel_total : 107006 time to create 1 rle with old method : 0.1149139404296875 time for calcul the mask position with numpy : 0.02500176429748535 nb_pixel_total : 77108 time to create 1 rle with old method : 0.08348894119262695 time for calcul the mask position with numpy : 0.026912212371826172 nb_pixel_total : 117256 time to create 1 rle with old method : 0.1254265308380127 time for calcul the mask position with numpy : 0.03905630111694336 nb_pixel_total : 696749 time to create 1 rle with new method : 0.9309184551239014 create new chi : 4.620756387710571 time to delete rle : 0.0017096996307373047 batch 1 Loaded 29 chid ids of type : 3594 +++++++++++++++++++Number RLEs to save : 14811 TO DO : save crop sub photo not yet done ! save time : 0.870319128036499 nb_obj : 17 nb_hashtags : 3 time to prepare the origin masks : 7.37897253036499 time for calcul the mask position with numpy : 0.5512566566467285 nb_pixel_total : 7519087 time to create 1 rle with new method : 1.2806577682495117 time for calcul the mask position with numpy : 0.04022812843322754 nb_pixel_total : 36715 time to create 1 rle with old method : 0.039411306381225586 time for calcul the mask position with numpy : 0.03823399543762207 nb_pixel_total : 57266 time to create 1 rle with old method : 0.06455612182617188 time for calcul the mask position with numpy : 0.029027223587036133 nb_pixel_total : 22617 time to create 1 rle with old method : 0.028409481048583984 time for calcul the mask position with numpy : 0.037741661071777344 nb_pixel_total : 58902 time to create 1 rle with old method : 0.09099411964416504 time for calcul the mask position with numpy : 0.02633357048034668 nb_pixel_total : 153770 time to create 1 rle with new method : 1.199613094329834 time for calcul the mask position with numpy : 0.02776050567626953 nb_pixel_total : 21312 time to create 1 rle with old method : 0.023522377014160156 time for calcul the mask position with numpy : 0.025028228759765625 nb_pixel_total : 57560 time to create 1 rle with old method : 0.06320309638977051 time for calcul the mask position with numpy : 0.025166034698486328 nb_pixel_total : 44213 time to create 1 rle with old method : 0.047119140625 time for calcul the mask position with numpy : 0.026623249053955078 nb_pixel_total : 20616 time to create 1 rle with old method : 0.022327184677124023 time for calcul the mask position with numpy : 0.023975610733032227 nb_pixel_total : 16813 time to create 1 rle with old method : 0.01800680160522461 time for calcul the mask position with numpy : 0.025896072387695312 nb_pixel_total : 29146 time to create 1 rle with old method : 0.031853675842285156 time for calcul the mask position with numpy : 0.024320125579833984 nb_pixel_total : 8930 time to create 1 rle with old method : 0.00983881950378418 time for calcul the mask position with numpy : 0.024234533309936523 nb_pixel_total : 12876 time to create 1 rle with old method : 0.013989448547363281 time for calcul the mask position with numpy : 0.025089263916015625 nb_pixel_total : 35086 time to create 1 rle with old method : 0.03983926773071289 time for calcul the mask position with numpy : 0.025082111358642578 nb_pixel_total : 26193 time to create 1 rle with old method : 0.028213977813720703 time for calcul the mask position with numpy : 0.025749683380126953 nb_pixel_total : 44168 time to create 1 rle with old method : 0.04838848114013672 time for calcul the mask position with numpy : 0.026791810989379883 nb_pixel_total : 129130 time to create 1 rle with old method : 0.13931989669799805 create new chi : 4.290741205215454 time to delete rle : 0.001809835433959961 batch 1 Loaded 35 chid ids of type : 3594 ++++++++++++++++++++++++Number RLEs to save : 11530 TO DO : save crop sub photo not yet done ! save time : 0.7465355396270752 nb_obj : 15 nb_hashtags : 3 time to prepare the origin masks : 7.774961233139038 time for calcul the mask position with numpy : 0.3725414276123047 nb_pixel_total : 7431877 time to create 1 rle with new method : 1.1444482803344727 time for calcul the mask position with numpy : 0.02535700798034668 nb_pixel_total : 121260 time to create 1 rle with old method : 0.1334235668182373 time for calcul the mask position with numpy : 0.025526046752929688 nb_pixel_total : 15587 time to create 1 rle with old method : 0.017635345458984375 time for calcul the mask position with numpy : 0.026300668716430664 nb_pixel_total : 76389 time to create 1 rle with old method : 0.09412455558776855 time for calcul the mask position with numpy : 0.03264784812927246 nb_pixel_total : 9983 time to create 1 rle with old method : 0.013459444046020508 time for calcul the mask position with numpy : 0.03232264518737793 nb_pixel_total : 28668 time to create 1 rle with old method : 0.03775596618652344 time for calcul the mask position with numpy : 0.03339648246765137 nb_pixel_total : 41412 time to create 1 rle with old method : 0.06773257255554199 time for calcul the mask position with numpy : 0.026189565658569336 nb_pixel_total : 43433 time to create 1 rle with old method : 0.04865908622741699 time for calcul the mask position with numpy : 0.026988744735717773 nb_pixel_total : 68202 time to create 1 rle with old method : 0.09749054908752441 time for calcul the mask position with numpy : 0.02490091323852539 nb_pixel_total : 45476 time to create 1 rle with old method : 0.049684762954711914 time for calcul the mask position with numpy : 0.02560901641845703 nb_pixel_total : 33485 time to create 1 rle with old method : 0.037020206451416016 time for calcul the mask position with numpy : 0.026278972625732422 nb_pixel_total : 49592 time to create 1 rle with old method : 0.05480670928955078 time for calcul the mask position with numpy : 0.02639603614807129 nb_pixel_total : 34901 time to create 1 rle with old method : 0.038515329360961914 time for calcul the mask position with numpy : 0.025971412658691406 nb_pixel_total : 64906 time to create 1 rle with old method : 0.07072186470031738 time for calcul the mask position with numpy : 0.029708385467529297 nb_pixel_total : 159835 time to create 1 rle with new method : 1.404282808303833 time for calcul the mask position with numpy : 0.025705814361572266 nb_pixel_total : 69394 time to create 1 rle with old method : 0.07547807693481445 create new chi : 4.242133140563965 time to delete rle : 0.0015475749969482422 batch 1 Loaded 31 chid ids of type : 3594 +++++++++++++++++Number RLEs to save : 11495 TO DO : save crop sub photo not yet done ! save time : 0.6803944110870361 nb_obj : 13 nb_hashtags : 2 time to prepare the origin masks : 5.888845205307007 time for calcul the mask position with numpy : 0.4359419345855713 nb_pixel_total : 7381076 time to create 1 rle with new method : 1.5930352210998535 time for calcul the mask position with numpy : 0.026381492614746094 nb_pixel_total : 15199 time to create 1 rle with old method : 0.024764537811279297 time for calcul the mask position with numpy : 0.027064800262451172 nb_pixel_total : 31159 time to create 1 rle with old method : 0.04326653480529785 time for calcul the mask position with numpy : 0.027822256088256836 nb_pixel_total : 69666 time to create 1 rle with old method : 0.09414219856262207 time for calcul the mask position with numpy : 0.03421139717102051 nb_pixel_total : 173033 time to create 1 rle with new method : 0.7993028163909912 time for calcul the mask position with numpy : 0.02503037452697754 nb_pixel_total : 40721 time to create 1 rle with old method : 0.04508519172668457 time for calcul the mask position with numpy : 0.026605844497680664 nb_pixel_total : 79761 time to create 1 rle with old method : 0.08811354637145996 time for calcul the mask position with numpy : 0.027834653854370117 nb_pixel_total : 13933 time to create 1 rle with old method : 0.015964746475219727 time for calcul the mask position with numpy : 0.02974390983581543 nb_pixel_total : 17316 time to create 1 rle with old method : 0.021528959274291992 time for calcul the mask position with numpy : 0.02635669708251953 nb_pixel_total : 145958 time to create 1 rle with old method : 0.17833733558654785 time for calcul the mask position with numpy : 0.05329704284667969 nb_pixel_total : 158079 time to create 1 rle with new method : 1.6209094524383545 time for calcul the mask position with numpy : 0.02693963050842285 nb_pixel_total : 49195 time to create 1 rle with old method : 0.05420851707458496 time for calcul the mask position with numpy : 0.025120973587036133 nb_pixel_total : 101454 time to create 1 rle with old method : 0.11481046676635742 time for calcul the mask position with numpy : 0.03004312515258789 nb_pixel_total : 17850 time to create 1 rle with old method : 0.028300046920776367 create new chi : 5.646544456481934 time to delete rle : 0.0021820068359375 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++Number RLEs to save : 10496 TO DO : save crop sub photo not yet done ! save time : 0.6620943546295166 map_output_result : {1361059195: (0.0, 'Should be the crop_list due to order', 0), 1361059167: (0.0, 'Should be the crop_list due to order', 0), 1361059163: (0.0, 'Should be the crop_list due to order', 0), 1361059160: (0.0, 'Should be the crop_list due to order', 0), 1361059158: (0.0, 'Should be the crop_list due to order', 0), 1361059156: (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 [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] Looping around the photos to save general results len do output : 6 /1361059195.Didn't retrieve data . /1361059167.Didn't retrieve data . /1361059163.Didn't retrieve data . /1361059160.Didn't retrieve data . /1361059158.Didn't retrieve data . /1361059156.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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.012124061584472656 save_final save missing photos in datou_result : time spend for datou_step_exec : 65.91653609275818 time spend to save output : 0.012610673904418945 total time spend for step 3 : 65.9291467666626 step4:ventilate_hashtags_in_portfolio Mon May 26 15:33:27 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 : 23339062 get user id for portfolio 23339062 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`=23339062 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','metal','papier','pet_clair','mal_croppe','carton','pet_fonce','background','autre','flou')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23339062 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','metal','papier','pet_clair','mal_croppe','carton','pet_fonce','background','autre','flou')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23339062 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pehd','environnement','metal','papier','pet_clair','mal_croppe','carton','pet_fonce','background','autre','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/23340688,23340689,23340690,23340691,23340692,23340693,23340694,23340695,23340696,23340697,23340698?tags=pehd,environnement,metal,papier,pet_clair,mal_croppe,carton,pet_fonce,background,autre,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] Looping around the photos to save general results len do output : 1 /23339062. 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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.012629508972167969 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.53409743309021 time spend to save output : 0.012926101684570312 total time spend for step 4 : 1.5470235347747803 step5:final Mon May 26 15:33:29 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 : {1361059195: ('0.10856602044753087',), 1361059167: ('0.10856602044753087',), 1361059163: ('0.10856602044753087',), 1361059160: ('0.10856602044753087',), 1361059158: ('0.10856602044753087',), 1361059156: ('0.10856602044753087',)} new output for save of step final : {1361059195: ('0.10856602044753087',), 1361059167: ('0.10856602044753087',), 1361059163: ('0.10856602044753087',), 1361059160: ('0.10856602044753087',), 1361059158: ('0.10856602044753087',), 1361059156: ('0.10856602044753087',)} [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] Looping around the photos to save general results len do output : 6 /1361059195.Didn't retrieve data . /1361059167.Didn't retrieve data . /1361059163.Didn't retrieve data . /1361059160.Didn't retrieve data . /1361059158.Didn't retrieve data . /1361059156.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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.012101888656616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10759711265563965 time spend to save output : 0.012456178665161133 total time spend for step 5 : 0.12005329132080078 step6:blur_detection Mon May 26 15:33:29 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/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4.jpg resize: (2160, 3840) 1361059195 -3.6821591827636744 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b.jpg resize: (2160, 3840) 1361059167 -5.731252599618665 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13.jpg resize: (2160, 3840) 1361059163 -5.738126768851409 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e.jpg resize: (2160, 3840) 1361059160 -5.669275668797124 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b.jpg resize: (2160, 3840) 1361059158 -5.8199719644367045 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1.jpg resize: (2160, 3840) 1361059156 -5.773050648276954 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161429_0.png resize: (111, 149) 1361094249 -3.7552261865220657 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161430_0.png resize: (166, 260) 1361094250 -1.9008456484757208 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161432_0.png resize: (351, 206) 1361094251 -3.444108144632569 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161433_0.png resize: (107, 515) 1361094252 -4.151596736092108 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161434_0.png resize: (592, 256) 1361094253 -3.980600887814622 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161435_0.png resize: (520, 561) 1361094254 -1.689544116175545 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161436_0.png resize: (240, 166) 1361094255 -4.285250256570034 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161438_0.png resize: (949, 1080) 1361094256 3.394823523957291 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161439_0.png resize: (438, 449) 1361094257 -4.372418737655958 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161441_0.png resize: (470, 487) 1361094258 -2.3523262632938122 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161445_0.png resize: (386, 297) 1361094259 -4.327922920050857 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161446_0.png resize: (537, 247) 1361094260 -3.3150523519157513 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161450_0.png resize: (387, 184) 1361094261 -4.142213024964686 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161451_0.png resize: (358, 447) 1361094262 0.713717044692059 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161452_0.png resize: (358, 519) 1361094263 -0.9526331785405217 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161454_0.png resize: (222, 190) 1361094264 -3.454083612803371 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161455_0.png resize: (377, 227) 1361094265 -3.112433482621056 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161456_0.png resize: (122, 161) 1361094266 -1.664030949615767 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161457_0.png resize: (138, 97) 1361094267 -3.918534275933327 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161458_0.png resize: (186, 218) 1361094268 1.4571875425359695 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161460_0.png resize: (100, 430) 1361094269 -2.850867898699088 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161461_0.png resize: (276, 234) 1361094270 -3.414819266345169 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161463_0.png resize: (174, 165) 1361094271 -3.935297366356364 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161465_0.png resize: (213, 331) 1361094272 -3.4573779362 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161466_0.png resize: (460, 114) 1361094273 -2.5766457638848155 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161469_0.png resize: (401, 279) 1361094274 -2.3152763506328995 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161470_0.png resize: (334, 592) 1361094275 -0.8729287516660068 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161472_0.png resize: (190, 312) 1361094276 -1.784668833350772 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161474_0.png resize: (225, 202) 1361094277 -0.028823228166362732 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161476_0.png resize: (328, 345) 1361094278 0.9512163465239712 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161478_0.png resize: (239, 248) 1361094279 -0.5072423129590833 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161479_0.png resize: (219, 224) 1361094280 -1.8763997766014988 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161480_0.png resize: (112, 129) 1361094281 -3.5075469149075844 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161482_0.png resize: (177, 189) 1361094282 -3.6009542022966596 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161484_0.png resize: (113, 192) 1361094283 -3.721889277098598 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161486_0.png resize: (295, 211) 1361094284 -3.658550891476271 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161489_0.png resize: (255, 112) 1361094285 -4.431598462922553 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161490_0.png resize: (150, 109) 1361094286 1.8602519083742997 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161491_0.png resize: (361, 309) 1361094287 -1.980998691040241 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161492_0.png resize: (431, 211) 1361094288 -1.9706115828554693 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161494_0.png resize: (415, 410) 1361094289 -3.777352358803591 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161496_0.png resize: (201, 120) 1361094290 -2.5306349151206464 treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161428_0.png resize: (367, 384) 1361094294 -5.332041552427991 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161440_0.png resize: (428, 299) 1361094295 -4.404404098625288 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161475_0.png resize: (357, 205) 1361094296 -4.212234618902523 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161481_0.png resize: (488, 265) 1361094297 -4.071518200409284 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161431_0.png resize: (253, 244) 1361094305 -4.162279293041806 treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161425_0.png resize: (285, 706) 1361094422 -3.7037362990773994 treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161426_0.png resize: (334, 441) 1361094423 -2.641728125890319 treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161427_0.png resize: (395, 755) 1361094425 -3.9236756513574376 treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161437_0.png resize: (457, 469) 1361094426 -4.687276440557093 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161443_0.png resize: (506, 258) 1361094427 -4.604417501969772 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161444_0.png resize: (259, 238) 1361094429 -4.2687345056845025 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161447_0.png resize: (725, 264) 1361094430 -4.816286897066197 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161448_0.png resize: (357, 349) 1361094431 -2.8851010661534224 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161449_0.png resize: (385, 245) 1361094432 -3.2252018037741594 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161453_0.png resize: (245, 280) 1361094433 -4.133658447723844 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161462_0.png resize: (349, 274) 1361094435 -3.4141738880380905 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161464_0.png resize: (221, 1111) 1361094436 -3.6424495368931775 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161467_0.png resize: (260, 315) 1361094437 -2.589346720288125 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161468_0.png resize: (341, 143) 1361094438 -3.605034913193577 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161471_0.png resize: (456, 178) 1361094439 -4.059961280110477 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161473_0.png resize: (296, 226) 1361094440 -4.108212291606349 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161477_0.png resize: (239, 238) 1361094441 -3.2086627750443766 treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161483_0.png resize: (466, 333) 1361094442 -3.707052001974496 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161485_0.png resize: (293, 415) 1361094443 -4.431205051696664 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161487_0.png resize: (356, 560) 1361094444 -2.669701577310184 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161488_0.png resize: (502, 354) 1361094445 -3.805102179503705 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161493_0.png resize: (509, 433) 1361094446 -4.916075482119796 treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161495_0.png resize: (228, 221) 1361094447 -4.361485412707942 treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161459_0.png resize: (136, 151) 1361094449 -3.129381082263163 treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161442_0.png resize: (164, 87) 1361094454 -2.9159601769476384 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 : 78 time used for this insertion : 0.014286518096923828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 78 time used for this insertion : 0.01619744300842285 save missing photos in datou_result : time spend for datou_step_exec : 27.117065906524658 time spend to save output : 0.03559160232543945 total time spend for step 6 : 27.152657508850098 step7:brightness Mon May 26 15:33:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4.jpg treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b.jpg treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13.jpg treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e.jpg treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b.jpg treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1.jpg treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161429_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161430_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161432_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161433_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161434_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161435_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161436_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161438_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161439_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161441_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161445_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161446_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161450_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161451_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161452_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161454_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161455_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161456_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161457_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161458_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161460_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161461_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161463_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161465_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161466_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161469_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161470_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161472_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161474_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161476_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161478_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161479_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161480_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161482_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161484_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161486_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161489_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161490_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161491_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161492_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161494_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161496_0.png treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161428_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161440_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161475_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161481_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161431_0.png treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161425_0.png treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161426_0.png treat image : temp/1748266230_72029_1361059195_55df203e493fc1344e5e5a81398b4ca4_rle_crop_3813161427_0.png treat image : temp/1748266230_72029_1361059167_857eeb9cd6c66ad1df0c7362558c043b_rle_crop_3813161437_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161443_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161444_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161447_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161448_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161449_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161453_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161462_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161464_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161467_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161468_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161471_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161473_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161477_0.png treat image : temp/1748266230_72029_1361059158_cdcd2b767f05ff24ed2538a9b342c67b_rle_crop_3813161483_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161485_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161487_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161488_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161493_0.png treat image : temp/1748266230_72029_1361059156_965ceb8c93458dcefedd521997ecb5e1_rle_crop_3813161495_0.png treat image : temp/1748266230_72029_1361059160_bb9866c52ef2307635fbe1e3dee51f9e_rle_crop_3813161459_0.png treat image : temp/1748266230_72029_1361059163_9dbb0ac93daee8c665e80c99baaeba13_rle_crop_3813161442_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 : 78 time used for this insertion : 0.014768123626708984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 78 time used for this insertion : 0.01616501808166504 save missing photos in datou_result : time spend for datou_step_exec : 7.090503931045532 time spend to save output : 0.035677433013916016 total time spend for step 7 : 7.126181364059448 step8:velours_tree Mon May 26 15:34:03 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.10713958740234375 time spend to save output : 6.341934204101562e-05 total time spend for step 8 : 0.10720300674438477 step9:send_mail_cod Mon May 26 15:34:03 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_P23339062_26-05-2025_15_34_03.pdf 23340688 change filename to text .imagette233406881748266443 23340690 change filename to text .imagette233406901748266444 23340691 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette233406911748266444 23340692 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette233406921748266448 23340693 imagette233406931748266449 23340694 change filename to text .change filename to text .change filename to text .change filename to text .imagette233406941748266449 23340695 imagette233406951748266450 23340696 imagette233406961748266450 23340697 change filename to text .imagette233406971748266450 23340698 imagette233406981748266450 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23339062 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23340688,23340689,23340690,23340691,23340692,23340693,23340694,23340695,23340696,23340697,23340698?tags=pehd,environnement,metal,papier,pet_clair,mal_croppe,carton,pet_fonce,background,autre,flou args[1361059195] : ((1361059195, -3.6821591827636744, 492609224), (1361059195, -0.1192606199184874, 496442774), '0.10856602044753087') We are sending mail with results at report@fotonower.com args[1361059167] : ((1361059167, -5.731252599618665, 492609224), (1361059167, 0.36450632723814386, 2107752395), '0.10856602044753087') We are sending mail with results at report@fotonower.com args[1361059163] : ((1361059163, -5.738126768851409, 492609224), (1361059163, 0.7852064491260133, 2107752395), '0.10856602044753087') We are sending mail with results at report@fotonower.com args[1361059160] : ((1361059160, -5.669275668797124, 492609224), (1361059160, 0.727751126802964, 2107752395), '0.10856602044753087') We are sending mail with results at report@fotonower.com args[1361059158] : ((1361059158, -5.8199719644367045, 492609224), (1361059158, 0.7627012368994782, 2107752395), '0.10856602044753087') We are sending mail with results at report@fotonower.com args[1361059156] : ((1361059156, -5.773050648276954, 492609224), (1361059156, 0.5999079487850094, 2107752395), '0.10856602044753087') We are sending mail with results at report@fotonower.com refus_total : 0.10856602044753087 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23339062 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_P23339062_26-05-2025_15_34_03.pdf results_Auto_P23339062_26-05-2025_15_34_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339062_26-05-2025_15_34_03.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','23339062','results_Auto_P23339062_26-05-2025_15_34_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339062_26-05-2025_15_34_03.pdf','pdf','','0.59','0.10856602044753087') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/23339062

https://www.fotonower.com/image?json=false&list_photos_id=1361059195
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361059167
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361059163
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361059160
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361059158
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1361059156
Bravo, la photo est bien prise.

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

exemples de contaminants: pehd: https://www.fotonower.com/view/23340688?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/23340690?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/23340691?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/23340692?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/23340694?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/23340697?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339062_26-05-2025_15_34_03.pdf.

Lien vers velours :https://www.fotonower.com/velours/23340688,23340689,23340690,23340691,23340692,23340693,23340694,23340695,23340696,23340697,23340698?tags=pehd,environnement,metal,papier,pet_clair,mal_croppe,carton,pet_fonce,background,autre,flou.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 26 May 2025 13:34:12 GMT Content-Length: 0 Connection: close X-Message-Id: ReMWzj7YQteNuKnOeaNqIg 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 [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] 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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.0148773193359375 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.461542129516602 time spend to save output : 0.01510000228881836 total time spend for step 9 : 8.47664213180542 step10:split_time_score Mon May 26 15:34:12 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', 6),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26052025 23339062 Nombre de photos uploadées : 6 / 23040 (0%) 26052025 23339062 Nombre de photos taguées (types de déchets): 0 / 6 (0%) 26052025 23339062 Nombre de photos taguées (volume) : 0 / 6 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?????? elapsed_time : fill_and_build_computed_from_old_data 0.0003910064697265625 elapsed_time : insert_dashboard_record_day_entry 0.02414250373840332 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.10631123107156629 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23331064_26-05-2025_13_10_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23331064 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`=23331064 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23331066 order by id desc limit 1 Qualite : 0.09622099389524323 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23331105_26-05-2025_15_13_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23331105 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`=23331105 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23328666 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23328671 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339058 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339060 order by id desc limit 1 Qualite : 0.10856602044753087 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339062_26-05-2025_15_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339062 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`=23339062 AND mptpi.`type`=3594 To do Qualite : 0.12075810185185182 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339075_26-05-2025_15_29_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339075 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`=23339075 AND mptpi.`type`=3594 To do Qualite : 0.11833079346707819 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339078_26-05-2025_15_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339078 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`=23339078 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339082 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339099 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26052025': {'nb_upload': 6, '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 [1361059195, 1361059167, 1361059163, 1361059160, 1361059158, 1361059156] Looping around the photos to save general results len do output : 1 /23339062Didn'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, '2954434') ('3318', '23339062', '1361059195', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059167', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059163', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059160', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059158', None, None, None, None, None, '2954434') ('3318', None, None, None, None, None, None, None, '2954434') ('3318', '23339062', '1361059156', None, None, None, None, None, '2954434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.015984773635864258 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.661780834197998 time spend to save output : 0.016141891479492188 total time spend for step 10 : 6.67792272567749 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 101.48user 94.86system 3:52.92elapsed 84%CPU (0avgtext+0avgdata 4158044maxresident)k 520856inputs+90784outputs (357major+9130751minor)pagefaults 0swaps