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 : 1379472 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 : ['3555545'] with mtr_portfolio_ids : ['26071865'] and first list_photo_ids : [] new path : /proc/1379472/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : mask_detect, crop_condition, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 40 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.3719708919525146 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 Wed Aug 20 09: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 : 10393 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-08-20 09:10:32.242701: 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-20 09:10:32.250751: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3492910000 Hz 2025-08-20 09:10:32.252279: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7efe74000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-08-20 09:10:32.252330: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-08-20 09:10:32.254910: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-08-20 09:10:32.371575: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1604ff40 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-08-20 09:10:32.371613: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-08-20 09:10:32.372593: 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-20 09:10:32.372903: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 09:10:32.375125: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 09:10:32.377323: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 09:10:32.377684: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 09:10:32.380021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 09:10:32.381246: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 09:10:32.385974: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 09:10:32.387499: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 09:10:32.387575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 09:10:32.388385: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-20 09:10:32.388402: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-20 09:10:32.388412: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-20 09:10:32.393364: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9483 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-20 09:10:32.670852: 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-20 09:10:32.670962: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 09:10:32.670979: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 09:10:32.670994: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 09:10:32.671008: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 09:10:32.671021: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 09:10:32.671034: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 09:10:32.671048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 09:10:32.672226: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 09:10:32.673488: 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-20 09:10:32.673519: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-08-20 09:10:32.673535: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 09:10:32.673548: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-08-20 09:10:32.673562: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-08-20 09:10:32.673575: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-08-20 09:10:32.673589: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-08-20 09:10:32.673602: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-08-20 09:10:32.674792: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-08-20 09:10:32.674826: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-08-20 09:10:32.674834: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-08-20 09:10:32.674841: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-08-20 09:10:32.676129: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9483 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-20 09:10:41.149880: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-08-20 09:10:41.341311: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 local folder : /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23 /data/models_weight/learn_RUBBIA_REFUS_AMIENS_23/mask_model.h5 size_local : 256009536 size in s3 : 256009536 create time local : 2021-08-09 09:43:22 create time in s3 : 2021-08-06 18:54:04 mask_model.h5 already exist and didn't need to update list_images length : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 26.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 12 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 13.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 9 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 25.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 19 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 15.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 10 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 20.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 16 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 27.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 22.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 Detection mask done ! Trying to reset tf kernel 1380058 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 528 tf kernel not reseted sub process len(results) : 10 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 10 len(list_Values) 0 process is alive finish correctly or not : True after detect begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 5817 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.0003650188446044922 nb_pixel_total : 15240 time to create 1 rle with old method : 0.01857757568359375 length of segment : 97 time for calcul the mask position with numpy : 0.00022673606872558594 nb_pixel_total : 11854 time to create 1 rle with old method : 0.014362812042236328 length of segment : 150 time for calcul the mask position with numpy : 0.00018262863159179688 nb_pixel_total : 6856 time to create 1 rle with old method : 0.009907960891723633 length of segment : 97 time for calcul the mask position with numpy : 0.0031981468200683594 nb_pixel_total : 149452 time to create 1 rle with old method : 0.17638087272644043 length of segment : 524 time for calcul the mask position with numpy : 0.0021944046020507812 nb_pixel_total : 129336 time to create 1 rle with old method : 0.17583513259887695 length of segment : 576 time for calcul the mask position with numpy : 0.0001614093780517578 nb_pixel_total : 8058 time to create 1 rle with old method : 0.009731531143188477 length of segment : 82 time for calcul the mask position with numpy : 0.01180720329284668 nb_pixel_total : 637657 time to create 1 rle with new method : 0.052430152893066406 length of segment : 1750 time for calcul the mask position with numpy : 0.0002894401550292969 nb_pixel_total : 6304 time to create 1 rle with old method : 0.010949850082397461 length of segment : 124 time for calcul the mask position with numpy : 0.00021386146545410156 nb_pixel_total : 8903 time to create 1 rle with old method : 0.015661239624023438 length of segment : 75 time for calcul the mask position with numpy : 0.00015926361083984375 nb_pixel_total : 5544 time to create 1 rle with old method : 0.007182598114013672 length of segment : 98 time for calcul the mask position with numpy : 7.128715515136719e-05 nb_pixel_total : 2099 time to create 1 rle with old method : 0.0026476383209228516 length of segment : 54 time for calcul the mask position with numpy : 0.000152587890625 nb_pixel_total : 3441 time to create 1 rle with old method : 0.004411220550537109 length of segment : 48 time for calcul the mask position with numpy : 0.0027875900268554688 nb_pixel_total : 66812 time to create 1 rle with old method : 0.07964062690734863 length of segment : 576 time for calcul the mask position with numpy : 0.0005426406860351562 nb_pixel_total : 22213 time to create 1 rle with old method : 0.026641368865966797 length of segment : 143 time for calcul the mask position with numpy : 0.0006515979766845703 nb_pixel_total : 22402 time to create 1 rle with old method : 0.027327537536621094 length of segment : 254 time for calcul the mask position with numpy : 0.00010967254638671875 nb_pixel_total : 2523 time to create 1 rle with old method : 0.0033037662506103516 length of segment : 44 time for calcul the mask position with numpy : 0.027678966522216797 nb_pixel_total : 1337834 time to create 1 rle with new method : 0.21630620956420898 length of segment : 1602 time for calcul the mask position with numpy : 0.0005421638488769531 nb_pixel_total : 30072 time to create 1 rle with old method : 0.03513932228088379 length of segment : 155 time for calcul the mask position with numpy : 0.0017514228820800781 nb_pixel_total : 109561 time to create 1 rle with old method : 0.13791871070861816 length of segment : 545 time for calcul the mask position with numpy : 0.0016741752624511719 nb_pixel_total : 44499 time to create 1 rle with old method : 0.05913352966308594 length of segment : 248 time for calcul the mask position with numpy : 0.0002224445343017578 nb_pixel_total : 2624 time to create 1 rle with old method : 0.0032806396484375 length of segment : 64 time for calcul the mask position with numpy : 0.00025725364685058594 nb_pixel_total : 5131 time to create 1 rle with old method : 0.006385326385498047 length of segment : 83 time for calcul the mask position with numpy : 0.0004146099090576172 nb_pixel_total : 9538 time to create 1 rle with old method : 0.01177668571472168 length of segment : 152 time for calcul the mask position with numpy : 0.0005650520324707031 nb_pixel_total : 13248 time to create 1 rle with old method : 0.01633763313293457 length of segment : 141 time for calcul the mask position with numpy : 0.00046253204345703125 nb_pixel_total : 8553 time to create 1 rle with old method : 0.010508537292480469 length of segment : 139 time for calcul the mask position with numpy : 0.00046753883361816406 nb_pixel_total : 10531 time to create 1 rle with old method : 0.012931108474731445 length of segment : 117 time for calcul the mask position with numpy : 0.0003612041473388672 nb_pixel_total : 14754 time to create 1 rle with old method : 0.01785445213317871 length of segment : 143 time for calcul the mask position with numpy : 0.0005872249603271484 nb_pixel_total : 13324 time to create 1 rle with old method : 0.01594829559326172 length of segment : 151 time for calcul the mask position with numpy : 0.0002484321594238281 nb_pixel_total : 1982 time to create 1 rle with old method : 0.005114555358886719 length of segment : 57 time for calcul the mask position with numpy : 0.0003719329833984375 nb_pixel_total : 10374 time to create 1 rle with old method : 0.012849807739257812 length of segment : 97 time for calcul the mask position with numpy : 0.0003654956817626953 nb_pixel_total : 11743 time to create 1 rle with old method : 0.01441049575805664 length of segment : 94 time for calcul the mask position with numpy : 0.0003840923309326172 nb_pixel_total : 9542 time to create 1 rle with old method : 0.011496782302856445 length of segment : 153 time for calcul the mask position with numpy : 0.00040221214294433594 nb_pixel_total : 13210 time to create 1 rle with old method : 0.016003131866455078 length of segment : 138 time for calcul the mask position with numpy : 0.00024771690368652344 nb_pixel_total : 14845 time to create 1 rle with old method : 0.01828742027282715 length of segment : 142 time for calcul the mask position with numpy : 0.0008440017700195312 nb_pixel_total : 31643 time to create 1 rle with old method : 0.03826141357421875 length of segment : 240 time for calcul the mask position with numpy : 0.0008862018585205078 nb_pixel_total : 27982 time to create 1 rle with old method : 0.033236026763916016 length of segment : 310 time for calcul the mask position with numpy : 0.0003750324249267578 nb_pixel_total : 12848 time to create 1 rle with old method : 0.015310525894165039 length of segment : 138 time for calcul the mask position with numpy : 0.0002522468566894531 nb_pixel_total : 6902 time to create 1 rle with old method : 0.008538007736206055 length of segment : 84 time for calcul the mask position with numpy : 0.0002617835998535156 nb_pixel_total : 5291 time to create 1 rle with old method : 0.006505250930786133 length of segment : 105 time for calcul the mask position with numpy : 0.00011920928955078125 nb_pixel_total : 2483 time to create 1 rle with old method : 0.0032525062561035156 length of segment : 37 time for calcul the mask position with numpy : 0.0003101825714111328 nb_pixel_total : 11809 time to create 1 rle with old method : 0.01439046859741211 length of segment : 146 time for calcul the mask position with numpy : 0.0001595020294189453 nb_pixel_total : 3983 time to create 1 rle with old method : 0.005072593688964844 length of segment : 44 time for calcul the mask position with numpy : 0.00046253204345703125 nb_pixel_total : 14992 time to create 1 rle with old method : 0.018136024475097656 length of segment : 141 time for calcul the mask position with numpy : 0.0004558563232421875 nb_pixel_total : 14101 time to create 1 rle with old method : 0.017080068588256836 length of segment : 127 time for calcul the mask position with numpy : 0.0006008148193359375 nb_pixel_total : 23788 time to create 1 rle with old method : 0.028850317001342773 length of segment : 114 time for calcul the mask position with numpy : 0.0004417896270751953 nb_pixel_total : 13257 time to create 1 rle with old method : 0.01607656478881836 length of segment : 126 time for calcul the mask position with numpy : 0.0002181529998779297 nb_pixel_total : 12848 time to create 1 rle with old method : 0.01566457748413086 length of segment : 139 time for calcul the mask position with numpy : 0.00010061264038085938 nb_pixel_total : 1640 time to create 1 rle with old method : 0.0020911693572998047 length of segment : 58 time for calcul the mask position with numpy : 0.0003266334533691406 nb_pixel_total : 11453 time to create 1 rle with old method : 0.016895532608032227 length of segment : 142 time for calcul the mask position with numpy : 0.00017523765563964844 nb_pixel_total : 2176 time to create 1 rle with old method : 0.0028228759765625 length of segment : 83 time for calcul the mask position with numpy : 0.00032639503479003906 nb_pixel_total : 9968 time to create 1 rle with old method : 0.012069463729858398 length of segment : 132 time for calcul the mask position with numpy : 0.025206327438354492 nb_pixel_total : 1149651 time to create 1 rle with new method : 0.055396080017089844 length of segment : 1720 time spent for convertir_results : 3.8401172161102295 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 52 chid ids of type : 3594 Number RLEs to save : 12799 save missing photos in datou_result : time spend for datou_step_exec : 28.10243034362793 time spend to save output : 0.9264791011810303 total time spend for step 1 : 29.02890944480896 step2:crop_condition Wed Aug 20 09:10:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure Loading chi in step crop with photo_hashtag_type : 3594 Loading chi in step crop for list_pids : 10 ! batch 1 Loaded 52 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 ! map_result returned by crop_photo_return_map_crop : length : 15 About to insert : list_path_to_insert length 15 new photo from crops ! About to upload 15 photos upload in portfolio : 3736932 init cache_photo without model_param we have 15 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755673859_1379472 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 15 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.166065216064453 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 4 About to insert : list_path_to_insert length 4 new photo from crops ! About to upload 4 photos upload in portfolio : 3736932 init cache_photo without model_param we have 4 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755673864_1379472 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 4 photos in the portfolio 3736932 time of upload the photos Elapsed time : 1.4388761520385742 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755673865_1379472 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.5456697940826416 we have finished the crop for the class : metal begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 24 About to insert : list_path_to_insert length 24 new photo from crops ! About to upload 24 photos upload in portfolio : 3736932 init cache_photo without model_param we have 24 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755673883_1379472 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 24 photos in the portfolio 3736932 time of upload the photos Elapsed time : 5.86656641960144 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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 : 8 About to insert : list_path_to_insert length 8 new photo from crops ! About to upload 8 photos upload in portfolio : 3736932 init cache_photo without model_param we have 8 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1755673889_1379472 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 8 photos in the portfolio 3736932 time of upload the photos Elapsed time : 2.2401504516601562 we have finished the crop for the class : autre begin to crop the class : pehd param for this class : {'min_score': 0.7} filtre for class : pehd hashtag_id of this class : 628944319 begin to crop the class : pet_fonce param for this class : {'min_score': 0.7} filtre for class : pet_fonce hashtag_id of this class : 2107755900 delete rles from all chi we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles we have 0 chi objets contains the rles Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : crop_condition we use saveGeneral [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] Looping around the photos to save general results len do output : 52 /1377991949Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991950Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991951Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991953Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991954Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991955Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991957Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991958Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991959Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991961Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991962Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991963Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991965Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991966Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991967Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991980Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991981Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991983Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991984Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377991990Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992126Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992127Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992130Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992131Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992132Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992134Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992135Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992136Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992138Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992139Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992140Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992142Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992143Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992144Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992145Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992147Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992148Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992149Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992151Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992152Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992154Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992155Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992156Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992157Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992174Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992176Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992177Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992178Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992180Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992181Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992182Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1377992184Didn'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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 166 time used for this insertion : 0.3140883445739746 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.09808969497681 time spend to save output : 0.316972017288208 total time spend for step 2 : 33.415061712265015 step3:rle_unique_nms_with_priority Wed Aug 20 09:11:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 52 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.725062370300293 time for calcul the mask position with numpy : 0.04612302780151367 nb_pixel_total : 1196239 time to create 1 rle with new method : 0.09679722785949707 time for calcul the mask position with numpy : 0.022698163986206055 nb_pixel_total : 562690 time to create 1 rle with new method : 0.30077624320983887 time for calcul the mask position with numpy : 0.006555795669555664 nb_pixel_total : 8058 time to create 1 rle with old method : 0.009493112564086914 time for calcul the mask position with numpy : 0.007800102233886719 nb_pixel_total : 129336 time to create 1 rle with old method : 0.15428590774536133 time for calcul the mask position with numpy : 0.007841348648071289 nb_pixel_total : 143327 time to create 1 rle with old method : 0.16577363014221191 time for calcul the mask position with numpy : 0.0065250396728515625 nb_pixel_total : 6856 time to create 1 rle with old method : 0.008054494857788086 time for calcul the mask position with numpy : 0.006593942642211914 nb_pixel_total : 11854 time to create 1 rle with old method : 0.014002561569213867 time for calcul the mask position with numpy : 0.006745815277099609 nb_pixel_total : 15240 time to create 1 rle with old method : 0.017805814743041992 create new chi : 0.8956718444824219 time to delete rle : 0.023303747177124023 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++++++++Number RLEs to save : 6446 TO DO : save crop sub photo not yet done ! save time : 0.5650100708007812 nb_obj : 4 nb_hashtags : 3 time to prepare the origin masks : 0.20483946800231934 time for calcul the mask position with numpy : 0.1862022876739502 nb_pixel_total : 2050750 time to create 1 rle with new method : 0.14069080352783203 time for calcul the mask position with numpy : 0.006617069244384766 nb_pixel_total : 2099 time to create 1 rle with old method : 0.002458810806274414 time for calcul the mask position with numpy : 0.0068476200103759766 nb_pixel_total : 5544 time to create 1 rle with old method : 0.007998943328857422 time for calcul the mask position with numpy : 0.007050275802612305 nb_pixel_total : 8903 time to create 1 rle with old method : 0.01335287094116211 time for calcul the mask position with numpy : 0.0066525936126708984 nb_pixel_total : 6304 time to create 1 rle with old method : 0.0077626705169677734 create new chi : 0.3861229419708252 time to delete rle : 0.0003714561462402344 batch 1 Loaded 9 chid ids of type : 3594 ++++Number RLEs to save : 1782 TO DO : save crop sub photo not yet done ! save time : 0.22747254371643066 nb_obj : 2 nb_hashtags : 1 time to prepare the origin masks : 0.052225589752197266 time for calcul the mask position with numpy : 0.020598411560058594 nb_pixel_total : 2003347 time to create 1 rle with new method : 0.03329348564147949 time for calcul the mask position with numpy : 0.006973981857299805 nb_pixel_total : 66812 time to create 1 rle with old method : 0.07814526557922363 time for calcul the mask position with numpy : 0.007951736450195312 nb_pixel_total : 3441 time to create 1 rle with old method : 0.00407862663269043 create new chi : 0.15160393714904785 time to delete rle : 0.0006957054138183594 batch 1 Loaded 5 chid ids of type : 3594 +++++Number RLEs to save : 2328 TO DO : save crop sub photo not yet done ! save time : 0.311124324798584 nb_obj : 6 nb_hashtags : 2 time to prepare the origin masks : 0.1394343376159668 time for calcul the mask position with numpy : 0.01468968391418457 nb_pixel_total : 589189 time to create 1 rle with new method : 0.0975182056427002 time for calcul the mask position with numpy : 0.00845026969909668 nb_pixel_total : 106231 time to create 1 rle with old method : 0.12961506843566895 time for calcul the mask position with numpy : 0.0076618194580078125 nb_pixel_total : 6364 time to create 1 rle with old method : 0.007570981979370117 time for calcul the mask position with numpy : 0.2234935760498047 nb_pixel_total : 1324678 time to create 1 rle with new method : 0.09878158569335938 time for calcul the mask position with numpy : 0.007529497146606445 nb_pixel_total : 2523 time to create 1 rle with old method : 0.002985239028930664 time for calcul the mask position with numpy : 0.0065746307373046875 nb_pixel_total : 22402 time to create 1 rle with old method : 0.026090621948242188 time for calcul the mask position with numpy : 0.006592512130737305 nb_pixel_total : 22213 time to create 1 rle with old method : 0.02589559555053711 create new chi : 0.683743953704834 time to delete rle : 0.0012199878692626953 batch 1 Loaded 13 chid ids of type : 3594 ++++++++Number RLEs to save : 6172 TO DO : save crop sub photo not yet done ! save time : 0.4556591510772705 nb_obj : 9 nb_hashtags : 4 time to prepare the origin masks : 0.4735443592071533 time for calcul the mask position with numpy : 0.20361876487731934 nb_pixel_total : 1964225 time to create 1 rle with new method : 0.2778739929199219 time for calcul the mask position with numpy : 0.006690263748168945 nb_pixel_total : 13324 time to create 1 rle with old method : 0.01624917984008789 time for calcul the mask position with numpy : 0.006596803665161133 nb_pixel_total : 1927 time to create 1 rle with old method : 0.0024347305297851562 time for calcul the mask position with numpy : 0.006304264068603516 nb_pixel_total : 10531 time to create 1 rle with old method : 0.012210845947265625 time for calcul the mask position with numpy : 0.0064623355865478516 nb_pixel_total : 8553 time to create 1 rle with old method : 0.010183334350585938 time for calcul the mask position with numpy : 0.00629878044128418 nb_pixel_total : 13248 time to create 1 rle with old method : 0.016205787658691406 time for calcul the mask position with numpy : 0.0073506832122802734 nb_pixel_total : 9538 time to create 1 rle with old method : 0.012067317962646484 time for calcul the mask position with numpy : 0.007999181747436523 nb_pixel_total : 5131 time to create 1 rle with old method : 0.006943941116333008 time for calcul the mask position with numpy : 0.00686335563659668 nb_pixel_total : 2624 time to create 1 rle with old method : 0.003074169158935547 time for calcul the mask position with numpy : 0.006973981857299805 nb_pixel_total : 44499 time to create 1 rle with old method : 0.051207780838012695 create new chi : 0.6847922801971436 time to delete rle : 0.0005655288696289062 batch 1 Loaded 19 chid ids of type : 3594 +++++++++Number RLEs to save : 3441 TO DO : save crop sub photo not yet done ! save time : 0.2569892406463623 nb_obj : 8 nb_hashtags : 4 time to prepare the origin masks : 0.10800719261169434 time for calcul the mask position with numpy : 0.07047915458679199 nb_pixel_total : 1965620 time to create 1 rle with new method : 0.1900341510772705 time for calcul the mask position with numpy : 0.00661015510559082 nb_pixel_total : 27766 time to create 1 rle with old method : 0.03256964683532715 time for calcul the mask position with numpy : 0.006518125534057617 nb_pixel_total : 31643 time to create 1 rle with old method : 0.03682851791381836 time for calcul the mask position with numpy : 0.010462522506713867 nb_pixel_total : 1720 time to create 1 rle with old method : 0.002374410629272461 time for calcul the mask position with numpy : 0.010971307754516602 nb_pixel_total : 13210 time to create 1 rle with old method : 0.01818108558654785 time for calcul the mask position with numpy : 0.010724782943725586 nb_pixel_total : 9542 time to create 1 rle with old method : 0.01116800308227539 time for calcul the mask position with numpy : 0.010468721389770508 nb_pixel_total : 11743 time to create 1 rle with old method : 0.013651609420776367 time for calcul the mask position with numpy : 0.011101007461547852 nb_pixel_total : 10374 time to create 1 rle with old method : 0.012059926986694336 time for calcul the mask position with numpy : 0.010730504989624023 nb_pixel_total : 1982 time to create 1 rle with old method : 0.0023386478424072266 create new chi : 0.4776482582092285 time to delete rle : 0.0006153583526611328 batch 1 Loaded 17 chid ids of type : 3594 ++++++++++++Number RLEs to save : 3380 TO DO : save crop sub photo not yet done ! save time : 0.47974324226379395 nb_obj : 5 nb_hashtags : 4 time to prepare the origin masks : 0.09035325050354004 time for calcul the mask position with numpy : 0.03213644027709961 nb_pixel_total : 2034267 time to create 1 rle with new method : 0.08020615577697754 time for calcul the mask position with numpy : 0.0074117183685302734 nb_pixel_total : 11809 time to create 1 rle with old method : 0.014089345932006836 time for calcul the mask position with numpy : 0.006740093231201172 nb_pixel_total : 2483 time to create 1 rle with old method : 0.0044176578521728516 time for calcul the mask position with numpy : 0.00695347785949707 nb_pixel_total : 5291 time to create 1 rle with old method : 0.006323099136352539 time for calcul the mask position with numpy : 0.006330728530883789 nb_pixel_total : 6902 time to create 1 rle with old method : 0.008635282516479492 time for calcul the mask position with numpy : 0.006391286849975586 nb_pixel_total : 12848 time to create 1 rle with old method : 0.015503168106079102 create new chi : 0.19565534591674805 time to delete rle : 0.00041031837463378906 batch 1 Loaded 11 chid ids of type : 3594 +++++Number RLEs to save : 2100 TO DO : save crop sub photo not yet done ! save time : 0.3249542713165283 nb_obj : 7 nb_hashtags : 3 time to prepare the origin masks : 0.09918355941772461 time for calcul the mask position with numpy : 0.040488243103027344 nb_pixel_total : 2001702 time to create 1 rle with new method : 0.08456659317016602 time for calcul the mask position with numpy : 0.00644683837890625 nb_pixel_total : 1640 time to create 1 rle with old method : 0.00196075439453125 time for calcul the mask position with numpy : 0.006504058837890625 nb_pixel_total : 137 time to create 1 rle with old method : 0.0002875328063964844 time for calcul the mask position with numpy : 0.006513357162475586 nb_pixel_total : 13257 time to create 1 rle with old method : 0.01642131805419922 time for calcul the mask position with numpy : 0.006573200225830078 nb_pixel_total : 23788 time to create 1 rle with old method : 0.027776241302490234 time for calcul the mask position with numpy : 0.006501913070678711 nb_pixel_total : 14101 time to create 1 rle with old method : 0.016754865646362305 time for calcul the mask position with numpy : 0.006442070007324219 nb_pixel_total : 14992 time to create 1 rle with old method : 0.019260644912719727 time for calcul the mask position with numpy : 0.006529092788696289 nb_pixel_total : 3983 time to create 1 rle with old method : 0.00480341911315918 create new chi : 0.27181363105773926 time to delete rle : 0.0004999637603759766 batch 1 Loaded 15 chid ids of type : 3594 +++++++Number RLEs to save : 2351 TO DO : save crop sub photo not yet done ! save time : 0.18243980407714844 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.05896115303039551 time for calcul the mask position with numpy : 0.033782958984375 nb_pixel_total : 2059971 time to create 1 rle with new method : 0.04271697998046875 time for calcul the mask position with numpy : 0.007768154144287109 nb_pixel_total : 2176 time to create 1 rle with old method : 0.002625703811645508 time for calcul the mask position with numpy : 0.007955312728881836 nb_pixel_total : 11453 time to create 1 rle with old method : 0.013394832611083984 create new chi : 0.1087031364440918 time to delete rle : 0.0004935264587402344 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 1530 TO DO : save crop sub photo not yet done ! save time : 0.13437747955322266 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.207686185836792 time for calcul the mask position with numpy : 0.03918766975402832 nb_pixel_total : 923560 time to create 1 rle with new method : 0.18178939819335938 time for calcul the mask position with numpy : 0.04568910598754883 nb_pixel_total : 1140072 time to create 1 rle with new method : 0.16196727752685547 time for calcul the mask position with numpy : 0.007702827453613281 nb_pixel_total : 9968 time to create 1 rle with old method : 0.011647701263427734 create new chi : 0.4667351245880127 time to delete rle : 0.0011355876922607422 batch 1 Loaded 5 chid ids of type : 3594 +++Number RLEs to save : 4726 TO DO : save crop sub photo not yet done ! save time : 0.4676046371459961 map_output_result : {1377982343: (0.0, 'Should be the crop_list due to order', 0), 1377982341: (0.0, 'Should be the crop_list due to order', 0), 1377982339: (0.0, 'Should be the crop_list due to order', 0), 1377982315: (0.0, 'Should be the crop_list due to order', 0), 1377982312: (0.0, 'Should be the crop_list due to order', 0), 1377982304: (0.0, 'Should be the crop_list due to order', 0), 1377982301: (0.0, 'Should be the crop_list due to order', 0), 1377982299: (0.0, 'Should be the crop_list due to order', 0), 1377982297: (0.0, 'Should be the crop_list due to order', 0), 1377982164: (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 [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] Looping around the photos to save general results len do output : 10 /1377982343.Didn't retrieve data . /1377982341.Didn't retrieve data . /1377982339.Didn't retrieve data . /1377982315.Didn't retrieve data . /1377982312.Didn't retrieve data . /1377982304.Didn't retrieve data . /1377982301.Didn't retrieve data . /1377982299.Didn't retrieve data . /1377982297.Didn't retrieve data . /1377982164.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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.06664276123046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.473194360733032 time spend to save output : 0.0672464370727539 total time spend for step 3 : 10.540440797805786 step4:ventilate_hashtags_in_portfolio Wed Aug 20 09:11:42 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 : 26071865 get user id for portfolio 26071865 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`=26071865 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','pet_clair','pehd','pet_fonce','environnement','papier','mal_croppe','carton','metal','autre')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26071865 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','pet_clair','pehd','pet_fonce','environnement','papier','mal_croppe','carton','metal','autre')) AND mptpi.`min_score`=0.5 To do Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26071865 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('background','flou','pet_clair','pehd','pet_fonce','environnement','papier','mal_croppe','carton','metal','autre')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/26072100,26072101,26072102,26072103,26072104,26072105,26072106,26072107,26072108,26072109,26072110?tags=background,flou,pet_clair,pehd,pet_fonce,environnement,papier,mal_croppe,carton,metal,autre Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] Looping around the photos to save general results len do output : 1 /26071865. 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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.019592761993408203 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.157315254211426 time spend to save output : 0.019999980926513672 total time spend for step 4 : 2.1773152351379395 step5:final Wed Aug 20 09:11:44 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 : {1377982343: ('0.19035156250000002',), 1377982341: ('0.19035156250000002',), 1377982339: ('0.19035156250000002',), 1377982315: ('0.19035156250000002',), 1377982312: ('0.19035156250000002',), 1377982304: ('0.19035156250000002',), 1377982301: ('0.19035156250000002',), 1377982299: ('0.19035156250000002',), 1377982297: ('0.19035156250000002',), 1377982164: ('0.19035156250000002',)} new output for save of step final : {1377982343: ('0.19035156250000002',), 1377982341: ('0.19035156250000002',), 1377982339: ('0.19035156250000002',), 1377982315: ('0.19035156250000002',), 1377982312: ('0.19035156250000002',), 1377982304: ('0.19035156250000002',), 1377982301: ('0.19035156250000002',), 1377982299: ('0.19035156250000002',), 1377982297: ('0.19035156250000002',), 1377982164: ('0.19035156250000002',)} [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] Looping around the photos to save general results len do output : 10 /1377982343.Didn't retrieve data . /1377982341.Didn't retrieve data . /1377982339.Didn't retrieve data . /1377982315.Didn't retrieve data . /1377982312.Didn't retrieve data . /1377982304.Didn't retrieve data . /1377982301.Didn't retrieve data . /1377982299.Didn't retrieve data . /1377982297.Didn't retrieve data . /1377982164.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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.08646869659423828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22788548469543457 time spend to save output : 0.0868995189666748 total time spend for step 5 : 0.3147850036621094 step6:blur_detection Wed Aug 20 09:11:44 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/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289.jpg resize: (1080, 1920) 1377982343 2.0922425813405585 treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903.jpg resize: (1080, 1920) 1377982341 -0.18524135565310387 treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89.jpg resize: (1080, 1920) 1377982339 0.5843717737669264 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e.jpg resize: (1080, 1920) 1377982315 -0.08891426054097605 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7.jpg resize: (1080, 1920) 1377982312 -0.640619194878317 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c.jpg resize: (1080, 1920) 1377982304 0.11296455230138298 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe.jpg resize: (1080, 1920) 1377982301 0.11352906196587519 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803.jpg resize: (1080, 1920) 1377982299 0.08836648529608679 treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568.jpg resize: (1080, 1920) 1377982297 0.5119258002425428 treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073.jpg resize: (1080, 1920) 1377982164 5.191252723905778 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320859_0.png resize: (97, 115) 1377991949 -0.09748540416006343 treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320864_0.png resize: (123, 100) 1377991950 -1.9097544824672938 treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320867_0.png resize: (54, 47) 1377991951 -2.219981944344632 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320872_0.png resize: (43, 72) 1377991953 -0.43647962373560817 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320877_0.png resize: (64, 50) 1377991954 4.323332136306715 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320878_0.png resize: (82, 70) 1377991955 8.973800326148563 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320879_0.png resize: (150, 105) 1377991957 -1.6739993342359367 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320881_0.png resize: (114, 129) 1377991958 0.0852208282302022 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320885_0.png resize: (57, 49) 1377991959 -2.3959213264961043 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320895_0.png resize: (105, 70) 1377991961 -1.6797520295309352 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320896_0.png resize: (37, 87) 1377991962 -3.07766196108054 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320898_0.png resize: (43, 99) 1377991963 20.0 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320904_0.png resize: (58, 36) 1377991965 0.9086719260700844 treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568_rle_crop_3921320906_0.png resize: (83, 65) 1377991966 -2.9545395310014855 treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073_rle_crop_3921320907_0.png resize: (132, 121) 1377991967 -0.908936597944448 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320882_0.png resize: (112, 147) 1377991980 -1.6172080239671056 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320887_0.png resize: (94, 172) 1377991981 -0.8734403007465885 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320888_0.png resize: (144, 94) 1377991983 -0.8660805302436739 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320892_0.png resize: (301, 204) 1377991984 -1.6673051114705466 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320894_0.png resize: (84, 117) 1377991990 -3.5056810443946995 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320857_0.png resize: (97, 212) 1377992126 0.11214482104536831 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320860_0.png resize: (400, 618) 1377992127 -1.405125526737774 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320861_0.png resize: (568, 387) 1377992130 -0.18964450596261395 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320862_0.png resize: (82, 127) 1377992131 0.05016681078823847 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320863_0.png resize: (783, 1699) 1377992132 -1.116273036131667 treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320865_0.png resize: (68, 182) 1377992134 -3.086384251510081 treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89_rle_crop_3921320868_0.png resize: (47, 93) 1377992135 -4.496680755769255 treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89_rle_crop_3921320869_0.png resize: (448, 471) 1377992136 -1.9657472034432542 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320870_0.png resize: (143, 224) 1377992138 -3.2382483470788146 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320871_0.png resize: (251, 116) 1377992139 -1.7694067577203416 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320873_0.png resize: (1006, 1538) 1377992140 -0.7138148621447655 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320874_0.png resize: (154, 253) 1377992142 -1.412309605089472 treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320875_0.png resize: (539, 349) 1377992143 0.25814859394211215 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320876_0.png resize: (248, 243) 1377992144 -1.1386063413001144 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320883_0.png resize: (136, 140) 1377992145 -3.0803920046209132 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320884_0.png resize: (130, 162) 1377992147 -2.7394543772062794 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320886_0.png resize: (96, 129) 1377992148 -3.5980631420461116 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320890_0.png resize: (139, 143) 1377992149 -2.9408336654096874 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320891_0.png resize: (199, 217) 1377992151 -2.7426651189350353 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320897_0.png resize: (146, 113) 1377992152 -2.3685143709076146 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320899_0.png resize: (139, 142) 1377992154 -3.1161029596033054 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320900_0.png resize: (127, 149) 1377992155 -2.352854297234298 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320901_0.png resize: (110, 255) 1377992156 -3.070923895964446 treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073_rle_crop_3921320908_0.png resize: (1012, 1308) 1377992157 0.38081643916891783 treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320858_0.png resize: (138, 116) 1377992174 -1.8988802566900167 treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320866_0.png resize: (98, 72) 1377992176 -1.5957645596812333 treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320880_0.png resize: (132, 134) 1377992177 -3.141347690758048 treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320889_0.png resize: (132, 135) 1377992178 -2.9506470496162875 treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320893_0.png resize: (133, 126) 1377992180 -2.9503005263648308 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320902_0.png resize: (126, 144) 1377992181 -0.6687120994635447 treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320903_0.png resize: (133, 133) 1377992182 -3.047492597711987 treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568_rle_crop_3921320905_0.png resize: (135, 118) 1377992184 -2.42713255833704 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 : 62 time used for this insertion : 0.015377044677734375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.3326122760772705 save missing photos in datou_result : time spend for datou_step_exec : 10.61573076248169 time spend to save output : 0.35423707962036133 total time spend for step 6 : 10.96996784210205 step7:brightness Wed Aug 20 09:11: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 inside step calcul brightness treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289.jpg treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903.jpg treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89.jpg treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e.jpg treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7.jpg treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c.jpg treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe.jpg treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803.jpg treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568.jpg treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073.jpg treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320859_0.png treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320864_0.png treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320867_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320872_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320877_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320878_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320879_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320881_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320885_0.png treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320895_0.png treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320896_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320898_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320904_0.png treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568_rle_crop_3921320906_0.png treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073_rle_crop_3921320907_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320882_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320887_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320888_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320892_0.png treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320894_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320857_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320860_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320861_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320862_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320863_0.png treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320865_0.png treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89_rle_crop_3921320868_0.png treat image : temp/1755673828_1379472_1377982339_656ccaba437f8e3f7e40d887a3f9ac89_rle_crop_3921320869_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320870_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320871_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320873_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320874_0.png treat image : temp/1755673828_1379472_1377982315_e956500bd05a5fb264c497c139e5099e_rle_crop_3921320875_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320876_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320883_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320884_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320886_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320890_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320891_0.png treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320897_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320899_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320900_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320901_0.png treat image : temp/1755673828_1379472_1377982164_a29ba7086f97db76b454a3242de09073_rle_crop_3921320908_0.png treat image : temp/1755673828_1379472_1377982343_5c4eb092dff51d75625ae6c187d8d289_rle_crop_3921320858_0.png treat image : temp/1755673828_1379472_1377982341_d0a2617b894e3623609a23fa22284903_rle_crop_3921320866_0.png treat image : temp/1755673828_1379472_1377982312_30995f739757401ee4f4df205f4d2ad7_rle_crop_3921320880_0.png treat image : temp/1755673828_1379472_1377982304_b4124eff870bf4dd00161de268155e5c_rle_crop_3921320889_0.png treat image : temp/1755673828_1379472_1377982301_ac402a814ef033a5b5bdf1a83aac78fe_rle_crop_3921320893_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320902_0.png treat image : temp/1755673828_1379472_1377982299_6066b911e6f483ea1ee9574882a0a803_rle_crop_3921320903_0.png treat image : temp/1755673828_1379472_1377982297_bb8b4b10d80b05137f29e97254e80568_rle_crop_3921320905_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 : 62 time used for this insertion : 0.016551733016967773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 62 time used for this insertion : 0.029471397399902344 save missing photos in datou_result : time spend for datou_step_exec : 2.9538326263427734 time spend to save output : 0.05175328254699707 total time spend for step 7 : 3.0055859088897705 step8:velours_tree Wed Aug 20 09:11:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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.14902877807617188 time spend to save output : 7.2479248046875e-05 total time spend for step 8 : 0.14910125732421875 step9:send_mail_cod Wed Aug 20 09:11:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26071865_20-08-2025_09_11_58.pdf 26072100 imagette260721001755673918 26072101 imagette260721011755673919 26072102 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 .imagette260721021755673919 26072103 imagette260721031755673920 26072104 imagette260721041755673920 26072106 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 .imagette260721061755673920 26072107 imagette260721071755673921 26072108 change filename to text .change filename to text .change filename to text .change filename to text .imagette260721081755673921 26072109 change filename to text .imagette260721091755673921 26072110 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 .imagette260721101755673921 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26071865 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/26072100,26072101,26072102,26072103,26072104,26072105,26072106,26072107,26072108,26072109,26072110?tags=background,flou,pet_clair,pehd,pet_fonce,environnement,papier,mal_croppe,carton,metal,autre args[1377982343] : ((1377982343, 2.0922425813405585, 492688767), (1377982343, 0.48339570534474935, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982341] : ((1377982341, -0.18524135565310387, 492688767), (1377982341, 0.3718325492523337, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982339] : ((1377982339, 0.5843717737669264, 492688767), (1377982339, 0.40973851272843853, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982315] : ((1377982315, -0.08891426054097605, 492688767), (1377982315, 0.4064233456775969, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982312] : ((1377982312, -0.640619194878317, 492688767), (1377982312, 0.43143103207085687, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982304] : ((1377982304, 0.11296455230138298, 492688767), (1377982304, 0.4032666906143193, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982301] : ((1377982301, 0.11352906196587519, 492688767), (1377982301, 0.23604084225904695, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982299] : ((1377982299, 0.08836648529608679, 492688767), (1377982299, 0.7058390647885584, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982297] : ((1377982297, 0.5119258002425428, 492688767), (1377982297, 0.5822745485110354, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com args[1377982164] : ((1377982164, 5.191252723905778, 492688767), (1377982164, 0.5210023276582936, 2107752395), '0.19035156250000002') We are sending mail with results at report@fotonower.com refus_total : 0.19035156250000002 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=26071865 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_P26071865_20-08-2025_09_11_58.pdf results_Auto_P26071865_20-08-2025_09_11_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071865_20-08-2025_09_11_58.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','26071865','results_Auto_P26071865_20-08-2025_09_11_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071865_20-08-2025_09_11_58.pdf','pdf','','0.44','0.19035156250000002') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/26071865

https://www.fotonower.com/image?json=false&list_photos_id=1377982343
La photo est trop floue, merci de reprendre une photo.(avec le score = 2.0922425813405585)
https://www.fotonower.com/image?json=false&list_photos_id=1377982341
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982339
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982315
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982312
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982304
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982301
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982299
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982297
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1377982164
La photo est trop floue, merci de reprendre une photo.(avec le score = 5.191252723905778)

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

exemples de contaminants: pet_clair: https://www.fotonower.com/view/26072102?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/26072106?limit=200
exemples de contaminants: carton: https://www.fotonower.com/view/26072108?limit=200
exemples de contaminants: metal: https://www.fotonower.com/view/26072109?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/26072110?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071865_20-08-2025_09_11_58.pdf.

Lien vers velours :https://www.fotonower.com/velours/26072100,26072101,26072102,26072103,26072104,26072105,26072106,26072107,26072108,26072109,26072110?tags=background,flou,pet_clair,pehd,pet_fonce,environnement,papier,mal_croppe,carton,metal,autre.


L'équipe Fotonower 202 b'' Server: nginx Date: Wed, 20 Aug 2025 07:12:04 GMT Content-Length: 0 Connection: close X-Message-Id: Hkttn5g_R4GbosW-IZ-kdg 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 [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] 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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.1281430721282959 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.052345514297485 time spend to save output : 0.1284472942352295 total time spend for step 9 : 5.180792808532715 step10:split_time_score Wed Aug 20 09:12:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score Catched exception ! Connect or reconnect ! TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('07', 10),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20082025 26071865 Nombre de photos uploadées : 10 / 23040 (0%) 20082025 26071865 Nombre de photos taguées (types de déchets): 0 / 10 (0%) 20082025 26071865 Nombre de photos taguées (volume) : 0 / 10 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????? elapsed_time : fill_and_build_computed_from_old_data 0.0005538463592529297 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22030997276306152 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.04855858571244855 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070736_20-08-2025_08_31_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070736 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`=26070736 AND mptpi.`type`=3594 To do Qualite : 0.12004560436795493 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070739_20-08-2025_08_22_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070739 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`=26070739 AND mptpi.`type`=3594 To do Qualite : 0.17909196566358027 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26070741_20-08-2025_08_11_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26070741 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`=26070741 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26071862 order by id desc limit 1 Qualite : 0.19035156250000002 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26071865_20-08-2025_09_11_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26071865 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`=26071865 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20082025': {'nb_upload': 10, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1377982343, 1377982341, 1377982339, 1377982315, 1377982312, 1377982304, 1377982301, 1377982299, 1377982297, 1377982164] Looping around the photos to save general results len do output : 1 /26071865Didn'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, '3555545') ('3318', '26071865', '1377982343', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982341', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982339', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982315', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982312', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982304', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982301', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982299', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982297', None, None, None, None, None, '3555545') ('3318', None, None, None, None, None, None, None, '3555545') ('3318', '26071865', '1377982164', None, None, None, None, None, '3555545') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.12453866004943848 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.60504150390625 time spend to save output : 0.1247551441192627 total time spend for step 10 : 1.7297966480255127 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 55.23user 21.35system 1:41.09elapsed 75%CPU (0avgtext+0avgdata 2903076maxresident)k 511544inputs+34232outputs (73major+1798687minor)pagefaults 0swaps