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 : 2181501 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 : ['3933098'] with mtr_portfolio_ids : ['27756456'] and first list_photo_ids : [] new path : /proc/2181501/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.699211835861206 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 10 step1:mask_detect Mon Oct 13 13:40:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Beginning of datou step mask_detect ! save_polygon : True begin detect begin to check gpu status inside check gpu memory l 3637 free memory gpu now : 10998 max_wait_temp : 1 max_wait : 0 gpu_flag : 0 2025-10-13 13:40:35.352192: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2025-10-13 13:40:35.378416: I tensorflow/core/platform/profile_utils/cpu_utils.cc:102] CPU Frequency: 3493010000 Hz 2025-10-13 13:40:35.379989: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f8dc4000b60 initialized for platform Host (this does not guarantee that XLA will be used). Devices: 2025-10-13 13:40:35.380037: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version 2025-10-13 13:40:35.382524: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1 2025-10-13 13:40:35.654349: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x20b50cb0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices: 2025-10-13 13:40:35.654406: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA GeForce RTX 2080 Ti, Compute Capability 7.5 2025-10-13 13:40:35.655620: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-13 13:40:35.656041: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 13:40:35.662808: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 13:40:35.665334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 13:40:35.665745: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 13:40:35.668657: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 13:40:35.670044: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 13:40:35.675648: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 13:40:35.677079: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 13:40:35.677147: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 13:40:35.677904: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 13:40:35.677919: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 13:40:35.677928: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 13:40:35.679235: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) WARNING:tensorflow:From /home/admin/workarea/git/Velours/python/mtr/mask_rcnn/mask_detection.py:69: The name tf.keras.backend.set_session is deprecated. Please use tf.compat.v1.keras.backend.set_session instead. 2025-10-13 13:40:36.061122: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-13 13:40:36.061254: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 13:40:36.061282: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 13:40:36.061308: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 13:40:36.061333: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 13:40:36.061356: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 13:40:36.061381: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 13:40:36.061405: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 13:40:36.063592: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 13:40:36.064768: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties: pciBusID: 0000:41:00.0 name: NVIDIA GeForce RTX 2080 Ti computeCapability: 7.5 coreClock: 1.545GHz coreCount: 68 deviceMemorySize: 10.76GiB deviceMemoryBandwidth: 573.69GiB/s 2025-10-13 13:40:36.064796: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1 2025-10-13 13:40:36.064810: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 13:40:36.064822: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10 2025-10-13 13:40:36.064835: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10 2025-10-13 13:40:36.064847: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10 2025-10-13 13:40:36.064859: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10 2025-10-13 13:40:36.064871: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7 2025-10-13 13:40:36.066017: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0 2025-10-13 13:40:36.066049: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix: 2025-10-13 13:40:36.066057: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108] 0 2025-10-13 13:40:36.066064: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0: N 2025-10-13 13:40:36.067270: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10193 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 2080 Ti, pci bus id: 0000:41:00.0, compute capability: 7.5) Using TensorFlow backend. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:396: calling crop_and_resize_v1 (from tensorflow.python.ops.image_ops_impl) with box_ind is deprecated and will be removed in a future version. Instructions for updating: box_ind is deprecated, use box_indices instead WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:703: to_int32 (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. WARNING:tensorflow:From /home/admin/workarea/install/Mask_RCNN/model.py:729: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.cast` instead. Inside mask_sub_process Inside mask_detect About to load cache.load_thcl_param To do loadFromThcl(), then load ParamDescType : thcl2847 thcls : [{'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}] thcl {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'} Update svm_hashtag_type_desc : 5275 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5275, 'learn_RUBBIA_REFUS_AMIENS_23', 16384, 25088, 'learn_RUBBIA_REFUS_AMIENS_23', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 1, datetime.datetime(2021, 4, 23, 14, 19, 39), datetime.datetime(2021, 4, 23, 14, 19, 39)) {'thcl': {'id': 2847, 'mtr_user_id': 31, 'name': 'learn_RUBBIA_REFUS_AMIENS_23', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'photo_desc_type': 5275, 'type_classification': 'mask_rcnn', 'hashtag_id_list': '0,0,0,0,0,0,0,0,0'}, 'list_hashtags': ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'], 'list_hashtags_csv': 'background,papier,carton,metal,pet_clair,autre,pehd,pet_fonce,environnement', 'svm_portfolios_learning': '0,0,0,0,0,0,0,0,0', 'photo_hashtag_type': 3594, 'svm_hashtag_type_desc': 5275, 'photo_desc_type': 5275, 'pb_hashtag_id_or_classifier': 0} list_class_names : ['background', 'papier', 'carton', 'metal', 'pet_clair', 'autre', 'pehd', 'pet_fonce', 'environnement'] Configurations: BACKBONE resnet101 BACKBONE_SHAPES [[160 160] [ 80 80] [ 40 40] [ 20 20] [ 10 10]] BACKBONE_STRIDES [4, 8, 16, 32, 64] BATCH_SIZE 1 BBOX_STD_DEV [0.1 0.1 0.2 0.2] DETECTION_MAX_INSTANCES 100 DETECTION_MIN_CONFIDENCE 0.3 DETECTION_NMS_THRESHOLD 0.3 GPU_COUNT 1 IMAGES_PER_GPU 1 IMAGE_MAX_DIM 640 IMAGE_MIN_DIM 640 IMAGE_PADDING True IMAGE_SHAPE [640 640 3] LEARNING_MOMENTUM 0.9 LEARNING_RATE 0.001 LOSS_WEIGHTS {'rpn_class_loss': 1.0, 'rpn_bbox_loss': 1.0, 'mrcnn_class_loss': 1.0, 'mrcnn_bbox_loss': 1.0, 'mrcnn_mask_loss': 1.0} MASK_POOL_SIZE 14 MASK_SHAPE [28, 28] MAX_GT_INSTANCES 100 MEAN_PIXEL [123.7 116.8 103.9] MINI_MASK_SHAPE (56, 56) NAME learn_RUBBIA_REFUS_AMIENS_23 NUM_CLASSES 9 POOL_SIZE 7 POST_NMS_ROIS_INFERENCE 1000 POST_NMS_ROIS_TRAINING 2000 ROI_POSITIVE_RATIO 0.33 RPN_ANCHOR_RATIOS [0.5, 1, 2] RPN_ANCHOR_SCALES (16, 32, 64, 128, 256) RPN_ANCHOR_STRIDE 1 RPN_BBOX_STD_DEV [0.1 0.1 0.2 0.2] RPN_NMS_THRESHOLD 0.7 RPN_TRAIN_ANCHORS_PER_IMAGE 256 STEPS_PER_EPOCH 1000 TRAIN_ROIS_PER_IMAGE 200 USE_MINI_MASK True USE_RPN_ROIS True VALIDATION_STEPS 50 WEIGHT_DECAY 0.0001 model_param file didn't exist model_name : learn_RUBBIA_REFUS_AMIENS_23 model_type : mask_rcnn list file need : ['mask_model.h5'] file exist in s3 : ['mask_model.h5'] file manque in s3 : [] 2025-10-13 13:40:43.395290: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10 2025-10-13 13:40:43.577105: 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 : 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 : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 37.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 39.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: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 33.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 6 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 28.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 3 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 38.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 : 13 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 32.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 5 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 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 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 24.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 4 NEW PHOTO Processing 1 images image shape: (1080, 1920, 3) min: 21.00000 max: 255.00000 molded_images shape: (1, 640, 640, 3) min: -123.70000 max: 151.10000 image_metas shape: (1, 17) min: 0.00000 max: 1920.00000 nb d'objets trouves : 7 Detection mask done ! Trying to reset tf kernel 2182127 begin to check gpu status inside check gpu memory l 3610 free memory gpu now : 4907 tf kernel not reseted sub process len(results) : 12 len(list_Values) 0 None max_time_sub_proc : 3600 parent process len(results) : 12 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 : 10196 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.00032782554626464844 nb_pixel_total : 11323 time to create 1 rle with old method : 0.011827468872070312 length of segment : 173 time for calcul the mask position with numpy : 0.00017976760864257812 nb_pixel_total : 9574 time to create 1 rle with old method : 0.010138273239135742 length of segment : 148 time for calcul the mask position with numpy : 0.00034427642822265625 nb_pixel_total : 15405 time to create 1 rle with old method : 0.01587963104248047 length of segment : 282 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 11218 time to create 1 rle with old method : 0.011560916900634766 length of segment : 156 time for calcul the mask position with numpy : 0.013755559921264648 nb_pixel_total : 746722 time to create 1 rle with new method : 0.06699347496032715 length of segment : 1001 time for calcul the mask position with numpy : 0.00023627281188964844 nb_pixel_total : 13111 time to create 1 rle with old method : 0.014012336730957031 length of segment : 128 time for calcul the mask position with numpy : 0.011580467224121094 nb_pixel_total : 758522 time to create 1 rle with new method : 0.04491734504699707 length of segment : 995 time for calcul the mask position with numpy : 0.0004954338073730469 nb_pixel_total : 37312 time to create 1 rle with old method : 0.03952908515930176 length of segment : 195 time for calcul the mask position with numpy : 0.003385782241821289 nb_pixel_total : 238872 time to create 1 rle with new method : 0.0101470947265625 length of segment : 744 time for calcul the mask position with numpy : 0.012366771697998047 nb_pixel_total : 760274 time to create 1 rle with new method : 0.02153468132019043 length of segment : 993 time for calcul the mask position with numpy : 0.00010013580322265625 nb_pixel_total : 2490 time to create 1 rle with old method : 0.0028002262115478516 length of segment : 50 time for calcul the mask position with numpy : 0.01373600959777832 nb_pixel_total : 825881 time to create 1 rle with new method : 0.020666837692260742 length of segment : 1062 time for calcul the mask position with numpy : 0.012459039688110352 nb_pixel_total : 721027 time to create 1 rle with new method : 0.02237868309020996 length of segment : 980 time for calcul the mask position with numpy : 0.00015211105346679688 nb_pixel_total : 6089 time to create 1 rle with old method : 0.006966352462768555 length of segment : 44 time for calcul the mask position with numpy : 0.0001819133758544922 nb_pixel_total : 9401 time to create 1 rle with old method : 0.010368824005126953 length of segment : 70 time for calcul the mask position with numpy : 0.0002040863037109375 nb_pixel_total : 9618 time to create 1 rle with old method : 0.01031637191772461 length of segment : 131 time for calcul the mask position with numpy : 7.796287536621094e-05 nb_pixel_total : 3478 time to create 1 rle with old method : 0.003901243209838867 length of segment : 61 time for calcul the mask position with numpy : 0.00030159950256347656 nb_pixel_total : 18334 time to create 1 rle with old method : 0.01978468894958496 length of segment : 191 time for calcul the mask position with numpy : 0.00019240379333496094 nb_pixel_total : 8854 time to create 1 rle with old method : 0.009671449661254883 length of segment : 104 time for calcul the mask position with numpy : 0.00020265579223632812 nb_pixel_total : 9501 time to create 1 rle with old method : 0.010901212692260742 length of segment : 113 time for calcul the mask position with numpy : 0.00014638900756835938 nb_pixel_total : 9238 time to create 1 rle with old method : 0.010274648666381836 length of segment : 62 time for calcul the mask position with numpy : 0.0001933574676513672 nb_pixel_total : 9772 time to create 1 rle with old method : 0.011110305786132812 length of segment : 124 time for calcul the mask position with numpy : 0.00039196014404296875 nb_pixel_total : 26511 time to create 1 rle with old method : 0.03338742256164551 length of segment : 118 time for calcul the mask position with numpy : 0.00035500526428222656 nb_pixel_total : 10102 time to create 1 rle with old method : 0.01074838638305664 length of segment : 183 time for calcul the mask position with numpy : 0.0008018016815185547 nb_pixel_total : 45357 time to create 1 rle with old method : 0.04969978332519531 length of segment : 181 time for calcul the mask position with numpy : 0.0006122589111328125 nb_pixel_total : 21580 time to create 1 rle with old method : 0.025895118713378906 length of segment : 165 time for calcul the mask position with numpy : 0.0009779930114746094 nb_pixel_total : 23001 time to create 1 rle with old method : 0.025594234466552734 length of segment : 214 time for calcul the mask position with numpy : 0.0001838207244873047 nb_pixel_total : 4200 time to create 1 rle with old method : 0.005063772201538086 length of segment : 62 time spent for convertir_results : 2.3639795780181885 Inside saveOutput : final : False verbose : 0 eke 12-6-18 : saveMask need to be cleaned for new output ! Number saved : None batch 1 Loaded 28 chid ids of type : 3594 Number RLEs to save : 8730 save missing photos in datou_result : time spend for datou_step_exec : 23.639400005340576 time spend to save output : 1.0881612300872803 total time spend for step 1 : 24.727561235427856 step2:crop_condition Mon Oct 13 13:40:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 12 ! batch 1 Loaded 28 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 ! map_result returned by crop_photo_return_map_crop : length : 11 About to insert : list_path_to_insert length 11 new photo from crops ! About to upload 11 photos upload in portfolio : 3736932 init cache_photo without model_param we have 11 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760355658_2181501 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226752_0.png', 0, 149, 113, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226753_0.png', 0, 123, 282, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200990_fc6ed6a0b6973a1da26c04aeea7cb546_rle_crop_3996226761_0.png', 0, 62, 50, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226764_0.png', 0, 187, 44, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226769_0.png', 0, 132, 99, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226766_0.png', 0, 98, 129, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226767_0.png', 0, 82, 55, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226765_0.png', 0, 207, 83, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226770_0.png', 0, 212, 76, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226774_0.png', 0, 86, 183, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355662), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226776_0.png', 0, 217, 165, 0, 1760355662,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 11 photos in the portfolio 3736932 time of upload the photos Elapsed time : 4.879277467727661 we have finished the crop for the class : papier begin to crop the class : carton param for this class : {'min_score': 0.7} filtre for class : carton hashtag_id of this class : 492774966 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760355664_2181501 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355664), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200953_38bcc5aa008a83101fd5ad4a17b5e833_rle_crop_3996226772_0.png', 0, 144, 117, 0, 1760355664,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7061567306518555 we have finished the crop for the class : carton begin to crop the class : metal param for this class : {'min_score': 0.7} filtre for class : metal hashtag_id of this class : 492628673 begin to crop the class : pet_clair param for this class : {'min_score': 0.7} filtre for class : pet_clair hashtag_id of this class : 2107755846 we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! we have both polygon and rles Next one ! 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/1760355681_2181501 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226755_0.png', 0, 1005, 992, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226751_0.png', 0, 101, 173, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201010_31ea9ddcabcadb57455b40e1f3c5c0f9_rle_crop_3996226756_0.png', 0, 267, 84, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201008_23b9294954a1883e11d054aac205e4d4_rle_crop_3996226757_0.png', 0, 1037, 990, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226760_0.png', 0, 1099, 987, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226758_0.png', 0, 260, 193, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226759_0.png', 0, 546, 721, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226763_0.png', 0, 960, 976, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226762_0.png', 0, 971, 992, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226771_0.png', 0, 190, 61, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226768_0.png', 0, 151, 166, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226775_0.png', 0, 413, 173, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226773_0.png', 0, 262, 118, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226777_0.png', 0, 160, 214, 0, 1760355684,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355684), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389200894_ff958d38dbee7d28fd9f8a25066e3f6f_rle_crop_3996226778_0.png', 0, 100, 54, 0, 1760355684,'0',0) 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 : 5.593502521514893 we have finished the crop for the class : pet_clair begin to crop the class : autre param for this class : {'min_score': 0.7} filtre for class : autre hashtag_id of this class : 494826614 we have both polygon and rles Next one ! map_result returned by crop_photo_return_map_crop : length : 1 About to insert : list_path_to_insert length 1 new photo from crops ! About to upload 1 photos upload in portfolio : 3736932 init cache_photo without model_param we have 1 photo to upload uploaded to storage server : ovh folder_temporaire : temp/1760355687_2181501 INSERT INTO MTRBack.photos (`timeStamp`, `latitude`, `longitude`, `right_categories`, `tags`, `speed`, `size`, `text`, `altitude`, `width`, `height`, `score`, `created_at`,`source_id`,`place_id`) VALUES (FROM_UNIXTIME(1760355687), 0.0, 0.0, 14, '', 0, 0, '1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226754_0.png', 0, 94, 156, 0, 1760355687,'0',0) batch_size : 0, verbose : False, strat_bulk_insert : ignore_different_from_first This is a hack ! we have uploaded 1 photos in the portfolio 3736932 time of upload the photos Elapsed time : 0.7961361408233643 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 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 [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] Looping around the photos to save general results len do output : 28 /1389215788Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215789Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215790Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215791Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215792Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215793Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215794Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215795Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215796Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215797Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215798Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215799Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215805Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215806Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215807Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215808Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215809Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215810Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215811Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215812Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215813Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215814Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215815Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215828Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215834Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215835Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215836Didn't retrieve data .Didn't retrieve data .Didn't retrieve data . /1389215838Didn'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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 96 time used for this insertion : 0.03942418098449707 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.15459179878235 time spend to save output : 0.04076743125915527 total time spend for step 2 : 30.195359230041504 step3:rle_unique_nms_with_priority Mon Oct 13 13:41:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 28 chid ids of type : 3594 ++++++++++++++++++++++++++++++++++++nb_obj : 5 nb_hashtags : 3 time to prepare the origin masks : 0.6378612518310547 time for calcul the mask position with numpy : 0.03951096534729004 nb_pixel_total : 1284916 time to create 1 rle with new method : 0.09677767753601074 time for calcul the mask position with numpy : 0.02515888214111328 nb_pixel_total : 741164 time to create 1 rle with new method : 0.14238667488098145 time for calcul the mask position with numpy : 0.006148099899291992 nb_pixel_total : 11218 time to create 1 rle with old method : 0.012123584747314453 time for calcul the mask position with numpy : 0.005944013595581055 nb_pixel_total : 15405 time to create 1 rle with old method : 0.016420364379882812 time for calcul the mask position with numpy : 0.005944490432739258 nb_pixel_total : 9574 time to create 1 rle with old method : 0.010198116302490234 time for calcul the mask position with numpy : 0.0059473514556884766 nb_pixel_total : 11323 time to create 1 rle with old method : 0.012115955352783203 create new chi : 0.39651942253112793 time to delete rle : 0.10239768028259277 batch 1 Loaded 11 chid ids of type : 3594 +++++++Number RLEs to save : 4350 TO DO : save crop sub photo not yet done ! save time : 0.6004836559295654 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03417229652404785 time for calcul the mask position with numpy : 0.13984036445617676 nb_pixel_total : 2060489 time to create 1 rle with new method : 0.0509486198425293 time for calcul the mask position with numpy : 0.006010532379150391 nb_pixel_total : 13111 time to create 1 rle with old method : 0.014381885528564453 create new chi : 0.21139955520629883 time to delete rle : 0.000213623046875 batch 1 Loaded 3 chid ids of type : 3594 ++Number RLEs to save : 1336 TO DO : save crop sub photo not yet done ! save time : 0.26965761184692383 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.03483247756958008 time for calcul the mask position with numpy : 0.013970136642456055 nb_pixel_total : 1315078 time to create 1 rle with new method : 0.03400301933288574 time for calcul the mask position with numpy : 0.010643482208251953 nb_pixel_total : 758522 time to create 1 rle with new method : 0.027740955352783203 create new chi : 0.08675789833068848 time to delete rle : 0.0002899169921875 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 3070 TO DO : save crop sub photo not yet done ! save time : 0.4532642364501953 nb_obj : 3 nb_hashtags : 1 time to prepare the origin masks : 0.05936121940612793 time for calcul the mask position with numpy : 0.014080286026000977 nb_pixel_total : 1037142 time to create 1 rle with new method : 0.05355477333068848 time for calcul the mask position with numpy : 0.011507511138916016 nb_pixel_total : 760274 time to create 1 rle with new method : 0.02777886390686035 time for calcul the mask position with numpy : 0.0075740814208984375 nb_pixel_total : 238872 time to create 1 rle with new method : 0.028763294219970703 time for calcul the mask position with numpy : 0.0064694881439208984 nb_pixel_total : 37312 time to create 1 rle with old method : 0.04172372817993164 create new chi : 0.1921403408050537 time to delete rle : 0.0006685256958007812 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 4944 TO DO : save crop sub photo not yet done ! save time : 0.6151869297027588 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.031972646713256836 time for calcul the mask position with numpy : 0.018544435501098633 nb_pixel_total : 2071110 time to create 1 rle with new method : 0.19327020645141602 time for calcul the mask position with numpy : 0.006572246551513672 nb_pixel_total : 2490 time to create 1 rle with old method : 0.0047855377197265625 create new chi : 0.23088836669921875 time to delete rle : 0.00026917457580566406 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1180 TO DO : save crop sub photo not yet done ! save time : 0.270587682723999 No data in photo_id : 1389200988 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.08904647827148438 time for calcul the mask position with numpy : 0.009531259536743164 nb_pixel_total : 520603 time to create 1 rle with new method : 0.12190580368041992 time for calcul the mask position with numpy : 0.006011486053466797 nb_pixel_total : 6089 time to create 1 rle with old method : 0.006295919418334961 time for calcul the mask position with numpy : 0.010475635528564453 nb_pixel_total : 721027 time to create 1 rle with new method : 0.06888556480407715 time for calcul the mask position with numpy : 0.011672258377075195 nb_pixel_total : 825881 time to create 1 rle with new method : 0.11531782150268555 create new chi : 0.36478757858276367 time to delete rle : 0.0006620883941650391 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 5252 TO DO : save crop sub photo not yet done ! save time : 0.7327673435211182 nb_obj : 7 nb_hashtags : 2 time to prepare the origin masks : 0.22709012031555176 time for calcul the mask position with numpy : 0.1273055076599121 nb_pixel_total : 2005176 time to create 1 rle with new method : 0.06978511810302734 time for calcul the mask position with numpy : 0.005866050720214844 nb_pixel_total : 9238 time to create 1 rle with old method : 0.010294198989868164 time for calcul the mask position with numpy : 0.006305694580078125 nb_pixel_total : 9501 time to create 1 rle with old method : 0.01066446304321289 time for calcul the mask position with numpy : 0.0062716007232666016 nb_pixel_total : 8854 time to create 1 rle with old method : 0.00990438461303711 time for calcul the mask position with numpy : 0.006211042404174805 nb_pixel_total : 18334 time to create 1 rle with old method : 0.020030498504638672 time for calcul the mask position with numpy : 0.0059583187103271484 nb_pixel_total : 3478 time to create 1 rle with old method : 0.003913164138793945 time for calcul the mask position with numpy : 0.00603795051574707 nb_pixel_total : 9618 time to create 1 rle with old method : 0.010206460952758789 time for calcul the mask position with numpy : 0.006296634674072266 nb_pixel_total : 9401 time to create 1 rle with old method : 0.010379552841186523 create new chi : 0.32538700103759766 time to delete rle : 0.0004985332489013672 batch 1 Loaded 15 chid ids of type : 3594 ++++++++++++Number RLEs to save : 2544 TO DO : save crop sub photo not yet done ! save time : 0.5300307273864746 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.034522294998168945 time for calcul the mask position with numpy : 0.01921224594116211 nb_pixel_total : 2063828 time to create 1 rle with new method : 0.03697371482849121 time for calcul the mask position with numpy : 0.005887508392333984 nb_pixel_total : 9772 time to create 1 rle with old method : 0.010472536087036133 create new chi : 0.07962250709533691 time to delete rle : 0.00024056434631347656 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1328 TO DO : save crop sub photo not yet done ! save time : 0.2834608554840088 nb_obj : 3 nb_hashtags : 2 time to prepare the origin masks : 0.0856626033782959 time for calcul the mask position with numpy : 0.15782690048217773 nb_pixel_total : 1991630 time to create 1 rle with new method : 0.07770681381225586 time for calcul the mask position with numpy : 0.006396293640136719 nb_pixel_total : 45357 time to create 1 rle with old method : 0.04920005798339844 time for calcul the mask position with numpy : 0.005917787551879883 nb_pixel_total : 10102 time to create 1 rle with old method : 0.010815620422363281 time for calcul the mask position with numpy : 0.005909919738769531 nb_pixel_total : 26511 time to create 1 rle with old method : 0.03193235397338867 create new chi : 0.3563499450683594 time to delete rle : 0.0006732940673828125 batch 1 Loaded 7 chid ids of type : 3594 +++Number RLEs to save : 2044 TO DO : save crop sub photo not yet done ! save time : 0.3953433036804199 nb_obj : 2 nb_hashtags : 2 time to prepare the origin masks : 0.050348520278930664 time for calcul the mask position with numpy : 0.06086993217468262 nb_pixel_total : 2029019 time to create 1 rle with new method : 0.1588137149810791 time for calcul the mask position with numpy : 0.007042646408081055 nb_pixel_total : 23001 time to create 1 rle with old method : 0.025991439819335938 time for calcul the mask position with numpy : 0.006830930709838867 nb_pixel_total : 21580 time to create 1 rle with old method : 0.02463555335998535 create new chi : 0.2883107662200928 time to delete rle : 0.0004253387451171875 batch 1 Loaded 5 chid ids of type : 3594 ++Number RLEs to save : 1838 TO DO : save crop sub photo not yet done ! save time : 0.3347890377044678 nb_obj : 1 nb_hashtags : 1 time to prepare the origin masks : 0.04115867614746094 time for calcul the mask position with numpy : 0.12708234786987305 nb_pixel_total : 2069400 time to create 1 rle with new method : 0.0654439926147461 time for calcul the mask position with numpy : 0.005888223648071289 nb_pixel_total : 4200 time to create 1 rle with old method : 0.004404783248901367 create new chi : 0.2132120132446289 time to delete rle : 0.00022721290588378906 batch 1 Loaded 3 chid ids of type : 3594 +Number RLEs to save : 1204 TO DO : save crop sub photo not yet done ! save time : 0.2805943489074707 map_output_result : {1389201012: (0.0, 'Should be the crop_list due to order', 0), 1389201010: (0.0, 'Should be the crop_list due to order', 0), 1389201008: (0.0, 'Should be the crop_list due to order', 0), 1389201007: (0.0, 'Should be the crop_list due to order', 0), 1389200990: (0.0, 'Should be the crop_list due to order', 0), 1389200988: (0.0, 'Should be the crop_list due to order', 0.0), 1389200979: (0.0, 'Should be the crop_list due to order', 0), 1389200977: (0.0, 'Should be the crop_list due to order', 0), 1389200953: (0.0, 'Should be the crop_list due to order', 0), 1389200915: (0.0, 'Should be the crop_list due to order', 0), 1389200897: (0.0, 'Should be the crop_list due to order', 0), 1389200894: (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 [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] Looping around the photos to save general results len do output : 12 /1389201012.Didn't retrieve data . /1389201010.Didn't retrieve data . /1389201008.Didn't retrieve data . /1389201007.Didn't retrieve data . /1389200990.Didn't retrieve data . /1389200988.Didn't retrieve data . /1389200979.Didn't retrieve data . /1389200977.Didn't retrieve data . /1389200953.Didn't retrieve data . /1389200915.Didn't retrieve data . /1389200897.Didn't retrieve data . /1389200894.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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.03814268112182617 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.456729888916016 time spend to save output : 0.03922772407531738 total time spend for step 3 : 9.495957612991333 step4:ventilate_hashtags_in_portfolio Mon Oct 13 13:41:37 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 : 27756456 get user id for portfolio 27756456 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`=27756456 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','carton','metal','autre','flou','pehd','pet_clair','papier','mal_croppe','background','environnement')) 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`=27756456 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','carton','metal','autre','flou','pehd','pet_clair','papier','mal_croppe','background','environnement')) 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`=27756456 AND mptpi.`type`=3594 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_fonce','carton','metal','autre','flou','pehd','pet_clair','papier','mal_croppe','background','environnement')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/27756618,27756619,27756620,27756621,27756622,27756623,27756624,27756641,27756642,27756643,27756644?tags=pet_fonce,carton,metal,autre,flou,pehd,pet_clair,papier,mal_croppe,background,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] Looping around the photos to save general results len do output : 1 /27756456. 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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.036346435546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.514336585998535 time spend to save output : 0.036607980728149414 total time spend for step 4 : 5.550944566726685 step5:final Mon Oct 13 13:41: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 ! 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 : {1389201012: ('0.17526720839763377',), 1389201010: ('0.17526720839763377',), 1389201008: ('0.17526720839763377',), 1389201007: ('0.17526720839763377',), 1389200990: ('0.17526720839763377',), 1389200988: ('0.17526720839763377',), 1389200979: ('0.17526720839763377',), 1389200977: ('0.17526720839763377',), 1389200953: ('0.17526720839763377',), 1389200915: ('0.17526720839763377',), 1389200897: ('0.17526720839763377',), 1389200894: ('0.17526720839763377',)} new output for save of step final : {1389201012: ('0.17526720839763377',), 1389201010: ('0.17526720839763377',), 1389201008: ('0.17526720839763377',), 1389201007: ('0.17526720839763377',), 1389200990: ('0.17526720839763377',), 1389200988: ('0.17526720839763377',), 1389200979: ('0.17526720839763377',), 1389200977: ('0.17526720839763377',), 1389200953: ('0.17526720839763377',), 1389200915: ('0.17526720839763377',), 1389200897: ('0.17526720839763377',), 1389200894: ('0.17526720839763377',)} [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] Looping around the photos to save general results len do output : 12 /1389201012.Didn't retrieve data . /1389201010.Didn't retrieve data . /1389201008.Didn't retrieve data . /1389201007.Didn't retrieve data . /1389200990.Didn't retrieve data . /1389200988.Didn't retrieve data . /1389200979.Didn't retrieve data . /1389200977.Didn't retrieve data . /1389200953.Didn't retrieve data . /1389200915.Didn't retrieve data . /1389200897.Didn't retrieve data . /1389200894.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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.03585028648376465 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.37290024757385254 time spend to save output : 0.03651762008666992 total time spend for step 5 : 0.40941786766052246 step6:blur_detection Mon Oct 13 13:41:43 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/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b.jpg resize: (1080, 1920) 1389201012 -0.2163756937851071 treat image : temp/1760355631_2181501_1389201010_31ea9ddcabcadb57455b40e1f3c5c0f9.jpg resize: (1080, 1920) 1389201010 -0.27550747348558224 treat image : temp/1760355631_2181501_1389201008_23b9294954a1883e11d054aac205e4d4.jpg resize: (1080, 1920) 1389201008 -0.09301816731461776 treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a.jpg resize: (1080, 1920) 1389201007 -0.8882984035082413 treat image : temp/1760355631_2181501_1389200990_fc6ed6a0b6973a1da26c04aeea7cb546.jpg resize: (1080, 1920) 1389200990 0.13254557397817587 treat image : temp/1760355631_2181501_1389200988_59340ac40da99f5ee7f02c9fc8461c78.jpg resize: (1080, 1920) 1389200988 0.893519009733617 treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502.jpg resize: (1080, 1920) 1389200979 0.32541894435900365 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01.jpg resize: (1080, 1920) 1389200977 -0.6172381705922912 treat image : temp/1760355631_2181501_1389200953_38bcc5aa008a83101fd5ad4a17b5e833.jpg resize: (1080, 1920) 1389200953 -0.5000096188807676 treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124.jpg resize: (1080, 1920) 1389200915 -3.0358196899398666 treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648.jpg resize: (1080, 1920) 1389200897 -1.7109662843011983 treat image : temp/1760355631_2181501_1389200894_ff958d38dbee7d28fd9f8a25066e3f6f.jpg resize: (1080, 1920) 1389200894 -3.4176703262007124 treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226752_0.png resize: (113, 149) 1389215788 -1.7638872321015424 treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226753_0.png resize: (282, 123) 1389215789 -1.4304705358909062 treat image : temp/1760355631_2181501_1389200990_fc6ed6a0b6973a1da26c04aeea7cb546_rle_crop_3996226761_0.png resize: (50, 62) 1389215790 0.7989680190830766 treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226764_0.png resize: (44, 187) 1389215791 -0.29140237002340963 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226769_0.png resize: (99, 132) 1389215792 -1.7196704502755624 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226766_0.png resize: (129, 98) 1389215793 -0.22416541493922493 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226767_0.png resize: (55, 82) 1389215794 0.6601258170676176 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226765_0.png resize: (83, 207) 1389215795 -1.0987047248415414 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226770_0.png resize: (76, 212) 1389215796 -2.37731510872141 treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226774_0.png resize: (183, 86) 1389215797 -1.611736106864817 treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226776_0.png resize: (165, 217) 1389215798 -1.5026850029472927 treat image : temp/1760355631_2181501_1389200953_38bcc5aa008a83101fd5ad4a17b5e833_rle_crop_3996226772_0.png resize: (117, 144) 1389215799 -1.6753089530657845 treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226755_0.png resize: (992, 1005) 1389215805 0.10868188438226618 treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226751_0.png resize: (173, 101) 1389215806 -0.5255886290915662 treat image : temp/1760355631_2181501_1389201010_31ea9ddcabcadb57455b40e1f3c5c0f9_rle_crop_3996226756_0.png resize: (84, 267) 1389215807 -1.928700594471881 treat image : temp/1760355631_2181501_1389201008_23b9294954a1883e11d054aac205e4d4_rle_crop_3996226757_0.png resize: (990, 1037) 1389215808 -0.00991358296538835 treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226760_0.png resize: (987, 1099) 1389215809 -0.5502998228418863 treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226758_0.png resize: (193, 260) 1389215810 -2.7471108127776853 treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226759_0.png resize: (721, 546) 1389215811 -1.2959429827869582 treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226763_0.png resize: (976, 960) 1389215812 0.28339954519203014 treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226762_0.png resize: (992, 971) 1389215813 0.37166756758709024 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226771_0.png resize: (61, 190) 1389215814 -0.031307340575673616 treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226768_0.png resize: (166, 151) 1389215815 -1.3285221491918178 treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226775_0.png resize: (173, 413) 1389215828 -2.2212258616274703 treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226773_0.png resize: (118, 262) 1389215834 -3.784295375231761 treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226777_0.png resize: (214, 160) 1389215835 -1.3219549581994456 treat image : temp/1760355631_2181501_1389200894_ff958d38dbee7d28fd9f8a25066e3f6f_rle_crop_3996226778_0.png resize: (54, 100) 1389215836 -4.035175304481167 treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226754_0.png resize: (156, 94) 1389215838 -0.44952806013820273 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 : 40 time used for this insertion : 0.07148551940917969 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.036656856536865234 save missing photos in datou_result : time spend for datou_step_exec : 11.454243183135986 time spend to save output : 0.12617039680480957 total time spend for step 6 : 11.580413579940796 step7:brightness Mon Oct 13 13:41:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b.jpg treat image : temp/1760355631_2181501_1389201010_31ea9ddcabcadb57455b40e1f3c5c0f9.jpg treat image : temp/1760355631_2181501_1389201008_23b9294954a1883e11d054aac205e4d4.jpg treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a.jpg treat image : temp/1760355631_2181501_1389200990_fc6ed6a0b6973a1da26c04aeea7cb546.jpg treat image : temp/1760355631_2181501_1389200988_59340ac40da99f5ee7f02c9fc8461c78.jpg treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502.jpg treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01.jpg treat image : temp/1760355631_2181501_1389200953_38bcc5aa008a83101fd5ad4a17b5e833.jpg treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124.jpg treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648.jpg treat image : temp/1760355631_2181501_1389200894_ff958d38dbee7d28fd9f8a25066e3f6f.jpg treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226752_0.png treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226753_0.png treat image : temp/1760355631_2181501_1389200990_fc6ed6a0b6973a1da26c04aeea7cb546_rle_crop_3996226761_0.png treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226764_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226769_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226766_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226767_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226765_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226770_0.png treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226774_0.png treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226776_0.png treat image : temp/1760355631_2181501_1389200953_38bcc5aa008a83101fd5ad4a17b5e833_rle_crop_3996226772_0.png treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226755_0.png treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226751_0.png treat image : temp/1760355631_2181501_1389201010_31ea9ddcabcadb57455b40e1f3c5c0f9_rle_crop_3996226756_0.png treat image : temp/1760355631_2181501_1389201008_23b9294954a1883e11d054aac205e4d4_rle_crop_3996226757_0.png treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226760_0.png treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226758_0.png treat image : temp/1760355631_2181501_1389201007_a6bf348954f8f5218cee3114cb8f6f0a_rle_crop_3996226759_0.png treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226763_0.png treat image : temp/1760355631_2181501_1389200979_ed5f1b610d00bece2eed5f06fefec502_rle_crop_3996226762_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226771_0.png treat image : temp/1760355631_2181501_1389200977_55291502c0acc7f8d6eab0ed7e51bd01_rle_crop_3996226768_0.png treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226775_0.png treat image : temp/1760355631_2181501_1389200915_503d40f1534f78adf177dd0abf487124_rle_crop_3996226773_0.png treat image : temp/1760355631_2181501_1389200897_402566a3dd6848f637feff810a963648_rle_crop_3996226777_0.png treat image : temp/1760355631_2181501_1389200894_ff958d38dbee7d28fd9f8a25066e3f6f_rle_crop_3996226778_0.png treat image : temp/1760355631_2181501_1389201012_b45639e31034cdc4f0f37a0d9c63f11b_rle_crop_3996226754_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 : 40 time used for this insertion : 0.0744180679321289 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 40 time used for this insertion : 0.03708362579345703 save missing photos in datou_result : time spend for datou_step_exec : 3.354184627532959 time spend to save output : 0.12956833839416504 total time spend for step 7 : 3.483752965927124 step8:velours_tree Mon Oct 13 13:41: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.09732675552368164 time spend to save output : 3.528594970703125e-05 total time spend for step 8 : 0.09736204147338867 step9:send_mail_cod Mon Oct 13 13:41: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_P27756456_13-10-2025_13_41_58.pdf 27756618 imagette277566181760355718 27756619 change filename to text .imagette277566191760355718 27756620 imagette277566201760355718 27756621 change filename to text .imagette277566211760355718 27756622 imagette277566221760355718 27756623 imagette277566231760355718 27756624 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 .imagette277566241760355718 27756641 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 .imagette277566411760355720 27756642 imagette277566421760355721 27756643 imagette277566431760355721 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27756456 and hashtag_type = 3594 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27756618,27756619,27756620,27756621,27756622,27756623,27756624,27756641,27756642,27756643,27756644?tags=pet_fonce,carton,metal,autre,flou,pehd,pet_clair,papier,mal_croppe,background,environnement args[1389201012] : ((1389201012, -0.2163756937851071, 492688767), (1389201012, 0.7714821167135139, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389201010] : ((1389201010, -0.27550747348558224, 492688767), (1389201010, 0.6619522347264566, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389201008] : ((1389201008, -0.09301816731461776, 492688767), (1389201008, 0.8026977293108845, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389201007] : ((1389201007, -0.8882984035082413, 492688767), (1389201007, 0.6131411612679303, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200990] : ((1389200990, 0.13254557397817587, 492688767), (1389200990, 0.4545752539909842, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200988] : ((1389200988, 0.893519009733617, 492688767), (1389200988, 0.47961666998355695, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200979] : ((1389200979, 0.32541894435900365, 492688767), (1389200979, 0.5272519951895024, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200977] : ((1389200977, -0.6172381705922912, 492688767), (1389200977, 0.7482581213788067, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200953] : ((1389200953, -0.5000096188807676, 492688767), (1389200953, 0.7987121435999576, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200915] : ((1389200915, -3.0358196899398666, 492609224), (1389200915, 0.5481855319935464, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200897] : ((1389200897, -1.7109662843011983, 492688767), (1389200897, 0.6566151739246648, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com args[1389200894] : ((1389200894, -3.4176703262007124, 492609224), (1389200894, 0.42762998757074516, 2107752395), '0.17526720839763377') We are sending mail with results at report@fotonower.com refus_total : 0.17526720839763377 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27756456 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_P27756456_13-10-2025_13_41_58.pdf results_Auto_P27756456_13-10-2025_13_41_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_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','27756456','results_Auto_P27756456_13-10-2025_13_41_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_58.pdf','pdf','','0.54','0.17526720839763377') message_in_mail: Bonjour,
Veuillez trouver ci dessous les résultats du service carac on demand pour le portfolio: https://www.fotonower.com/view/27756456

https://www.fotonower.com/image?json=false&list_photos_id=1389201012
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389201010
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389201008
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389201007
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200990
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200988
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200979
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200977
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200953
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200915
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200897
Bravo, la photo est bien prise.
https://www.fotonower.com/image?json=false&list_photos_id=1389200894
Bravo, la photo est bien prise.

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

exemples de contaminants: carton: https://www.fotonower.com/view/27756619?limit=200
exemples de contaminants: autre: https://www.fotonower.com/view/27756621?limit=200
exemples de contaminants: pet_clair: https://www.fotonower.com/view/27756624?limit=200
exemples de contaminants: papier: https://www.fotonower.com/view/27756641?limit=200
Veuillez trouver le rapport en pdf:https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_58.pdf.

Lien vers velours :https://marlene.fotonower.com/velours/27756618,27756619,27756620,27756621,27756622,27756623,27756624,27756641,27756642,27756643,27756644?tags=pet_fonce,carton,metal,autre,flou,pehd,pet_clair,papier,mal_croppe,background,environnement.


L'équipe Fotonower 202 b'' Server: nginx Date: Mon, 13 Oct 2025 11:42:04 GMT Content-Length: 0 Connection: close X-Message-Id: TWt8ozL-QzKuFe6zu54QDA 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 [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] 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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.0360102653503418 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.791267156600952 time spend to save output : 0.03628420829772949 total time spend for step 9 : 5.827551364898682 step10:split_time_score Mon Oct 13 13:42: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'}] (('11', 12),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 13102025 27756456 Nombre de photos uploadées : 12 / 23040 (0%) 13102025 27756456 Nombre de photos taguées (types de déchets): 0 / 12 (0%) 13102025 27756456 Nombre de photos taguées (volume) : 0 / 12 (0%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ???????????? elapsed_time : fill_and_build_computed_from_old_data 0.0006625652313232422 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6435818672180176 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.0486033950617284 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749759_13-10-2025_10_31_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749759 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`=27749759 AND mptpi.`type`=3594 To do Qualite : 0.05129379734848485 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27749761_13-10-2025_10_21_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27749761 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`=27749761 AND mptpi.`type`=3594 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756449 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756454 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756455 order by id desc limit 1 Qualite : 0.17526720839763377 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27756456_13-10-2025_13_41_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27756456 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`=27756456 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'13102025': {'nb_upload': 12, '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 [1389201012, 1389201010, 1389201008, 1389201007, 1389200990, 1389200988, 1389200979, 1389200977, 1389200953, 1389200915, 1389200897, 1389200894] Looping around the photos to save general results len do output : 1 /27756456Didn'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, '3933098') ('3318', '27756456', '1389201012', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201010', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201008', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389201007', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200990', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200988', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200979', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200977', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200953', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200915', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200897', None, None, None, None, None, '3933098') ('3318', None, None, None, None, None, None, None, '3933098') ('3318', '27756456', '1389200894', None, None, None, None, None, '3933098') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.036922454833984375 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7430920600891113 time spend to save output : 0.037198781967163086 total time spend for step 10 : 3.7802908420562744 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 50.72user 18.03system 1:41.74elapsed 67%CPU (0avgtext+0avgdata 2826692maxresident)k 503512inputs+37152outputs (13major+1550521minor)pagefaults 0swaps