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 : 4154620 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 : ['3475358'] with mtr_portfolio_ids : ['25780126'] and first list_photo_ids : [] new path : /proc/4154620/ 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.8939156532287598 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 7 15:10: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 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 : 10957 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-07 15:10:32.452552: 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-07 15:10:32.479406: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493035000 Hz 2025-08-07 15:10:32.481686: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f2fd8000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-07 15:10:32.481746: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-07 15:10:32.485688: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-07 15:10:32.639494: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x127bb8c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-07 15:10:32.639547: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-07 15:10:32.640435: 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-07 15:10:32.640740: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 15:10:32.642797: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 15:10:32.644834: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 15:10:32.645152: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 15:10:32.647419: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 15:10:32.648455: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 15:10:32.652818: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 15:10:32.654239: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 15:10:32.654320: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 15:10:32.655068: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 15:10:32.655083: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 15:10:32.655092: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 15:10:32.656401: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-07 15:10:32.902181: 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-07 15:10:32.902295: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 15:10:32.902312: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 15:10:32.902326: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 15:10:32.902340: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 15:10:32.902355: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 15:10:32.902368: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 15:10:32.902382: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 15:10:32.903626: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 15:10:32.904861: 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-07 15:10:32.904896: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-07 15:10:32.904911: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 15:10:32.904926: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-07 15:10:32.904939: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-07 15:10:32.904953: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-07 15:10:32.904966: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-07 15:10:32.904980: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 15:10:32.906209: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-07 15:10:32.906245: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-07 15:10:32.906253: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-07 15:10:32.906260: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-07 15:10:32.907512: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10154 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-07 15:10:42.001620: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-07 15:10:42.214357: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-07 15:10:43.609047: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:43.609715: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.60G (3865470464 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:43.610528: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 3.24G (3478923264 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:43.611267: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.92G (3131030784 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:43.611886: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 2.62G (2817927680 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.621625: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.621690: W tensorflow/core/common_runtime/bfc_allocator.cc:311] Garbage collection: deallocate free memory regions (i.e., allocations) so that we can re-allocate a larger region to avoid OOM due to memory fragmentation. If you see this message frequently, you are running near the threshold of the available device memory and re-allocation may incur great performance overhead. You may try smaller batch sizes to observe the performance impact. Set TF_ENABLE_GPU_GARBAGE_COLLECTION=false if you'd like to disable this feature. 2025-08-07 15:10:44.679261: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.679336: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.680447: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.680478: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 2.67GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.690367: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.690418: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.691033: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.691062: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 3.29GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.698437: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.698485: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.699100: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.699116: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 1.78GiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.726409: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.726498: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 19.91MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.726517: W tensorflow/core/kernels/gpu_utils.cc:49] Failed to allocate memory for convolution redzone checking; skipping this check. This is benign and only means that we won't check cudnn for out-of-bounds reads and writes. This message will only be printed once. 2025-08-07 15:10:44.727681: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.727711: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.728829: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.728858: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 16.00MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.736724: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.736745: W tensorflow/core/common_runtime/bfc_allocator.cc:245] Allocator (GPU_0_bfc) ran out of memory trying to allocate 63.85MiB with freed_by_count=0. The caller indicates that this is not a failure, but may mean that there could be performance gains if more memory were available. 2025-08-07 15:10:44.737321: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.737914: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.738492: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.747617: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.748239: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.767227: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.768036: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.768699: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.769314: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.773507: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.774125: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.774740: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.775369: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.776416: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.788213: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.788855: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.799517: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.800171: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.800800: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.801415: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.802038: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory 2025-08-07 15:10:44.802658: I tensorflow/stream_executor/cuda/cuda_driver.cc:763] failed to allocate 4.00G (4294967296 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY: out of memory local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 5 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 42 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 35 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 31 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 27 NEW PHOTO Processing 1 images image shape: (2160, 3840, 3) min: 0.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 3840.00000 nb d'objets trouves : 31 Detection mask done ! Trying to reset tf kernel 4155174 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 2207 tf kernel not reseted sub process len(results) : 5 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 5 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 : 3400 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.003893613815307617 nb_pixel_total : 110820 time to create 1 rle with old method : 0.13128447532653809 length of segment : 525 time for calcul the mask position with numpy : 0.00039005279541015625 nb_pixel_total : 12442 time to create 1 rle with old method : 0.01586174964904785 length of segment : 114 time for calcul the mask position with numpy : 0.0003638267517089844 nb_pixel_total : 14370 time to create 1 rle with old method : 0.0174560546875 length of segment : 148 time for calcul the mask position with numpy : 0.0003058910369873047 nb_pixel_total : 12879 time to create 1 rle with old method : 0.015453100204467773 length of segment : 170 time for calcul the mask position with numpy : 0.00030994415283203125 nb_pixel_total : 16004 time to create 1 rle with old method : 0.019255399703979492 length of segment : 162 time for calcul the mask position with numpy : 0.0007622241973876953 nb_pixel_total : 22670 time to create 1 rle with old method : 0.026835203170776367 length of segment : 226 time for calcul the mask position with numpy : 0.0006856918334960938 nb_pixel_total : 26968 time to create 1 rle with old method : 0.031958580017089844 length of segment : 618 time for calcul the mask position with numpy : 0.0005681514739990234 nb_pixel_total : 16031 time to create 1 rle with old method : 0.019330739974975586 length of segment : 158 time for calcul the mask position with numpy : 0.0016710758209228516 nb_pixel_total : 91053 time to create 1 rle with old method : 0.10980033874511719 length of segment : 280 time for calcul the mask position with numpy : 0.001444101333618164 nb_pixel_total : 65482 time to create 1 rle with old method : 0.07722735404968262 length of segment : 335 time for calcul the mask position with numpy : 0.0005025863647460938 nb_pixel_total : 8939 time to create 1 rle with old method : 0.011016130447387695 length of segment : 148 time for calcul the mask position with numpy : 0.0015635490417480469 nb_pixel_total : 60553 time to create 1 rle with old method : 0.07219266891479492 length of segment : 273 time for calcul the mask position with numpy : 0.0004203319549560547 nb_pixel_total : 16330 time to create 1 rle with old method : 0.019749879837036133 length of segment : 149 time for calcul the mask position with numpy : 0.0005474090576171875 nb_pixel_total : 30841 time to create 1 rle with old method : 0.03729891777038574 length of segment : 154 time for calcul the mask position with numpy : 0.000690460205078125 nb_pixel_total : 29298 time to create 1 rle with old method : 0.03471875190734863 length of segment : 218 time for calcul the mask position with numpy : 0.00017499923706054688 nb_pixel_total : 6343 time to create 1 rle with old method : 0.007671356201171875 length of segment : 81 time for calcul the mask position with numpy : 0.005048274993896484 nb_pixel_total : 177982 time to create 1 rle with new method : 0.012943267822265625 length of segment : 466 time for calcul the mask position with numpy : 0.0014407634735107422 nb_pixel_total : 52482 time to create 1 rle with old method : 0.06213641166687012 length of segment : 416 time for calcul the mask position with numpy : 0.0013005733489990234 nb_pixel_total : 50242 time to create 1 rle with old method : 0.060913801193237305 length of segment : 390 time for calcul the mask position with numpy : 0.0008761882781982422 nb_pixel_total : 34938 time to create 1 rle with old method : 0.041554927825927734 length of segment : 200 time for calcul the mask position with numpy : 0.0003681182861328125 nb_pixel_total : 17012 time to create 1 rle with old method : 0.020399093627929688 length of segment : 158 time for calcul the mask position with numpy : 0.0018107891082763672 nb_pixel_total : 96206 time to create 1 rle with old method : 0.11909914016723633 length of segment : 483 time for calcul the mask position with numpy : 0.001566171646118164 nb_pixel_total : 35147 time to create 1 rle with old method : 0.04589366912841797 length of segment : 271 time for calcul the mask position with numpy : 0.0009405612945556641 nb_pixel_total : 20116 time to create 1 rle with old method : 0.024147748947143555 length of segment : 176 time for calcul the mask position with numpy : 0.0009396076202392578 nb_pixel_total : 29609 time to create 1 rle with old method : 0.03615283966064453 length of segment : 342 time for calcul the mask position with numpy : 0.0044786930084228516 nb_pixel_total : 140851 time to create 1 rle with old method : 0.17452001571655273 length of segment : 470 time for calcul the mask position with numpy : 0.006788492202758789 nb_pixel_total : 213177 time to create 1 rle with new method : 0.012100934982299805 length of segment : 527 time for calcul the mask position with numpy : 0.0032575130462646484 nb_pixel_total : 85031 time to create 1 rle with old method : 0.10722613334655762 length of segment : 508 time for calcul the mask position with numpy : 0.005857229232788086 nb_pixel_total : 210677 time to create 1 rle with new method : 0.013861894607543945 length of segment : 921 time for calcul the mask position with numpy : 0.002470731735229492 nb_pixel_total : 34424 time to create 1 rle with old method : 0.05000901222229004 length of segment : 327 time for calcul the mask position with numpy : 0.0008676052093505859 nb_pixel_total : 29971 time to create 1 rle with old method : 0.035982608795166016 length of segment : 307 time for calcul the mask position with numpy : 0.0016641616821289062 nb_pixel_total : 29968 time to create 1 rle with old method : 0.03551769256591797 length of segment : 277 time for calcul the mask position with numpy : 0.0029535293579101562 nb_pixel_total : 80740 time to create 1 rle with old method : 0.09945178031921387 length of segment : 343 time for calcul the mask position with numpy : 0.0010342597961425781 nb_pixel_total : 23376 time to create 1 rle with old method : 0.028639554977416992 length of segment : 199 time for calcul the mask position with numpy : 0.002530813217163086 nb_pixel_total : 54889 time to create 1 rle with old method : 0.08245658874511719 length of segment : 354 time for calcul the mask position with numpy : 0.0005016326904296875 nb_pixel_total : 13906 time to create 1 rle with old method : 0.016715526580810547 length of segment : 98 time for calcul the mask position with numpy : 0.0003383159637451172 nb_pixel_total : 6875 time to create 1 rle with old method : 0.008507490158081055 length of segment : 106 time for calcul the mask position with numpy : 0.0019867420196533203 nb_pixel_total : 21591 time to create 1 rle with old method : 0.028172969818115234 length of segment : 669 time for calcul the mask position with numpy : 0.0035619735717773438 nb_pixel_total : 95531 time to create 1 rle with old method : 0.11316943168640137 length of segment : 301 time for calcul the mask position with numpy : 0.003681659698486328 nb_pixel_total : 112007 time to create 1 rle with old method : 0.1366112232208252 length of segment : 844 time for calcul the mask position with numpy : 0.0007040500640869141 nb_pixel_total : 15526 time to create 1 rle with old method : 0.018706321716308594 length of segment : 165 time for calcul the mask position with numpy : 0.0021665096282958984 nb_pixel_total : 80193 time to create 1 rle with old method : 0.0950767993927002 length of segment : 268 time for calcul the mask position with numpy : 0.0016138553619384766 nb_pixel_total : 42904 time to create 1 rle with old method : 0.05105090141296387 length of segment : 317 time for calcul the mask position with numpy : 0.006649494171142578 nb_pixel_total : 178609 time to create 1 rle with new method : 0.012295007705688477 length of segment : 618 time for calcul the mask position with numpy : 0.0014007091522216797 nb_pixel_total : 42165 time to create 1 rle with old method : 0.050644636154174805 length of segment : 253 time for calcul the mask position with numpy : 0.0056345462799072266 nb_pixel_total : 186927 time to create 1 rle with new method : 0.012690067291259766 length of segment : 520 time for calcul the mask position with numpy : 0.005964994430541992 nb_pixel_total : 243902 time to create 1 rle with new method : 0.014206647872924805 length of segment : 621 time for calcul the mask position with numpy : 0.0006923675537109375 nb_pixel_total : 16243 time to create 1 rle with old method : 0.019431591033935547 length of segment : 181 time for calcul the mask position with numpy : 0.0004956722259521484 nb_pixel_total : 14233 time to create 1 rle with old method : 0.017720937728881836 length of segment : 111 time for calcul the mask position with numpy : 0.0005497932434082031 nb_pixel_total : 9916 time to create 1 rle with old method : 0.01317143440246582 length of segment : 76 time for calcul the mask position with numpy : 0.0021028518676757812 nb_pixel_total : 88106 time to create 1 rle with old method : 0.10469222068786621 length of segment : 452 time for calcul the mask position with numpy : 0.0008654594421386719 nb_pixel_total : 22757 time to create 1 rle with old method : 0.027699947357177734 length of segment : 155 time for calcul the mask position with numpy : 0.0007274150848388672 nb_pixel_total : 17127 time to create 1 rle with old method : 0.020779132843017578 length of segment : 130 time for calcul the mask position with numpy : 0.0024421215057373047 nb_pixel_total : 73358 time to create 1 rle with old method : 0.09288167953491211 length of segment : 350 time for calcul the mask position with numpy : 0.0028502941131591797 nb_pixel_total : 87821 time to create 1 rle with old method : 0.10821056365966797 length of segment : 430 time for calcul the mask position with numpy : 0.0005278587341308594 nb_pixel_total : 13644 time to create 1 rle with old method : 0.0163571834564209 length of segment : 132 time for calcul the mask position with numpy : 0.0038750171661376953 nb_pixel_total : 117525 time to create 1 rle with old method : 0.14227557182312012 length of segment : 517 time for calcul the mask position with numpy : 0.002229928970336914 nb_pixel_total : 52846 time to create 1 rle with old method : 0.06206321716308594 length of segment : 403 time for calcul the mask position with numpy : 0.0016946792602539062 nb_pixel_total : 39663 time to create 1 rle with old method : 0.04781508445739746 length of segment : 265 time for calcul the mask position with numpy : 0.0047724246978759766 nb_pixel_total : 155626 time to create 1 rle with new method : 0.00856637954711914 length of segment : 499 time for calcul the mask position with numpy : 0.0028183460235595703 nb_pixel_total : 81418 time to create 1 rle with old method : 0.10365414619445801 length of segment : 393 time for calcul the mask position with numpy : 0.0015926361083984375 nb_pixel_total : 35044 time to create 1 rle with old method : 0.04121088981628418 length of segment : 292 time spent for convertir_results : 6.537660360336304 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 62 chid ids of type : 3594 Number RLEs to save : 20060 save missing photos in datou_result : time spend for datou_step_exec : 53.18782377243042 time spend to save output : 1.2279150485992432 total time spend for step 1 : 54.41573882102966 step2:crop_condition Thu Aug 7 15:11:24 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 : 5 ! batch 1 Loaded 62 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ begin to crop the class : papier param for this class : {'min_score': 0.7} filtre for class : papier hashtag_id of this class : 492668766 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 35 About to insert : list_path_to_insert length 35 new photo from crops ! About to upload 35 photos upload in portfolio : 3736932 init cache_photo without model_param we have 35 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754572295_4154620 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 ! 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 ! 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 35 photos in the portfolio 3736932 time of upload the photos Elapsed time : 9.694384098052979 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 7 About to insert : list_path_to_insert length 7 new photo from crops ! About to upload 7 photos upload in portfolio : 3736932 init cache_photo without model_param we have 7 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754572309_4154620 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 7 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.354938507080078 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 18 About to insert : list_path_to_insert length 18 new photo from crops ! About to upload 18 photos upload in portfolio : 3736932 init cache_photo without model_param we have 18 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754572317_4154620 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 ! 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 18 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.944346904754639 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754572323_4154620 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5343062877655029 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1754572324_4154620 batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.5388154983520508 we have finished the crop for the class : pehd begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] Looping around the photos to save general results len do output : 62 /1375678218Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678219Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678220Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678221Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678222Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678223Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678224Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678225Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678226Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678227Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678228Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678229Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678231Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678232Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678233Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678234Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678235Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678236Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678237Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678238Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678239Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678240Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678241Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678242Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678243Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678244Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678245Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678246Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678247Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678248Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678249Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678250Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678251Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678252Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678253Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678264Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678265Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678266Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678267Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678268Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678269Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678270Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678307Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678308Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678309Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678310Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678311Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678312Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678313Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678314Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678315Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678316Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678317Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678318Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678319Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678320Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678321Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678323Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678324Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678326Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678331Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1375678334Didn'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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 191 time used for this insertion : 0.022409439086914062 save_final save missing photos in datou_result : time spend for datou_step_exec : 40.92024087905884 time spend to save output : 0.02471160888671875 total time spend for step 2 : 40.94495248794556 step3:rle_unique_nms_with_priority Thu Aug 7 15:12:05 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 62 chid ids of type : 3594 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 18 nb_hashtags : 2 time to prepare the origin masks : 6.955936670303345 time for calcul the mask position with numpy : 0.4477274417877197 nb_pixel_total : 7543269 time to create 1 rle with new method : 0.741835355758667 time for calcul the mask position with numpy : 0.02470541000366211 nb_pixel_total : 43117 time to create 1 rle with old method : 0.04743337631225586 time for calcul the mask position with numpy : 0.025422334671020508 nb_pixel_total : 177982 time to create 1 rle with new method : 0.62870192527771 time for calcul the mask position with numpy : 0.024176836013793945 nb_pixel_total : 6343 time to create 1 rle with old method : 0.0072329044342041016 time for calcul the mask position with numpy : 0.024155855178833008 nb_pixel_total : 29298 time to create 1 rle with old method : 0.03275299072265625 time for calcul the mask position with numpy : 0.02404189109802246 nb_pixel_total : 30841 time to create 1 rle with old method : 0.034885406494140625 time for calcul the mask position with numpy : 0.02465081214904785 nb_pixel_total : 16330 time to create 1 rle with old method : 0.018254756927490234 time for calcul the mask position with numpy : 0.023927927017211914 nb_pixel_total : 60553 time to create 1 rle with old method : 0.0664374828338623 time for calcul the mask position with numpy : 0.0244138240814209 nb_pixel_total : 8939 time to create 1 rle with old method : 0.009892702102661133 time for calcul the mask position with numpy : 0.023869991302490234 nb_pixel_total : 65482 time to create 1 rle with old method : 0.07326602935791016 time for calcul the mask position with numpy : 0.023891210556030273 nb_pixel_total : 80062 time to create 1 rle with old method : 0.09012246131896973 time for calcul the mask position with numpy : 0.023726224899291992 nb_pixel_total : 16031 time to create 1 rle with old method : 0.01836681365966797 time for calcul the mask position with numpy : 0.0243380069732666 nb_pixel_total : 26968 time to create 1 rle with old method : 0.0296785831451416 time for calcul the mask position with numpy : 0.037039756774902344 nb_pixel_total : 22670 time to create 1 rle with old method : 0.024876117706298828 time for calcul the mask position with numpy : 0.037741899490356445 nb_pixel_total : 16004 time to create 1 rle with old method : 0.018065214157104492 time for calcul the mask position with numpy : 0.023949861526489258 nb_pixel_total : 12879 time to create 1 rle with old method : 0.014297962188720703 time for calcul the mask position with numpy : 0.023621797561645508 nb_pixel_total : 14370 time to create 1 rle with old method : 0.016362667083740234 time for calcul the mask position with numpy : 0.024039506912231445 nb_pixel_total : 12442 time to create 1 rle with old method : 0.01424407958984375 time for calcul the mask position with numpy : 0.02424168586730957 nb_pixel_total : 110820 time to create 1 rle with old method : 0.1235191822052002 create new chi : 2.9850010871887207 time to delete rle : 0.02252960205078125 batch 1 Loaded 37 chid ids of type : 3594 ++++++++++++++++++++++++++++Number RLEs to save : 11064 TO DO : save crop sub photo not yet done ! save time : 0.6409482955932617 nb_obj : 13 nb_hashtags : 3 time to prepare the origin masks : 5.9920334815979 time for calcul the mask position with numpy : 0.5872089862823486 nb_pixel_total : 7325780 time to create 1 rle with new method : 0.702176570892334 time for calcul the mask position with numpy : 0.02335524559020996 nb_pixel_total : 1190 time to create 1 rle with old method : 0.0015869140625 time for calcul the mask position with numpy : 0.022763729095458984 nb_pixel_total : 34424 time to create 1 rle with old method : 0.0495760440826416 time for calcul the mask position with numpy : 0.029010772705078125 nb_pixel_total : 210677 time to create 1 rle with new method : 2.141583204269409 time for calcul the mask position with numpy : 0.028191328048706055 nb_pixel_total : 85031 time to create 1 rle with old method : 0.10025858879089355 time for calcul the mask position with numpy : 0.028426647186279297 nb_pixel_total : 213177 time to create 1 rle with new method : 0.936016321182251 time for calcul the mask position with numpy : 0.024982929229736328 nb_pixel_total : 140851 time to create 1 rle with old method : 0.18646001815795898 time for calcul the mask position with numpy : 0.02745532989501953 nb_pixel_total : 29609 time to create 1 rle with old method : 0.03466796875 time for calcul the mask position with numpy : 0.028112411499023438 nb_pixel_total : 20116 time to create 1 rle with old method : 0.02326035499572754 time for calcul the mask position with numpy : 0.042267799377441406 nb_pixel_total : 35147 time to create 1 rle with old method : 0.04117870330810547 time for calcul the mask position with numpy : 0.04367709159851074 nb_pixel_total : 96206 time to create 1 rle with old method : 0.11006832122802734 time for calcul the mask position with numpy : 0.03768348693847656 nb_pixel_total : 17012 time to create 1 rle with old method : 0.019184350967407227 time for calcul the mask position with numpy : 0.034310340881347656 nb_pixel_total : 34938 time to create 1 rle with old method : 0.038092851638793945 time for calcul the mask position with numpy : 0.025684118270874023 nb_pixel_total : 50242 time to create 1 rle with old method : 0.05684208869934082 create new chi : 5.522387504577637 time to delete rle : 0.0014255046844482422 batch 1 Loaded 27 chid ids of type : 3594 +++++++++++++Number RLEs to save : 12044 TO DO : save crop sub photo not yet done ! save time : 0.7024152278900146 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 5.3652184009552 time for calcul the mask position with numpy : 0.7238895893096924 nb_pixel_total : 7838247 time to create 1 rle with new method : 0.8858485221862793 time for calcul the mask position with numpy : 0.023644447326660156 nb_pixel_total : 1744 time to create 1 rle with old method : 0.0025053024291992188 time for calcul the mask position with numpy : 0.02403545379638672 nb_pixel_total : 15526 time to create 1 rle with old method : 0.017244338989257812 time for calcul the mask position with numpy : 0.02442145347595215 nb_pixel_total : 112007 time to create 1 rle with old method : 0.12245321273803711 time for calcul the mask position with numpy : 0.023335695266723633 nb_pixel_total : 95531 time to create 1 rle with old method : 0.10252737998962402 time for calcul the mask position with numpy : 0.024344682693481445 nb_pixel_total : 21591 time to create 1 rle with old method : 0.024567365646362305 time for calcul the mask position with numpy : 0.03698444366455078 nb_pixel_total : 6875 time to create 1 rle with old method : 0.0075871944427490234 time for calcul the mask position with numpy : 0.03750133514404297 nb_pixel_total : 13906 time to create 1 rle with old method : 0.01572704315185547 time for calcul the mask position with numpy : 0.024583816528320312 nb_pixel_total : 54889 time to create 1 rle with old method : 0.061086416244506836 time for calcul the mask position with numpy : 0.02525496482849121 nb_pixel_total : 23376 time to create 1 rle with old method : 0.02652287483215332 time for calcul the mask position with numpy : 0.024094581604003906 nb_pixel_total : 80740 time to create 1 rle with old method : 0.09082460403442383 time for calcul the mask position with numpy : 0.024595022201538086 nb_pixel_total : 29968 time to create 1 rle with old method : 0.03248763084411621 create new chi : 2.450489044189453 time to delete rle : 0.0010657310485839844 batch 1 Loaded 23 chid ids of type : 3594 ++++++++++++++++++Number RLEs to save : 9276 TO DO : save crop sub photo not yet done ! save time : 0.5738019943237305 nb_obj : 9 nb_hashtags : 3 time to prepare the origin masks : 3.9617393016815186 time for calcul the mask position with numpy : 0.5071022510528564 nb_pixel_total : 7471934 time to create 1 rle with new method : 0.9287736415863037 time for calcul the mask position with numpy : 0.023980140686035156 nb_pixel_total : 87567 time to create 1 rle with old method : 0.09485483169555664 time for calcul the mask position with numpy : 0.023685932159423828 nb_pixel_total : 9916 time to create 1 rle with old method : 0.010651350021362305 time for calcul the mask position with numpy : 0.02284097671508789 nb_pixel_total : 14233 time to create 1 rle with old method : 0.01531982421875 time for calcul the mask position with numpy : 0.023659467697143555 nb_pixel_total : 16243 time to create 1 rle with old method : 0.018236160278320312 time for calcul the mask position with numpy : 0.025099992752075195 nb_pixel_total : 243902 time to create 1 rle with new method : 0.8461630344390869 time for calcul the mask position with numpy : 0.024225473403930664 nb_pixel_total : 186927 time to create 1 rle with new method : 0.7911043167114258 time for calcul the mask position with numpy : 0.024225950241088867 nb_pixel_total : 42165 time to create 1 rle with old method : 0.04490017890930176 time for calcul the mask position with numpy : 0.024137258529663086 nb_pixel_total : 178609 time to create 1 rle with new method : 1.421252727508545 time for calcul the mask position with numpy : 0.022804975509643555 nb_pixel_total : 42904 time to create 1 rle with old method : 0.04564070701599121 create new chi : 5.046029090881348 time to delete rle : 0.0010128021240234375 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 8374 TO DO : save crop sub photo not yet done ! save time : 0.49338746070861816 nb_obj : 11 nb_hashtags : 4 time to prepare the origin masks : 4.821176052093506 time for calcul the mask position with numpy : 0.5205597877502441 nb_pixel_total : 7597571 time to create 1 rle with new method : 0.8748147487640381 time for calcul the mask position with numpy : 0.037496328353881836 nb_pixel_total : 35044 time to create 1 rle with old method : 0.038146257400512695 time for calcul the mask position with numpy : 0.022847890853881836 nb_pixel_total : 81418 time to create 1 rle with old method : 0.08663821220397949 time for calcul the mask position with numpy : 0.023412704467773438 nb_pixel_total : 155626 time to create 1 rle with new method : 0.8894021511077881 time for calcul the mask position with numpy : 0.022709131240844727 nb_pixel_total : 39663 time to create 1 rle with old method : 0.04338860511779785 time for calcul the mask position with numpy : 0.023464679718017578 nb_pixel_total : 52846 time to create 1 rle with old method : 0.05679893493652344 time for calcul the mask position with numpy : 0.024158239364624023 nb_pixel_total : 117525 time to create 1 rle with old method : 0.12794160842895508 time for calcul the mask position with numpy : 0.023006677627563477 nb_pixel_total : 13644 time to create 1 rle with old method : 0.015092849731445312 time for calcul the mask position with numpy : 0.02393794059753418 nb_pixel_total : 87821 time to create 1 rle with old method : 0.0987081527709961 time for calcul the mask position with numpy : 0.02376103401184082 nb_pixel_total : 73358 time to create 1 rle with old method : 0.0783243179321289 time for calcul the mask position with numpy : 0.023584604263305664 nb_pixel_total : 17127 time to create 1 rle with old method : 0.018702030181884766 time for calcul the mask position with numpy : 0.023086071014404297 nb_pixel_total : 22757 time to create 1 rle with old method : 0.02445220947265625 create new chi : 3.205421209335327 time to delete rle : 0.0010902881622314453 batch 1 Loaded 23 chid ids of type : 3594 +++++++++++++++Number RLEs to save : 9292 TO DO : save crop sub photo not yet done ! save time : 0.5788760185241699 map_output_result : {1375671585: (0.0, 'Should be the crop_list due to order', 0), 1375671537: (0.0, 'Should be the crop_list due to order', 0), 1375671491: (0.0, 'Should be the crop_list due to order', 0), 1375671472: (0.0, 'Should be the crop_list due to order', 0), 1375671188: (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 [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] Looping around the photos to save general results len do output : 5 /1375671585.Didn't retrieve data . /1375671537.Didn't retrieve data . /1375671491.Didn't retrieve data . /1375671472.Didn't retrieve data . /1375671188.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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012268304824829102 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.46458911895752 time spend to save output : 0.012569189071655273 total time spend for step 3 : 50.477158308029175 step4:ventilate_hashtags_in_portfolio Thu Aug 7 15:12:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 25780126 get user id for portfolio 25780126 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`=25780126 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','environnement','background','flou','papier','pet_clair','autre','pehd','carton','mal_croppe')) 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`=25780126 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','environnement','background','flou','papier','pet_clair','autre','pehd','carton','mal_croppe')) 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`=25780126 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','pet_fonce','environnement','background','flou','papier','pet_clair','autre','pehd','carton','mal_croppe')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25780491,25780492,25780493,25780494,25780495,25780496,25780497,25780498,25780499,25780500,25780501?tags=metal,pet_fonce,environnement,background,flou,papier,pet_clair,autre,pehd,carton,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] Looping around the photos to save general results len do output : 1 /25780126. 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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01530313491821289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.651954174041748 time spend to save output : 0.015544891357421875 total time spend for step 4 : 1.66749906539917 step5:final Thu Aug 7 15:12:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1375671585: ('0.08910105613425925',), 1375671537: ('0.08910105613425925',), 1375671491: ('0.08910105613425925',), 1375671472: ('0.08910105613425925',), 1375671188: ('0.08910105613425925',)} new output for save of step final : {1375671585: ('0.08910105613425925',), 1375671537: ('0.08910105613425925',), 1375671491: ('0.08910105613425925',), 1375671472: ('0.08910105613425925',), 1375671188: ('0.08910105613425925',)} [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] Looping around the photos to save general results len do output : 5 /1375671585.Didn't retrieve data . /1375671537.Didn't retrieve data . /1375671491.Didn't retrieve data . /1375671472.Didn't retrieve data . /1375671188.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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012803792953491211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12174797058105469 time spend to save output : 0.01308131217956543 total time spend for step 5 : 0.13482928276062012 step6:blur_detection Thu Aug 7 15:12:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898.jpg resize: (2160, 3840) 1375671585 -7.093666043747768 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1.jpg resize: (2160, 3840) 1375671537 -6.98111035402322 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41.jpg resize: (2160, 3840) 1375671491 -7.1744015385679365 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193.jpg resize: (2160, 3840) 1375671472 -7.100590169431736 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf.jpg resize: (2160, 3840) 1375671188 -6.91440210577561 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006516_0.png resize: (114, 147) 1375678218 -0.9092680875842305 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006517_0.png resize: (118, 178) 1375678219 -3.7336330271524667 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006518_0.png resize: (170, 105) 1375678220 -1.9771781666365282 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006519_0.png resize: (158, 130) 1375678221 -2.8654348222409807 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006520_0.png resize: (208, 195) 1375678222 -2.8503570746356113 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006525_0.png resize: (148, 91) 1375678223 -4.512884103660517 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006526_0.png resize: (269, 336) 1375678224 -2.4763622604429743 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006527_0.png resize: (142, 151) 1375678225 -4.605249887723634 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006529_0.png resize: (215, 182) 1375678226 -4.859992494366141 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006530_0.png resize: (81, 94) 1375678227 -3.770018229966526 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006531_0.png resize: (465, 609) 1375678228 -4.071194792505041 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006532_0.png resize: (313, 285) 1375678229 -2.6172003685421488 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006533_0.png resize: (390, 219) 1375678231 -3.727982399123828 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006535_0.png resize: (158, 152) 1375678232 -0.189568321800798 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006536_0.png resize: (406, 409) 1375678233 -4.445088001461004 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006537_0.png resize: (270, 202) 1375678234 -3.8221137666552294 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006538_0.png resize: (172, 165) 1375678235 0.9470088547817233 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006539_0.png resize: (287, 131) 1375678236 -3.659876504460099 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006540_0.png resize: (470, 459) 1375678237 -2.576154396280002 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006543_0.png resize: (681, 494) 1375678238 -3.023651481265298 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006545_0.png resize: (307, 220) 1375678239 -3.654943346906609 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006546_0.png resize: (273, 180) 1375678240 -3.6034852274779823 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006547_0.png resize: (332, 387) 1375678241 -2.1180214628324414 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006548_0.png resize: (158, 238) 1375678242 -3.375338857913111 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006555_0.png resize: (164, 128) 1375678243 -2.8109865952950814 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006556_0.png resize: (268, 506) 1375678244 -5.540210897534201 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006558_0.png resize: (618, 537) 1375678245 -5.191840120284762 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006559_0.png resize: (253, 245) 1375678246 -3.5934888600256496 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006561_0.png resize: (549, 627) 1375678247 -4.9157530144562385 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006562_0.png resize: (178, 133) 1375678248 -4.266696910562991 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006563_0.png resize: (111, 176) 1375678249 -1.6115034067102063 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006565_0.png resize: (444, 352) 1375678250 -2.807213463818939 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006566_0.png resize: (155, 225) 1375678251 -3.6113261251909634 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006568_0.png resize: (338, 323) 1375678252 -2.8518559185248784 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006576_0.png resize: (288, 186) 1375678253 -3.6887825738345486 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006541_0.png resize: (513, 574) 1375678264 -3.4601736957303766 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006549_0.png resize: (294, 312) 1375678265 -4.293783701826239 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006553_0.png resize: (301, 517) 1375678266 -5.69040973815503 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006557_0.png resize: (317, 212) 1375678267 -4.501937553780084 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006567_0.png resize: (129, 156) 1375678268 -3.865083425140703 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006574_0.png resize: (495, 397) 1375678269 -5.4524722920397855 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006575_0.png resize: (393, 277) 1375678270 -5.833694619687508 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006515_0.png resize: (524, 277) 1375678307 -4.91443927907077 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006521_0.png resize: (449, 101) 1375678308 -5.216684718060841 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006522_0.png resize: (147, 222) 1375678309 -3.2978937888185604 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006523_0.png resize: (278, 478) 1375678310 -4.371023647126339 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006524_0.png resize: (334, 266) 1375678311 -4.638432004064515 treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006528_0.png resize: (153, 264) 1375678312 -3.0096656288488646 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006534_0.png resize: (191, 232) 1375678313 -4.324798467308436 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006542_0.png resize: (377, 369) 1375678314 -4.325317073433157 treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006544_0.png resize: (323, 217) 1375678315 -3.68113952190035 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006550_0.png resize: (98, 173) 1375678316 -4.108001950200922 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006552_0.png resize: (422, 128) 1375678317 -4.883235142103495 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006554_0.png resize: (378, 499) 1375678318 -1.872856734006825 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006560_0.png resize: (471, 678) 1375678319 -4.957429528715249 treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006564_0.png resize: (68, 220) 1375678320 -4.414651891403572 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006569_0.png resize: (410, 265) 1375678321 -4.903898626752075 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006571_0.png resize: (444, 418) 1375678323 -4.581571890396556 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006572_0.png resize: (333, 229) 1375678324 -5.246235585039073 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006573_0.png resize: (222, 226) 1375678326 -4.715740401393781 treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006570_0.png resize: (130, 121) 1375678331 -2.8743651046661154 treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006551_0.png resize: (105, 78) 1375678334 -3.2089414605511877 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 : 67 time used for this insertion : 0.017138004302978516 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 67 time used for this insertion : 0.015843629837036133 save missing photos in datou_result : time spend for datou_step_exec : 20.965282201766968 time spend to save output : 0.037750959396362305 total time spend for step 6 : 21.00303316116333 step7:brightness Thu Aug 7 15:13:18 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/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898.jpg treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1.jpg treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41.jpg treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193.jpg treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf.jpg treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006516_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006517_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006518_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006519_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006520_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006525_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006526_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006527_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006529_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006530_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006531_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006532_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006533_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006535_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006536_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006537_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006538_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006539_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006540_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006543_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006545_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006546_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006547_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006548_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006555_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006556_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006558_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006559_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006561_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006562_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006563_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006565_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006566_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006568_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006576_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006541_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006549_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006553_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006557_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006567_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006574_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006575_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006515_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006521_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006522_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006523_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006524_0.png treat image : temp/1754572228_4154620_1375671585_0ffb9257285e4eb7d3a0da277a4c7898_rle_crop_3906006528_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006534_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006542_0.png treat image : temp/1754572228_4154620_1375671537_fa230eb8634dc14d978ba41f363297e1_rle_crop_3906006544_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006550_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006552_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006554_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006560_0.png treat image : temp/1754572228_4154620_1375671472_4e4d6b79714ef3a11b517bbefb724193_rle_crop_3906006564_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006569_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006571_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006572_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006573_0.png treat image : temp/1754572228_4154620_1375671188_13ced925ef437dc55fd3e34fd7e9efbf_rle_crop_3906006570_0.png treat image : temp/1754572228_4154620_1375671491_c20cdfead45534fae93be25e61a31f41_rle_crop_3906006551_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 : 67 time used for this insertion : 0.01627635955810547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 67 time used for this insertion : 0.017581462860107422 save missing photos in datou_result : time spend for datou_step_exec : 5.698387622833252 time spend to save output : 0.038854360580444336 total time spend for step 7 : 5.737241983413696 step8:velours_tree Thu Aug 7 15:13:24 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.08988547325134277 time spend to save output : 4.887580871582031e-05 total time spend for step 8 : 0.0899343490600586 step9:send_mail_cod Thu Aug 7 15:13:24 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_P25780126_07-08-2025_15_13_24.pdf 25780491 imagette257804911754572404 25780492 imagette257804921754572404 25780494 imagette257804941754572404 25780495 imagette257804951754572404 25780496 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257804961754572404 25780497 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257804971754572405 25780498 change filename to text .imagette257804981754572407 25780499 change filename to text .imagette257804991754572407 25780500 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 .imagette257805001754572407 25780501 imagette257805011754572408 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25780126 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25780491,25780492,25780493,25780494,25780495,25780496,25780497,25780498,25780499,25780500,25780501?tags=metal,pet_fonce,environnement,background,flou,papier,pet_clair,autre,pehd,carton,mal_croppe args[1375671585] : ((1375671585, -7.093666043747768, 492609224), (1375671585, 0.7643305129539348, 2107752395), '0.08910105613425925') We are sending mail with results at report@fotonower.com args[1375671537] : ((1375671537, -6.98111035402322, 492609224), (1375671537, 0.9303000537818845, 2107752395), '0.08910105613425925') We are sending mail with results at report@fotonower.com args[1375671491] : ((1375671491, -7.1744015385679365, 492609224), (1375671491, 1.0128694416847568, 2107752395), '0.08910105613425925') We are sending mail with results at report@fotonower.com args[1375671472] : ((1375671472, -7.100590169431736, 492609224), (1375671472, 0.7213073391720409, 2107752395), '0.08910105613425925') We are sending mail with results at report@fotonower.com args[1375671188] : ((1375671188, -6.91440210577561, 492609224), (1375671188, 0.5132209336293376, 2107752395), '0.08910105613425925') We are sending mail with results at report@fotonower.com refus_total : 0.08910105613425925 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=25780126 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_P25780126_07-08-2025_15_13_24.pdf results_Auto_P25780126_07-08-2025_15_13_24.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25780126_07-08-2025_15_13_24.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','25780126','results_Auto_P25780126_07-08-2025_15_13_24.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25780126_07-08-2025_15_13_24.pdf','pdf','','0.6','0.08910105613425925') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/25780126

https://www.fotonower.com/image?json=false&list_photos_id=1375671585
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375671537
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375671491
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375671472
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1375671188
Bravo, la photo est bien prise.

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

exemples de contaminants: papier: https://www.fotonower.com/view/25780496?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/25780497?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/25780498?limit=200
exemples de contaminants: pehd: https://www.fotonower.com/view/25780499?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/25780500?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25780126_07-08-2025_15_13_24.pdf.

Lien vers velours :https://www.fotonower.com/velours/25780491,25780492,25780493,25780494,25780495,25780496,25780497,25780498,25780499,25780500,25780501?tags=metal,pet_fonce,environnement,background,flou,papier,pet_clair,autre,pehd,carton,mal_croppe.


L'équipe Fotonower 202 b'' Server: nginx Date: Thu, 07 Aug 2025 13:13:30 GMT Content-Length: 0 Connection: close X-Message-Id: Gn4-JfdyQIuReeVgcYmFuw 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 [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] 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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.014913082122802734 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.070502519607544 time spend to save output : 0.015159368515014648 total time spend for step 9 : 6.085661888122559 step10:split_time_score Thu Aug 7 15:13:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('14', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 07082025 25780126 Nombre de photos uploadées : 5 / 23040 (0%) 07082025 25780126 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 07082025 25780126 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003991127014160156 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2322368621826172 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.028320056261938262 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25762811_07-08-2025_07_16_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25762811 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=25762811 AND mptpi.`type`=3726 To do Qualite : 0.023389222713916337 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25769863_07-08-2025_09_47_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25769863 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=25769863 AND mptpi.`type`=3726 To do Qualite : 0.02497167721841149 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25775667_07-08-2025_12_20_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25775667 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=25775667 AND mptpi.`type`=3726 To do Qualite : 0.03627491829519546 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25780115_07-08-2025_15_13_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25780115 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : 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 ! WARNING : type of output 2 of step 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 have datatype=2 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`=25780115 AND mptpi.`type`=3726 To do Qualite : 0.08910105613425925 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25780126_07-08-2025_15_13_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25780126 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`=25780126 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'07082025': {'nb_upload': 5, '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 [1375671585, 1375671537, 1375671491, 1375671472, 1375671188] Looping around the photos to save general results len do output : 1 /25780126Didn'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, '3475358') ('3318', '25780126', '1375671585', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671537', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671491', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671472', None, None, None, None, None, '3475358') ('3318', None, None, None, None, None, None, None, '3475358') ('3318', '25780126', '1375671188', None, None, None, None, None, '3475358') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.015598773956298828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7371876239776611 time spend to save output : 0.015786409378051758 total time spend for step 10 : 0.7529740333557129 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 79.13user 78.09system 3:05.52elapsed 84%CPU (0avgtext+0avgdata 4222392maxresident)k 578472inputs+84040outputs (2600major+8049141minor)pagefaults 0swaps