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 : 1132312 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 : ['3568512'] with mtr_portfolio_ids : ['26118874'] and first list_photo_ids : [] new path : /proc/1132312/ 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 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.4787628650665283 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Thu Aug 21 21:10:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10615 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-21 21:10:32.761628: 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-08-21 21:10:32.788491: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-21 21:10:32.790635: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f066c000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-21 21:10:32.790691: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-21 21:10:32.794813: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-21 21:10:32.965592: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x12111700 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-21 21:10:32.965656: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-21 21:10:32.967171: 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-08-21 21:10:32.971058: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-21 21:10:32.975411: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-21 21:10:32.978506: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-21 21:10:32.979934: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-21 21:10:32.982961: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-21 21:10:32.984435: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-21 21:10:32.990104: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-21 21:10:32.991554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-21 21:10:32.991636: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-21 21:10:32.992421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-21 21:10:32.992440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-21 21:10:32.992449: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-21 21:10:32.993853: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9833 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-08-21 21:10:33.251077: 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-08-21 21:10:33.251192: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-21 21:10:33.251221: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-21 21:10:33.251249: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-21 21:10:33.251273: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-21 21:10:33.251297: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-21 21:10:33.251320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-21 21:10:33.251344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-21 21:10:33.252984: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-21 21:10:33.254359: 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-08-21 21:10:33.254400: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-21 21:10:33.254426: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-21 21:10:33.254450: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-21 21:10:33.254474: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-21 21:10:33.254496: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-21 21:10:33.254520: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-21 21:10:33.254544: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-21 21:10:33.256146: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-21 21:10:33.256179: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-21 21:10:33.256192: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-21 21:10:33.256203: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-21 21:10:33.257872: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9833 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-08-21 21:10:40.932035: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-21 21:10:41.149685: 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 : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 47.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 55.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 45.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 40.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 51.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 53.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 52.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 56.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 Detection mask done ! Trying to reset tf kernel 1132846 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4524 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 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 : 9813 list_Values should be empty [] To do loadFromThcl(), then load ParamDescType : thcl2847 Catched exception ! Connect or reconnect ! thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] time for calcul the mask position with numpy : 0.0005924701690673828 nb_pixel_total : 21902 time to create 1 rle with old method : 0.02632904052734375 length of segment : 195 time for calcul the mask position with numpy : 0.0003123283386230469 nb_pixel_total : 10768 time to create 1 rle with old method : 0.012821197509765625 length of segment : 176 time for calcul the mask position with numpy : 0.00019049644470214844 nb_pixel_total : 6206 time to create 1 rle with old method : 0.007402658462524414 length of segment : 113 time for calcul the mask position with numpy : 0.0019092559814453125 nb_pixel_total : 106537 time to create 1 rle with old method : 0.1224055290222168 length of segment : 534 time for calcul the mask position with numpy : 0.0001342296600341797 nb_pixel_total : 5709 time to create 1 rle with old method : 0.007665157318115234 length of segment : 83 time for calcul the mask position with numpy : 0.0015726089477539062 nb_pixel_total : 117527 time to create 1 rle with old method : 0.1323716640472412 length of segment : 571 time for calcul the mask position with numpy : 0.00022649765014648438 nb_pixel_total : 6513 time to create 1 rle with old method : 0.008954048156738281 length of segment : 101 time for calcul the mask position with numpy : 9.870529174804688e-05 nb_pixel_total : 3357 time to create 1 rle with old method : 0.0049190521240234375 length of segment : 56 time for calcul the mask position with numpy : 0.00012254714965820312 nb_pixel_total : 3495 time to create 1 rle with old method : 0.0043294429779052734 length of segment : 121 time for calcul the mask position with numpy : 0.00019121170043945312 nb_pixel_total : 10773 time to create 1 rle with old method : 0.012890338897705078 length of segment : 130 time for calcul the mask position with numpy : 0.0016834735870361328 nb_pixel_total : 118276 time to create 1 rle with old method : 0.13266873359680176 length of segment : 563 time for calcul the mask position with numpy : 9.655952453613281e-05 nb_pixel_total : 3456 time to create 1 rle with old method : 0.004154205322265625 length of segment : 68 time for calcul the mask position with numpy : 0.00010752677917480469 nb_pixel_total : 4897 time to create 1 rle with old method : 0.005973100662231445 length of segment : 83 time for calcul the mask position with numpy : 0.00012445449829101562 nb_pixel_total : 7462 time to create 1 rle with old method : 0.009110689163208008 length of segment : 88 time for calcul the mask position with numpy : 0.00014853477478027344 nb_pixel_total : 8576 time to create 1 rle with old method : 0.009944677352905273 length of segment : 161 time for calcul the mask position with numpy : 0.00030493736267089844 nb_pixel_total : 19297 time to create 1 rle with old method : 0.022933244705200195 length of segment : 209 time for calcul the mask position with numpy : 0.00027942657470703125 nb_pixel_total : 20176 time to create 1 rle with old method : 0.023750782012939453 length of segment : 160 time for calcul the mask position with numpy : 0.0006418228149414062 nb_pixel_total : 41193 time to create 1 rle with old method : 0.04840683937072754 length of segment : 271 time for calcul the mask position with numpy : 0.0015223026275634766 nb_pixel_total : 121112 time to create 1 rle with old method : 0.14022159576416016 length of segment : 563 time for calcul the mask position with numpy : 0.00019097328186035156 nb_pixel_total : 3105 time to create 1 rle with old method : 0.00348663330078125 length of segment : 99 time for calcul the mask position with numpy : 0.0005571842193603516 nb_pixel_total : 21781 time to create 1 rle with old method : 0.02493143081665039 length of segment : 179 time for calcul the mask position with numpy : 8.96453857421875e-05 nb_pixel_total : 2759 time to create 1 rle with old method : 0.003104686737060547 length of segment : 90 time for calcul the mask position with numpy : 9.512901306152344e-05 nb_pixel_total : 4860 time to create 1 rle with old method : 0.00554203987121582 length of segment : 87 time for calcul the mask position with numpy : 0.000255584716796875 nb_pixel_total : 13240 time to create 1 rle with old method : 0.01490163803100586 length of segment : 302 time for calcul the mask position with numpy : 0.00037932395935058594 nb_pixel_total : 24074 time to create 1 rle with old method : 0.026798248291015625 length of segment : 170 time for calcul the mask position with numpy : 0.012612104415893555 nb_pixel_total : 660354 time to create 1 rle with new method : 0.02819061279296875 length of segment : 984 time for calcul the mask position with numpy : 0.0017533302307128906 nb_pixel_total : 122613 time to create 1 rle with old method : 0.16302824020385742 length of segment : 567 time for calcul the mask position with numpy : 0.0004296302795410156 nb_pixel_total : 14879 time to create 1 rle with old method : 0.017446279525756836 length of segment : 155 time for calcul the mask position with numpy : 0.0026671886444091797 nb_pixel_total : 122383 time to create 1 rle with old method : 0.15386533737182617 length of segment : 545 time spent for convertir_results : 2.447781562805176 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 29 chid ids of type : 3594 Number RLEs to save : 7424 save missing photos in datou_result : time spend for datou_step_exec : 22.395200967788696 time spend to save output : 0.5135695934295654 total time spend for step 1 : 22.90877056121826 step2:crop_condition Thu Aug 21 21:10:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 10 ! batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 16 About to insert : list_path_to_insert length 16 new photo from crops ! About to upload 16 photos upload in portfolio : 3736932 init cache_photo without model_param we have 16 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755803454_1132312 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 16 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.276862144470215 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 3 About to insert : list_path_to_insert length 3 new photo from crops ! About to upload 3 photos upload in portfolio : 3736932 init cache_photo without model_param we have 3 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755803461_1132312 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 3 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.78788161277771 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 10 About to insert : list_path_to_insert length 10 new photo from crops ! About to upload 10 photos upload in portfolio : 3736932 init cache_photo without model_param we have 10 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755803466_1132312 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 10 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.702831506729126 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] Looping around the photos to save general results len do output : 29 /1378217994Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378217996Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378217998Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378217999Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218001Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218002Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218004Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218006Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218007Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218009Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218010Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218012Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218013Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218015Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218017Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218018Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218084Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218088Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218089Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1378218254Didn'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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 97 time used for this insertion : 0.023381948471069336 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.316598892211914 time spend to save output : 0.024724245071411133 total time spend for step 2 : 15.341323137283325 step3:rle_unique_nms_with_priority Thu Aug 21 21:11:08 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 29 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++nb_obj : 4 nb_hashtags : 2 time to prepare the origin masks : 0.5465717315673828 time for calcul the mask position with numpy : 0.05482292175292969 nb_pixel_total : 1933617 time to create 1 rle with new method : 0.258014440536499 time for calcul the mask position with numpy : 0.0074748992919921875 nb_pixel_total : 106537 time to create 1 rle with old method : 0.12261390686035156 time for calcul the mask position with numpy : 0.007080793380737305 nb_pixel_total : 776 time to create 1 rle with old method : 0.0009553432464599609 time for calcul the mask position with numpy : 0.0069124698638916016 nb_pixel_total : 10768 time to create 1 rle with old method : 0.012631654739379883 time for calcul the mask position with numpy : 0.006566047668457031 nb_pixel_total : 21902 time to create 1 rle with old method : 0.025151968002319336 create new chi : 0.5180561542510986 time to delete rle : 0.02995920181274414 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 2974 TO DO : save crop sub photo not yet done ! save time : 0.22004151344299316 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.6268045902252197 time for calcul the mask position with numpy : 0.05353546142578125 nb_pixel_total : 1926226 time to create 1 rle with new method : 0.1943042278289795 time for calcul the mask position with numpy : 0.006145477294921875 nb_pixel_total : 10773 time to create 1 rle with old method : 0.011943340301513672 time for calcul the mask position with numpy : 0.006098747253417969 nb_pixel_total : 3495 time to create 1 rle with old method : 0.004023313522338867 time for calcul the mask position with numpy : 0.006021738052368164 nb_pixel_total : 3357 time to create 1 rle with old method : 0.003876209259033203 time for calcul the mask position with numpy : 0.006020784378051758 nb_pixel_total : 6513 time to create 1 rle with old method : 0.007234096527099609 time for calcul the mask position with numpy : 0.006627798080444336 nb_pixel_total : 117527 time to create 1 rle with old method : 0.12849879264831543 time for calcul the mask position with numpy : 0.005865573883056641 nb_pixel_total : 5709 time to create 1 rle with old method : 0.006094455718994141 create new chi : 0.4561736583709717 time to delete rle : 0.00041794776916503906 batch 1 Loaded 13 chid ids of type : 3594 ++++++Number RLEs to save : 3204 TO DO : save crop sub photo not yet done ! save time : 0.22330737113952637 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.046781301498413086 time for calcul the mask position with numpy : 0.019308090209960938 nb_pixel_total : 1951868 time to create 1 rle with new method : 0.07271003723144531 time for calcul the mask position with numpy : 0.0062482357025146484 nb_pixel_total : 3456 time to create 1 rle with old method : 0.0040285587310791016 time for calcul the mask position with numpy : 0.006720781326293945 nb_pixel_total : 118276 time to create 1 rle with old method : 0.15903902053833008 create new chi : 0.268521785736084 time to delete rle : 0.00039267539978027344 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2342 TO DO : save crop sub photo not yet done ! save time : 0.16910266876220703 No data in photo_id : 1378207887 No data in photo_id : 1378207864 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.11076641082763672 time for calcul the mask position with numpy : 0.08088016510009766 nb_pixel_total : 2052665 time to create 1 rle with new method : 0.2082045078277588 time for calcul the mask position with numpy : 0.012387752532958984 nb_pixel_total : 8576 time to create 1 rle with old method : 0.011092185974121094 time for calcul the mask position with numpy : 0.006755828857421875 nb_pixel_total : 7462 time to create 1 rle with old method : 0.009044647216796875 time for calcul the mask position with numpy : 0.006667375564575195 nb_pixel_total : 4897 time to create 1 rle with old method : 0.0057830810546875 create new chi : 0.3452153205871582 time to delete rle : 0.00039577484130859375 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 1744 TO DO : save crop sub photo not yet done ! save time : 0.14844679832458496 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.07062482833862305 time for calcul the mask position with numpy : 0.19282197952270508 nb_pixel_total : 2034127 time to create 1 rle with new method : 0.10345768928527832 time for calcul the mask position with numpy : 0.0077266693115234375 nb_pixel_total : 20176 time to create 1 rle with old method : 0.023291349411010742 time for calcul the mask position with numpy : 0.006329059600830078 nb_pixel_total : 19297 time to create 1 rle with old method : 0.022328853607177734 create new chi : 0.3704369068145752 time to delete rle : 0.0003707408905029297 batch 1 Loaded 5 chid ids of type : 3594 +++++++++Number RLEs to save : 1818 TO DO : save crop sub photo not yet done ! save time : 0.1371173858642578 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.26677489280700684 time for calcul the mask position with numpy : 0.06155061721801758 nb_pixel_total : 1883650 time to create 1 rle with new method : 0.4807701110839844 time for calcul the mask position with numpy : 0.01047825813293457 nb_pixel_total : 2759 time to create 1 rle with old method : 0.0031938552856445312 time for calcul the mask position with numpy : 0.006723880767822266 nb_pixel_total : 21781 time to create 1 rle with old method : 0.025233745574951172 time for calcul the mask position with numpy : 0.0060694217681884766 nb_pixel_total : 3105 time to create 1 rle with old method : 0.0036163330078125 time for calcul the mask position with numpy : 0.010427236557006836 nb_pixel_total : 121112 time to create 1 rle with old method : 0.13949108123779297 time for calcul the mask position with numpy : 0.007174253463745117 nb_pixel_total : 41193 time to create 1 rle with old method : 0.046966552734375 create new chi : 0.8115718364715576 time to delete rle : 0.0005400180816650391 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 3484 TO DO : save crop sub photo not yet done ! save time : 0.23566722869873047 nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.12474417686462402 time for calcul the mask position with numpy : 0.07737350463867188 nb_pixel_total : 1248459 time to create 1 rle with new method : 0.08659124374389648 time for calcul the mask position with numpy : 0.0071146488189697266 nb_pixel_total : 122613 time to create 1 rle with old method : 0.13651394844055176 time for calcul the mask position with numpy : 0.015369415283203125 nb_pixel_total : 660354 time to create 1 rle with new method : 0.18733668327331543 time for calcul the mask position with numpy : 0.007433652877807617 nb_pixel_total : 24074 time to create 1 rle with old method : 0.02765679359436035 time for calcul the mask position with numpy : 0.008464574813842773 nb_pixel_total : 13240 time to create 1 rle with old method : 0.015098333358764648 time for calcul the mask position with numpy : 0.007093667984008789 nb_pixel_total : 4860 time to create 1 rle with old method : 0.005617380142211914 create new chi : 0.5922770500183105 time to delete rle : 0.0007255077362060547 batch 1 Loaded 11 chid ids of type : 3594 +++++++++Number RLEs to save : 5300 TO DO : save crop sub photo not yet done ! save time : 0.3519012928009033 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.053096771240234375 time for calcul the mask position with numpy : 0.018739700317382812 nb_pixel_total : 1936338 time to create 1 rle with new method : 0.030911684036254883 time for calcul the mask position with numpy : 0.007082223892211914 nb_pixel_total : 122383 time to create 1 rle with old method : 0.13811516761779785 time for calcul the mask position with numpy : 0.006445407867431641 nb_pixel_total : 14879 time to create 1 rle with old method : 0.01708054542541504 create new chi : 0.2258307933807373 time to delete rle : 0.0006749629974365234 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 2480 TO DO : save crop sub photo not yet done ! save time : 0.1780242919921875 map_output_result : {1378208361: (0.0, 'Should be the crop_list due to order', 0), 1378208360: (0.0, 'Should be the crop_list due to order', 0), 1378208357: (0.0, 'Should be the crop_list due to order', 0), 1378207887: (0.0, 'Should be the crop_list due to order', 0.0), 1378207864: (0.0, 'Should be the crop_list due to order', 0.0), 1378207837: (0.0, 'Should be the crop_list due to order', 0), 1378207813: (0.0, 'Should be the crop_list due to order', 0), 1378207783: (0.0, 'Should be the crop_list due to order', 0), 1378207761: (0.0, 'Should be the crop_list due to order', 0), 1378207482: (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 [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] Looping around the photos to save general results len do output : 10 /1378208361.Didn't retrieve data . /1378208360.Didn't retrieve data . /1378208357.Didn't retrieve data . /1378207887.Didn't retrieve data . /1378207864.Didn't retrieve data . /1378207837.Didn't retrieve data . /1378207813.Didn't retrieve data . /1378207783.Didn't retrieve data . /1378207761.Didn't retrieve data . /1378207482.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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01369333267211914 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.476941823959351 time spend to save output : 0.014344215393066406 total time spend for step 3 : 7.491286039352417 step4:ventilate_hashtags_in_portfolio Thu Aug 21 21:11:15 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 : 26118874 get user id for portfolio 26118874 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`=26118874 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','flou','mal_croppe','metal','papier','pehd','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26118874 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','flou','mal_croppe','metal','papier','pehd','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26118874 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','carton','flou','mal_croppe','metal','papier','pehd','pet_clair','background','autre','pet_fonce')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26119091,26119092,26119093,26119094,26119095,26119096,26119097,26119098,26119099,26119100,26119101?tags=environnement,carton,flou,mal_croppe,metal,papier,pehd,pet_clair,background,autre,pet_fonce Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] Looping around the photos to save general results len do output : 1 /26118874. 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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.01579117774963379 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6419904232025146 time spend to save output : 0.016050338745117188 total time spend for step 4 : 1.6580407619476318 step5:final Thu Aug 21 21:11:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1378208361: ('0.07821421682098766',), 1378208360: ('0.07821421682098766',), 1378208357: ('0.07821421682098766',), 1378207887: ('0.07821421682098766',), 1378207864: ('0.07821421682098766',), 1378207837: ('0.07821421682098766',), 1378207813: ('0.07821421682098766',), 1378207783: ('0.07821421682098766',), 1378207761: ('0.07821421682098766',), 1378207482: ('0.07821421682098766',)} new output for save of step final : {1378208361: ('0.07821421682098766',), 1378208360: ('0.07821421682098766',), 1378208357: ('0.07821421682098766',), 1378207887: ('0.07821421682098766',), 1378207864: ('0.07821421682098766',), 1378207837: ('0.07821421682098766',), 1378207813: ('0.07821421682098766',), 1378207783: ('0.07821421682098766',), 1378207761: ('0.07821421682098766',), 1378207482: ('0.07821421682098766',)} [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] Looping around the photos to save general results len do output : 10 /1378208361.Didn't retrieve data . /1378208360.Didn't retrieve data . /1378208357.Didn't retrieve data . /1378207887.Didn't retrieve data . /1378207864.Didn't retrieve data . /1378207837.Didn't retrieve data . /1378207813.Didn't retrieve data . /1378207783.Didn't retrieve data . /1378207761.Didn't retrieve data . /1378207482.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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.01306462287902832 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12165141105651855 time spend to save output : 0.01358652114868164 total time spend for step 5 : 0.1352379322052002 step6:blur_detection Thu Aug 21 21:11:17 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a.jpg resize: (1080, 1920) 1378208361 -0.6479535595072231 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946.jpg resize: (1080, 1920) 1378208360 0.48795071984510346 treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd.jpg resize: (1080, 1920) 1378208357 0.6138977427066328 treat image : temp/1755803428_1132312_1378207887_5ce76ced76717c91b821c4fb6ad7af04.jpg resize: (1080, 1920) 1378207887 -1.7072631014716089 treat image : temp/1755803428_1132312_1378207864_9909ae019647e7c7144687548a49725e.jpg resize: (1080, 1920) 1378207864 -0.6265314430553134 treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4.jpg resize: (1080, 1920) 1378207837 0.743468815024414 treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26.jpg resize: (1080, 1920) 1378207813 6.352233665037059 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919.jpg resize: (1080, 1920) 1378207783 1.2927635952541967 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f.jpg resize: (1080, 1920) 1378207761 -0.2193532414967523 treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b.jpg resize: (1080, 1920) 1378207482 0.7489352535349785 treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855533_0.png resize: (176, 115) 1378217994 -0.6721472958347798 treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855532_0.png resize: (195, 262) 1378217996 -1.3257381834278332 treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855534_0.png resize: (113, 93) 1378217998 -0.624123074844146 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855536_0.png resize: (83, 118) 1378217999 -0.3167917530536624 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855539_0.png resize: (53, 94) 1378218001 -1.9419039671903462 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855538_0.png resize: (99, 92) 1378218002 -0.4676868185512854 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855540_0.png resize: (121, 69) 1378218004 -2.050486222491374 treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855544_0.png resize: (82, 96) 1378218006 -0.20578295472983904 treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855546_0.png resize: (120, 97) 1378218007 -1.501091903022108 treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26_rle_crop_3922855548_0.png resize: (143, 175) 1378218009 0.7520047277195826 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855553_0.png resize: (89, 43) 1378218010 0.33322079629718404 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855551_0.png resize: (99, 45) 1378218012 -0.40729561489907046 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855552_0.png resize: (125, 309) 1378218013 -2.175535409960848 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855555_0.png resize: (185, 143) 1378218015 -2.0663675328109683 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855556_0.png resize: (151, 260) 1378218017 -0.8618173634429904 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855554_0.png resize: (87, 78) 1378218018 -0.2145554040958689 treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd_rle_crop_3922855543_0.png resize: (67, 74) 1378218084 -0.4174810661734254 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855549_0.png resize: (271, 296) 1378218088 -1.1219316654675826 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855557_0.png resize: (960, 927) 1378218089 0.2761458651098106 treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855535_0.png resize: (528, 345) 1378218235 0.18304556204807665 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855541_0.png resize: (129, 135) 1378218237 -1.8048476820251573 treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855537_0.png resize: (564, 338) 1378218239 0.08152544039793956 treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd_rle_crop_3922855542_0.png resize: (563, 361) 1378218241 0.20195649272749433 treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855545_0.png resize: (69, 153) 1378218244 -1.7502905228564947 treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26_rle_crop_3922855547_0.png resize: (170, 166) 1378218246 -1.0081544370403304 treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855550_0.png resize: (544, 347) 1378218248 -0.167205530473505 treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855558_0.png resize: (559, 365) 1378218250 0.2631758615046535 treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b_rle_crop_3922855559_0.png resize: (139, 137) 1378218252 -3.7696530816324185 treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b_rle_crop_3922855560_0.png resize: (537, 380) 1378218254 0.3455247748614411 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 : 39 time used for this insertion : 0.012721776962280273 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.012833118438720703 save missing photos in datou_result : time spend for datou_step_exec : 8.887348651885986 time spend to save output : 0.030488014221191406 total time spend for step 6 : 8.917836666107178 step7:brightness Thu Aug 21 21:11:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a.jpg treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946.jpg treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd.jpg treat image : temp/1755803428_1132312_1378207887_5ce76ced76717c91b821c4fb6ad7af04.jpg treat image : temp/1755803428_1132312_1378207864_9909ae019647e7c7144687548a49725e.jpg treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4.jpg treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26.jpg treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919.jpg treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f.jpg treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b.jpg treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855533_0.png treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855532_0.png treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855534_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855536_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855539_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855538_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855540_0.png treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855544_0.png treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855546_0.png treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26_rle_crop_3922855548_0.png treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855553_0.png treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855551_0.png treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855552_0.png treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855555_0.png treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855556_0.png treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855554_0.png treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd_rle_crop_3922855543_0.png treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855549_0.png treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855557_0.png treat image : temp/1755803428_1132312_1378208361_71d46450aedc4d6861507a346a5c402a_rle_crop_3922855535_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855541_0.png treat image : temp/1755803428_1132312_1378208360_7bb054a64662613d02f3a2e0d1117946_rle_crop_3922855537_0.png treat image : temp/1755803428_1132312_1378208357_ef476c09a2e02a32283a99ee196cf3cd_rle_crop_3922855542_0.png treat image : temp/1755803428_1132312_1378207837_bc6daecc1e56dc002d5c096bce9b19c4_rle_crop_3922855545_0.png treat image : temp/1755803428_1132312_1378207813_58d7806e946f15d717a54625d0da7e26_rle_crop_3922855547_0.png treat image : temp/1755803428_1132312_1378207783_2dbd04f783b325afc9a84df7145c3919_rle_crop_3922855550_0.png treat image : temp/1755803428_1132312_1378207761_f816f87dc378f92faea3ee74f4ba613f_rle_crop_3922855558_0.png treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b_rle_crop_3922855559_0.png treat image : temp/1755803428_1132312_1378207482_810551a0656ec3176168ebea9b0f120b_rle_crop_3922855560_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 : 39 time used for this insertion : 0.013510465621948242 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 39 time used for this insertion : 0.014388084411621094 save missing photos in datou_result : time spend for datou_step_exec : 2.460239887237549 time spend to save output : 0.03349781036376953 total time spend for step 7 : 2.4937376976013184 step8:velours_tree Thu Aug 21 21:11: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 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.15739727020263672 time spend to save output : 4.9591064453125e-05 total time spend for step 8 : 0.15744686126708984 step9:send_mail_cod Thu Aug 21 21:11: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 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_P26118874_21-08-2025_21_11_29.pdf 26119092 change filename to text .change filename to text .change filename to text .imagette261190921755803489 26119093 imagette261190931755803489 26119094 imagette261190941755803489 26119095 imagette261190951755803489 26119096 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 .imagette261190961755803489 26119097 imagette261190971755803490 26119098 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 .imagette261190981755803490 26119099 imagette261190991755803491 26119100 imagette261191001755803491 26119101 imagette261191011755803491 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26118874 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26119091,26119092,26119093,26119094,26119095,26119096,26119097,26119098,26119099,26119100,26119101?tags=environnement,carton,flou,mal_croppe,metal,papier,pehd,pet_clair,background,autre,pet_fonce args[1378208361] : ((1378208361, -0.6479535595072231, 492688767), (1378208361, 0.8749672303469922, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378208360] : ((1378208360, 0.48795071984510346, 492688767), (1378208360, 0.6442505363153133, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378208357] : ((1378208357, 0.6138977427066328, 492688767), (1378208357, 0.5461956589101542, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207887] : ((1378207887, -1.7072631014716089, 492688767), (1378207887, 0.9096152673180141, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207864] : ((1378207864, -0.6265314430553134, 492688767), (1378207864, 1.1020154666416027, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207837] : ((1378207837, 0.743468815024414, 492688767), (1378207837, 0.3454258647216541, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207813] : ((1378207813, 6.352233665037059, 492688767), (1378207813, 0.5945274682737893, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207783] : ((1378207783, 1.2927635952541967, 492688767), (1378207783, 0.4336865923847062, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207761] : ((1378207761, -0.2193532414967523, 492688767), (1378207761, 0.8125920059131259, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com args[1378207482] : ((1378207482, 0.7489352535349785, 492688767), (1378207482, 0.35797373923847525, 2107752395), '0.07821421682098766') We are sending mail with results at report@fotonower.com refus_total : 0.07821421682098766 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=26118874 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_P26118874_21-08-2025_21_11_29.pdf results_Auto_P26118874_21-08-2025_21_11_29.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118874_21-08-2025_21_11_29.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','26118874','results_Auto_P26118874_21-08-2025_21_11_29.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118874_21-08-2025_21_11_29.pdf','pdf','','0.25','0.07821421682098766') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26118874

https://www.fotonower.com/image?json=false&list_photos_id=1378208361
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378208360
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378208357
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378207887
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378207864
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378207837
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378207813
La photo est trop floue, merci de reprendre une photo.(avec le score = 6.352233665037059)
https://www.fotonower.com/image?json=false&list_photos_id=1378207783
La photo est trop floue, merci de reprendre une photo.(avec le score = 1.2927635952541967)
https://www.fotonower.com/image?json=false&list_photos_id=1378207761
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1378207482
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/26119092?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26119096?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/26119098?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118874_21-08-2025_21_11_29.pdf.

Lien vers velours :https://www.fotonower.com/velours/26119091,26119092,26119093,26119094,26119095,26119096,26119097,26119098,26119099,26119100,26119101?tags=environnement,carton,flou,mal_croppe,metal,papier,pehd,pet_clair,background,autre,pet_fonce.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 21 Aug 2025 19:11:32 GMT Content-Length: 0 Connection: close X-Message-Id: Ao0kNBH3S7yEMB5m6U802w 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 [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] 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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013442277908325195 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5540969371795654 time spend to save output : 0.013725519180297852 total time spend for step 9 : 3.5678224563598633 step10:split_time_score Thu Aug 21 21:11:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('11', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21082025 26118874 Nombre de photos uploadées : 10 / 23040 (0%) 21082025 26118874 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 21082025 26118874 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0004603862762451172 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20333242416381836 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.06594444444444442 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26113208_21-08-2025_08_21_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26113208 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`=26113208 AND mptpi.`type`=3594 To do Qualite : 0.14344428077066965 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26114421_21-08-2025_09_23_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26114421 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`=26114421 AND mptpi.`type`=3594 To do Qualite : 0.13331061385459533 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26114424_21-08-2025_09_11_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26114424 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`=26114424 AND mptpi.`type`=3594 To do Qualite : 0.06449963563100139 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115111_21-08-2025_10_02_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26115111 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`=26115111 AND mptpi.`type`=3594 To do Qualite : 0.037599160420340956 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115112_21-08-2025_10_12_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26115112 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`=26115112 AND mptpi.`type`=3594 To do Qualite : 0.05686577690972222 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26115114_21-08-2025_09_51_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26115114 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`=26115114 AND mptpi.`type`=3594 To do Qualite : 0.09280790004748335 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116300_21-08-2025_10_41_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26116300 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`=26116300 AND mptpi.`type`=3594 To do Qualite : 0.19969962062757196 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26116302_21-08-2025_10_52_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26116302 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`=26116302 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26118869 order by id desc limit 1 Qualite : 0.07821421682098766 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26118874_21-08-2025_21_11_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26118874 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`=26118874 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21082025': {'nb_upload': 10, '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 [1378208361, 1378208360, 1378208357, 1378207887, 1378207864, 1378207837, 1378207813, 1378207783, 1378207761, 1378207482] Looping around the photos to save general results len do output : 1 /26118874Didn'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, '3568512') ('3318', '26118874', '1378208361', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208360', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378208357', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207887', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207864', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207837', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207813', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207783', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207761', None, None, None, None, None, '3568512') ('3318', None, None, None, None, None, None, None, '3568512') ('3318', '26118874', '1378207482', None, None, None, None, None, '3568512') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.013314247131347656 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8284235000610352 time spend to save output : 0.013598442077636719 total time spend for step 10 : 1.8420219421386719 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 38.02user 16.47system 1:09.02elapsed 78%CPU (0avgtext+0avgdata 2790308maxresident)k 503728inputs+15328outputs (66major+1546153minor)pagefaults 0swaps